Skip to content

Commit

Permalink
Greatly simplify (and fix) behavior of bootstrap.sh.
Browse files Browse the repository at this point in the history
Inspired by #1325.
  • Loading branch information
bmah888 committed May 13, 2022
1 parent 0208757 commit 9b18ce6
Showing 1 changed file with 1 addition and 21 deletions.
22 changes: 1 addition & 21 deletions bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,25 +30,5 @@
# script to regenerate all of the autotools-built files.
# Normally, this is only of use to developers.

# Figure out how to invoke libtoolize. On MacOS (with MacPorts)
# 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
autoreconf -fi
rm -rf config.cache

0 comments on commit 9b18ce6

Please sign in to comment.