Subject: bug#35681: grep's ./configure doesn't work with plain /bin/sh

From: [email-masked]
Date: Sat, 11 May 2019 23:49:52 -0600

Hi.

Dennis Clarke <[email-masked]> wrote:

> On 5/10/19 6:49 PM, Miro Krop????ek wrote:
> > Hi,
> > 
> > I found this today by accident - it seems that grep's ./configure
                                                   ^^^^^^^^^^^^^^^^^^
> > doesn't work with so called minimal bash (enabled in bash's configure
> > via --enable-minimal-config).
> > 

And:

> Undefined                       first referenced
>   symbol                             in file
> rl_clear_visible_line               bashline.o
> rl_redraw_prompt_last_line          bashline.o
> history_lines_written_to_file       bashhist.o
> history_lines_read_from_file        bashhist.o
> remove_history_range                bashhist.o
> history_quoting_state               y.tab.o
> rl_function_of_keyseq_len           bashline.o
> ld: fatal: symbol referencing errors. No output written to bash

This is the lack of the readline library.

> However configure works without bash around.

What you tested was bash's configure.  The original
query was about grep's configure.

HTH,

Arnold