]> git.saurik.com Git - wxWidgets.git/blame - src/png/autogen.sh
Ensure that message boxes with only "OK" can be closed with Escape in wxMSW.
[wxWidgets.git] / src / png / autogen.sh
CommitLineData
970f6abe
VZ
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!
b61cc19c
PC
7
8# You can define your own replacements in your environment.
9# $AUTOCONF, $AUTOMAKE, $AUTOHEADER, $AUTOPOINT, $ACLOCAL and $LIBTOOLIZE
10
11touch Makefile.am configure.ac
970f6abe 12{
b61cc19c
PC
13 LT=${LIBTOOLIZE-libtoolize}
14 echo "running $LT" >&2
15 $LT --force --copy --automake
970f6abe 16} && {
b61cc19c
PC
17 AL=${ACLOCAL-aclocal}
18 echo "running $AL" >&2
19 $AL
970f6abe 20} && {
b61cc19c
PC
21 AH=${AUTOHEADER-autoheader}
22 echo "running $AH [ignore the warnings]" >&2
23 $AH
970f6abe 24} && {
b61cc19c
PC
25 AM=${AUTOMAKE-automake}
26 echo "running $AM" >&2
27 $AM --force-missing --foreign -a -c
970f6abe 28} && {
b61cc19c
PC
29 AC=${AUTOCONF-autoconf}
30 echo "running $AC" >&2
31 $AC
970f6abe 32} &&
b61cc19c
PC
33 echo "autogen complete" >&2 ||
34 echo "ERROR: autogen.sh failed, autogen is incomplete" >&2