X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=autogen.sh;h=c584309fff8a8ab9ea6d8f0c668d9f2a5f1178ab;hb=ab1e1edff3fa584536a072495d4bcff400339f40;hp=0357d93af9e2642944f9a3d9d76689951a915c3e;hpb=48442b777389cfecb95f07b800d69dbac24130f0;p=nagiosplug.git diff --git a/autogen.sh b/autogen.sh index 0357d93..c584309 100755 --- a/autogen.sh +++ b/autogen.sh @@ -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 && {