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