mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-13 22:53:44 +01:00
25 lines
371 B
Bash
Executable File
25 lines
371 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if command -v autoreconf; then
|
|
opt="-i -f -W all,error"
|
|
|
|
for i in "$@"; do
|
|
case "$i" in
|
|
-v)
|
|
opt="${opt} -v"
|
|
;;
|
|
esac
|
|
done
|
|
|
|
# shellcheck disable=SC2086
|
|
exec autoreconf $opt
|
|
fi
|
|
|
|
set -e
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
aclocal -I m4 && \
|
|
autoheader && \
|
|
autoconf && \
|
|
automake --add-missing --copy
|