From: Niels Möller Date: Mon, 20 Sep 2010 09:16:22 +0000 (+0200) Subject: Less quoting when invoking $CC, to allow CC="gcc -m32". X-Git-Tag: nettle_2.2_release_20110711~253 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4603a54227b3f80a77bb8061168817fc2cd3853b;p=thirdparty%2Fnettle.git Less quoting when invoking $CC, to allow CC="gcc -m32". Rev: nettle/configure.ac:1.24 --- diff --git a/configure.ac b/configure.ac index ecb5c405..69d6f3e9 100644 --- a/configure.ac +++ b/configure.ac @@ -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 \