repo.or.cz
/
tor.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'maint-0.4.6' into maint-0.4.7
[tor.git]
/
autogen.sh
blob
63ef6d49ef86ee4bfb6cf66037b2fb92bb5d42d9
1
#!/bin/sh
2
3
if
command -v
autoreconf
;
then
4
opt
=
"-i -f -W all,error"
5
6
for
i
in
"$@"
;
do
7
case
"
$i
"
in
8
-v
)
9
opt
=
"
${opt}
-v"
10
;;
11
esac
12
done
13
14
# shellcheck disable=SC2086
15
exec
autoreconf
$opt
16
fi
17
18
set -e
19
20
# Run this to generate all the initial makefiles, etc.
21
aclocal
-I
m4
&&
\
22
autoheader
&&
\
23
autoconf
&&
\
24
automake
--add-missing --copy