configure test fails for FreeBSD 4.6.2
Michael Sperber [Mr. Preprocessor]
sperber at informatik.uni-tuebingen.de
Wed Aug 21 10:25:07 CEST 2002
The kernel version check in configure.in doesn't work on security
patch releases of FreeBSD. I suggest
*** configure.in.orig Wed Aug 21 10:23:12 2002
--- configure.in Wed Aug 21 10:23:15 2002
***************
*** 313,319 ****
AC_MSG_CHECKING(if /kernel and headers match)
HDRVERSION=`awk '/#define __FreeBSD_version/ { printf("%2.1f\n",$3/100000); }' < $SYS/sys/param.h`
! KERNELVERSION=`uname -r | cut -f1 -d-`
if test X"${HDRVERSION}" != X"${KERNELVERSION}" ; then
AC_MSG_ERROR([version mismatch headerfiles $HDRVERSION != kernel $KERNELVERSION])
--- 313,319 ----
AC_MSG_CHECKING(if /kernel and headers match)
HDRVERSION=`awk '/#define __FreeBSD_version/ { printf("%2.1f\n",$3/100000); }' < $SYS/sys/param.h`
! KERNELVERSION=`uname -r | cut -f1 -d- | cut -f1 -f2 -d.`
if test X"${HDRVERSION}" != X"${KERNELVERSION}" ; then
AC_MSG_ERROR([version mismatch headerfiles $HDRVERSION != kernel $KERNELVERSION])
(This is for 0.35.9.)
--
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla
More information about the Arla-drinkers
mailing list