kfreebsd, to update the m4 macros to detect __FreeBSD_kernel__, and to update configure; thanks Petr Salinger; closes: #399270.