0005-configure.ac-remove-duplicate-invocation-of-AM_INIT_.patch 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. From bd4fad5e427f4d2828f2edbe8063f6d6c9276c7b Mon Sep 17 00:00:00 2001
  2. From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  3. Date: Sat, 8 Jan 2022 13:30:58 +0100
  4. Subject: [PATCH] configure.ac: remove duplicate invocation of AM_INIT_AUTOMAKE
  5. autoreconf fails with:
  6. configure.ac:9: error: AM_INIT_AUTOMAKE expanded multiple times
  7. /home/thomas/projets/buildroot/output/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
  8. configure.ac:7: the top level
  9. /home/thomas/projets/buildroot/output/host/share/aclocal-1.16/init.m4:29: AM_INIT_AUTOMAKE is expanded from...
  10. configure.ac:9: the top level
  11. Drop the duplicate invocation to AM_INIT_AUTOMAKE to solve this.
  12. Upstream: https://github.com/cisco/libest/pull/106
  13. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
  14. ---
  15. configure.ac | 1 -
  16. 1 file changed, 1 deletion(-)
  17. diff --git a/configure.ac b/configure.ac
  18. index 0b930bf..66a91f2 100644
  19. --- a/configure.ac
  20. +++ b/configure.ac
  21. @@ -4,7 +4,6 @@ AC_CONFIG_AUX_DIR(config)
  22. AC_CONFIG_SRCDIR(src/est/est.c)
  23. AC_CONFIG_MACRO_DIR([m4])
  24. -AM_INIT_AUTOMAKE
  25. AM_MAINTAINER_MODE
  26. AM_INIT_AUTOMAKE([subdir-objects])
  27. --
  28. 2.33.1