diff options
author | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-11-17 13:07:08 +0000 |
---|---|---|
committer | /C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org </C=DE/ST=Berlin/L=Berlin/O=Netfilter Project/OU=Development/CN=laforge/emailAddress=laforge@netfilter.org> | 2005-11-17 13:07:08 +0000 |
commit | b23e69f2cdf301cd73c4fe516410fc731f672845 (patch) | |
tree | fb338b4230e647fc82d8100ae949dbbd3cf94976 | |
parent | 1db5859c3cd7cb223a2660ca2110321269f71542 (diff) |
add KERNEL_DIR option to autogen.sh for all new libraries (Krzysztof Oledzki)
-rwxr-xr-x | autogen.sh | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -7,14 +7,15 @@ 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.h ] then TARGET=include/libnfnetlink/linux_nfnetlink.h echo "Copying nfnetlink.h to linux_nfnetlink.h" cp $INCLUDEDIR/netfilter/nfnetlink.h $TARGET else - echo "can't find nfnetlink.h kernel file" + echo "can't find nfnetlink.h kernel file in $INCLUDEDIR" exit 1 fi } |