and also make it customizable through the environment variable $LIBTOOLIZE. Fixes autogen.sh issues on OS X, which ships its own (incompatible) libtoolize. R=jeff
13 lines
260 B
Bash
Executable File
13 lines
260 B
Bash
Executable File
#! /bin/sh -e
|
|
rm -rf autom4te.cache
|
|
aclocal -I m4
|
|
autoheader
|
|
if glibtoolize --version >/dev/null 2>/dev/null; then
|
|
LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
|
|
else
|
|
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
|
|
fi
|
|
$LIBTOOLIZE --copy
|
|
automake --add-missing --copy
|
|
autoconf
|