]> granicus.if.org Git - libevent/commitdiff
r15219@catbus: nickm | 2007-09-20 14:17:32 -0400
authorNick Mathewson <nickm@torproject.org>
Thu, 20 Sep 2007 18:26:56 +0000 (18:26 +0000)
committerNick Mathewson <nickm@torproject.org>
Thu, 20 Sep 2007 18:26:56 +0000 (18:26 +0000)
 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

ChangeLog
autogen.sh

index 06e54ae53ff590b1977f1ad66dafe00d5cc4aa72..2bcfa58a3c8fd46b35f93c3d553123298dcd2527 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -20,3 +20,4 @@ Changes in current version:
  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
index 5c04a217ac69a7e9bea75a58b469974232966dbe..513e4be11daeb593c2806a80c001b264db4f380d 100755 (executable)
@@ -1,6 +1,7 @@
 #!/bin/sh
 LIBTOOLIZE=libtoolize
-if [ "$(uname)" == "Darwin" ] ; then
+SYSNAME=`uname`
+if [ "x$SYSNAME" == "xDarwin" ] ; then
   LIBTOOLIZE=glibtoolize
 fi
 aclocal && \