]> www.infradead.org Git - users/mchehab/rasdaemon.git/commitdiff
Rasdaemon: Fix autoreconf build error
authorAyush Jain <ayush.jain3@amd.com>
Tue, 23 May 2023 06:55:36 +0000 (12:25 +0530)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Mon, 23 Oct 2023 08:47:15 +0000 (10:47 +0200)
When building rasdaemon with autoreconf, on certain distros
we see the following error message.
Makefile.am: error: required file './README' not found
Autoreconf looks for README file instead of README.md
Fix this by passing 'foreign' to AM_INIT_AUTOMAKE.

Signed-off-by: Ayush Jain <ayush.jain3@amd.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
configure.ac

index ab5697d4ac466b1e42e9a66efaac707133cde5c2..7b39f59740d88b235025995a434b33ae9b2c46f9 100644 (file)
@@ -3,7 +3,7 @@ AM_SILENT_RULES([yes])
 AC_CANONICAL_TARGET
 AC_CONFIG_MACRO_DIR([m4])
 AC_CONFIG_HEADERS([config.h])
-AM_INIT_AUTOMAKE
+AM_INIT_AUTOMAKE([foreign])
 AC_PROG_CC
 AC_PROG_INSTALL
 LT_INIT