]> git.saurik.com Git - wxWidgets.git/blame - src/expat/buildconf.sh
wxGTK1 : wx/private/eventloopsourcesmanager.h was missing in evtloop.cpp
[wxWidgets.git] / src / expat / buildconf.sh
CommitLineData
11a3e7b6
VZ
1#! /bin/sh
2
3#--------------------------------------------------------------------------
4# autoconf 2.58 or newer
5#
6ac_version="`${AUTOCONF:-autoconf} --version 2> /dev/null | head -1 | sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`"
7if test -z "$ac_version"; then
8 echo "ERROR: autoconf not found."
9 echo " You need autoconf version 2.58 or newer installed."
10 exit 1
11fi
12IFS=.; set $ac_version; IFS=' '
13if test "$1" = "2" -a "$2" -lt "58" || test "$1" -lt "2"; then
14 echo "ERROR: autoconf version $ac_version found."
15 echo " You need autoconf version 2.58 or newer installed."
16 exit 1
17fi
18
19echo "Creating configure ..."
20${AUTOCONF:-autoreconf} -fvi
21
22# toss this; it gets created by autoconf on some systems
23rm -rf autom4te*.cache
24
25# exit with the right value, so any calling script can continue
26exit 0