summaryrefslogtreecommitdiffstats
path: root/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh22
1 files changed, 1 insertions, 21 deletions
diff --git a/autogen.sh b/autogen.sh
index b833a308..3bc484b5 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,31 +1,11 @@
1#!/bin/sh 1#!/bin/sh
2# 2#
3# autogen.sh glue for CMU Cyrus IMAP
4# $Id$ 3# $Id$
5# 4#
6# Requires: automake, autoconf, dpkg-dev 5# Requires: automake, autoconf, dpkg-dev
7# set -e 6# set -e
8 7
9MAKE=$(which gnumake) 8./tools/setup
10if test ! -x "$MAKE" ; then MAKE=$(which gmake) ; fi
11if test ! -x "$MAKE" ; then MAKE=$(which make) ; fi
12HAVE_GNU_MAKE=$($MAKE --version|grep -c "Free Software Foundation")
13
14if test "$HAVE_GNU_MAKE" != "1"; then
15 echo Could not find GNU make on this system, can not proceed with build.
16 exit 1
17else
18 echo Found GNU Make at $MAKE ... good.
19fi
20
21# Refresh GNU autotools toolchain.
22for i in config.guess config.sub missing install-sh mkinstalldirs depcomp; do
23 test -r /usr/share/automake/${i} && {
24 rm -f ${i}
25 }
26done
27
28tools/setup
29 9
30# For the Debian build 10# For the Debian build
31test -d debian && { 11test -d debian && {