diff options
Diffstat (limited to 'autogen.sh')
| -rwxr-xr-x | autogen.sh | 30 |
1 files changed, 23 insertions, 7 deletions
| @@ -1,9 +1,25 @@ | |||
| 1 | #!/bin/sh | 1 | #!/bin/sh |
| 2 | m4/buildconf.py \ | ||
| 3 | --libtoolize \ | ||
| 4 | --aclocal \ | ||
| 5 | --automake \ | ||
| 6 | --autoconf \ | ||
| 7 | --autoheader | ||
| 8 | 2 | ||
| 9 | rm -rf autom4te.cache | 3 | if [ -z $ACLOCAL ]; then |
| 4 | ACLOCAL=aclocal | ||
| 5 | fi | ||
| 6 | if [ -z $AUTOCONF ]; then | ||
| 7 | AUTOCONF=autoconf | ||
| 8 | fi | ||
| 9 | if [ -z $AUTOHEADER ]; then | ||
| 10 | AUTOHEADER=autoheader | ||
| 11 | fi | ||
| 12 | if [ -z $AUTORECONF ]; then | ||
| 13 | AUTORECONF=autoreconf | ||
| 14 | fi | ||
| 15 | |||
| 16 | #rm -rf autom4te.cache | ||
| 17 | $AUTORECONF -f -i | ||
| 18 | #touch stamp-h.in | ||
| 19 | |||
| 20 | for x in providers/*; do | ||
| 21 | if [ -e $x/autogen.sh ]; then | ||
| 22 | echo Generating Config files in $x | ||
| 23 | (cd $x; ./autogen.sh $*) | ||
| 24 | fi | ||
| 25 | done | ||
