]> arthur.barton.de Git - netatalk.git/blobdiff - configure.ac
Dont set ATTRBIT_SHARED, OS X doesn't either
[netatalk.git] / configure.ac
index e9facb2f13686ed6de9544c19b58a1f74977cd0c..dc3c0efac5d5715b3d52717d9417daa6f186c0ac 100644 (file)
@@ -116,12 +116,17 @@ rm -rf conftest*
 
 case $host_cpu:$atalk_cv_cc_64bit_output in
 powerpc64:yes | s390x:yes | sparc*:yes | x86_64:yes | i386:yes)
-    AC_MSG_RESULT([yes])
     case $target_os in
     solaris2*)
+        AC_MSG_RESULT([yes])
         atalk_libname="lib/64"
         ;;
+    *bsd* | dragonfly*)
+        AC_MSG_RESULT([no])
+        atalk_libname="lib"
+        ;;
     *)
+        AC_MSG_RESULT([yes])
         atalk_libname="lib64"
         ;;
     esac
@@ -756,8 +761,10 @@ fi
 dnl ----- OpenBSD specific -----
 if test x"$this_os" = "xopenbsd"; then 
        AC_MSG_RESULT([ * OpenBSD specific configuration])
+    AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
        dnl ----- OpenBSD does not have crypt.h, uses unistd.h -----
        AC_DEFINE(UAM_DHX, 1, [Define if the DHX UAM modules should be compiled])
+    AC_DEFINE(NO_DDP, 1, [Define if DDP should be disabled])
 fi
 
 dnl ----- Solaris specific -----