]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
Less quoting when invoking $CC, to allow CC="gcc -m32".
authorNiels Möller <nisse@lysator.liu.se>
Mon, 20 Sep 2010 09:16:22 +0000 (11:16 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Mon, 20 Sep 2010 09:16:22 +0000 (11:16 +0200)
Rev: nettle/configure.ac:1.24

configure.ac

index ecb5c405ae27fb6caace7dbd1a3924273bea9487..69d6f3e9c1c08c391d087df54ce145dad9ea85fc 100644 (file)
@@ -525,14 +525,14 @@ AC_SUBST(OPENSSL_LIBFLAGS)
 # Set these flags *last*, or else the test programs won't compile
 if test x$GCC = xyes ; then
   # Using -ggdb3 makes (some versions of) Redhat's gcc-2.96 dump core
-  if "$CC" --version | grep '^2\.96$' 1>/dev/null 2>&1; then
+  if $CC --version | grep '^2\.96$' 1>/dev/null 2>&1; then
     true
   else
     CFLAGS="$CFLAGS -ggdb3"
   fi
   # FIXME: It would be better to actually test if this option works and/or is needed.
   # Or perhaps use -funsigned-char.
-  if "$CC" --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
+  if $CC --version | grep 'gcc.* 4\.' 1>/dev/null 2>&1; then
     CFLAGS="$CFLAGS -Wno-pointer-sign"
   fi
   CFLAGS="$CFLAGS -Wall -W \