Code

check_host: Allocate a large-enough buffer for the host table.
[nagiosplug.git] / autogen.sh
index 0357d93af9e2642944f9a3d9d76689951a915c3e..c584309fff8a8ab9ea6d8f0c668d9f2a5f1178ab 100755 (executable)
@@ -1,36 +1,9 @@
 #!/bin/sh
 #
-# autogen.sh glue for CMU Cyrus IMAP
-# $Id$
-#
 # Requires: automake, autoconf, dpkg-dev
 # set -e
 
-MAKE=$(which gnumake)
-if test ! -x "$MAKE" ; then MAKE=$(which gmake) ; fi
-if test ! -x "$MAKE" ; then MAKE=$(which make) ; fi
-HAVE_GNU_MAKE=$($MAKE --version|grep -c "Free Software Foundation")
-
-if test "$HAVE_GNU_MAKE" != "1"; then 
-       echo Could not find GNU make on this system, can not proceed with build.
-       exit 1
-else
-       echo Found GNU Make at $MAKE ... good.
-fi
-
-# Refresh GNU autotools toolchain.
-for i in config.guess config.sub missing install-sh mkinstalldirs ; do
-       test -r /usr/share/automake/${i} && {
-               rm -f ${i}
-               cp /usr/share/automake/${i} .
-       }
-       chmod 755 ${i}
-done
-
-aclocal -I lib
-autoheader
-automake -c -a
-autoconf
+./tools/setup
 
 # For the Debian build
 test -d debian && {