xref: /freebsd/contrib/ntp/sntp/libevent/autogen.sh (revision 39ee7a7a6bdd1557b1c3532abf60d139798ac88b)
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