diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-03-19 15:13:27 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2010-03-19 15:13:27 +0100 |
commit | 3cc6ba530042288363a048299f2d6a38517db308 (patch) | |
tree | 12d4898176d1a2370541ceb865c6bf24b88f66c8 | |
parent | 12854285ee786cf543bcd660d9f511851d9a0fdf (diff) | |
download | libmnl-3cc6ba530042288363a048299f2d6a38517db308.tar.gz libmnl-3cc6ba530042288363a048299f2d6a38517db308.zip |
remove libnfnetlink stuff from autogen.sh
-rwxr-xr-x | autogen.sh | 35 |
1 files changed, 0 insertions, 35 deletions
@@ -1,39 +1,5 @@ #!/bin/sh -include () -{ - # If we keep a copy of the kernel header in the SVN tree, we'll have - # to worry about synchronization issues forever. Instead, we just copy - # the headers that we need from the lastest kernel version at autogen - # stage. - - 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 - TMP=`mktemp` - sed 's/__be16/u_int16_t/g' $TARGET > $TMP - cp $TMP $TARGET - sed 's/#include <linux\/netfilter\/nfnetlink_compat\.h>/#include <libnfnetlink\/linux_nfnetlink_compat\.h>/g' $TARGET > $TMP - cp $TMP $TARGET - else - echo "can't find nfnetlink.h kernel file in $INCLUDEDIR" - exit 1 - fi - - if [ -f $INCLUDEDIR/netfilter/nfnetlink_compat.h ] - then - TARGET=include/libnfnetlink/linux_nfnetlink_compat.h - echo "Copying nfnetlink_compat.h to linux_nfnetlink_compat.h" - cp $INCLUDEDIR/netfilter/nfnetlink_compat.h $TARGET - else - echo "can't find nfnetlink.h kernel file in $INCLUDEDIR, ignoring" - fi -} - run () { echo "running: $*" @@ -45,7 +11,6 @@ run () fi } -[ "x$1" = "xdistrib" ] && include run aclocal #run autoheader run libtoolize -f |