Changeset: 3e1e907f3b0e for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=3e1e907f3b0e
Modified Files:
        configure.ag
Branch: default
Log Message:

configure: extend test program to detect more problems

Jennie reported issues with undefined defines (_LARGEFILE64_SOURCE in
zconf.h) which break the compilation.  We could check for _NONEXISTENT
as well, but I'm affraid in that case -Wundef would always be turned
off.


diffs (13 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -523,6 +523,9 @@ AC_DEFUN([MCHECK_ADD_FLAG],
 #include <string.h>
 #endif
 
+#if -_LARGEFILE64_SOURCE - -1 == 1
+#include <stdio.h>
+#endif
 int main(int argc, char **av) {
        char buf[24];
        double d = atof("4.2");
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to