diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 39774fe0e..d00bdad42 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -330,7 +330,7 @@ case "${host_os}" in clibs='-ldl' # We should use C99 and _XOPEN_SOURCE=600, but Solaris 10 # ships with GCC 3.4.3 which does not support C99 - if test "x$GCC" = "yes"; then + if test "x$GCC" = "xyes"; then CFLAGS="${CFLAGS} -std=gnu99" SHARED_LDFLAGS="-shared $SHARED_LDFLAGS" BUNDLE_LDFLAGS="-shared $BUNDLE_LDFLAGS" diff --git a/src/configure b/src/configure index 3c07a7f9b..d15c90f65 100755 --- a/src/configure +++ b/src/configure @@ -4837,7 +4837,7 @@ case "${host_os}" in clibs='-ldl' # We should use C99 and _XOPEN_SOURCE=600, but Solaris 10 # ships with GCC 3.4.3 which does not support C99 - if test "x$GCC" = "yes"; then + if test "x$GCC" = "xyes"; then CFLAGS="${CFLAGS} -std=gnu99" SHARED_LDFLAGS="-shared $SHARED_LDFLAGS" BUNDLE_LDFLAGS="-shared $BUNDLE_LDFLAGS"