autotools conversion fixups
----- Original Nachricht ----
Von: Pablo Neira Ayuso <[email protected]> An: [email protected] Datum: 12.11.2014 13:01 Betreff: Re: [PATCH 1/1] autotools conversion fixups
Quoted 20 lines · On Sun, Nov 09, 2014 at 09:26:12PM +0100, [email protected] wrote:
Quoted 6 lines
From: root <root@lord_casco.spaceball>
Add some missing Makefile.am's under the include directory.
Now it is possible to build 'nftables' from a separate build directory and produce a release tar archive with a 'make distcheck'.
Thanks. I have merged this update to nftables/autotools branch:
git.netfilter.org/nftables/commit/?h=autotools&id=85035b6c6a1618e7ba726fe630
6c804fc1b6c4e8Quoted 7 lines
autogen.sh +0
-0@@ -1,4 +1,11 @@ #!/bin/bash
Quoted 13 lines
autogen.sh line 11
Quoted 10 lines
autogen.sh +8
-1-autoreconf -fi; +srcdir=`dirname $0` +test -z "$srcdir" && srcdir=. + +ORIGDIR=`pwd` +cd $srcdir + +autoreconf -vfi || exit 1 rm -Rf autom4te*.cache config.h.in~ +cd $ORIGDIR || exit $?The need for this chunk was not justified, I kept this back.
Hi,
the use of this slightly more complex 'autogen.sh' is to be able to call it even from a different directory, typically an empty build directory, as in the following shell session:
# git clone /sources/git/nftables.git -b autotools /tmp/nftables # mkdir /tmp/build # cd /tmp/build # /tmp/nftables/autogen.sh # /tmp/nftables/configure --prefix=/tmp/nft_inst # make -j ...
The implementation of the script was taken from the 'libX11.git' (see the repo. git://anongit.freedesktop.org/xorg/lib/libX11.git).
giorgio