summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorlrknox <lrknox>2016-08-30 15:58:12 (GMT)
committerlrknox <lrknox>2016-08-30 17:11:56 (GMT)
commite90a880864f7a2c765bce1a7648de0adb95230be (patch)
tree18035eb4cc623f936bc77d9c1931b373497e0b47 /bin
parent1926e1c5ca47e5184242f05a0e824b54d60bf228 (diff)
downloadhdf5-e90a880864f7a2c765bce1a7648de0adb95230be.zip
hdf5-e90a880864f7a2c765bce1a7648de0adb95230be.tar.gz
hdf5-e90a880864f7a2c765bce1a7648de0adb95230be.tar.bz2
Removed the -p option from the command to run autogen.sh. It interfered
with running chkmanifest on a machine with the correct autotools versions but without access to /usr/hdf/bin/AUTOTOOLS. The autogen.sh script says the option is for HDF group use only and is likely to be removed. The same effect can be achieved by adding /usr/hdf/bin/AUTOTOOLS to the beginning of PATH.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/chkmanifest13
1 files changed, 13 insertions, 0 deletions
diff --git a/bin/chkmanifest b/bin/chkmanifest
index a460744..2d31d87 100755
--- a/bin/chkmanifest
+++ b/bin/chkmanifest
@@ -49,6 +49,19 @@ else
fi
fi
+# Do an autogen if generated files (e.g., configure) is not present
+if [ ! -f configure ]; then
+ echo " running $AUTOGEN"
+ $AUTOGEN > $AUTOGEN_LOG 2>&1
+ if [ $? -ne 0 ]; then
+ echo $AUTOGEN encountered error. Abort.
+ echo output from $AUTOGEN:
+ cat $AUTOGEN_LOG
+ exit 1
+ fi
+ rm $AUTOGEN_LOG
+fi
+
# Check for duplicate entries. This can be done at any time, but it may as
# well be sooner so that if something else fails the presence of duplicates
# will already be known.