]> git.saurik.com Git - wxWidgets.git/blob - src/expat/buildconf.sh
Increase the number of visible OS X combo items.
[wxWidgets.git] / src / expat / buildconf.sh
1 #! /bin/sh
2
3 #--------------------------------------------------------------------------
4 # autoconf 2.58 or newer
5 #
6 ac_version="`${AUTOCONF:-autoconf} --version 2> /dev/null | head -1 | sed -e 's/^[^0-9]*//' -e 's/[a-z]* *$//'`"
7 if 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
11 fi
12 IFS=.; set $ac_version; IFS=' '
13 if 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
17 fi
18
19 echo "Creating configure ..."
20 ${AUTOCONF:-autoreconf} -fvi
21
22 # toss this; it gets created by autoconf on some systems
23 rm -rf autom4te*.cache
24
25 # exit with the right value, so any calling script can continue
26 exit 0