From: Lasse Collin Date: Mon, 7 Jan 2008 21:14:25 +0000 (+0200) Subject: Test for $GCC = yes instead of if it is non-empty. This X-Git-Tag: upstream/5.1.3~869 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d;p=platform%2Fupstream%2Fxz.git Test for $GCC = yes instead of if it is non-empty. This way it is possible to use ac_cv_c_compiler_gnu=no to force configure to think it is using non-GNU C compiler. --- diff --git a/configure.ac b/configure.ac index f499837..83a8c66 100644 --- a/configure.ac +++ b/configure.ac @@ -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