diff options
Diffstat (limited to 'libevent/autogen.sh')
-rwxr-xr-x | libevent/autogen.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/libevent/autogen.sh b/libevent/autogen.sh new file mode 100755 index 0000000..bcfe937 --- /dev/null +++ b/libevent/autogen.sh @@ -0,0 +1,22 @@ +#!/bin/sh + +MAKE=make +if command -v gmake >/dev/null 2>/dev/null; then + MAKE=gmake +fi +$MAKE maintainer-clean >/dev/null 2>/dev/null + +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 |