Update of /cvsroot/monetdb/MonetDB4
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv30553/MonetDB4
Modified Files:
Tag: MonetDB_4-20
configure.ag
Log Message:
Avoiding "present but cannot be compiled" configure warnings during header file
checks
by using only the original CFLAGS but not the extra (stricter) X_CFLAGS during
the
header file checks.
Only when checking for malloc.h we keep the X_CFLAGS, adhering to Niels'
original intention:
"OpenBSD-3.4 port: changed configure check for malloc.h to use full CFLAGS"
NOTE:
checks for header files (incl. malloc.h) in other than MonetDB4's configure.ag's
only use CFLAGS, but never X_CFLAGS.
Index: configure.ag
===================================================================
RCS file: /cvsroot/monetdb/MonetDB4/configure.ag,v
retrieving revision 1.21.2.1
retrieving revision 1.21.2.2
diff -u -d -r1.21.2.1 -r1.21.2.2
--- configure.ag 18 Sep 2007 20:55:20 -0000 1.21.2.1
+++ configure.ag 9 Oct 2007 17:48:17 -0000 1.21.2.2
@@ -116,17 +116,19 @@
dnl Checks for header files.
AC_HEADER_DIRENT()
AC_HEADER_SYS_WAIT()
+dnl Niels said (when this was still revision 1.141 of MonetDB/configure.ag):
+dnl OpenBSD-3.4 port: changed configure check for malloc.h to use full CFLAGS
CFLAGS_bak="$CFLAGS"
CFLAGS="$CFLAGS $X_CFLAGS"
AC_CHECK_HEADER(malloc.h, AC_DEFINE(HAVE_MALLOC_H,1,[Define to 1 if you have
the
<malloc.h> header file.]),,[ ])
+CFLAGS="$CFLAGS_bak"
AC_CHECK_HEADERS(fcntl.h limits.h unistd.h pwd.h dlfcn.h)
AC_CHECK_HEADERS(time.h sys/time.h utime.h sys/utime.h)
AC_CHECK_HEADERS(sys/file.h sys/param.h sys/times.h sys/mman.h)
AC_CHECK_HEADERS(rlimit.h sys/resource.h)
AC_CHECK_HEADERS(string.h strings.h signal.h sys/socket.h sys/un.h termios.h)
AC_CHECK_HEADERS(ieeefp.h winsock.h xmmintrin.h)
-CFLAGS="$CFLAGS_bak"
dnl We don't need to check for these two: they're only present on
dnl Windows. We list them here for completeness, since the
dnl corresponding defines are used.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins