Hash :
69cce257
Author :
Date :
2016-10-31T12:01:20
autogen.sh: remove all autoconf/automake caches, if any Otherwise if you for example share root of libevent repository with some vm (for example windows+cygwin) then if you try to build with configure on host, and then on guest it will fail, so let's just ignore this since autogen.sh is just for this -- cleaning all stuff.
#!/bin/sh
make maintainer-clean >/dev/null 2>/dev/null
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