[pisa-src] r1536 - trunk/configure.ac

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 05 Nov 2009 14:23:02 +0100

Author: biurrun
Date: Thu Nov  5 14:23:02 2009
New Revision: 1536

Log:
Add -std=gnu99 to our standard CFLAGS.
This enables C99 and GNU extensions.
The goal should be to eventually get rid of GNU extensions.

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac  Thu Nov  5 14:05:48 2009        (r1535)
+++ trunk/configure.ac  Thu Nov  5 14:23:02 2009        (r1536)
@@ -122,7 +122,7 @@
 fi
 
 # Set default AM_CFLAGS for the complete project.
-AC_SUBST(AM_CFLAGS, "-Wall -Wextra -Wredundant-decls -Wstrict-prototypes 
-Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wshadow")
+AC_SUBST(AM_CFLAGS, "-std=gnu99 -Wall -Wextra -Wredundant-decls 
-Wstrict-prototypes -Wdisabled-optimization -Wpointer-arith -Wundef -Winline 
-Wno-deprecated-declarations -Wmissing-prototypes -Wwrite-strings -Wcast-qual 
-Wshadow")
 
 if test -d "$PISA_HIPL_SRCDIR"; then
        AC_DEFINE(CONFIG_PISA_WITH_HIPL, AC_PREREQ(2.53))

Other related posts:

  • » [pisa-src] r1536 - trunk/configure.ac - Diego Biurrun