Code

Add -D_FORTIFY_SOURCE
[nagiosplug.git] / tools / setup
index 94bd077fa410149fd6d24415c90d9322f3185573..518b65201b5117473ed78638992a001d81780cf4 100755 (executable)
@@ -18,17 +18,13 @@ else
        echo Found GNU Make at $MAKE ... good.
 fi
 
-( cd m4 && $MAKE -f Makefile.am.in Makefile.am )
-
 # 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
 
-# I think gettext no longer necessary, as all necessary files imported from coreutils
-#autopoint --force
-aclocal -I m4 $extra
+aclocal -I gl/m4 -I m4 $extra
 #libtoolize --force --copy
 autoheader
 automake --add-missing --force-missing --copy
@@ -51,5 +47,8 @@ else
 fi
 
 if [ $docbook = 1 ] ; then
-       cd doc && make
+       ( cd doc && make )
 fi
+
+# Untar libtap
+( cd external && tar --gzip -xf tap-1.01-altinity.tar.gz )