[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.1-187-gb9d6774

Service Account noreply at mpich.org
Tue Apr 29 07:41:50 CDT 2014


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  b9d677473725748de832f7a67d5835baddfa6279 (commit)
      from  b38571fb59ab8a08a7a75c1057f5015b59931070 (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/b9d677473725748de832f7a67d5835baddfa6279

commit b9d677473725748de832f7a67d5835baddfa6279
Author: Ken Raffenetti <raffenet at mcs.anl.gov>
Date:   Mon Apr 28 08:46:03 2014 -0500

    move the F77 compiler tests later in configure
    
    The configure script could accidentally override the user's selection
    of Fortran compiler for mpif77. Move AC_PROG_F77 until after we've
    potentially set F77 = FC.
    
    Signed-off-by: Pavan Balaji <balaji at anl.gov>

diff --git a/configure.ac b/configure.ac
index c5a0d50..77b9b58 100644
--- a/configure.ac
+++ b/configure.ac
@@ -666,10 +666,6 @@ AS_IF([test "x$enable_cxx" = "xno"],[CXX=no])
 : ${CXXFLAGS=""}
 AC_PROG_CXX([PAC_CXX_SEARCH_LIST])
 
-# suppress default "-g -O2" from AC_PROG_F77
-: ${FFLAGS=""}
-AC_PROG_F77([PAC_F77_SEARCH_LIST])
-
 # suppress default "-g -O2" from AC_PROG_FC
 : ${FCFLAGS=""}
 AC_PROG_FC([PAC_FC_SEARCH_LIST])
@@ -718,6 +714,13 @@ fi
 
 AM_CONDITIONAL([INSTALL_MPIF77],[test "$F77" != "$FC" -a "$FFLAGS" != "$FCFLAGS"])
 
+# This needs to come after we've potentially set F77=$FC. Otherwise, we could
+# override the user's Fortran compiler selection when only specifying FC at configure
+# time, as is allowed.
+# suppress default "-g -O2" from AC_PROG_F77
+: ${FFLAGS=""}
+AC_PROG_F77([PAC_F77_SEARCH_LIST])
+
 # compute canonical system types
 AC_CANONICAL_BUILD
 AC_CANONICAL_HOST

-----------------------------------------------------------------------

Summary of changes:
 configure.ac |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list