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."
17 (msgfmt --version) < /dev/null > /dev/null 2>&1 || {
19 echo "**Warning**: You should have gettext installed."
20 echo "Download the appropriate package for your distribution."
21 echo "To disable translation, you can also use --disable-nls"
22 echo "configure option."
25 (autoconf --version) < /dev/null > /dev/null 2>&1 || {
27 echo "**Error**: You must have autoconf installed."
28 echo "Download the appropriate package for your distribution."
32 (grep "^LT_INIT" $srcdir/configure.ac >/dev/null) && {
33 (libtoolize --version) < /dev/null > /dev/null 2>&1 || {
35 echo "**Error**: You must have libtoolize installed."
36 echo "Download the appropriate package for your distribution."
41 (automake --version) < /dev/null > /dev/null 2>&1 || {
43 echo "**Error**: You must have automake installed."
44 echo "Download the appropriate package for your distribution."
50 # if no automake, don't bother testing for aclocal
51 test -n "$NO_AUTOMAKE" || (aclocal --version) < /dev/null > /dev/null 2>&1 || {
53 echo "**Error**: Missing aclocal. The version of automake"
54 echo "installed doesn't appear recent enough."
58 if test "$DIE" -eq 1; then
63 echo "Generate build-system by:"
64 echo " autopoint: $(autopoint --version | head -1)"
65 echo " aclocal: $(aclocal --version | head -1)"
66 echo " autoconf: $(autoconf --version | head -1)"
67 echo " automake: $(automake --version | head -1)"
68 echo " libtoolize: $(libtoolize --version | head -1)"
73 autopoint --force $AP_OPTS
74 libtoolize --force --copy
75 aclocal -I m4 $AL_OPTS
77 automake --force-missing --add-missing --copy --gnu $AM_OPTS
81 echo "Now type '$srcdir/configure' and 'make' to compile."