2 # Run this to generate all the initial makefiles, etc.
9 (autopoint --version) < /dev/null > /dev/null 2>&1 || {
11 echo "**Error**: You must have autopoint installed."
12 echo "Download the appropriate package for your distribution,"
13 echo "or see http://www.gnu.org/software/gettext"
17 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
19 echo "**Error**: You must have autoconf installed to."
20 echo "Download the appropriate package for your distribution,"
21 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
25 (grep "^AM_PROG_LIBTOOL" $srcdir/configure.in >/dev/null) && {
26 (libtool --version) < /dev/null > /dev/null 2>&1 || {
28 echo "**Error**: You must have libtool installed."
29 echo "Get ftp://ftp.gnu.org/pub/gnu/"
30 echo "(or a newer version if it is available)"
35 (automake --version) < /dev/null > /dev/null 2>&1 || {
37 echo "**Error**: You must have automake installed."
38 echo "Get ftp://ftp.gnu.org/pub/gnu/"
39 echo "(or a newer version if it is available)"
45 # if no automake, don't bother testing for aclocal
46 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
48 echo "**Error**: Missing aclocal. The version of automake"
49 echo "installed doesn't appear recent enough."
50 echo "Get ftp://ftp.gnu.org/pub/gnu/"
51 echo "(or a newer version if it is available)"
55 if test "$DIE" -eq 1; then
61 echo "**Warning**: I am going to run 'configure' with no arguments."
62 echo "If you wish to pass any to it, please specify them on the"
63 echo \'$0\'" command line."
67 echo "Generate build-system by:"
68 echo " autopoint: $(autopoint --version | head -1)"
69 echo " aclocal: $(aclocal --version | head -1)"
70 echo " autoconf: $(autoconf --version | head -1)"
71 echo " automake: $(automake --version | head -1)"
72 echo " libtoolize: $(libtoolize --version | head -1)"
77 autopoint --force $AP_OPTS
78 libtoolize --force --copy
79 aclocal -I m4 $AL_OPTS
81 automake --add-missing --gnu $AM_OPTS
84 if test x$NOCONFIGURE = x; then
85 echo Running $srcdir/configure $conf_flags "$@" ...
86 $srcdir/configure $conf_flags "$@" \
87 && echo Now type \`make\' to compile $PKG_NAME
89 echo Skipping configure process.