From: S.Çağlar Onur Date: Thu, 28 Jan 2010 14:32:12 +0000 (+0000) Subject: no need to check to kernel source (also fixes the nightly builds) X-Git-Tag: DistributedRateLimiting-0.1-0~11 X-Git-Url: http://git.onelab.eu/?p=distributedratelimiting.git;a=commitdiff_plain;h=827382972316d6856301f31d06ccc194686b128d;ds=sidebyside no need to check to kernel source (also fixes the nightly builds) --- diff --git a/configure.in b/configure.in index 7bd3640..c339fe5 100644 --- a/configure.in +++ b/configure.in @@ -25,25 +25,6 @@ dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS(socket strerror) -dnl Checks for kernel source directory. -AC_MSG_CHECKING([kernel source directory]) -KSRC="/lib/modules/`uname -r`/build" -AC_ARG_WITH(kernel, - --with-kernel=DIR kernel source directory, - [ KSRC="$withval" ], -) -# Check if kernel source directory has been configured -if test -f "$KSRC/include/linux/version.h" ; then - # Get kernel version number - eval KVER=$(echo "#include " | cpp -I "$KSRC/include" -dM - | awk '/UTS_RELEASE/ { print $3 }') - AC_MSG_RESULT([$KVER]) -else - AC_MSG_RESULT([$KSRC/include/linux/version.h not found]) - AC_MSG_ERROR(kernel source directory not specified or not configured) -fi -AC_SUBST(KSRC) -AC_SUBST(KVER) - dnl NetFlow prerequisites. AC_ARG_WITH(proper, --with-proper= proper installed in ,