evolution-data-server r8420 - trunk



Author: tml
Date: Thu Jan 24 20:47:33 2008
New Revision: 8420
URL: http://svn.gnome.org/viewvc/evolution-data-server?rev=8420&view=rev

Log:
2008-01-24  Tor Lillqvist  <tml novell com>

	* configure.in: Only use the -Wno-sign-compare and
	-Wno-pointer-sign options if the gcc version used supports them. I
	am still using gcc 3.4.2 in mingw...



Modified:
   trunk/ChangeLog
   trunk/configure.in

Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in	(original)
+++ trunk/configure.in	Thu Jan 24 20:47:33 2008
@@ -1352,7 +1352,12 @@
 *-Wall*)
 	# Turn off the annoying "comparison between signed and unsigned"
 	# warning in gcc 3.3
-	CFLAGS="$CFLAGS -Wno-sign-compare -Wno-pointer-sign"
+	if $CC --help -v 2>&1 | grep Wsign-compare >/dev/null; then
+		CFLAGS="$CFLAGS -Wno-sign-compare"
+	fi
+	if $CC --help -v 2>&1 | grep Wpointer-sign >/dev/null; then
+		CFLAGS="$CFLAGS -Wno-pointer-sign"
+	fi
 	;;
 esac
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]