dnl --------------------- determine operating system from "target"
case "$host_os" in
*aix*) this_os=aix ;;
+ *kfreebsd*-gnu) this_os=kfreebsd-gnu ;;
*freebsd*) this_os=freebsd ;;
*hpux11*) this_os=hpux11 ;;
*irix*) this_os=irix ;;
case "$this_os" in
linux) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
;;
- *kfreebsd-gnu*) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
+ kfreebsd-gnu) AC_DEFINE(_GNU_SOURCE, 1, [Whether to use GNU libc extensions])
;;
esac
AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EMLINK, errno returned by open with O_NOFOLLOW)
fi
+dnl ----- GNU/kFreeBSD specific -----
+if test x"$this_os" = "xkfreebsd-gnu"; then
+ AC_MSG_RESULT([ * GNU/kFreeBSD specific configuration])
+ AC_DEFINE(BSD4_4, 1, [BSD compatiblity macro])
+ AC_DEFINE(FREEBSD, 1, [Define if OS is FreeBSD])
+ AC_DEFINE(SENDFILE_FLAVOR_BSD, 1, [Define if the sendfile() function uses BSD semantics])
+ AC_DEFINE(OPEN_NOFOLLOW_ERRNO, EMLINK, errno returned by open with O_NOFOLLOW)
+fi
+
dnl ----- HP-UX 11 specific -----
if test x"$this_os" = "xhpux11"; then
AC_MSG_RESULT([ * HP-UX 11 specific configuration])
bin/cnid/cnid2_create
bin/getzones/Makefile
bin/megatron/Makefile
- bin/misc/Makefile
+ bin/misc/Makefile
bin/nbp/Makefile
bin/pap/Makefile
bin/psorder/Makefile
bin/uniconv/Makefile
config/Makefile
- config/pam/Makefile
+ config/pam/Makefile
contrib/Makefile
contrib/macusers/Makefile
contrib/macusers/macusers
contrib/printing/Makefile
contrib/shell_utils/Makefile
- contrib/shell_utils/afpd-mtab.pl
- contrib/shell_utils/apple_dump
+ contrib/shell_utils/apple_dump
contrib/shell_utils/asip-status.pl
contrib/timelord/Makefile
contrib/a2boot/Makefile