version 1.1.1.2, 2021/03/17 00:36:45
|
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 --add-missing --copy | |
autoconf | |
rm -rf config.cache |
rm -rf config.cache |