8f6704e9e8bd35ec5d0d64b07eaab80bcfab1940
[openwrt.git] / package / ltq-kpi2udp / patches / 100-configure.patch
1 --- a/configure.in
2 +++ b/configure.in
3 @@ -113,7 +113,7 @@
4  AC_ARG_ENABLE(kernelbuild,
5          AS_HELP_STRING(--enable-kernelbuild=x,Set the target kernel build path),
6          [
7 -                if test -r $enableval/include/linux/autoconf.h; then
8 +                if test -r $enableval/include/generated/autoconf.h; then
9                          AC_SUBST([KERNEL_BUILD_PATH],[$enableval])
10                  else
11                          AC_MSG_ERROR([The kernel build directory is not valid or not configured!])