summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2004-07-20 20:37:13 +0000
committerBruce Momjian <bruce@momjian.us>2004-07-20 20:37:13 +0000
commitb8a89da230caa2fcccd83e729074a19d1883bfff (patch)
tree594951cb1cf9b867e7c5c3041cb8fb3853d2a924 /configure
parent5406955541c73d3acf3c6ef496b5218448ca1aad (diff)
downloadpostgresql-b8a89da230caa2fcccd83e729074a19d1883bfff.tar.gz
Suppress readline usage in mingw in configure.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 13 insertions, 2 deletions
diff --git a/configure b/configure
index 1ad862be1d..f4c9f36c62 100755
--- a/configure
+++ b/configure
@@ -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