]> git.ipfire.org Git - thirdparty/lldpd.git/commitdiff
build: on OSX, use glibtoolize by default
authorVincent Bernat <bernat@luffy.cx>
Sun, 2 Mar 2014 23:20:20 +0000 (00:20 +0100)
committerVincent Bernat <bernat@luffy.cx>
Sun, 2 Mar 2014 23:23:49 +0000 (00:23 +0100)
autogen.sh

index 85f2cef14c8e3abbb51ae45e2ee260f65763b1a5..75a67ff18e45f5131b6ebfb2f89410c28f5c6ae4 100755 (executable)
@@ -8,7 +8,14 @@ set -e
     git submodule update
 }
 
-LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+case "$(uname)" in
+    Darwin)
+        LIBTOOLIZE=${LIBTOOLIZE:-glibtoolize}
+        ;;
+    *)
+        LIBTOOLIZE=${LIBTOOLIZE:-libtoolize}
+        ;;
+esac
 AUTORECONF=${AUTORECONF:-autoreconf}
 ACLOCAL=${ACLOCAL:-aclocal}
 AUTOCONF=${AUTOCONF:-autoconf}