From: Perry Lorier Date: Sat, 22 Sep 2001 00:33:46 +0000 (+0000) Subject: Author: mbuna X-Git-Url: http://git.pk910.de/?p=ircu2.10.12-pk.git;a=commitdiff_plain;h=0b14655b90d29c5cd65838548fcd23b814742dc9 Author: mbuna 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 --- diff --git a/ChangeLog b/ChangeLog index e48e87f..6f49b51 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2001-09-21 mbuna + * configure.in: Add support for darwin + 2001-09-21 Perry Lorier * ircd/s_user.c I'm stupid, s/acptr/from/, Hektik pointed it out diff --git a/configure.in b/configure.in index 1763ef8..c466691 100644 --- a/configure.in +++ b/configure.in @@ -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.])