Hi everyone, this is a resend, my previous email was a bit big, something like 100k, so it seems that mailman wasn't so happy with it. So this time I just attached the configure.ac file. To get the whole patch: http://eurodev.net/~pablo/autostuff2.patch regards, Pablo -------- my previous email ---------- Hi, I made a configure.ac file to make iptables compile using autoconf stuff, it applies to the current CVS snapshot. I defined three possible options which can be passed to configure, they are: --disable-shared-libs compile static linked version of iptables --disable-ipv6 disable support for ipv6 --with-kernel-dir=DIR location of kernel sources I also added another one called --enable-debug-mode but I'm not sure the way iptables is compiled in debug mode, so I just commented it, please have a look at the configure.ac to see what I'm talking about. I respected as much as possible the current Makefile to generate the Makefile.in . I also renamed all Makefiles to Makefile.in included in subdirs because someone could add to them some autoconf stuff later. The configure script generates a file called config.h which includes a define which specifies the architecture where iptables is going to be compiled. Oh, we could avoid the use of this file just passing the architecture as a C flag, sure. I'm not an autoconf geek, so if there's something weird, please let me know. Comments are welcome. regards, Pablo