3 # Run this to generate all the initial makefiles.
15 # Check for python. There's no "--version" option!
16 python -c "print 'Checking for python.'"
20 You must have Python in order to compile $PROJECT.
21 Download the appropriate package for your distribution/OS,
22 or get the source tarball at http://www.python.org/
28 ACVER=`$AUTOCONF --version | grep '^autoconf' | sed 's/.*) *//'`
30 '' | 0.* | 1.* | 2.[0-4]* | \
31 2.5[0-1] | 2.5[0-1][a-z]* )
34 You must have autoconf 2.52 or later installed to compile $PROJECT.
35 Download the appropriate package for your distribution/OS,
36 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/autoconf/
43 AMVER=`$AUTOMAKE --version | grep '^automake' | sed 's/.*) *//'`
49 You must have automake 1.6 or later installed to compile $PROJECT.
50 Download the appropriate package for your distribution/OS,
51 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/automake/
59 # Apple's Developer Tools have a "libtool" that has nothing to do with
60 # the GNU libtool; they call the latter "glibtool". They also call
61 # libtoolize "glibtoolize".
63 # Check for "glibtool" first.
65 LTVER=`glibtool --version 2>/dev/null | grep ' libtool)' | \
66 sed 's/.*libtool) \([0-9][0-9.]*\)[^ ]* .*/\1/'`
69 LTVER=`libtool --version | grep ' libtool)' | \
70 sed 's/.*) \([0-9][0-9.]*\)[^ ]* .*/\1/' `
73 LIBTOOLIZE=glibtoolize
80 You must have libtool 1.4 or later installed to compile $PROJECT.
81 Download the appropriate package for your distribution/OS,
82 or get the source tarball at ftp://ftp.gnu.org/pub/gnu/libtool/
90 for dir in . wiretap ; do
94 if [ "$dir" = "." ] ; then
99 aclocal_flags=`$topdir/aclocal-flags`
100 aclocalinclude="$ACLOCAL_FLAGS $aclocal_flags";
101 echo $ACLOCAL $aclocalinclude
102 $ACLOCAL $aclocalinclude || exit 1
103 if [ "$dir" = "." ] ; then
105 # We do NOT want libtoolize overwriting our versions of config.guess and
106 # config.sub, so move them away and then move them back.
107 # We don't omit "--force", as we want libtoolize to install other files
110 mv config.guess config.guess.save-libtool
111 mv config.sub config.sub.save-libtool
112 LTARGS=" --copy --force"
113 echo $LIBTOOLIZE $LTARGS
114 $LIBTOOLIZE $LTARGS || exit 1
115 rm -f config.guess config.sub
116 mv config.guess.save-libtool config.guess
117 mv config.sub.save-libtool config.sub
120 $AUTOHEADER || exit 1
121 echo $AUTOMAKE --add-missing --gnu $am_opt
122 $AUTOMAKE --add-missing --gnu $am_opt || exit 1
128 #./configure "$@" || exit 1
131 echo "Now type \"./configure [options]\" and \"make\" to compile $PROJECT."