summaryrefslogtreecommitdiffstats
path: root/ipsec-tools/bootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'ipsec-tools/bootstrap')
-rwxr-xr-xipsec-tools/bootstrap21
1 files changed, 21 insertions, 0 deletions
diff --git a/ipsec-tools/bootstrap b/ipsec-tools/bootstrap
new file mode 100755
index 00000000..1f2bdb66
--- /dev/null
+++ b/ipsec-tools/bootstrap
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+set -x
+
+case `uname -s` in
+Darwin)
+ LIBTOOLIZE=glibtoolize
+ ;;
+*)
+ LIBTOOLIZE=libtoolize
+ ;;
+esac
+
+# Remove autoconf 2.5x's cache directory
+rm -rf autom4te*.cache
+
+aclocal -I . || exit 1
+autoheader || exit 1
+${LIBTOOLIZE} --force --copy || exit 1
+automake --foreign --add-missing --copy || exit 1
+autoconf || exit 1