mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
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:
parent
1bad18cc24
commit
78096ab08a
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user