Committer  : entrope
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2004-05-25 19:58:41 UTC

Modified files:
     ChangeLog configure configure.in

Log message:

Apply [EMAIL PROTECTED]'s patch for ircu to configure itself on OS X.

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.424 ircu2.10/ChangeLog:1.425
--- ircu2.10/ChangeLog:1.424    Mon May 24 20:10:01 2004
+++ ircu2.10/ChangeLog  Tue May 25 12:58:21 2004
@@ -1,3 +1,7 @@
+2003-03-11  Landon Fuller (landonf) <[EMAIL PROTECTED]>
+
+       * configure.in: allow ircu to build on OS X.
+
 2004-05-24  Michael Poole <[EMAIL PROTECTED]>
 
        * ircd/m_invite.c (m_invite): Include channel name in invitation
Index: ircu2.10/configure
diff -u ircu2.10/configure:1.15 ircu2.10/configure:1.16
--- ircu2.10/configure:1.15     Sun May  9 18:32:52 2004
+++ ircu2.10/configure  Tue May 25 12:58:23 2004
@@ -8766,6 +8766,9 @@
 
 
 unet_maxcon=`ulimit -Hn`
+if test x"$unet_maxcon" = xunlimited; then
+    unet_maxcon=`ulimit -Sn`
+fi
 unet_maxcon=`expr $unet_maxcon - 4`
 echo "$as_me:$LINENO: checking max connections" >&5
 echo $ECHO_N "checking max connections... $ECHO_C" >&6
Index: ircu2.10/configure.in
diff -u ircu2.10/configure.in:1.13 ircu2.10/configure.in:1.14
--- ircu2.10/configure.in:1.13  Sun May  9 18:32:52 2004
+++ ircu2.10/configure.in       Tue May 25 12:58:30 2004
@@ -19,7 +19,7 @@
 dnl along with this program; if not, write to the Free Software
 dnl Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 dnl
-dnl $Id: configure.in,v 1.13 2004/05/10 01:32:52 entrope Exp $
+dnl $Id: configure.in,v 1.14 2004/05/25 19:58:30 entrope Exp $
 
 dnl Make sure we are in the correct directory (someone could have run
 dnl 'configure' with a wrong '--srcdir').
@@ -709,6 +709,9 @@
 
 dnl --with-maxcon allows us to set the maximum connections
 unet_maxcon=`ulimit -Hn`
+if test x"$unet_maxcon" = xunlimited; then
+    unet_maxcon=`ulimit -Sn`
+fi
 unet_maxcon=`expr $unet_maxcon - 4`
 AC_MSG_CHECKING([max connections])
 AC_ARG_WITH([maxcon],
----------------------- End of diff -----------------------

Reply via email to