1
#! /bin/sh
2
3
# autogen.sh - bootstrap the fetchmail build after a fresh git checkout
4
# (C) 2004, 2010  Matthias Andree -- GNU GPL V2 or newer
5
6
set -e
7
8
# sanity checks:
9
test -f fetchmail.h
10
test -f fetchmail.c
11
test -f Makefile.am
12
13
# kill junk:
14
rm -rf autom4te.cache
15
16
echo
17
echo "Please stand by while generating files,"
18
echo "this may take a minute or two..."
19
echo
20
21
# do not use -s here, Eric S. Raymond (ESR) writes they don't
22
# work well in Debian's build system
23
${AUTORECONF:=autoreconf} -iv
24
25
echo
26
echo "You can now run ./configure and make as usual. See INSTALL for details."
27
echo