3 |
# This file builds the configure script and copies all needed files |
# This file builds the configure script and copies all needed files |
4 |
# provided by automake/libtoolize |
# provided by automake/libtoolize |
5 |
# |
# |
6 |
# $Id: bootstrap.sh,v 1.3 2003-02-20 23:40:48 edgomez Exp $ |
# $Id: bootstrap.sh,v 1.4 2003-02-26 21:04:40 edgomez Exp $ |
7 |
|
|
8 |
|
|
9 |
############################################################################## |
############################################################################## |
11 |
############################################################################## |
############################################################################## |
12 |
|
|
13 |
# Find a suitable autoconf |
# Find a suitable autoconf |
14 |
AUTOCONF=`which autoconf2.50` |
AUTOCONF="autoconf2.50" |
15 |
|
$AUTOCONF --version 2>/dev/null 1>/dev/null |
16 |
|
|
17 |
if [ $? -ne 0 ] ; then |
if [ $? -ne 0 ] ; then |
18 |
AUTOCONF=`which autoconf` |
AUTOCONF="autoconf" |
19 |
|
$AUTOCONF --version 2>/dev/null 1>/dev/null |
20 |
|
|
21 |
if [ $? -ne 0 ] ; then |
if [ $? -ne 0 ] ; then |
22 |
echo "Autoconf not found" |
echo "Autoconf not found" |
23 |
exit -1 |
exit -1 |