aboutsummaryrefslogtreecommitdiff
path: root/sntp/libevent/autogen.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sntp/libevent/autogen.sh')
-rwxr-xr-xsntp/libevent/autogen.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/sntp/libevent/autogen.sh b/sntp/libevent/autogen.sh
new file mode 100755
index 000000000000..57eeb940b911
--- /dev/null
+++ b/sntp/libevent/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