1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
|
#!/bin/sh
# Need to use use autoconf >= 2.50 an automake >= 1.5. This allows user to
# set these variables in their environment, or to just use the defaults below.
# This is needed since some systems still use autoconf-2.13 and automake-1.4 as
# the defaults (e.g. debian).
: ${ACLOCAL=aclocal}
: ${AUTOMAKE=automake}
: ${AUTOCONF=autoconf}
: ${AUTOHEADER=autoheader}
export ACLOCAL AUTOMAKE AUTOCONF AUTOHEADER
# Export them in case someone edited the defaults above; automake is
# not happy if it cannot find either ${AUTOCONF} or `autoconf'.
export ACLOCAL AUTOMAKE AUTOCONF AUTOHEADER
set -e
set -x
(
${ACLOCAL}
${AUTOHEADER}
${AUTOCONF}
[ -d config-aux ] || mkdir config-aux
${AUTOMAKE} -a -c
)
rm -f config.cache
|