summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2008-01-07 23:14:25 +0200
committerLasse Collin <lasse.collin@tukaani.org>2008-01-07 23:14:25 +0200
commitc7189d981a1b27c63da0c1ee80d9b5cd8ce1733d (patch)
tree135f36980fb30f8a1861b08ea9aef43c402d604d /configure.ac
parent3dbbea82b74bb841c995ad332a3aeca613015e10 (diff)
downloadxz-c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d.tar.gz
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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