diff options
author | Nick Mathewson <nickm@torproject.org> | 2010-09-27 11:20:12 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2010-09-27 11:20:12 -0400 |
commit | 2579d827ab5e840561fb293f42a7147b8ba78efe (patch) | |
tree | 0444c981634b6d1ec33aa0c6f3fd4942acef186f /autogen.sh | |
parent | 83f9667fe804a627ce84f433bca84e7f61264fd7 (diff) | |
download | tor-2579d827ab5e840561fb293f42a7147b8ba78efe.tar.gz tor-2579d827ab5e840561fb293f42a7147b8ba78efe.zip |
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-x | autogen.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh index eb9395c719..0592f16c2e 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. |