3 # Run this to generate all the initial makefiles.
5 # $Id: autogen.sh,v 1.10 2000/07/26 08:03:39 guy Exp $
10 VER=`autoconf --version | grep '^autoconf' | sed 's/.*)//'`
12 0* | 1\.* | 2\.[0-9] | 2\.[0-9][a-z]* | \
13 2\.1[0-2] | 2\.1[0-2][a-z]* )
16 You must have autoconf 2.13 or later installed to compile $PROJECT.
17 Download the appropriate package for your distribution/OS,
18 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf/
25 VER=`automake --version | grep '^automake' | sed 's/.*)//'`
27 0* | 1\.[0-3] | 1\.[0-3][a-z]* )
31 You must have automake 1.4 or later installed to compile $PROJECT.
32 Download the appropriate package for your distribution/OS,
33 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/
40 VER=`libtool --version | grep ' libtool)' | \
41 sed 's/.*) \([0-9][0-9.]*\) .*/\1/' `
43 0* | 1\.[0-2] | 1\.[0-2][a-z]* | \
44 1\.3\.[0-2] | 1\.3\.[0-2][a-z]* )
48 You must have libtool 1.3.3 or later installed to compile $PROJECT.
49 Download the appropriate package for your distribution/OS,
50 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/
58 libtoolize --copy --force || exit 1
61 echo "Running ./configure with no arguments. If you wish to pass any,"
62 echo "please specify them on the $0 command line."
65 aclocal_flags="`./aclocal-flags`"
66 for dir in . wiretap ; do
70 aclocalinclude="$ACLOCAL_FLAGS $aclocal_flags"; \
71 echo aclocal $aclocalinclude
72 aclocal $aclocalinclude || exit 1
75 echo automake --add-missing --gnu $am_opt
76 automake --add-missing --gnu $am_opt || exit 1
82 ./configure "$@" || exit 1
85 echo "Now type 'make' to compile $PROJECT."