]>
git.saurik.com Git - wxWidgets.git/blob - src/expat/buildconf.sh
3 #--------------------------------------------------------------------------
4 # autoconf 2.58 or newer
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."
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."
19 echo "Creating configure ..."
20 ${AUTOCONF:-autoreconf} -fvi
22 # toss this; it gets created by autoconf on some systems
23 rm -rf autom4te
*.cache
25 # exit with the right value, so any calling script can continue