[PATCH v2 1/5] readline: Fix examples/rlfe/configure.in

Luke T. Shumaker lukeshu@lukeshu.com
Mon Jun 10 03:08:29 GMT 2024


It has been impossible to run `autoconf` in
`readline/readline/examples/rlfe/` ever since it was moved there from
`readline/examples/rlfe/` in 6999161a2a3 (Move readline to the
readline/readline subdirectory, Tom Tromey, 2019-10-05).  The
confure.in uses a "../"* sequence to get to the top-directory's
config/override.m4, but another "../" wasn't added when it was moved a
directory deeper.

Fix that; add another "../".  This allows `autoconf` to once again
generate the verbatim `configure` file that is already checked in.

---
v2:
- Fix mistakes in the commit message
---
 readline/readline/examples/rlfe/configure.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/readline/readline/examples/rlfe/configure.in b/readline/readline/examples/rlfe/configure.in
index 5c0678ab4d8..4ef9c721a06 100644
--- a/readline/readline/examples/rlfe/configure.in
+++ b/readline/readline/examples/rlfe/configure.in
@@ -1,6 +1,6 @@
 dnl Process this file with autoconf to produce a configure script.
 
-m4_include([../../../config/override.m4])
+m4_include([../../../../config/override.m4])
 
 AC_INIT(rlfe.c)
 AC_CONFIG_HEADER(config.h)
-- 
2.45.1



More information about the Binutils mailing list