Code

fix off by 1 error
[rrdtool.git] / autogen.sh
index 5963868e00379fea9d86667e6f1f4bd57a6d648c..e9b7efff3a9bdaa8f4fc7a2c4a9e2e55d9f3bee2 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