]> granicus.if.org Git - libevent/commitdiff
Prefer autoreconf -ivf to manual autogen.sh
authorNick Mathewson <nickm@torproject.org>
Fri, 3 Sep 2010 19:12:35 +0000 (15:12 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 3 Sep 2010 19:12:35 +0000 (15:12 -0400)
Suggested by Ralph Castain

autogen.sh

index 14faf83fab23905a8f0545c0a87fe369dbcab033..57eeb940b91174203488c9c6ce96e377b640e200 100755 (executable)
@@ -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