diff options
Diffstat (limited to 'autogen.sh')
-rwxr-xr-x | autogen.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,7 +7,7 @@ include () # the headers that we need from the lastest kernel version at autogen # stage. - INCLUDEDIR=/lib/modules/`uname -r`/build/include/linux + INCLUDEDIR=${KERNEL_DIR:-/lib/modules/`uname -r`/build}/include/linux if [ -f $INCLUDEDIR/netfilter/nfnetlink_queue.h ] then TARGET=include/libnetfilter_queue/linux_nfnetlink_queue.h @@ -29,7 +29,7 @@ include () print $0 }' $TEMP > $TARGET else - echo "can't find nfnetlink_queue.h kernel file" + echo "can't find nfnetlink_queue.h kernel file in $INCLUDEDIR" exit 1 fi } |