3 # Run this to generate all the initial makefiles.
5 # $Id: autogen.sh,v 1.1 1999/07/27 04:43:01 gram Exp $
10 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
12 echo "You must have autoconf installed to compile $PROJECT."
13 echo "Download the appropriate package for your distribution,"
14 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
18 (automake --version) < /dev/null > /dev/null 2>&1 || {
20 echo "You must have autoconf installed to compile $PROJECT."
21 echo "Download the appropriate package for your distribution,"
22 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
26 if test "$DIE" -eq 1 ; then
31 echo "Running ./configure with no arguments. If you wish to pass any,",
32 echo "please specify them on the $0 command line."
35 for dir in . wiretap ; do
38 aclocalinclude="$ACLOCAL_FLAGS"; \
39 aclocal $aclocalinclude; \
40 autoheader; automake --add-missing --gnu $am_opt; autoconf)
46 aclocalinclude="$ACLOCAL_FLAGS"; \
47 aclocal $aclocalinclude; \
54 echo "Now type 'make' to compile $PROJECT."