]> git.pld-linux.org Git - packages/cipe.git/commitdiff
- don't search for kernel compilation parameters
authorSebastian Zagrodzki <sebek@zagrodzki.net>
Thu, 22 Nov 2001 15:26:44 +0000 (15:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    cipe-autoconf.patch -> 1.2

cipe-autoconf.patch

index 3182221f8cc271aebdb6c0bd512d60e0ea9f1804..a9fb95bc7006dd1c77c11965ac120a1c7c44b994 100644 (file)
@@ -48,3 +48,35 @@ diff -Naur cipe-1.5.2/configure.in cipe-1.5.2-p/configure.in
  
  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'`
This page took 0.080373 seconds and 4 git commands to generate.