@ -1,5 +1,5 @@
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.236 2003/02/14 14:05:00 momjian Exp $
dnl $Header: /cvsroot/pgsql/configure.in,v 1.237 2003/02/19 04:04:04 momjian Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
@ -689,17 +689,19 @@ AC_CHECK_HEADERS(netinet/tcp.h, [], [],
if test "$with_readline" = yes; then
if test "$with_readline" = yes; then
AC_CHECK_HEADERS(readline/readline.h, [],
AC_CHECK_HEADERS(readline/readline.h, [],
[AC_CHECK_HEADERS(editline/readline.h, [],
[AC_CHECK_HEADERS(readline.h, [],
[AC_CHECK_HEADERS(readline.h, [],
[AC_MSG_ERROR([readline header not found
[AC_MSG_ERROR([readline header not found
If you have readline already installed, see config.log for details on the
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.])])])
Use --without-readline to disable readline support.])])])])
AC_CHECK_HEADERS(readline/history.h, [],
AC_CHECK_HEADERS(readline/history.h, [],
[AC_CHECK_HEADERS(editline/history.h, [],
[AC_CHECK_HEADERS(history.h, [],
[AC_CHECK_HEADERS(history.h, [],
[AC_MSG_ERROR([history header not found
[AC_MSG_ERROR([history header not found
If you have readline already installed, see config.log for details on the
If you have readline already installed, see config.log for details on the
failure. It is possible the compiler isn't looking in the proper directory.
failure. It is possible the compiler isn't looking in the proper directory.
Use --without-readline to disable readline support.])])])
Use --without-readline to disable readline support.])])])])
fi
fi
if test "$with_zlib" = yes; then
if test "$with_zlib" = yes; then
@ -878,6 +880,7 @@ AC_CHECK_FUNCS(rint, [],
if test "$with_readline" = yes; then
if test "$with_readline" = yes; then
PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER
PGAC_VAR_RL_COMPLETION_APPEND_CHARACTER
AC_CHECK_FUNCS([rl_completion_matches rl_filename_completion_function])
AC_CHECK_FUNCS([rl_completion_matches rl_filename_completion_function])
AC_CHECK_FUNCS([replace_history_entry])
fi
fi