blob: 080f78ae05b416e0e13cdc255b7881bce70b56ac (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
#!/bin/sh
#-----------------------------------------------------------------------
# File: autogen.sh
# Description:
# + wrapper for m4 black-magic
#-----------------------------------------------------------------------
MY_ALDIRS="."
MY_AHDIRS="."
MY_LTDIRS="."
MY_AMDIRS="."
MY_ACDIRS="."
MY_SUBDIRS="./gfsm"
test -z "$ACLOCAL" && ACLOCAL=aclocal
test -z "$AUTOHEADER" && AUTOHEADER=autoheader
test -z "$LIBTOOLIZE" && LIBTOOLIZE="libtoolize --automake"
test -z "$AUTOMAKE" && AUTOMAKE=automake
test -z "$AUTOCONF" && AUTOCONF=autoconf
if test -n "$MY_ALDIRS"; then
for d in $MY_ALDIRS ; do
echo "(cd $d ; $ACLOCAL)"
(cd $d ; $ACLOCAL)
done
fi
if test -n "$MY_AHDIRS"; then
for d in $MY_AHDIRS ; do
echo "(cd $d ; $AUTOHEADER)"
(cd $d ; $AUTOHEADER)
done
fi
if test -n "$MY_LTDIRS"; then
for d in $MY_LTDIRS ; do
echo "(cd $d ; $LIBTOOLIZE)"
(cd $d ; $LIBTOOLIZE)
done
fi
if test -n "$MY_AMDIRS"; then
for d in $MY_AMDIRS ; do
echo "(cd $d ; $AUTOMAKE -a)"
(cd $d ; $AUTOMAKE -a)
done
fi
if test -n "$MY_ACDIRS"; then
for d in $MY_ACDIRS ; do
echo "(cd $d ; $AUTOCONF)"
(cd $d ; $AUTOCONF)
done
fi
if test -n "$MY_SUBDIRS"; then
for d in $MY_SUBDIRS ; do
echo "(cd $d ; sh ./autogen.sh)"
(cd $d ; sh ./autogen.sh)
done
fi
#echo "(./configure)"
#./configure $*
|