1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-09 22:41:56 +03:00

Changes so that it actually checks for <readline/history.h>, instead

of assuming it does exist
This commit is contained in:
Marc G. Fournier
1997-08-17 00:48:51 +00:00
parent 5410203949
commit 9d90de5de7
4 changed files with 122 additions and 78 deletions

View File

@ -7,7 +7,7 @@
*
*
* IDENTIFICATION
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.81 1997/08/03 02:37:58 momjian Exp $
* $Header: /cvsroot/pgsql/src/bin/psql/Attic/psql.c,v 1.82 1997/08/17 00:48:45 scrappy Exp $
*
*-------------------------------------------------------------------------
*/
@ -37,12 +37,12 @@
#ifdef HAVE_LIBREADLINE
# ifdef HAVE_READLINE_H
# include <readline.h>
# if defined(HAVE_HISTORY) || defined(HAVE_LIBHISTORY)
# if defined(HAVE_HISTORY)
# include <history.h>
# endif
# else
# include <readline/readline.h>
# if defined(HAVE_HISTORY) || defined(HAVE_LIBHISTORY)
# if defined(HAVE_READLINE_HISTORY_H)
# include <readline/history.h>
# endif
# endif