[PVFS2-CVS] commit by slang in pvfs2: configure.in configure

CVS commit program cvs at parl.clemson.edu
Mon Jun 27 19:58:55 EDT 2005


Update of /anoncvs/pvfs2
In directory parlweb:/tmp/cvs-serv11303

Modified Files:
	configure.in configure 
Log Message:
fix AC_TRY_COMPILE failures that check args for db->stat so that warnings cause failure.  --enable-strict should work now.  (no, really)


Index: configure.in
===================================================================
RCS file: /anoncvs/pvfs2/configure.in,v
diff -p -u -r1.239 -r1.240
--- configure.in	27 Jun 2005 21:59:56 -0000	1.239
+++ configure.in	27 Jun 2005 22:58:54 -0000	1.240
@@ -739,7 +739,7 @@ if test "x$NEED_BERKELEY_DB" = "xyes" ; 
         Define if third param (message) to DB error callback function is const))
     fi
     
-    CFLAGS="$USR_CFLAGS -Wall"    
+    CFLAGS="$USR_CFLAGS -Werror"    
     dnl Test to check for unknown third param to DB stat (four params 
     dnl total).  The unknown parameter is a function ptr so that the
     dnl the user can pass in a replcaement for malloc.

Index: configure
===================================================================
RCS file: /anoncvs/pvfs2/configure,v
diff -p -u -r1.236 -r1.237
--- configure	27 Jun 2005 21:59:56 -0000	1.236
+++ configure	27 Jun 2005 22:58:54 -0000	1.237
@@ -5159,7 +5159,7 @@ fi
 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
     fi
 
-    CFLAGS="$USR_CFLAGS -Wall"
+    CFLAGS="$USR_CFLAGS -Werror"
                             echo "$as_me:$LINENO: checking for DB stat with malloc function ptr" >&5
 echo $ECHO_N "checking for DB stat with malloc function ptr... $ECHO_C" >&6
     cat >conftest.$ac_ext <<_ACEOF



More information about the PVFS2-CVS mailing list