#undef DEBUG
#undef DLSYM_PREPEND_UNDERSCORE
#undef DROPKLUDGE
+#undef HAVE_2ARG_DBTOB
+#undef HAVE_BROKEN_CPP
#undef HAVE_GCC_MEMCPY_BUG
+#undef MACOSX_SERVER
#undef NEED_QUOTACTL_WRAPPER
#undef NO_DDP
+#undef NO_DLFCN_H
#undef NO_STRUCT_TM_GMTOFF
#undef OPENSSL_DHX
#undef SENDFILE_FLAVOR_BSD
case "$ac_cv_target_os" in
*freebsd*) this_os=freebsd ;;
*linux*) this_os=linux ;;
- *openbsd*) this_os=openbsd ;;
+ *osx*) this_os=macosx ;;
*netbsd*) this_os=netbsd ;;
+ *openbsd*) this_os=openbsd ;;
*solaris*) this_os=solaris ;;
esac
need_dash_r=no
fi
+dnl ----- Mac OSX specific -----
+if test x"$this_os" = "xmacosx"; then
+ AC_MSG_RESULT([ * Mac OSX specific configuration])
+ AC_DEFINE(BSD4_4)
+ AC_DEFINE(HAVE_BROKEN_CPP)
+ AC_DEFINE(HAVE_2ARG_DBTOB)
+ AC_DEFINE(NO_DLFCN_H)
+ AC_DEFINE(MACOSX_SERVER)
+fi
+
dnl ----- NetBSD specific -----
if test x"$this_os" = "xnetbsd"; then
AC_MSG_RESULT([ * NetBSD specific configuration])