summaryrefslogtreecommitdiff
path: root/autogen.sh
blob: e55558b74f31194228af1063028d43d85f87e991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/sh
#
# basic autogen script for autofoo
#

# a silly hack that generates autoregen.sh but it's handy
echo "#!/bin/sh" > autoregen.sh
echo "./autogen.sh $@ \$@" >> autoregen.sh
chmod +x autoregen.sh

# bootstarp
set -x
libtoolize --automake --copy
aclocal
autoconf
autoheader
automake --add-missing --foreign --copy
./configure $*