Author: mbuna <mbuna@undernet.org>
authorPerry Lorier <isomer@undernet.org>
Sat, 22 Sep 2001 00:33:46 +0000 (00:33 +0000)
committerPerry Lorier <isomer@undernet.org>
Sat, 22 Sep 2001 00:33:46 +0000 (00:33 +0000)
Log message:

Darwin is the core of Mac OS X. It's a real BSD, and its very similar
to freeBSD on many points. Actually, ircu's config systems doesnt
recognize it. Users can force with the --host option, but the build
will fail due to minor compatibility problems on os_generic. It's
working well when linking with os_bsd.c.

git-svn-id: file:///home/klmitch/undernet-ircu/undernet-ircu-svn/ircu2/trunk@561 c9e4aea6-c8fd-4c43-8297-357d70d61c8c

ChangeLog
configure.in

index e48e87fc33530deb63685cda94cdc922f6701346..6f49b51b737704bda0232191839001a090b9d710 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2001-09-21  mbuna  <mbuna@undernet.org>
+       * configure.in: Add support for darwin
+
 2001-09-21  Perry Lorier  <isomer@coders.net>
        * ircd/s_user.c I'm stupid, s/acptr/from/, Hektik pointed it out
 
index 1763ef8b9956dc35ec19ccb6851b8edf74b7a0f9..c466691e97c966886f4dbb120f97c9a3115c59c0 100644 (file)
@@ -193,6 +193,12 @@ case "$host" in
        OSDEP_C=os_bsd.c
        ;;
 
+    *-darwin*)
+       AC_MSG_RESULT([Darwin (Mac OS X) ($host) found.])
+       unet_poll_syscall=no
+       OSDEP_C=os_bsd.c
+       ;;
+
     *)
        AC_MSG_RESULT([Unknown system type $host found.])
        AC_MSG_WARN([Unknown OS type; using generic routines.])