summaryrefslogtreecommitdiffstatsabout
path: root/autogen.sh
blob: 742b2cc59ff9fd61facbde3b8f4dfae9de198e13 (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
#!/bin/sh

if [ -z $ACLOCAL ]; then
	ACLOCAL=aclocal
fi
if [ -z $AUTOCONF ]; then
	AUTOCONF=autoconf
fi
if [ -z $AUTOHEADER ]; then
	AUTOHEADER=autoheader
fi
if [ -z $AUTORECONF ]; then
	AUTORECONF=autoreconf
fi

#rm -rf autom4te.cache
$AUTORECONF -f -i
#touch stamp-h.in

for x in providers/*; do
	if [ -e $x/autogen.sh ]; then
		echo Generating Config files in $x
		(cd $x; ./autogen.sh $*)
	fi
done