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