[mpich2-commits] r5519 - in mpich2/trunk: . confdb src/mpid/ch3/channels/shm src/mpid/ch3/channels/sock src/mpid/ch3/channels/ssm src/mpid/globus src/pm/gforker src/pm/remshell src/pm/smpd src/util/logging/rlog

balaji at mcs.anl.gov balaji at mcs.anl.gov
Wed Oct 21 15:34:39 CDT 2009


Author: balaji
Date: 2009-10-21 15:34:39 -0500 (Wed, 21 Oct 2009)
New Revision: 5519

Modified:
   mpich2/trunk/confdb/aclocal_util.m4
   mpich2/trunk/configure.in
   mpich2/trunk/src/mpid/ch3/channels/shm/configure.in
   mpich2/trunk/src/mpid/ch3/channels/sock/configure.in
   mpich2/trunk/src/mpid/ch3/channels/ssm/configure.in
   mpich2/trunk/src/mpid/globus/configure.in
   mpich2/trunk/src/pm/gforker/configure.in
   mpich2/trunk/src/pm/remshell/configure.in
   mpich2/trunk/src/pm/smpd/configure.in
   mpich2/trunk/src/util/logging/rlog/configure.in
Log:
Get rid of PAC_PROG_MKDIR_P and use AC_PROG_MKDIR_P instead. It seems
to be more thorough in its checks in the newer versions of autoconf.


Modified: mpich2/trunk/confdb/aclocal_util.m4
===================================================================
--- mpich2/trunk/confdb/aclocal_util.m4	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/confdb/aclocal_util.m4	2009-10-21 20:34:39 UTC (rev 5519)
@@ -64,29 +64,6 @@
 done
 ])
 
-dnl Find something to use for mkdir -p.  Eventually, this will 
-dnl have a script for backup
-AC_DEFUN([PAC_PROG_MKDIR_P],[
-AC_CACHE_CHECK([whether mkdir -p works],
-pac_cv_mkdir_p,[
-pac_cv_mkdir_p=no
-rm -rf .tmp
-if mkdir -p .tmp/.foo 1>/dev/null 2>&1 ; then 
-    if test -d .tmp/.foo ; then 
-        pac_cv_mkdir_p=yes
-    fi
-fi
-rm -rf .tmp
-])
-if test "$pac_cv_mkdir_p" = "yes" ; then
-   MKDIR_P="mkdir -p"
-   export MKDIR_P
-else
-   AC_MSG_WARN([mkdir -p does not work; the install step may fail])
-fi
-AC_SUBST(MKDIR_P)
-])
-
 dnl Test for a clean VPATH directory.  Provide this command with the names
 dnl of all of the generated files that might cause problems 
 dnl (Makefiles won't cause problems because there's no VPATH usage for them)

Modified: mpich2/trunk/configure.in
===================================================================
--- mpich2/trunk/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -2736,7 +2736,7 @@
 # On Mac OS/X, install breaks libraries unless used with the -p switch
 PAC_PROG_INSTALL_BREAKS_LIBS
 # We also need mkdir -p.
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 
 #

Modified: mpich2/trunk/src/mpid/ch3/channels/shm/configure.in
===================================================================
--- mpich2/trunk/src/mpid/ch3/channels/shm/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/mpid/ch3/channels/shm/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -43,7 +43,7 @@
 # On Mac OS/X, install breaks libraries unless used with the -p switch
 PAC_PROG_INSTALL_BREAKS_LIBS
 # We also need mkdir -p.
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 AC_CHECK_PROGS(AR,ar)
 if test -z "$AR" ; then

Modified: mpich2/trunk/src/mpid/ch3/channels/sock/configure.in
===================================================================
--- mpich2/trunk/src/mpid/ch3/channels/sock/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/mpid/ch3/channels/sock/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -42,7 +42,7 @@
 # On Mac OS/X, install breaks libraries unless used with the -p switch
 PAC_PROG_INSTALL_BREAKS_LIBS
 # We also need mkdir -p.
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 AC_CHECK_PROGS(AR,ar)
 if test -z "$AR" ; then

Modified: mpich2/trunk/src/mpid/ch3/channels/ssm/configure.in
===================================================================
--- mpich2/trunk/src/mpid/ch3/channels/ssm/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/mpid/ch3/channels/ssm/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -46,7 +46,7 @@
 # On Mac OS/X, install breaks libraries unless used with the -p switch
 PAC_PROG_INSTALL_BREAKS_LIBS
 # We also need mkdir -p.
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 AC_CHECK_PROGS(AR,ar)
 if test -z "$AR" ; then

Modified: mpich2/trunk/src/mpid/globus/configure.in
===================================================================
--- mpich2/trunk/src/mpid/globus/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/mpid/globus/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -63,7 +63,7 @@
 #
 AC_PROG_INSTALL
 PAC_PROG_CHECK_INSTALL_WORKS
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 
 #

Modified: mpich2/trunk/src/pm/gforker/configure.in
===================================================================
--- mpich2/trunk/src/pm/gforker/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/pm/gforker/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -88,7 +88,7 @@
 PAC_ARG_STRICT
 AC_PROG_INSTALL
 PAC_PROG_CHECK_INSTALL_WORKS
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 dnl AC_CHECK_PROGS(AR,ar)
 dnl AC_PROG_RANLIB

Modified: mpich2/trunk/src/pm/remshell/configure.in
===================================================================
--- mpich2/trunk/src/pm/remshell/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/pm/remshell/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -84,7 +84,7 @@
 
 PAC_ARG_STRICT
 AC_PROG_INSTALL
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 dnl AC_CHECK_PROGS(AR,ar)
 dnl AC_PROG_RANLIB

Modified: mpich2/trunk/src/pm/smpd/configure.in
===================================================================
--- mpich2/trunk/src/pm/smpd/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/pm/smpd/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -68,7 +68,7 @@
 AC_PROG_CC
 AC_PROG_INSTALL
 PAC_PROG_CHECK_INSTALL_WORKS
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 dnl
 dnl     check for compiler characteristics

Modified: mpich2/trunk/src/util/logging/rlog/configure.in
===================================================================
--- mpich2/trunk/src/util/logging/rlog/configure.in	2009-10-21 19:25:35 UTC (rev 5518)
+++ mpich2/trunk/src/util/logging/rlog/configure.in	2009-10-21 20:34:39 UTC (rev 5519)
@@ -76,7 +76,7 @@
 dnl On Mac OS/X, install breaks libraries unless used with the -p switch
 PAC_PROG_INSTALL_BREAKS_LIBS
 dnl We also need mkdir -p.
-PAC_PROG_MKDIR_P
+AC_PROG_MKDIR_P
 PAC_PROG_MAKE
 dnl
 AC_PATH_PROG(PERL,perl)



More information about the mpich2-commits mailing list