summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-03 15:12:35 -0400
committerNick Mathewson <nickm@torproject.org>2010-09-03 15:12:35 -0400
commit7ea8e89d5cce36c7f27ea62c9a68a9208266d569 (patch)
treee3e95be4b4287a35cb6e28e3c8f5e29753e09ffa /autogen.sh
parentacc4aca49e246a46e03f8978517c9b3d23b1baea (diff)
downloadlibevent-7ea8e89d5cce36c7f27ea62c9a68a9208266d569.tar.gz
Prefer autoreconf -ivf to manual autogen.sh
Suggested by Ralph Castain
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 14faf83f..57eeb940 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -1,4 +1,8 @@
#!/bin/sh
+if [ -x "`which autoreconf 2>/dev/null`" ] ; then
+ exec autoreconf -ivf
+fi
+
LIBTOOLIZE=libtoolize
SYSNAME=`uname`
if [ "x$SYSNAME" = "xDarwin" ] ; then