mirror of
https://github.com/troglobit/editline.git
synced 2025-05-06 04:21:24 +08:00

rl_complete() and rl_list_possib(). Simply leave out complete.o from the default build and in all programs require these two functions to be supplied. A better alternative would be to use function pointers and check those for NULL in the running code. With this code, and no completion handler the editline code will die.
11 lines
257 B
Makefile
11 lines
257 B
Makefile
AUTOMAKE_OPTIONS = foreign
|
|
|
|
LDADD = $(top_builddir)/src/libedit.a
|
|
AM_CFLAGS = -I$(top_srcdir)/src -I$(top_srcdir)/include
|
|
|
|
# TODO: Port "fileman" example from BSD editline
|
|
noinst_PROGRAMS = testit cli
|
|
|
|
testit_SOURCES = testit.c
|
|
#fileman_SOURCES = fileman.c
|