AC_SUBST(KCC)
CPPFLAGS="$oldcppflags"
+diff -Naur cipe-1.5.2/configure.in cipe-1.5.2-p/configure.in
+--- cipe-1.5.2/configure.in Thu Nov 22 15:55:03 2001
++++ cipe-1.5.2-p/configure.in Thu Nov 22 15:56:05 2001
+@@ -65,28 +65,6 @@
+ fi
+ AC_MSG_RESULT($KINC)
+
+-AC_MSG_CHECKING(for kernel compile parameters)
+-if test -z "$KSRC" -o ! -f "$KSRC/Makefile" ; then
+- AC_MSG_WARN(no Makefile - using default flags)
+-else
+- cp $KSRC/Makefile conftest.make
+- echo -e "conftest.CC:" >>conftest.make
+- echo -e "\t@echo \$(CC)" >>conftest.make
+- echo -e "conftest.CFLAGS:" >>conftest.make
+- echo -e "\t@echo \$(CFLAGS) \$(MODFLAGS)" >>conftest.make
+- here=`pwd`
+- NKCC=`cd $KSRC; make -f $here/conftest.make conftest.CC`
+- NKCFLAGS=`cd $KSRC; make -f $here/conftest.make conftest.CFLAGS`
+- dnl some sanity checking
+- echo "$NKCC $NKCFLAGS" | grep -qse '-I[[^ ]]*/include' || NKCC=""
+- if test -z "$NKCC" ; then
+- AC_MSG_WARN(not found - using default flags)
+- else
+- AC_MSG_RESULT($NKCC $NKCFLAGS)
+- fi
+- rm -f conftest.make
+-fi
+-
+ dnl cancel -O arguments set by autoconf
+ if ! test "$ac_test_CFLAGS" = set; then
+ CFLAGS=`echo $CFLAGS | sed 's,-O[[0-9]]*,,g'`