Alex Pilosov writes:
> If USE_READLINE exists, but HAVE_RL_FILENAME_COMPLETION_FUNCTION does not,
> -current build breaks:
> gcc -O2 -pipe -Wall -Wmissing-prototypes -Wmissing-declarations
> -I../../../src/interfaces/libpq -I../../../src/include -c tab-complete.c
> -o tab-complete.o
> tab-complete.c: In function `psql_completion':
> tab-complete.c:754: `filename_completion_function' undeclared (first use
> in this function)
> tab-complete.c:754: (Each undeclared identifier is reported only once
> tab-complete.c:754: for each function it appears in.)
>
> I am not sure what should it be defined as when RL_FILENAME_COMPLETION is
> not available...?
It should be in the readline.h header file. Is this yet another case of a
broken OpenBSD readline installation?
--
Peter Eisentraut peter_e@gmx.net http://funkturm.homeip.net/~peter