Fix an uninitialized-read when parsing v3 introduction requests.
[tor.git] / autogen.sh
blob8c43a9798a54f8769f4db2158a642f66b0b92b19
1 #!/bin/sh
3 if [ -x "`which autoreconf 2>/dev/null`" ] ; then
4 opt="-if"
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