Apply patch from Trond Norbye with recommendations from Magne Mahre and Hannah Schroeter: make autogen.sh work on systems where /bin/sh is not bash.
svn:r444
o Add an evutil module (with header evutil.h) to implement our standard cross-platform hacks, on the theory that somebody else would like to use them too.
o Fix signals implementation on windows.
o Fix http module on windows to close sockets properly.
+ o Make autogen.sh script run correctly on systems where /bin/sh isn't bash. (Patch from Trond Norbye, rewritten by Hagne Mahre and then Hannah Schroeter.)
\ No newline at end of file
#!/bin/sh
LIBTOOLIZE=libtoolize
-if [ "$(uname)" == "Darwin" ] ; then
+SYSNAME=`uname`
+if [ "x$SYSNAME" == "xDarwin" ] ; then
LIBTOOLIZE=glibtoolize
fi
aclocal && \