X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netatalk.git;a=blobdiff_plain;f=bootstrap;h=76b98f3b45993438dce5160bcf203d46c4541953;hp=62610eef1a71de5684de043af95f63b6276d339f;hb=d2da4b77412a33dc2d62c7877e7b331285dadab6;hpb=b0bcb8f6b0571592a50ce039882c9319e012a270 diff --git a/bootstrap b/bootstrap index 62610eef..76b98f3b 100755 --- a/bootstrap +++ b/bootstrap @@ -4,14 +4,26 @@ set -x rm -rf autom4te*.cache +LIBTOOLIZE=libtoolize +SYSNAME=`uname` +if [ "x$SYSNAME" = "xDarwin" ] ; then + LIBTOOLIZE=glibtoolize +fi + # build it all. aclocal -I macros $ACLOCAL_FLAGS || exit 1 autoheader || exit 1 -libtoolize --force --copy +$LIBTOOLIZE --force --copy automake --include-deps --add-missing --foreign --copy || exit 1 autoconf || exit 1 -cd libevent && ./autogen.sh +# libevent +cd libevent +aclocal -I m4 && \ + autoheader && \ + $LIBTOOLIZE --force --copy && \ + autoconf && \ + automake --include-deps --add-missing --force-missing --copy || exit 1 # Let's not fall off the end... exit 0