This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 0/2] Move readline down one level


On 2019-10-23 5:17 p.m., Tom Tromey wrote:
> Thanks.  I am going to check these in now.
> 
> A reminder to all: you will have to do a clean build after this.
> I'm sorry about this, but it seems to be a generic autoconf problem.
> 
> Tom

Ok, I tracked this down to the fact that:

- readline/readline/configure is ran by readline/configure (the AC_CONFIG_SUBDIRS([readline]) option)
- `config.status --recheck` in the readline/ build directory, used to re-run readline/configure,
  passes --no-recursion to configure, so it won't run the new readline/readline/configure
  (see https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/config_002estatus-Invocation.html)

So to fix the build directory by hand, it's possible to run readline/configure by hand with the right
arguments.  Since we don't pass --no-recursion, it will run readline/readline/configure and create
the corresponding build dir.

build/readline $ ./config.status --config
<lots of options>
build/readline $ /path/to/src/readline/configure <lots of options from above>

It might be faster to just start from scratch, but I thought I'd share in case it can help somebody.

Simon


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]