rendercheck: 2 commits - configure.ac

Alan Coopersmith alanc at kemper.freedesktop.org
Mon May 1 19:51:40 EEST 2006


 configure.ac |    4 +++-
 1 files changed, 3 insertions(+), 1 deletion(-)

New commits:
diff-tree b7f09efcab3e85b183218438e6e87bd665541fb5 (from parents)
Merge: 65456490e4511a961cdd1ce85e2b31ec791def4d f95ea74cd31f28e33a0c888f9ab26a6408fb1d2e
Author: Alan Coopersmith <alanc at alf.(none)>
Date:   Mon May 1 09:49:34 2006 -0700

    Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/app/rendercheck

diff-tree 65456490e4511a961cdd1ce85e2b31ec791def4d (from 00f788fc2785db30ee294281c027f82d09256be6)
Author: Alan Coopersmith <alanc at alf.(none)>
Date:   Wed Apr 19 18:55:10 2006 -0700

    Only add -Wall flag when using gcc, not other compilers

diff --git a/configure.ac b/configure.ac
index f0f2a0d..39b759f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -32,7 +32,9 @@ then
 	RC_LIBS="$X_LIBS -lXrender -lXext -lX11"
 fi
 
-RC_CFLAGS="-Wall $RC_CFLAGS"
+if  test "x$GCC" = xyes ; then
+    RC_CFLAGS="-Wall $RC_CFLAGS"
+fi
 
 AC_SUBST(RC_CFLAGS)
 AC_SUBST(RC_LIBS)



More information about the xorg-commit mailing list