Code

Patch to workaround SFnot having libtool installed
[nagiosplug.git] / tools / setup
index be625abdf63fc4f631c099abf0abb8a84f099fd0..17eed516eca5b0e068586e97bb711fd266a5fe43 100755 (executable)
@@ -18,8 +18,14 @@ else
        echo Found GNU Make at $MAKE ... good.
 fi
 
+# This bit is to fix SF's compile server as libtool not installed by default
+extra=""
+if test -d $HOME/share/aclocal ; then
+       extra="-I $HOME/share/aclocal"
+fi
+
 autopoint --force
-aclocal -I m4
+aclocal -I m4 $extra
 libtoolize --force --copy
 autoheader
 automake --add-missing --force-missing --copy