xpc: support termination of IKE_SAs using XPC RPC on connection channel
[strongswan.git] / autogen.sh
index 0839f05..5aae436 100755 (executable)
@@ -1,6 +1,20 @@
 #!/bin/sh
-libtoolize --force &&
+
+LIBTOOLIZE=`which glibtoolize 2>/dev/null`
+case "$LIBTOOLIZE" in
+       /* )    ;;
+       *  )    LIBTOOLIZE=`which libtoolize 2>/dev/null`
+               case "$LIBTOOLIZE" in
+                       /* )    ;;
+                       *  )    LIBTOOLIZE=libtoolize
+                               ;;
+               esac
+               ;;
+esac
+
+$LIBTOOLIZE --force &&
 aclocal &&
+autoheader &&
 automake -a &&
 autoconf