mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-22 19:23:02 +01:00
Newer (appears 2.X) versions of libtoolize require switch --install
to create additional files (config.sub, config.guess). Added detection of that switch - based on original patch from Bill Oliver.
This commit is contained in:
parent
c7eaa2d1d2
commit
aa44a34bed
13
autogen.sh
13
autogen.sh
@ -77,7 +77,18 @@ if test "x$LIBTOOL_M4" != "x"; then
|
||||
rm -f aclocal.m4
|
||||
cp $LIBTOOL_M4 aclocal.m4
|
||||
fi
|
||||
$LIBTOOLIZE --copy --force || exit 1
|
||||
|
||||
TEMPFILE="./lt.out"
|
||||
$LIBTOOLIZE --install --dry-run >$TEMPFILE 2>&1
|
||||
LIBTOOL_AUX_FILES=`grep 'unrecognized option' $TEMPFILE`
|
||||
rm -f $TEMPFILE
|
||||
if test "x$LIBTOOL_AUX_FILES" != "x"; then
|
||||
$LIBTOOLIZE --copy --force || exit 1
|
||||
else
|
||||
# libtoolize no longer installs config.guess and config.sub by default.
|
||||
# Use new --install option to get old behavior.
|
||||
$LIBTOOLIZE --copy --force --install || exit 1
|
||||
fi
|
||||
|
||||
echo "Running autoreconf ..."
|
||||
autoreconf -if
|
||||
|
Loading…
Reference in New Issue
Block a user