Author: Carlo Wood <run@alinoe.com> (Via Isomer <isomer@undernet.org>)
[ircu2.10.12-pk.git] / configure.in
index 1763ef8b9956dc35ec19ccb6851b8edf74b7a0f9..4a6f25717a57f7d291d7b2ab13e725a23422760a 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.])
@@ -240,13 +246,13 @@ if test x"$unet_cv_enable_debug" = xyes; then
     AC_DEFINE([DEBUGMODE], , [Enable debugging code])
 fi
 
-dnl And now for --enable-asserts
+dnl And now for --disable-asserts
 AC_MSG_CHECKING([whether to enable asserts])
 AC_ARG_ENABLE([asserts],
-[  --enable-asserts        Enable asserts],
+[  --disable-asserts       Disable assertion checking],
 [unet_cv_enable_asserts=$enable_asserts],
 [AC_CACHE_VAL(unet_cv_enable_asserts,
-[unet_cv_enable_asserts=no])])
+[unet_cv_enable_asserts=yes])])
 AC_MSG_RESULT([$unet_cv_enable_asserts])
 
 if test x"$unet_cv_enable_asserts" = xno; then