2 # autogen.sh -- Use this script to create generated files from the SVN distribution
9 ACLOCAL_FLAGS
="${ACLOCAL_FLAGS}"
12 test -z "$srcdir" && srcdir
=.
19 (autoconf
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
21 echo "You must have autoconf installed to compile $PROJECT."
22 echo "Download the appropriate package for your distribution,"
23 echo "or get the source tarball at ftp://ftp.gnu.org/pub/gnu/"
27 (automake
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
29 echo "You must have automake installed to compile $PROJECT."
30 echo "Get ftp://sourceware.cygnus.com/pub/automake/automake-1.4.tar.gz"
31 echo "(or a newer version if it is available)"
35 (libtoolize
--version) < /dev
/null
> /dev
/null
2>&1 ||
{
37 echo "You must have libtool installed to compile $PROJECT."
38 echo "Visit http://www.gnu.org/software/libtool/ for more information."
42 if test "${DIE}" -eq 1; then
46 test ${TEST_TYPE} ${TEST_FILE} ||
{
47 echo "You must run this script in the top-level $PROJECT directory"
52 *xlc |
*xlc\
* |
*lcc |
*lcc\
*) am_opt
=--include-deps;;
55 aclocal
${ACLOCAL_FLAGS}
57 #libtoolize --force --copy
59 # Optionally feature autoheader
60 (autoheader
--version) < /dev
/null
> /dev
/null
2>&1 && autoheader
62 automake
--add-missing --copy ${am_opt}