From 64a464f5957f382190cbee3824201f7a3f2ee8db Mon Sep 17 00:00:00 2001 From: Sebastian Harl Date: Sun, 23 Mar 2008 14:46:34 +0100 Subject: [PATCH] bootstrap.sh: Use glibtoolize if it's available. This way, the script should work on e.g. MacOSX as well. --- bootstrap.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/bootstrap.sh b/bootstrap.sh index 40a1920..c72e9b5 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,11 @@ #! /bin/sh +libtoolize=libtoolize + +if which glibtoolize > /dev/null 2>&1; then + libtoolize=glibtoolize +fi + set -ex test ! -f Makefile || make distclean @@ -11,7 +17,7 @@ rm -f config.cache aclocal autoheader -libtoolize --ltdl --copy --force +$libtoolize --ltdl --copy --force automake --add-missing --copy --foreign autoconf -Wall -- 2.30.2