librep r2924 - trunk
- From: chrisb svn gnome org
- To: svn-commits-list gnome org
- Subject: librep r2924 - trunk
- Date: Wed, 6 Aug 2008 06:33:55 +0000 (UTC)
Author: chrisb
Date: Wed Aug 6 06:33:55 2008
New Revision: 2924
URL: http://svn.gnome.org/viewvc/librep?rev=2924&view=rev
Log:
add --enable-paranoia to configure
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Wed Aug 6 06:33:55 2008
@@ -577,6 +577,12 @@
AC_DEFINE_UNQUOTED(STACK_DIRECTION, ${with_stack_direction})
fi
+AC_ARG_ENABLE(paranoia, [ --enable-paranoia use wall, wno-error, ansi, pedantic compiler flags], [paranoia=$enableval], [paranoia="no"])
+
+if test $paranoia = "yes"; then
+ CFLAGS+=" -Wall -ansi -pedantic"
+fi
+
dnl Nonstandard exported symbols
AC_SUBST(version)
AC_SUBST(libversion)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]