libevent/autogen.sh
Nick Mathewson 7ea8e89d5c Prefer autoreconf -ivf to manual autogen.sh
Suggested by Ralph Castain
2010-09-03 15:12:35 -04:00

16 lines
308 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 -I m4 && \
autoheader && \
$LIBTOOLIZE && \
autoconf && \
automake --add-missing --force-missing --copy