Fix typo in configure message for gcc -fvisibility=hidden
authorAlan Coopersmith <alan.coopersmith@sun.com>
Fri, 22 Jan 2010 00:42:58 +0000 (16:42 -0800)
committerAlan Coopersmith <alan.coopersmith@sun.com>
Fri, 22 Jan 2010 00:43:59 +0000 (16:43 -0800)
Need to use $CC for a shell variable, not $(CC) for a make variable
which the shell interprets as running the command "CC".

Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
configure.ac

index 6ae526d5e1ec798c9872b1201bd231b8e554b894..619ed47bcbd62f5ff45b644e8726f404506a8c17 100644 (file)
@@ -100,7 +100,7 @@ if test "x$GCC" = xyes; then
 
     # Enable -fvisibility=hidden if using a gcc that supports it
     save_CFLAGS="$CFLAGS"
-    AC_MSG_CHECKING([whether $(CC) supports -fvisibility=hidden])
+    AC_MSG_CHECKING([whether $CC supports -fvisibility=hidden])
     CFLAGS="$CFLAGS -fvisibility=hidden"
     AC_LINK_IFELSE([AC_LANG_PROGRAM()], AC_MSG_RESULT([yes]),
                   [CFLAGS="$save_CFLAGS" ; AC_MSG_RESULT([no])]);