Code

Fix memory leak in check_http for large pages (Jimmy Bergman - #2957455)
[nagiosplug.git] / tools / setup
index 501ae2095c7c921c65c703010dd944de336d371b..1afe4f15bd749d6df2e101655e208a90a07d5ea5 100755 (executable)
@@ -1,7 +1,6 @@
 #!/bin/sh
 #
 # autogen.sh glue from CMU Cyrus IMAP
-# $Id$
 #
 # Requires: automake, autoconf, dpkg-dev
 # set -e
@@ -18,18 +17,14 @@ else
        echo Found GNU Make at $MAKE ... good.
 fi
 
-( cd m4 && $MAKE -f Makefile.am Makefile.am.in )
-
 # 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
-libtoolize --force --copy
+aclocal -I gl/m4 -I m4 $extra
+#libtoolize --force --copy
 autoheader
 automake --add-missing --force-missing --copy
 autoconf
@@ -51,5 +46,5 @@ else
 fi
 
 if [ $docbook = 1 ] ; then
-       cd doc && make
+       ( cd doc && make )
 fi