summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 725cbf9)
raw | patch | inline | side by side (parent: 725cbf9)
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 3 Jul 2003 03:23:14 +0000 (03:23 +0000) | ||
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | |
Thu, 3 Jul 2003 03:23:14 +0000 (03:23 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@583 f882894a-f735-0410-b71e-b25c423dba1c
autogen.sh | patch | blob | history | |
tools/setup | patch | blob | history |
diff --git a/autogen.sh b/autogen.sh
index b833a3083e3463108240b7f81905e03e37745df5..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 depcomp; do
- test -r /usr/share/automake/${i} && {
- rm -f ${i}
- }
-done
-
-tools/setup
+./tools/setup
# For the Debian build
test -d debian && {
diff --git a/tools/setup b/tools/setup
index af5d1aacfba7c1311fab57c4d13946be6e7f04fe..904120f04210ef296f4414c62f0eb5bb65b1ff01 100755 (executable)
--- a/tools/setup
+++ b/tools/setup
-#! /bin/sh
+#!/bin/sh
+#
+# autogen.sh glue from 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
-autoconf
autoheader
automake --add-missing --copy
+autoconf
if [ -f debian/rules ] ; then
chmod +x debian/rules