build: use modern call syntax for AC_INIT, AM_INIT_AUTOMAKE
authorJan Engelhardt <jengelh@medozas.de>
Sat, 30 Oct 2010 21:04:32 +0000 (23:04 +0200)
committerr.kubiak <r.kubiak@samsung.com>
Mon, 16 Nov 2015 13:12:06 +0000 (14:12 +0100)
automake options also need to definitely go into configure.ac, otherwise
they only apply to a single directory.

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
Makefile.am
configure.ac

index 28641f8624d0a76e8affd5bd11d020980cbe252f..b4e604b25d2a9ef16271f0965673ae34ff0716b3 100644 (file)
@@ -1,5 +1,3 @@
-AUTOMAKE_OPTIONS = foreign dist-bzip2 1.6
-
 ACLOCAL_AMFLAGS = -I m4
 
 EXTRA_DIST = $(man_MANS) 
index a82c9f1c3b19bfcd47c45bd242a3eea87ed5e36a..3bd3e1c99e1fe06883073cc97262679e243cedba 100644 (file)
@@ -1,10 +1,10 @@
 dnl Process this file with autoconf to create configure.
 
-AC_INIT
+AC_INIT([libnetfilter_queue], [1.0.0])
 AC_CANONICAL_SYSTEM
 AC_CONFIG_MACRO_DIR([m4])
 
-AM_INIT_AUTOMAKE(libnetfilter_queue, 1.0.0)
+AM_INIT_AUTOMAKE([-Wall foreign subdir-objects dist-bzip2 1.6])
 
 AC_PROG_CC
 AC_EXEEXT