1 |
#!/bin/sh |
2 |
# |
3 |
# File: bewm.sh |
4 |
# Author: James Couzens <jcouzens@codeshare.ca> |
5 |
# Date: November 18, 2004 |
6 |
# |
7 |
# Desc: |
8 |
# Because autotools and autoconf etc.. generate such obscenly huge |
9 |
# and disgusting shell output, you should run this script to call the |
10 |
# appropriate userland tools to generate the necessary autotools shell |
11 |
# scripts such that you can then run 'configure' and 'make' etc... |
12 |
# |
13 |
|
14 |
AL='/usr/bin/aclocal-1.6' |
15 |
AH='/usr/bin/autoheader-2.59' |
16 |
AC='/usr/bin/autoconf-2.59' |
17 |
AM='/usr/bin/automake-1.6' |
18 |
|
19 |
if test -x $AL; then |
20 |
echo "Calling aclocal ($AL)..."; |
21 |
$AL |
22 |
else |
23 |
echo "Unable to execute ($AL) or it doesn't exist..."; |
24 |
exit -1; |
25 |
fi |
26 |
|
27 |
if test -x $AH; then |
28 |
echo "Calling autoheader ($AH)..."; |
29 |
$AH |
30 |
else |
31 |
echo "Unable to execute ($AH) or it doesn't exist..."; |
32 |
exit -1; |
33 |
fi |
34 |
|
35 |
if test -x $AC; then |
36 |
echo "Calling autoconf ($AC)..."; |
37 |
$AC |
38 |
else |
39 |
echo "Unable to execute ($AC) or it doesn't exist..."; |
40 |
exit -1; |
41 |
fi |
42 |
|
43 |
if test -x $AM; then |
44 |
echo "Calling automake ($AM)..."; |
45 |
$AM |
46 |
else |
47 |
echo "Unable to execute ($AM) or it doesn't exist..."; |
48 |
exit -1; |
49 |
fi |
50 |
|
51 |
echo "Done!"; |