19 |
$AUTOCONF --version 2>/dev/null 1>/dev/null |
$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 |
24 |
fi |
fi |
25 |
fi |
fi |
39 |
exit -1 |
exit -1 |
40 |
fi |
fi |
41 |
|
|
|
LIBTOOLIZE="libtoolize" |
|
|
$LIBTOOLIZE --version 1>/dev/null 2>/dev/null |
|
|
|
|
|
if [ $? -ne 0 ] ; then |
|
|
LIBTOOLIZE="glibtoolize" |
|
|
$LIBTOOLIZE --version 1>/dev/null 2>/dev/null |
|
|
|
|
|
if [ $? -ne 0 ] ; then |
|
|
echo "'libtoolize' not found" |
|
|
exit -1 |
|
|
fi |
|
|
fi |
|
|
|
|
42 |
############################################################################## |
############################################################################## |
43 |
# Bootstraps the configure script |
# Bootstraps the configure script |
44 |
############################################################################## |
############################################################################## |
50 |
automake -c -a 1>/dev/null 2>/dev/null |
automake -c -a 1>/dev/null 2>/dev/null |
51 |
|
|
52 |
echo "Copying files provided by libtool" |
echo "Copying files provided by libtool" |
53 |
$LIBTOOLIZE -f -c 1>/dev/null 2>/dev/null |
libtoolize -f -c 1>/dev/null 2>/dev/null |
54 |
|
|
55 |
echo "Removing files that are not needed" |
echo "Removing files that are not needed" |
56 |
rm -rf autom4* |
rm -rf autom4* |