]> arthur.barton.de Git - netatalk.git/commitdiff
fixes for FreeBSD relying on unistd.h (not crypt.h) for crypto headers
authorrufustfirefly <rufustfirefly>
Wed, 21 Mar 2001 14:12:33 +0000 (14:12 +0000)
committerrufustfirefly <rufustfirefly>
Wed, 21 Mar 2001 14:12:33 +0000 (14:12 +0000)
acconfig.h
configure.in

index 06a43b00ac5e81864969650515011ae84e67bf07..4669ecf1cd1d0d64567dd843588a00c441c636bd 100644 (file)
@@ -16,6 +16,7 @@
 #undef HAVE_GCC_MEMCPY_BUG
 #undef MACOSX_SERVER
 #undef NEED_QUOTACTL_WRAPPER
+#undef NO_CRYPT_H
 #undef NO_DDP
 #undef NO_DLFCN_H
 #undef NO_STRUCT_TM_GMTOFF
index f6f0de6b1a9e6ad06125f552ea2dda501f45fb7d..bd008d5f376294c11f973d5b6dfc31e889f58762 100644 (file)
@@ -446,6 +446,13 @@ if test x"$this_os" = "xnetbsd"; then
        AC_DEFINE(DLSYM_PREPEND_UNDERSCORE)
        CFLAGS="-I\$(top_srcdir)/sys/netbsd -I/usr/include/kerberosIV $CFLAGS"
        need_dash_r=yes 
+
+       dnl ----- NetBSD does not have crypt.h, uses unistd.h -----
+       AC_DEFINE(UAM_DHX, 1)
+       AC_DEFINE(UAM_RNDNUM, 1)
+       compile_dhx=yes
+       compile_ssl=yes
+       AC_DEFINE(NO_CRYPT_H, 1)
 fi
 
 dnl ----- OpenBSD specific -----