Merge branch 'maint-0.2.9' into maint-0.3.2
[tor.git] / autogen.sh
blob276dd4047c57569e1c1723d6d659d5ea4bdc116e
1 #!/bin/sh
3 if [ -x "`which autoreconf 2>/dev/null`" ] ; then
4 opt="-i -f -W all,error"
6 for i in $@; do
7 case "$i" in
8 -v)
9 opt="${opt} -v"
11 esac
12 done
14 exec autoreconf $opt
17 set -e
19 # Run this to generate all the initial makefiles, etc.
20 aclocal -I m4 && \
21 autoheader && \
22 autoconf && \
23 automake --add-missing --copy