[mpich-commits] [mpich] MPICH primary repository branch, master,	updated. v3.2b4-227-g7b8bd05
    Service Account 
    noreply at mpich.org
       
    Mon Sep 21 13:47:24 CDT 2015
    
    
  
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  7b8bd055dfdeb7a0d9c264e088376ff8fa9341b1 (commit)
      from  4f2066fcba02d54eb2d21820eebb9bc254485e5a (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/7b8bd055dfdeb7a0d9c264e088376ff8fa9341b1
commit 7b8bd055dfdeb7a0d9c264e088376ff8fa9341b1
Author: William Throwe <wtt6 at cornell.edu>
Date:   Mon Sep 14 19:09:51 2015 -0400
    ROMIO configure looks for lstat in wrong header
    
    The ROMIO configure script checks for a declaration of lstat in
    unistd.h, but, at least on the Linux machines I checked, lstat is in
    sys/stat.h.  (The detection failure led to a linker error when building
    ROMIO as part of OpenMPI on one of my admittedly strangely configured
    machines, somehow.)  It appears from the man page that either location
    is possible, so check both.
    
    Signed-off-by: Rob Latham <robl at mcs.anl.gov>
diff --git a/src/mpi/romio/configure.ac b/src/mpi/romio/configure.ac
index 6e10c08..bb9c25a 100644
--- a/src/mpi/romio/configure.ac
+++ b/src/mpi/romio/configure.ac
@@ -1562,7 +1562,8 @@ fi
 AC_CHECK_FUNCS(lstat)
 if test "$ac_cv_func_lstat" = "yes" ; then
     # Do we need to declare lstat?
-    PAC_FUNC_NEEDS_DECL([#include <unistd.h>],lstat)
+    PAC_FUNC_NEEDS_DECL([#include <unistd.h>
+                         #include <sys/stat.h>],lstat)
 fi
 AC_CHECK_FUNCS(readlink)
 if test "$ac_cv_func_readlink" = "yes" ; then
-----------------------------------------------------------------------
Summary of changes:
 src/mpi/romio/configure.ac |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
hooks/post-receive
-- 
MPICH primary repository
    
    
More information about the commits
mailing list