summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2000-03-05 13:30:20 +0000
committerPeter Eisentraut <peter_e@gmx.net>2000-03-05 13:30:20 +0000
commit8de482a8479eef200e184ce308bf3f40eac3215b (patch)
treed987e8242b1fe545b0bcbd986cb518a157540a6d /src/include
parent3c71ed7e72680ad5cde765978b98bd34bb58089a (diff)
downloadpostgresql-8de482a8479eef200e184ce308bf3f40eac3215b.tar.gz
Added configure test for readline's filename_completion_function
Completed psql's \? help
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in6
-rw-r--r--src/include/port/win.h3
2 files changed, 6 insertions, 3 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index 806aae9675..fb472061f5 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -468,6 +468,12 @@ extern void srandom(unsigned int seed);
/* Set to 1 if your libreadline defines rl_completion_append_character */
#undef HAVE_RL_COMPLETION_APPEND_CHARACTER
+/* Set to 1 if your libreadline has filename_completion_function */
+#undef HAVE_FILENAME_COMPLETION_FUNCTION
+
+/* Set to 1 if your readline headers actually declare the above */
+#undef HAVE_FILENAME_COMPLETION_FUNCTION_DECL
+
/* Set to 1 if you have getopt_long() (GNU long options) */
#undef HAVE_GETOPT_LONG
diff --git a/src/include/port/win.h b/src/include/port/win.h
index 77081fa36a..61acdb3e21 100644
--- a/src/include/port/win.h
+++ b/src/include/port/win.h
@@ -14,6 +14,3 @@ typedef unsigned char slock_t;
#if (CYGWIN_VERSION_API_MAJOR >= 0) && (CYGWIN_VERSION_API_MINOR >= 8)
#define sys_nerr _sys_nerr
#endif
-
-/* not exported in readline.h */
-char * filename_completion_function();