diff options
author | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-06-13 08:55:47 +0000 |
---|---|---|
committer | tradke <tradke@17b73243-c579-4c4c-a9d2-2d5706c11dac> | 2001-06-13 08:55:47 +0000 |
commit | f4ce36318a672a00593aaf22398b838f1f75265f (patch) | |
tree | 72f73b40abcb3a0ea431ecb75a1884bff2d57981 /lib | |
parent | 2108bd59e078008e7821f0c0bde7fab28fce6953 (diff) |
With my latest commit I accidentally removed MKDIR and MKDIRFLAGS
from the configure script. Of course, these are still used by the
make system.
git-svn-id: http://svn.cactuscode.org/flesh/trunk@2229 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/make/configure | 18 | ||||
-rw-r--r-- | lib/make/configure.in | 11 |
2 files changed, 29 insertions, 0 deletions
diff --git a/lib/make/configure b/lib/make/configure index 6f55555d..ac45b491 100755 --- a/lib/make/configure +++ b/lib/make/configure @@ -4348,6 +4348,23 @@ EOF +# Define how to make a directory in the config.h file + +cat >> confdefs.h <<EOF +#define MKDIR "$MKDIR" +EOF + + + + +: ${MKDIRFLAGS="-p"} + +cat >> confdefs.h <<EOF +#define MKDIRFLAGS " $MKDIRFLAGS " +EOF + + + # The perl scripts run by the make system need to have their names # changed if under cygwin - e.g. //d/foo needs to be d:/foo @@ -4954,6 +4971,7 @@ s%@BUILD_DIR@%$BUILD_DIR%g s%@CCTK_LIBDIR@%$CCTK_LIBDIR%g s%@EXEDIR@%$EXEDIR%g s%@EXE@%$EXE%g +s%@MKDIRFLAGS@%$MKDIRFLAGS%g s%@BUILD_ACTIVETHORNS@%$BUILD_ACTIVETHORNS%g s%@CST@%$CST%g s%@F_FILE_PROCESSOR@%$F_FILE_PROCESSOR%g diff --git a/lib/make/configure.in b/lib/make/configure.in index bc3dc2f6..9c962bd0 100644 --- a/lib/make/configure.in +++ b/lib/make/configure.in @@ -682,6 +682,17 @@ esac AC_DEFINE_UNQUOTED(CCTK_FCALL, $CCTK_FCALL) +# Define how to make a directory in the config.h file + +AC_DEFINE_UNQUOTED(MKDIR, "$MKDIR") + +AC_SUBST(MKDIRFLAGS) + +: ${MKDIRFLAGS="-p"} + +AC_DEFINE_UNQUOTED(MKDIRFLAGS, " $MKDIRFLAGS ") + + # The perl scripts run by the make system need to have their names # changed if under cygwin - e.g. //d/foo needs to be d:/foo |