mirror of
https://github.com/troglobit/editline.git
synced 2025-12-16 02:54:46 +08:00
Change rl_complete() and rl_list_possib() to be function pointers instead.
This is a much cleaner design and also works with or without the configure --enable-default-complete option. See the examples for details.
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Process this file with autoconf to produce a configure script.
|
||||
|
||||
AC_PREREQ(2.61)
|
||||
AC_INIT(Minix editline, 0.2.1, joachim@vmlinux.org)
|
||||
AC_INIT(Minix editline, 0.2.2, joachim@vmlinux.org)
|
||||
AC_CONFIG_SRCDIR([src/editline.c])
|
||||
AC_CONFIG_HEADER([config.h])
|
||||
|
||||
@@ -40,7 +40,7 @@ AC_PROG_GCC_TRADITIONAL
|
||||
AC_FUNC_STAT
|
||||
AC_CHECK_FUNCS([strchr strdup strrchr tcgetattr])
|
||||
|
||||
AC_ARG_ENABLE([complete],
|
||||
AC_ARG_ENABLE([default-complete],
|
||||
[ --enable-default-complete Enable default completion handler.],[
|
||||
case "${enableval}" in
|
||||
yes)
|
||||
|
||||
Reference in New Issue
Block a user