This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "MPICH primary repository". The branch, master has been updated via 91d023c16ca73968974a7780160239e41825e1c2 (commit) from b0a75d1660b89e8df453153c1c3b96d36fdb0f6b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- http://git.mpich.org/mpich.git/commitdiff/91d023c16ca73968974a7780160239e418... commit 91d023c16ca73968974a7780160239e41825e1c2 Author: Huiwei Lu <[email protected]> Date: Wed Mar 12 16:30:25 2014 -0500 Fixes default optimization flags The default optimization flags (-O2) are set for C and F77, but not for C++ and Fortran 90. In commit [b4ce3c99], the behaviour of PAC_C_CHECK_COMPILER_OPTION and PAC_F77_CHECK_COMPILER_OPTION were changed in configure.ac, while PAC_CXX_CHECK_COMPILER_OPTION and PAC_FC_CHECK_COMPILER_OPTION remained the same. Fixes #2033 Signed-off-by: Pavan Balaji <[email protected]> diff --git a/configure.ac b/configure.ac index 94bdb3a..3534298 100644 --- a/configure.ac +++ b/configure.ac @@ -2200,8 +2200,7 @@ if test "$enable_fc" = "yes" ; then AC_SUBST(FCINCFLAG) # Check if $MPI_DEFAULT_FCOPTS is valid with $F90 - if test "$enable_default_optimize" = "yes" \ - -a -n "$MPI_DEFAULT_FCOPTS" ; then + if test -n "$MPI_DEFAULT_FCOPTS" ; then if test "$enable_check_compiler_flags" = "yes" ; then PAC_FC_CHECK_COMPILER_OPTION( [$MPI_DEFAULT_FCOPTS], [ FCFLAGS="$FCFLAGS $MPI_DEFAULT_FCOPTS" @@ -2381,8 +2380,7 @@ fi if test "$enable_cxx" = yes; then # Check if $MPI_DEFAULT_CXXOPTS is valid with $CXX - if test "$enable_default_optimize" = "yes" \ - -a -n "$MPI_DEFAULT_CXXOPTS" ; then + if test -n "$MPI_DEFAULT_CXXOPTS" ; then if test "$enable_check_compiler_flags" = "yes" ; then PAC_CXX_CHECK_COMPILER_OPTION( [$MPI_DEFAULT_CXXOPTS], [ CXXFLAGS="$CXXFLAGS $MPI_DEFAULT_CXXOPTS" ----------------------------------------------------------------------- Summary of changes: configure.ac | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) hooks/post-receive -- MPICH primary repository