Skip to contentSkip to conversation

Rasdaemon: Fix autoreconf build error

PATCH New Ayush Jain 1 participant 1 message May 23, 2023 EDAC-core

lore
Share & tools
lore

Ayush Jain

author
#0 lore raw

PATCH 1/1 Rasdaemon: Fix autoreconf build error

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.

---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
configure.ac +1 -1
index ab5697d..7b39f59 100644
@@ -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
Signature · 1 line
2.34.1