Merge branch 'maint-0.4.6'
[tor.git] / autogen.sh
blob63ef6d49ef86ee4bfb6cf66037b2fb92bb5d42d9
1 #!/bin/sh
3 if command -v autoreconf; 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 # shellcheck disable=SC2086
15 exec autoreconf $opt
18 set -e
20 # Run this to generate all the initial makefiles, etc.
21 aclocal -I m4 && \
22 autoheader && \
23 autoconf && \
24 automake --add-missing --copy