fix syntax errors in configure script

This commit is contained in:
Rich Felker 2015-04-22 22:11:48 -04:00
parent afbcac6826
commit 3aacb54ead
1 changed files with 2 additions and 2 deletions

4
configure vendored
View File

@ -421,7 +421,7 @@ tryflag CFLAGS_AUTO -Wno-unknown-pragmas
tryflag CFLAGS_AUTO -Wno-pointer-to-int-cast
fi
if test "x$visibility" == xauto ; then
if test "x$visibility" = xauto ; then
# This test checks toolchain support for several things:
# - the -include option
# - the attributes/pragmas used in vis.h
@ -441,7 +441,7 @@ fi
printf "%s\n" "$visibility"
fi
if test "x$visibility" == xyes ; then
if test "x$visibility" = xyes ; then
CFLAGS_AUTO="$CFLAGS_AUTO -include vis.h"
CFLAGS_AUTO="${CFLAGS_AUTO# }"
fi