]> arthur.barton.de Git - netatalk.git/commitdiff
added mac osx specific stuff from sys/osx/Makefile to configure script
authorrufustfirefly <rufustfirefly>
Thu, 7 Sep 2000 18:03:57 +0000 (18:03 +0000)
committerrufustfirefly <rufustfirefly>
Thu, 7 Sep 2000 18:03:57 +0000 (18:03 +0000)
acconfig.h
configure.in

index e54988ad324e7b938888a9c678cb79082178df5b..9027acd18ca73621234118a019422d014e97f22d 100644 (file)
@@ -7,9 +7,13 @@
 #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
index e0f875bbb7a0af7ef716a8a5f8a6d4025600d3c0..cbf63bcf9bc87c78f4b1d8e5dfff63a847de9d5c 100644 (file)
@@ -273,8 +273,9 @@ dnl --------------------- determine operating system from "target"
 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
 
@@ -313,6 +314,16 @@ if test x"$this_os" = "xlinux"; then
        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])