ac_help="$ac_help
--enable-debug Turn on debugging mode"
ac_help="$ac_help
- --enable-asserts Enable asserts"
+ --disable-asserts Disable assertion checking"
ac_help="$ac_help
--disable-symbols Disable debugging symbols (remove -g from CFLAGS)"
ac_help="$ac_help
OSDEP_C=os_bsd.c
;;
+ *-darwin*)
+ echo "$ac_t""Darwin (Mac OS X) ($host) found." 1>&6
+ unet_poll_syscall=no
+ OSDEP_C=os_bsd.c
+ ;;
+
*)
echo "$ac_t""Unknown system type $host found." 1>&6
echo "configure: warning: Unknown OS type; using generic routines." 1>&2
echo $ac_n "checking whether to enable use of poll()""... $ac_c" 1>&6
-echo "configure:3057: checking whether to enable use of poll()" >&5
+echo "configure:3063: checking whether to enable use of poll()" >&5
# Check whether --enable-poll or --disable-poll was given.
if test "${enable_poll+set}" = set; then
enableval="$enable_poll"
echo $ac_n "checking whether to enable debug mode""... $ac_c" 1>&6
-echo "configure:3091: checking whether to enable debug mode" >&5
+echo "configure:3097: checking whether to enable debug mode" >&5
# Check whether --enable-debug or --disable-debug was given.
if test "${enable_debug+set}" = set; then
enableval="$enable_debug"
fi
echo $ac_n "checking whether to enable asserts""... $ac_c" 1>&6
-echo "configure:3115: checking whether to enable asserts" >&5
+echo "configure:3121: checking whether to enable asserts" >&5
# Check whether --enable-asserts or --disable-asserts was given.
if test "${enable_asserts+set}" = set; then
enableval="$enable_asserts"
if eval "test \"`echo '$''{'unet_cv_enable_asserts'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
- unet_cv_enable_asserts=no
+ unet_cv_enable_asserts=yes
fi
fi
fi
echo $ac_n "checking whether to enable debugging symbols""... $ac_c" 1>&6
-echo "configure:3139: checking whether to enable debugging symbols" >&5
+echo "configure:3145: checking whether to enable debugging symbols" >&5
# Check whether --enable-symbols or --disable-symbols was given.
if test "${enable_symbols+set}" = set; then
enableval="$enable_symbols"
fi
echo $ac_n "checking whether to enable profiling support (gprof)""... $ac_c" 1>&6
-echo "configure:3160: checking whether to enable profiling support (gprof)" >&5
+echo "configure:3166: checking whether to enable profiling support (gprof)" >&5
# Check whether --enable-profile or --disable-profile was given.
if test "${enable_profile+set}" = set; then
enableval="$enable_profile"
fi
echo $ac_n "checking whether to enable pedantic compiler warnings""... $ac_c" 1>&6
-echo "configure:3181: checking whether to enable pedantic compiler warnings" >&5
+echo "configure:3187: checking whether to enable pedantic compiler warnings" >&5
# Check whether --enable-pedantic or --disable-pedantic was given.
if test "${enable_pedantic+set}" = set; then
enableval="$enable_pedantic"
fi
echo $ac_n "checking whether to enable compiler warnings""... $ac_c" 1>&6
-echo "configure:3202: checking whether to enable compiler warnings" >&5
+echo "configure:3208: checking whether to enable compiler warnings" >&5
# Check whether --enable-warnings or --disable-warnings was given.
if test "${enable_warnings+set}" = set; then
enableval="$enable_warnings"
fi
echo $ac_n "checking whether to enable inlining for a few critical functions""... $ac_c" 1>&6
-echo "configure:3223: checking whether to enable inlining for a few critical functions" >&5
+echo "configure:3229: checking whether to enable inlining for a few critical functions" >&5
# Check whether --enable-inlines or --disable-inlines was given.
if test "${enable_inlines+set}" = set; then
enableval="$enable_inlines"
fi
echo $ac_n "checking whether to enable the /dev/poll event engine""... $ac_c" 1>&6
-echo "configure:3247: checking whether to enable the /dev/poll event engine" >&5
+echo "configure:3253: checking whether to enable the /dev/poll event engine" >&5
# Check whether --enable-devpoll or --disable-devpoll was given.
if test "${enable_devpoll+set}" = set; then
enableval="$enable_devpoll"
fi
echo $ac_n "checking whether to enable the kqueue event engine""... $ac_c" 1>&6
-echo "configure:3277: checking whether to enable the kqueue event engine" >&5
+echo "configure:3283: checking whether to enable the kqueue event engine" >&5
# Check whether --enable-kqueue or --disable-kqueue was given.
if test "${enable_kqueue+set}" = set; then
enableval="$enable_kqueue"
fi
echo $ac_n "checking what name to give the symlink""... $ac_c" 1>&6
-echo "configure:3307: checking what name to give the symlink" >&5
+echo "configure:3313: checking what name to give the symlink" >&5
# Check whether --with-symlink or --without-symlink was given.
if test "${with_symlink+set}" = set; then
withval="$with_symlink"
echo $ac_n "checking what permissions to set on the installed binary""... $ac_c" 1>&6
-echo "configure:3339: checking what permissions to set on the installed binary" >&5
+echo "configure:3345: checking what permissions to set on the installed binary" >&5
# Check whether --with-mode or --without-mode was given.
if test "${with_mode+set}" = set; then
withval="$with_mode"
unet_uid=`id | sed -e 's/.*uid=[0-9]*(//' -e 's/).*//' 2> /dev/null`
echo $ac_n "checking which user should own the installed binary""... $ac_c" 1>&6
-echo "configure:3365: checking which user should own the installed binary" >&5
+echo "configure:3371: checking which user should own the installed binary" >&5
# Check whether --with-owner or --without-owner was given.
if test "${with_owner+set}" = set; then
withval="$with_owner"
unet_gid=`id | sed -e 's/.*gid=[0-9]*(//' -e 's/).*//' 2> /dev/null`
echo $ac_n "checking which group should own the installed binary""... $ac_c" 1>&6
-echo "configure:3391: checking which group should own the installed binary" >&5
+echo "configure:3397: checking which group should own the installed binary" >&5
# Check whether --with-group or --without-group was given.
if test "${with_group+set}" = set; then
withval="$with_group"
fi
fi
echo $ac_n "checking for site domain name""... $ac_c" 1>&6
-echo "configure:3423: checking for site domain name" >&5
+echo "configure:3429: checking for site domain name" >&5
# Check whether --with-domain or --without-domain was given.
if test "${with_domain+set}" = set; then
withval="$with_domain"
echo $ac_n "checking if chroot operation is desired""... $ac_c" 1>&6
-echo "configure:3453: checking if chroot operation is desired" >&5
+echo "configure:3459: checking if chroot operation is desired" >&5
# Check whether --with-chroot or --without-chroot was given.
if test "${with_chroot+set}" = set; then
withval="$with_chroot"
exec_prefix=$unet_save_exec_prefix
echo $ac_n "checking where the binary will be for /restart""... $ac_c" 1>&6
-echo "configure:3501: checking where the binary will be for /restart" >&5
+echo "configure:3507: checking where the binary will be for /restart" >&5
if test x"$unet_cv_with_symlink" = xno; then
unet_spath="$unet_bindir/ircd"
else
echo $ac_n "checking what the data directory should be""... $ac_c" 1>&6
-echo "configure:3523: checking what the data directory should be" >&5
+echo "configure:3529: checking what the data directory should be" >&5
# Check whether --with-dpath or --without-dpath was given.
if test "${with_dpath+set}" = set; then
withval="$with_dpath"
echo $ac_n "checking where the default configuration file resides""... $ac_c" 1>&6
-echo "configure:3566: checking where the default configuration file resides" >&5
+echo "configure:3572: checking where the default configuration file resides" >&5
# Check whether --with-cpath or --without-cpath was given.
if test "${with_cpath+set}" = set; then
withval="$with_cpath"
echo $ac_n "checking where to put the debugging log if debugging enabled""... $ac_c" 1>&6
-echo "configure:3608: checking where to put the debugging log if debugging enabled" >&5
+echo "configure:3614: checking where to put the debugging log if debugging enabled" >&5
# Check whether --with-lpath or --without-lpath was given.
if test "${with_lpath+set}" = set; then
withval="$with_lpath"
unet_maxcon=`ulimit -Hn`
unet_maxcon=`expr $unet_maxcon - 4`
echo $ac_n "checking max connections""... $ac_c" 1>&6
-echo "configure:3654: checking max connections" >&5
+echo "configure:3660: checking max connections" >&5
# Check whether --with-maxcon or --without-maxcon was given.
if test "${with_maxcon+set}" = set; then
withval="$with_maxcon"