Test for $GCC = yes instead of if it is non-empty. This
authorLasse Collin <lasse.collin@tukaani.org>
Mon, 7 Jan 2008 21:14:25 +0000 (23:14 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Mon, 7 Jan 2008 21:14:25 +0000 (23:14 +0200)
way it is possible to use ac_cv_c_compiler_gnu=no to
force configure to think it is using non-GNU C compiler.

configure.ac

index f499837..83a8c66 100644 (file)
@@ -538,7 +538,7 @@ main()
 
 Wno_uninitialized=no
 
-if test -n "$GCC" ; then
+if test "x$GCC" = xyes ; then
        echo
        echo "GCC extensions:"
        gl_VISIBILITY