Files
Snappy/autogen.sh
Steinar H. Gunderson 2b9152d9c5 Default to glibtoolize instead of libtoolize if it exists,
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
2016-03-10 18:37:05 +01:00

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