]> git.saurik.com Git - wxWidgets.git/blob - src/png/autogen.sh
Added ability to switch off more components of the size page UI
[wxWidgets.git] / src / png / autogen.sh
1 #! /bin/sh
2 # a quick hack script to generate necessary files from
3 # auto* tools.
4 #
5 # WARNING: if you run this you will change the versions
6 # of the tools which are used and, maybe, required!
7
8 # You can define your own replacements in your environment.
9 # $AUTOCONF, $AUTOMAKE, $AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
10
11 touch Makefile.am configure.ac
12 {
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