summaryrefslogtreecommitdiff
path: root/src/include/config.h
diff options
context:
space:
mode:
authorMarc G. Fournier1997-01-25 22:52:08 +0000
committerMarc G. Fournier1997-01-25 22:52:08 +0000
commitaa46d53fa41a073e138acf906bb25d311c575b6b (patch)
tree065019b2f683b26cf376c713fed792016e261112 /src/include/config.h
parent374b2b06392c7aaaa850eecea8e0f49bc98cc8b8 (diff)
Okay, this should pretty much clean up the psql/readline/history mess.
Added a README.readline file until configure is integrated to *try* and explain the way things stand. Removed a stray configure .in file
Diffstat (limited to 'src/include/config.h')
-rw-r--r--src/include/config.h16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/include/config.h b/src/include/config.h
index f34189efec0..4fbeb1f82a3 100644
--- a/src/include/config.h
+++ b/src/include/config.h
@@ -9,7 +9,8 @@
#define BLCKSZ 8192
/* Define to enable readline/history support in psql */
-/* #undef HAVE_LIBREADLINE */
+/* #undef HAVE_LIBREADLINE */
+/* #undef HAVE_LIBHISTORY */
/* These two defines are not used until HAVE_LIBREADLINE
* are also defined
@@ -20,19 +21,8 @@
/* Define one for either <history.h> or <readline/history.h>
*/
-/* #undef HAVE_HISTORY_H */
-/* #undef HAVE_READLINE_HISTORY_H */
+/* #undef HAVE_HISTORY */
-/* this is meant to handle the condition where the system has readline
- * capabilities, but no history. Unfortunately, it isn't as simple as
- * testing for the existance of -lhistory, since newer -lreadline seems to
- * include the -lhistory library, but newer readline.h doesn't
- */
-#if defined(HAVE_LIBREADLINE)
-# if !defined(HAVE_HISTORY_H) || !defined(HAVE_READLINE_HISTORY_H)
-# define NO_HISTORY_H
-# endif
-#endif
#define HAVE_SYS_SELECT_H
#define HAVE_TERMIOS_H