From: Christos Zoulas Date: Tue, 24 Feb 2009 21:53:13 +0000 (+0000) Subject: quote gcc. X-Git-Tag: FILE5_05~230 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3b74d227cbd877f2f7263a68fbeb8f599e83d920;p=file quote gcc. --- diff --git a/configure.ac b/configure.ac index 4a5561e3..912daf4c 100644 --- a/configure.ac +++ b/configure.ac @@ -120,7 +120,7 @@ typedef long int64_t; AC_MSG_CHECKING(for gcc compiler warnings) AC_ARG_ENABLE(warnings, [ --disable-warnings disable compiler warnings], -[if test "${enableval}" = no -o $GCC = no; then +[if test "${enableval}" = no -o "$GCC" = no; then AC_MSG_RESULT(no) WARNINGS= else @@ -130,7 +130,7 @@ else -Wsign-compare -Wreturn-type -Wswitch -Wshadow \ -Wcast-qual -Wwrite-strings -Wextra -Wunused-parameter" fi], [ -if test $GCC = no; then +if test "$GCC" = no; then WARNINGS= AC_MSG_RESULT(no) else