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

Message ID 20240610030833.472301-2-lukeshu@lukeshu.com
State New
Headers
Series [v2,1/5] readline: Fix examples/rlfe/configure.in |

Commit Message

Luke T. Shumaker June 10, 2024, 3:08 a.m. UTC
  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(-)
  

Comments

Hans-Peter Nilsson June 10, 2024, 10:49 p.m. UTC | #1
Random spotting:

On Sun, 9 Jun 2024, Luke T. Shumaker wrote:

> 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
  ^^^^^^^
Still a typo there.

brgds, H-P
  

Patch

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)