]> granicus.if.org Git - file/commitdiff
quote gcc.
authorChristos Zoulas <christos@zoulas.com>
Tue, 24 Feb 2009 21:53:13 +0000 (21:53 +0000)
committerChristos Zoulas <christos@zoulas.com>
Tue, 24 Feb 2009 21:53:13 +0000 (21:53 +0000)
configure.ac

index 4a5561e3eb5c4aa747c583fa236faeb869373b2d..912daf4c0a14ac8ae5d06563162e7ba4c26809c1 100644 (file)
@@ -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