summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c5d8344)
raw | patch | inline | side by side (parent: c5d8344)
author | Sebastian Harl <sh@tokkee.org> | |
Sun, 9 Mar 2008 18:59:15 +0000 (19:59 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sat, 22 Mar 2008 09:24:01 +0000 (10:24 +0100) |
This way, the script should work on e.g. MacOSX as well.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
Signed-off-by: Sebastian Harl <sh@tokkee.org>
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
build.sh | patch | blob | history |
diff --git a/build.sh b/build.sh
index 89d3a68e0e49d86a3f586cd7c995530c6e344ff7..3efb44f64047c5bdeedf6dc5d646230645a4afcd 100755 (executable)
--- a/build.sh
+++ b/build.sh
#! /bin/sh
+libtoolize=libtoolize
+
+if which glibtoolize > /dev/null 2>&1; then
+ libtoolize=glibtoolize
+fi
+
set -x
autoheader \
&& aclocal \
-&& libtoolize --ltdl --copy --force \
+&& $libtoolize --ltdl --copy --force \
&& automake --add-missing --copy \
&& autoconf