From 5f0548192fc4df56e8b21c239f8f75479147e34a Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 3 Dec 2002 18:45:21 +0000 Subject: fixes --- configure.in | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) (limited to 'configure.in') diff --git a/configure.in b/configure.in index 2238b60..dff58c6 100644 --- a/configure.in +++ b/configure.in @@ -21,6 +21,8 @@ AC_ARG_ENABLE(util, AC_ARG_ENABLE(example, [ --enable-example Compile with examples ]) +subdirs="include patch" + if test "$enable_kernel_module" != "no"; then AC_MSG_CHECKING([kernel source directory]) kernelsrc= @@ -40,16 +42,7 @@ if test "$enable_kernel_module" != "no"; then fi fi AC_MSG_RESULT([$kernelsrc]) -fi - -oldcc=$CC -oldcross_compiling=$cross_compiling -if test "$cross_compiling" = yes; then - CC=gcc - cross_compiling=no -fi -if test "$enable_kernel_module" != "no"; then AC_MSG_CHECKING([kernel source version]) kernsrcver=`sed -ne '/^VERSION = \(.*\)/{s//\1/;p;q;}' $kernelsrc/Makefile` kernsrcver="$kernsrcver.`sed -ne '/^PATCHLEVEL = \(.*\)/{s//\1/;p;q;}' $kernelsrc/Makefile`" @@ -63,13 +56,7 @@ if test "$enable_kernel_module" != "no"; then *** configure the kernel before running this script]) fi AC_MSG_RESULT([$kernsrcver]) -fi -CC=$oldcc -cross_compiling=$oldcross_compiling -subdirs="include patch" - -if test "$enable_kernel_module" != "no"; then KERNINCLUDE=$kernelsrc/include AC_SUBST(KERNINCLUDE) kmoduledir=/lib/modules/$kernsrcver -- cgit v1.2.3