aboutsummaryrefslogtreecommitdiffstats
path: root/autogen.sh
blob: 4a780a4f3c58efd1342e6a601e9eb084b5571f43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#! /bin/sh

# 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

# do not use -s here, Eric S. Raymond (ESR) writes they don't
# work well in Debian's build system
${AUTORECONF:=autoreconf} -iv

echo
echo "You can now run ./configure and make as usual. See INSTALL for details."
echo