mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-11 21:23:35 +01:00
0e597471af
This beats our old implementation, which wouldn't work when cross-compiling
24 lines
339 B
Bash
Executable File
24 lines
339 B
Bash
Executable File
#!/bin/sh
|
|
|
|
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
|
|
opt="-if"
|
|
|
|
for i in $@; do
|
|
case "$i" in
|
|
-v)
|
|
opt=$opt"v"
|
|
;;
|
|
esac
|
|
done
|
|
|
|
exec autoreconf $opt
|
|
fi
|
|
|
|
set -e
|
|
|
|
# Run this to generate all the initial makefiles, etc.
|
|
aclocal -I m4 && \
|
|
autoheader && \
|
|
autoconf && \
|
|
automake --add-missing --copy
|