1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Suppress readline usage in mingw in configure.

This commit is contained in:
Bruce Momjian
2004-07-20 20:37:13 +00:00
parent 5406955541
commit b8a89da230
2 changed files with 26 additions and 5 deletions

15
configure vendored
View File

@ -2980,8 +2980,8 @@ else
fi;
if test "$enable_thread_safety" = yes -o
test "$enable_thread_safety_force" = yes; then
if test "$enable_thread_safety" = yes -o \
"$enable_thread_safety_force" = yes; then
enable_thread_safety="yes" # for 'force'
cat >>confdefs.h <<\_ACEOF
@ -3409,6 +3409,17 @@ else
fi;
# readline on MinGW has problems with backslashes in psql and other bugs.
# This is particularly a problem with non-US code pages.
# Therefore disable its use until we understand the cause. 2004-07-20
case $host_os in mingw*)
if test "$with_readline" = yes; then
{ echo "$as_me:$LINENO: WARNING: *** Readline does not work on MinGW --- disabling" >&5
echo "$as_me: WARNING: *** Readline does not work on MinGW --- disabling" >&2;}
with_readline=no
fi;;
esac
#
# Zlib