[mpich-commits] [mpich] MPICH primary repository branch, master, updated. v3.0.4-240-ge214806

mysql vizuser noreply at mpich.org
Mon May 20 15:43:28 CDT 2013


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  e21480612e97a8a8151801e87e2f3c46fe125359 (commit)
      from  906f5471d35642ca2caee406e24ea19597cb7bf5 (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/e21480612e97a8a8151801e87e2f3c46fe125359

commit e21480612e97a8a8151801e87e2f3c46fe125359
Author: William Gropp <wgropp at illinois.edu>
Date:   Mon May 20 11:22:56 2013 -0500

    Fix for missing test that getsid requires a declaration.
    
    Observed that while there was a "NEEDS_DECL" for getsid in the
    pm/util programs, there was no test for this case (getsid is not
    defined by default and requires the correct level of XOPEN_SOURCE).
    Also removed now extraneous tests from remshell subconfigure.

diff --git a/src/pm/remshell/subconfigure.m4 b/src/pm/remshell/subconfigure.m4
index e78d54a..6d3b28e 100644
--- a/src/pm/remshell/subconfigure.m4
+++ b/src/pm/remshell/subconfigure.m4
@@ -128,7 +128,8 @@ if test "$ac_cv_func_ptrace" = yes ; then
     fi
 fi
 
-AC_CHECK_FUNCS([setsid isatty getsid])
+dnl The test for getsid etc is in src/pm/util (see the subconfigure.m4 there)
+dnl AC_CHECK_FUNCS([setsid isatty getsid])
 if test "$enable_newsession" = "yes" ; then
     AC_DEFINE([USE_NEW_SESSION],[1],[Define if mpiexec should create a new process group session])
 fi
diff --git a/src/pm/util/subconfigure.m4 b/src/pm/util/subconfigure.m4
index 5f10b78..f3032ef 100644
--- a/src/pm/util/subconfigure.m4
+++ b/src/pm/util/subconfigure.m4
@@ -52,6 +52,9 @@ fi
 #
 # Cygwin has setsid but not getsid
 AC_CHECK_FUNCS(setsid isatty getsid)
+# See if we need to define getsid (in the case that the above XOPEN
+# definitions have not been made.  
+PAC_FUNC_NEEDS_DECL([#include <unistd.h>],getsid)
 if test "$enable_newsession" = "yes" ; then
     AC_DEFINE(USE_NEW_SESSION,1,[Define if mpiexec should create a new process group session])
 fi

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

Summary of changes:
 src/pm/remshell/subconfigure.m4 |    3 ++-
 src/pm/util/subconfigure.m4     |    3 +++
 2 files changed, 5 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
MPICH primary repository


More information about the commits mailing list