mirror of https://github.com/google/snappy.git
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
This commit is contained in:
parent
0800b1e4c7
commit
2b9152d9c5
|
@ -2,6 +2,11 @@
|
|||
rm -rf autom4te.cache
|
||||
aclocal -I m4
|
||||
autoheader
|
||||
libtoolize --copy
|
||||
if glibtoolize --version >/dev/null 2>/dev/null; then
|
||||
LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
|
||||
else
|
||||
LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
|
||||
fi
|
||||
$LIBTOOLIZE --copy
|
||||
automake --add-missing --copy
|
||||
autoconf
|
||||
|
|
Loading…
Reference in New Issue