libevent/autogen.sh
Nick Mathewson 823d9be57f Prefer autoregen -ivf to manual autogen.sh
Suggested by Ralph Castain
2010-09-03 15:13:57 -04:00

16 lines
286 B
Bash
Executable File

#!/bin/sh
if [ -x "`which autoreconf 2>/dev/null`" ] ; then
exec autoreconf -ivf
fi
LIBTOOLIZE=libtoolize
SYSNAME=`uname`
if [ "x$SYSNAME" = "xDarwin" ] ; then
LIBTOOLIZE=glibtoolize
fi
aclocal && \
autoheader && \
$LIBTOOLIZE && \
autoconf && \
automake --add-missing --copy