summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-03-18 18:09:16 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-03-18 18:09:16 (GMT)
commit2fd149a5824c22920d2102b97db8478b2f61d5dd (patch)
tree13d887c221264834f88d100e33acafe6cf9b4038 /configure
parent96dd634330502cdde53905c9edbef56028323969 (diff)
downloadhdf5-2fd149a5824c22920d2102b97db8478b2f61d5dd.zip
hdf5-2fd149a5824c22920d2102b97db8478b2f61d5dd.tar.gz
hdf5-2fd149a5824c22920d2102b97db8478b2f61d5dd.tar.bz2
[svn-r325] Changes since 19980317
---------------------- ./MANIFEST ./configure.in ./configure ./Makefile.in ./bin/distdep [NEW] ./config/conclude.in ./config/depend.in ./src/.distdep [NEW] ./test/.distdep [NEW] Added some code so non-GNU systems have a list of dependencies between the .c files and the .h files. Hopefully this works and y'all don't have to keep saying `make clean' each time you change a header. On systems with GNU make, GCC, and Perl, the dependency information is generated automatically from rules in config/depend.in as has always been done. But now extra files called `.distdep' (for `distributable dependencies) are left in each directory and these are part of CVS and thus releases. (A `make dep' will create dependencies on demand without doing anything else.) On systems lacking one or more of the tools above, the various `.distdep' files are inserted into the end of the Makefiles. If you do developement on one of these systems you'll have to update the `.distdep' and/or Makefile by hand, or wait until you have access to a GNU system and do a `make dep'.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 8 insertions, 4 deletions
diff --git a/configure b/configure
index 95f3d31..bd18570 100755
--- a/configure
+++ b/configure
@@ -2103,9 +2103,11 @@ esac
CONCLUDE=config/conclude
if test "X$GCC" = "Xyes" && test "X$GMAKE" = "Xyes"; then
- DEPEND=config/depend
+ DEPEND1=config/depend
+ DEPEND2=/dev/null
else
- DEPEND='# Use GNU make/GCC if you want auto dependencies'
+ DEPEND1=src/.distdep
+ DEPEND2=test/.distdep
fi
if test "X$GMAKE" = "Xyes"; then
@@ -2273,8 +2275,10 @@ s%@RUNTEST@%$RUNTEST%g
s%@COMMENCE@%%g
/@CONCLUDE@/r $CONCLUDE
s%@CONCLUDE@%%g
-/@DEPEND@/r $DEPEND
-s%@DEPEND@%%g
+/@DEPEND1@/r $DEPEND1
+s%@DEPEND1@%%g
+/@DEPEND2@/r $DEPEND2
+s%@DEPEND2@%%g
s%@SETX@%$SETX%g
s%@ROOT@%$ROOT%g