diff options
author | Tobias Brunner <tobias@strongswan.org> | 2009-05-05 08:02:07 -0400 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2009-05-06 09:10:58 -0400 |
commit | af05cc564c100940bbf59574e60e49bf689dd9c4 (patch) | |
tree | 45507431d75d9c282316c65b8d1d421b15e1cade /autogen.sh | |
parent | a8d938ca182a6a86bdc12cfb5025e9b6812df3d1 (diff) | |
download | strongswan-af05cc564c100940bbf59574e60e49bf689dd9c4.tar.bz2 strongswan-af05cc564c100940bbf59574e60e49bf689dd9c4.tar.xz |
libtoolize is called glibtoolize on Mac OS X
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/autogen.sh b/autogen.sh index 0839f0577..8927a0e49 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 |