summaryrefslogtreecommitdiff
path: root/libs/libevent/docs/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'libs/libevent/docs/autogen.sh')
-rw-r--r--libs/libevent/docs/autogen.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/libevent/docs/autogen.sh b/libs/libevent/docs/autogen.sh
new file mode 100644
index 0000000000..57eeb940b9
--- /dev/null
+++ b/libs/libevent/docs/autogen.sh
@@ -0,0 +1,15 @@
+#!/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