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

Try linking when figuring out -W compiler options.
We need to link for (at least) the stack-protector check since it
may need an extra library.


diffs (12 lines):

diff --git a/configure.ag b/configure.ag
--- a/configure.ag
+++ b/configure.ag
@@ -517,7 +517,7 @@ AC_DEFUN([MCHECK_ADD_FLAG],
        dnl do not use AC_LANG_PROGRAM here, because it generates a program
        dnl with "int main() {" function, which triggers
        dnl old-style-definition warnings
-       AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
+       AC_LINK_IFELSE([AC_LANG_SOURCE([[
 #include <stdio.h>
 #include <stdlib.h>
 #ifdef HAVE_STRING_H
_______________________________________________
Checkin-list mailing list
Checkin-list@monetdb.org
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to