--- configure.in.orig Fri May 19 21:48:10 2006 +++ configure.in Fri Oct 13 02:41:47 2006 @@ -208,14 +208,14 @@ are relative. You must supply absolute paths starting with /. =========================================]) -elif test -r $freebsd_includedir/net/if_var.h -a -r $freebsd_srcdir/kern/vnode_if.pl; then +elif test -r $freebsd_includedir/net/if_var.h -a -r $freebsd_srcdir/kern/vnode_if.src; then ac_have_bsd_kernel=y else AC_MSG_ERROR([ ========================================= Can't find $freebsd_includedir/net/if_var.h and/or -$freebsd_srcdir/kern/vnode_if.pl. Are you sure $freebsd_srcdir +$freebsd_srcdir/kern/vnode_if.src. Are you sure $freebsd_srcdir and $freebsd_includedir contain FreeBSD kernel source? =========================================]) @@ -549,7 +549,7 @@ save_flags="$CPPFLAGS" CPPFLAGS="$CPPFLAGS -I$freebsd_includedir" AC_COMPILE_IFELSE([AC_LANG_SOURCE([[#include -#if __FreeBSD_version < 440002 || __FreeBSD_version >= 500000 +#if __FreeBSD_version < 500000 #include #endif]])], ac_cv_freebsd_version=yes, ac_cv_freebsd_version=no) CPPFLAGS="$save_flags"]) @@ -560,7 +560,7 @@ AC_MSG_WARN([ ========================================= -Your version of FreeBSD is old. Click works with FreeBSD 4.5 and later. +Your version of FreeBSD is old. Click works with FreeBSD 5.x and later. =========================================]) fi