summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Villiom Podlaski Christiansen <danchr@gmail.com>2012-10-23 17:44:31 +0200
committerKlaus Kämpf <kkaempf@suse.de>2012-11-08 15:45:38 +0100
commit72510c69a88422a27cf52f03ad18b1b47e826e43 (patch)
tree98783530bcc98c81e0e60fe258b0ec52afbb9ece
parentde0922f2892858ad3c48c589ca03510cc245c128 (diff)
downloadwsmancli-72510c69a88422a27cf52f03ad18b1b47e826e43.tar.gz
wsmancli-72510c69a88422a27cf52f03ad18b1b47e826e43.tar.xz
wsmancli-72510c69a88422a27cf52f03ad18b1b47e826e43.zip
fix Darwin support
# HG changeset patch # User Dan Villiom Podlaski Christiansen <dan@cabo.dk> # Date 1351006208 -7200 # Node ID 9530ad68d54dd519b0acd1a1516e9259e59277e1 # Parent a50eb30597f3a077189a3019ac4fe11e12250bb6 fix Darwin support Apple used to provide a tool called 'libtoolize' in the OS X developer tools, so the Libtool project wisely named their tool 'glibtoolize' on darwin. Other than that, hardcoding specific versions of autotools is fairly annoying. Signed-off-by: Klaus Kämpf <kkaempf@suse.de>
-rwxr-xr-xbootstrap13
1 files changed, 5 insertions, 8 deletions
diff --git a/bootstrap b/bootstrap
index 731fa44..b953ba7 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3,16 +3,13 @@
UNAME=`uname`
if [ "$UNAME" = "Darwin" ]; then
-libtoolize --copy --force --automake
-aclocal-1.9
-autoheader-2.60
-automake-1.9 --add-missing --copy --foreign
-autoconf-2.60
-
+ LIBTOOLIZE=glibtoolize
else
-libtoolize --copy --force --automake
+ LIBTOOLIZE=libtoolize
+fi
+
+$LIBTOOLIZE --copy --force --automake
aclocal
autoheader
automake --add-missing --copy --foreign
autoconf
-fi