Hi Nicolas, Your last mail requires several (>=3) distinct answers. First, easiest, and most embarrassing:
* Nicolas Joly wrote on Wed, Oct 05, 2005 at 03:22:10PM CEST: > > | configure:15107: checking if cxx static flag -non_shared works > | cxx: Warning: conftest.cpp, line 1: main's second parameter (argv) must have > | char ** type > | int main(int, char *) { return(0); } > | ----^ > | configure:15135: result: yes I have applied the following fix to CVS branch-1-5 and HEAD. Can't believe how much sh*t you can throw at compilers and have them accept it, too... (And I just noted another bug in branch-1-5, sheesh..) Cheers, Ralf branch-1-5: * libtool.m4 (AC_LIBTOOL_LANG_CXX_CONFIG): Fix m4 quoting for lt_simple_link_test_code. Reported by Nicolas Joly <[EMAIL PROTECTED]>. Index: libtool.m4 =================================================================== RCS file: /cvsroot/libtool/libtool/Attic/libtool.m4,v retrieving revision 1.314.2.113 diff -u -r1.314.2.113 libtool.m4 --- libtool.m4 27 Sep 2005 16:25:42 -0000 1.314.2.113 +++ libtool.m4 5 Oct 2005 15:48:52 -0000 @@ -2727,7 +2727,7 @@ lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests -lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' +lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_AC_SYS_COMPILER HEAD: * libltdl/m4/libtool.m4 (_LT_LANG_CXX_CONFIG): Fix m4 quoting for lt_simple_link_test_code. Reported by Nicolas Joly <[EMAIL PROTECTED]>. Index: libltdl/m4/libtool.m4 =================================================================== RCS file: /cvsroot/libtool/libtool/libltdl/m4/libtool.m4,v retrieving revision 1.24 diff -u -r1.24 libtool.m4 --- libltdl/m4/libtool.m4 5 Oct 2005 08:54:25 -0000 1.24 +++ libltdl/m4/libtool.m4 5 Oct 2005 15:49:41 -0000 @@ -4954,7 +4954,7 @@ lt_simple_compile_test_code="int some_variable = 0;\n" # Code to be used in simple link tests - lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n' + lt_simple_link_test_code='int main(int, char *[[]]) { return(0); }\n' # ltmain only uses $CC for tagged configurations so make sure $CC is set. _LT_TAG_COMPILER