aboutsummaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-27 11:20:12 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-27 11:20:12 -0400
commit2579d827ab5e840561fb293f42a7147b8ba78efe (patch)
tree0444c981634b6d1ec33aa0c6f3fd4942acef186f /autogen.sh
parent83f9667fe804a627ce84f433bca84e7f61264fd7 (diff)
downloadtor-2579d827ab5e840561fb293f42a7147b8ba78efe.tar
tor-2579d827ab5e840561fb293f42a7147b8ba78efe.tar.gz
Use autoreconf, not autoconf&&automake&&etc in autogen.sh
The autoreconf tool deals much better with detecting which tools to use on your particular platform, handling cases where your install-sh script gets stable, and lots of other little tricky issues. We still fall back to autoconf&&automake&&etc in the case where "`which autoreconf 2>/dev/null`" says something we can't run. This is the first change of the 0.2.3.x series.
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index eb9395c71..0592f16c2 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,5 +1,9 @@
#!/bin/sh
+if [ -x "`which autoreconf 2>/dev/null`" ] ; then
+ exec autoreconf -ivf
+fi
+
set -e
# Run this to generate all the initial makefiles, etc.