diff mbox series

[v1] Rasdaemon: Fix autoreconf build error

Message ID 20230523063311.4900-1-ayush.jain3@amd.com (mailing list archive)
State New, archived
Headers show
Series [v1] Rasdaemon: Fix autoreconf build error | expand

Commit Message

Ayush Jain May 23, 2023, 6:33 a.m. UTC
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>
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/configure.ac b/configure.ac
index ab5697d..7b39f59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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