version 1.1, 2016/10/18 13:28:17
|
version 1.1.1.3, 2023/09/27 11:14:54
|
Line 30
|
Line 30
|
# script to regenerate all of the autotools-built files. |
# script to regenerate all of the autotools-built files. |
# Normally, this is only of use to developers. |
# Normally, this is only of use to developers. |
|
|
# Figure out how to invoke libtoolize. On MacOS (with MacPorts) | autoreconf -fi |
# it's invoked as glibtoolize. | |
if libtoolize --version >/dev/null 2>&1; then | |
libtoolize=libtoolize | |
elif glibtoolize --version >/dev/null 2>&1; then | |
libtoolize=glibtoolize | |
else | |
libtoolize="" | |
fi | |
if [ "x$libtoolize" = "x" ]; then | |
echo "Can't find libtoolize, exiting." | |
exit 1 | |
fi | |
| |
# Execute the various autotools commands in the correct order. | |
set -x | |
$libtoolize --copy --force --automake | |
aclocal -I config | |
autoheader | |
automake --foreign --add-missing --copy | |
autoconf | |
rm -rf config.cache |
rm -rf config.cache |