use crl_reason_t definition from <credentials/certificates/crl.h>
[strongswan.git] / autogen.sh
index 0839f05..8927a0e 100755 (executable)
@@ -1,5 +1,18 @@
 #!/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 &&
 automake -a &&
 autoconf