aboutsummaryrefslogtreecommitdiff
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
parentAdded test_files.sh to tests/Makefile.am so it gets (diff)
downloadxz-c7189d981a1b27c63da0c1ee80d9b5cd8ce1733d.tar.xz
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 '')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index f4998374..83a8c665 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