]> arthur.barton.de Git - netatalk.git/blob - bootstrap
Merge remote branch 'origin/product-2-2' into develop
[netatalk.git] / bootstrap
1 #!/bin/sh
2
3 set -x
4
5 rm -rf autom4te*.cache
6
7 LIBTOOLIZE=libtoolize
8 SYSNAME=`uname`
9 if [ "x$SYSNAME" = "xDarwin" ] ; then
10   LIBTOOLIZE=glibtoolize
11 fi
12
13 # build it all.
14 aclocal -I macros $ACLOCAL_FLAGS || exit 1
15 autoheader || exit 1
16 $LIBTOOLIZE --force --copy
17 automake --include-deps --add-missing --foreign --copy || exit 1
18 autoconf || exit 1
19
20 # libevent
21 cd libevent
22 aclocal -I m4 && \
23         autoheader && \
24         $LIBTOOLIZE --force --copy && \
25         autoconf && \
26         automake --include-deps --add-missing --force-missing --copy || exit 1
27
28 # Let's not fall off the end...
29 exit 0