diff options
author | tuexen <tuexen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7> | 2011-11-04 06:59:54 +0000 |
---|---|---|
committer | tuexen <tuexen@9df1edf5-d72c-5b5f-11c0-5f5209eb73f7> | 2011-11-04 06:59:54 +0000 |
commit | 8e332e7c3557e0f6eff2dd728415c4471910ace4 (patch) | |
tree | bc8adabb1a97fabf65df5d68bcd17b4df7555485 /bootstrap | |
parent | 9e44ebe5127e42fd9848e94adb331c8114ab3c34 (diff) | |
download | usrsctp-8e332e7c3557e0f6eff2dd728415c4471910ace4.tar.gz |
Make bootstrap work on different platforms. Get it compiling from
make dist generated tarball.
Diffstat (limited to 'bootstrap')
-rwxr-xr-x | bootstrap | 19 |
1 files changed, 16 insertions, 3 deletions
@@ -1,6 +1,19 @@ #! /bin/sh -set -x -aclocal -glibtoolize +if [ -e /usr/bin/glibtoolize ] ; then + glibtoolize --force +elif [ -e /usr/bin/libtoolize ] ; then + libtoolize --force +elif [ -e /usr/local/bin/libtoolize ] ; then + libtoolize --force +else + echo "ERROR: I cannot find libtoolize or glibtoolize!" + exit 1 +fi + +if [ -e /usr/local/share/aclocal ] ; then + aclocal -I /usr/local/share/aclocal +else + aclocal -I /usr/share/aclocal +fi autoconf automake --foreign --add-missing --copy |