mirror of
https://github.com/libevent/libevent.git
synced 2025-01-20 05:02:55 +08:00
7ea8e89d5c
Suggested by Ralph Castain
16 lines
308 B
Bash
Executable File
16 lines
308 B
Bash
Executable File
#!/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
|