]> git.draconx.ca Git - cdecl99.git/commit
cdecl99: Fall back to getline, instead of Gnulib's readline.
authorNick Bowler <nbowler@draconx.ca>
Wed, 5 Jul 2023 01:15:39 +0000 (21:15 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 5 Jul 2023 01:15:39 +0000 (21:15 -0400)
commit247d234f2e263700e0a7ce7f6c9219d010c182ca
treefae0a99dfc1f417ffe1052efbfde34c049b4624b
parent663aa8d7a7aa6910f188ac6aa5ccb2c078ad90c8
cdecl99: Fall back to getline, instead of Gnulib's readline.

When building without readline, instead of using Gnulib's readline
replacement, use getline directly.  We can combine most of the batch
and interactive mode processing loops which saves a bunch of pointless
extra code in the readline-disabled case.

To actually do this, we prepare a Gnulib "local dir" to implement
a cut-down readline module that includes the configure tests only.
.gitignore
lib/.gitignore [new file with mode: 0644]
lib/local/modules/gnulib-local [new file with mode: 0644]
lib/local/modules/readline [new file with mode: 0644]
m4/gnulib-cache.m4
src/cdecl99.c