(metux) configure.ac: removed broken and obsolete AC_C_CONST
[mirror-ossqm-libpng.git] / autogen.sh
blob5be104eb1d9faff14bdbf82f2c8185f470e9e4aa
1 #! /bin/sh
2 # a quick hack script to generate necessary files from
3 # auto* tools.
5 # WARNING: if you run this you will change the versions
6 # of the tools which are used and, maybe, required!
8 # You can define your own replacements in your environment.
9 # $AUTOCONF, $AUTOMAKE, $AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
11 touch Makefile.am configure.ac
13 LT=${LIBTOOLIZE-libtoolize}
14 echo "running $LT" >&2
15 $LT --force --copy --automake
16 } && {
17 AL=${ACLOCAL-aclocal}
18 echo "running $AL" >&2
19 $AL
20 } && {
21 AH=${AUTOHEADER-autoheader}
22 echo "running $AH [ignore the warnings]" >&2
23 $AH
24 } && {
25 AM=${AUTOMAKE-automake}
26 echo "running $AM" >&2
27 $AM --force-missing --foreign -a -c
28 } && {
29 AC=${AUTOCONF-autoconf}
30 echo "running $AC" >&2
31 $AC
32 } &&
33 echo "autogen complete" >&2 ||
34 echo "ERROR: autogen.sh failed, autogen is incomplete" >&2