Some makes do not like blank lines after "\". Fixed check_ldaps to only
[monitoring-plugins.git] / autogen.sh
blob3bc484b5ce851b31f426d1d4105e9b58850b2f0f
1 #!/bin/sh
3 # $Id$
5 # Requires: automake, autoconf, dpkg-dev
6 # set -e
8 ./tools/setup
10 # For the Debian build
11 test -d debian && {
12 # Kill executable list first
13 rm -f debian/executable.files
15 # Make sure our executable and removable lists won't be screwed up
16 debclean && echo Cleaned buildtree just in case...
18 # refresh list of executable scripts, to avoid possible breakage if
19 # upstream tarball does not include the file or if it is mispackaged
20 # for whatever reason.
21 echo Generating list of executable files...
22 rm -f debian/executable.files
23 find -type f -perm +111 ! -name '.*' -fprint debian/executable.files
25 # link these in Debian builds
26 rm -f config.sub config.guess
27 ln -s /usr/share/misc/config.sub .
28 ln -s /usr/share/misc/config.guess .
31 ./configure $*
33 exit 0