X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=autogen.sh;h=4a780a4f3c58efd1342e6a601e9eb084b5571f43;hb=f16d8d23439b5569f0c2e1af22494708b507f277;hp=4202e5eec2d6818820c5d491129b87609970d178;hpb=8bfa1889ebdbff232d567a761ea1ec8d32c18e52;p=~andy%2Ffetchmail diff --git a/autogen.sh b/autogen.sh index 4202e5ee..4a780a4f 100755 --- a/autogen.sh +++ b/autogen.sh @@ -1,36 +1,26 @@ #! /bin/sh -# bootstrap.sh - bootstrap the fetchmail build after a fresh subversion checkout -# (C) 2004 Matthias Andree -- GNU GPL V2 +# autogen.sh - bootstrap the fetchmail build after a fresh git checkout +# (C) 2004, 2010 Matthias Andree -- GNU GPL V2 or newer set -e + # sanity checks: test -f fetchmail.h test -f fetchmail.c test -f Makefile.am + +# kill junk: rm -rf autom4te.cache + echo echo "Please stand by while generating files," echo "this may take a minute or two..." echo -# Original autogen.sh: -#rm -f po/Makefile.in.in po/ChangeLog po/ChangeLog~ || true -#gettextize -c -f || true # do not use -s here, Eric S. Raymond (ESR) writes they don't # work well in Debian's build system -autoreconf -iv - -# Taken from ESR's autgen.sh: -# -# For the Debian build, refresh list of +x scripts, to avoid -# possible breakage if upstream tarball does not include the file -# or if it is mispackaged for whatever reason -# -test -d debian && { - rm -f debian/executable.files - find -type f -perm +111 ! -name '.*' -fprint debian/executable.files -} +${AUTORECONF:=autoreconf} -iv echo echo "You can now run ./configure and make as usual. See INSTALL for details."