From: Nick Mathewson Date: Fri, 3 Sep 2010 19:12:35 +0000 (-0400) Subject: Prefer autoreconf -ivf to manual autogen.sh X-Git-Tag: release-2.0.7-rc~23 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7ea8e89d5cce36c7f27ea62c9a68a9208266d569;p=libevent Prefer autoreconf -ivf to manual autogen.sh Suggested by Ralph Castain --- 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