rygel r59 - trunk



Author: zeeshanak
Date: Tue Oct 28 20:59:20 2008
New Revision: 59
URL: http://svn.gnome.org/viewvc/rygel?rev=59&view=rev

Log:
Introduce a separate configure option for a strict C compiler.

Modified:
   trunk/ChangeLog
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Tue Oct 28 20:59:20 2008
@@ -56,7 +56,15 @@
 	[  --enable-debug          enable debugging],,
         enable_debug=no)
 if test "x$enable_debug" = "xyes"; then
-        CFLAGS="$CFLAGS -g -Wall -Werror"
+        CFLAGS="$CFLAGS -g"
+fi
+
+# Strict compiler
+AC_ARG_ENABLE(strict-cc,
+	[  --enable-strict-cc          enable strict C compiler],,
+        enable_strict_cc=no)
+if test "x$enable_strict_cc" = "xyes"; then
+        CFLAGS="$CFLAGS -Wall -Werror"
 fi
 
 # Run uninstalled



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