1From a2de7e834417de68db10dc6f09d5810b06e6cbc8 Mon Sep 17 00:00:00 2001 2From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 3Date: Thu, 21 Jan 2016 23:54:50 +0100 4Subject: [PATCH] configure.in: fix AM_INIT_AUTOMAKE call 5 6Uncomment the appropriate call to AM_INIT_AUTOMAKE so that the 7"foreign" option is passed, which avoids the need for creating various 8unneeded files when autoreconfiguring. 9 10Add the subdir-objects options since the main Makefile.am references 11files in subdirectories. This allows to silence a huge amount of 12warning when autoreconfiguring. 13 14Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> 15--- 16 configure.in | 3 +-- 17 1 file changed, 1 insertion(+), 2 deletions(-) 18 19diff --git a/configure.in b/configure.in 20index 8b06428..680cad5 100755 21--- a/configure.in 22+++ b/configure.in 23@@ -27,8 +27,7 @@ 24 25 #AC_PREREQ(2.59) 26 AC_INIT([HP Linux Imaging and Printing], [3.17.10], [3.17.10], [hplip]) 27-#AM_INIT_AUTOMAKE([1.9 foreign]) 28-AM_INIT_AUTOMAKE 29+AM_INIT_AUTOMAKE([1.9 foreign subdir-objects]) 30 AC_DISABLE_STATIC 31 32 # Checks for programs. 33-- 342.6.4 35 36