Code

Patch to workaround SFnot having libtool installed
authorTon Voon <tonvoon@users.sourceforge.net>
Tue, 21 Mar 2006 12:56:59 +0000 (12:56 +0000)
committerTon Voon <tonvoon@users.sourceforge.net>
Tue, 21 Mar 2006 12:56:59 +0000 (12:56 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1334 f882894a-f735-0410-b71e-b25c423dba1c

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