diff --git a/autogen.sh b/autogen.sh
index 0357d93af9e2642944f9a3d9d76689951a915c3e..3bc484b5ce851b31f426d1d4105e9b58850b2f0f 100755 (executable)
--- a/autogen.sh
+++ b/autogen.sh
#!/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 && {