Removed -p option from invocation of autogen.sh by h5vers script to

allow running h5vers on machines without /usr/hdf/bin/AUTOTOOLS.
This commit is contained in:
lrknox 2016-09-02 15:40:53 -05:00
parent 1bad18cc24
commit 78096ab08a

View File

@ -381,12 +381,12 @@ sub gen_configure {
$conf =~ /^(.*?)\/?configure.ac$/;
if ($1) {
$rc = system("cd $1 && ./autogen.sh -p >/dev/null 2>/dev/null && rm -rf autom4te.cache");
$rc = system("cd $1 && ./autogen.sh >/dev/null 2>/dev/null && rm -rf autom4te.cache");
} else {
$rc = system("./autogen.sh -p >/dev/null 2>/dev/null && rm -rf autom4te.cache");
$rc = system("./autogen.sh >/dev/null 2>/dev/null && rm -rf autom4te.cache");
}
if ($rc) {
printf("./autogen.sh -p failed with exit code %d. Aborted.\n", $rc);
printf("./autogen.sh failed with exit code %d. Aborted.\n", $rc);
exit 1;
}
}