|
[Rivet-svn] r2646 - trunkblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Aug 5 17:02:35 BST 2010
Author: jmonk Date: Thu Aug 5 17:02:34 2010 New Revision: 2646 Log: Better test of whether g++ accepts -Wno-format Modified: trunk/configure.ac Modified: trunk/configure.ac ============================================================================== --- trunk/configure.ac Thu Aug 5 16:32:17 2010 (r2645) +++ trunk/configure.ac Thu Aug 5 17:02:34 2010 (r2646) @@ -241,10 +241,8 @@ swig_compiler=$CXX - if test x"`echo $swig_compiler | grep g++`" != x ; then - AC_MSG_NOTICE([Adding -Wno-format to swig compilation test]) - swig_compiler="$swig_compiler -Wno-format" - fi + AC_CEDAR_CHECKCXXFLAG([-Wno-format], [AC_MSG_NOTICE([Adding -Wno-format to swig compilation test]); + swig_compiler="$swig_compiler -Wno-format"]) AC_MSG_CHECKING([if $SWIG is compatible with the $CXX compiler]) flag_ok=yes
More information about the Rivet-svn mailing list |