updates to the win32 port -- Chris Larsen
[rrdtool.git] / autogen.sh
index 5963868..e9b7eff 100755 (executable)
@@ -1,4 +1,11 @@
-#!/bin/sh
-PATH="/usr/pack/automake-1.11-to/amd64-linux-ubuntu8.04/bin:$PATH"
-export PATH
-autoreconf --force --install --verbose -I config -I m4
+#!/bin/bash
+
+# On MAC OS X, GNU libtoolize is named 'glibtoolize':
+if [ `(uname -s) 2>/dev/null` == 'Darwin' ]
+then
+       glibtoolize
+else
+       libtoolize
+fi
+
+autoreconf --force --install --verbose -I m4