autogen.sh (flex-2.6.3) | : | autogen.sh (flex-2.6.4) | ||
---|---|---|---|---|
skipping to change at line 27 | skipping to change at line 27 | |||
# without specific prior written permission. | # without specific prior written permission. | |||
# THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | # THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR | |||
# IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | # IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED | |||
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | # WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR | |||
# PURPOSE. | # PURPOSE. | |||
# If you see no configure script, then run ./autogen.sh to create it | # If you see no configure script, then run ./autogen.sh to create it | |||
# and procede with the "normal" build procedures. | # and procede with the "normal" build procedures. | |||
# use LIBTOOLIZE, if set | ||||
LIBTOOLIZE_ORIG="$LIBTOOLIZE"; | ||||
if test "x$LIBTOOLIZE" = "x"; then LIBTOOLIZE=libtoolize; fi | ||||
# test libtoolize | ||||
$LIBTOOLIZE --version 2>/dev/null | ||||
if test "$?" -ne 0; then | ||||
LIBTOOLIZE=glibtoolize | ||||
$LIBTOOLIZE --version 2>/dev/null | ||||
if test "$?" -ne 0; then | ||||
echo "error: libtoolize not working, re-run with LIBTOOLIZE=/path/to/libto | ||||
olize" | ||||
echo " LIBTOOLIZE is currently \"$LIBTOOLIZE_ORIG\"" | ||||
exit 1 | ||||
fi | ||||
fi | ||||
#if we pretend to have a ChangeLog, then automake is less | #if we pretend to have a ChangeLog, then automake is less | |||
#worried. (Don't worry, we *do* have a ChangeLog, we just need the | #worried. (Don't worry, we *do* have a ChangeLog, we just need the | |||
#Makefile first.) | #Makefile first.) | |||
touch ChangeLog | if ! test -f ChangeLog; then | |||
libtoolize --install --force || glibtoolize --install --force | touch ChangeLog | |||
fi | ||||
"$LIBTOOLIZE" --install --force | ||||
autoreconf --install --force | autoreconf --install --force | |||
End of changes. 2 change blocks. | ||||
2 lines changed or deleted | 21 lines changed or added |