Fixed issue with cmake version generation
[libevent.git] / autogen.sh
blob57eeb940b91174203488c9c6ce96e377b640e200
1 #!/bin/sh
2 if [ -x "`which autoreconf 2>/dev/null`" ] ; then
3 exec autoreconf -ivf
4 fi
6 LIBTOOLIZE=libtoolize
7 SYSNAME=`uname`
8 if [ "x$SYSNAME" = "xDarwin" ] ; then
9 LIBTOOLIZE=glibtoolize
11 aclocal -I m4 && \
12 autoheader && \
13 $LIBTOOLIZE && \
14 autoconf && \
15 automake --add-missing --force-missing --copy