From: Juergen Borleis Date: Thu, 28 Sep 2017 08:59:44 +0000 (+0200) Subject: iptables: change large file support handling X-Git-Tag: v1.6.2~29 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=f4b80ce7bae8f9d10c401fdd743b73795ff1d679;p=thirdparty%2Fiptables.git iptables: change large file support handling The configure script handles the "--*-largefile" parameter badly. It always disables largefile support if given (and it doesn't matter if 'enable' or 'disable' was used). Signed-off-by: Juergen Borleis Signed-off-by: Pablo Neira Ayuso --- diff --git a/configure.ac b/configure.ac index 9ca74743..a40f8e7e 100644 --- a/configure.ac +++ b/configure.ac @@ -42,8 +42,9 @@ AC_ARG_ENABLE([ipv6], AC_ARG_ENABLE([largefile], AS_HELP_STRING([--disable-largefile], [Do not build largefile support]), [enable_largefile="$enableval"], - [enable_largefile="yes"; - largefile_cppflags='-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64']) + [enable_largefile="yes"]) +AS_IF([test "$enable_largefile" = "yes"], [largefile_cppflags='-D_LARGEFILE_SOURCE=1 -D_LARGE_FILES -D_FILE_OFFSET_BITS=64']) + AC_ARG_ENABLE([devel], AS_HELP_STRING([--enable-devel], [Install Xtables development headers]),