|
[Rivet-svn] r2797 - trunkblackhole at projects.hepforge.org blackhole at projects.hepforge.orgWed Dec 1 14:50:06 GMT 2010
Author: fsiegert Date: Wed Dec 1 14:50:05 2010 New Revision: 2797 Log: Law of the conservation of number of CXXFLAGS appearances: In the swig compiler check they are necessary to avoid mismatch with what is used later on in the actual compilation. Modified: trunk/configure.ac Modified: trunk/configure.ac ============================================================================== --- trunk/configure.ac Wed Dec 1 14:43:55 2010 (r2796) +++ trunk/configure.ac Wed Dec 1 14:50:05 2010 (r2797) @@ -245,7 +245,7 @@ AC_MSG_CHECKING([if $SWIG is compatible with the $CXX compiler]) flag_ok=yes if test x$flag_ok == xyes; then - stat_string=`$swig_compiler -c conftest_wrap.cxx -I$python_incpath 2>&1 1>&5` ; test -z "$stat_string" || flag_ok=no + stat_string=`$swig_compiler -c conftest_wrap.cxx $CPPFLAGS $CXXFLAGS -I$python_incpath 2>&1 1>&5` ; test -z "$stat_string" || flag_ok=no fi AC_MSG_RESULT([$flag_ok]) if test x$flag_ok != xyes; then
More information about the Rivet-svn mailing list |