xref: /freebsd/contrib/ntp/sntp/libevent/autogen.sh (revision 0e33efe4e4b5d24e2d416938af8bc6e6e4160ec8)
1#!/bin/sh
2if [ -x "`which autoreconf 2>/dev/null`" ] ; then
3   exec autoreconf -ivf
4fi
5
6LIBTOOLIZE=libtoolize
7SYSNAME=`uname`
8if [ "x$SYSNAME" = "xDarwin" ] ; then
9  LIBTOOLIZE=glibtoolize
10fi
11aclocal -I m4 && \
12	autoheader && \
13	$LIBTOOLIZE && \
14	autoconf && \
15	automake --add-missing --force-missing --copy
16