xref: /aosp_15_r20/external/cronet/third_party/libevent/autogen.sh (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
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 && \
12	autoheader && \
13	$LIBTOOLIZE && \
14	autoconf && \
15	automake --add-missing --copy
16