|
1 | 1 | dnl Process this file with autoconf to produce a configure script.
|
2 |
| -dnl $PostgreSQL: pgsql/configure.in,v 1.368 2004/07/17 18:53:56 petere Exp $ |
| 2 | +dnl $PostgreSQL: pgsql/configure.in,v 1.369 2004/07/20 20:37:13 momjian Exp $ |
3 | 3 | dnl
|
4 | 4 | dnl Developers, please strive to achieve this order:
|
5 | 5 | dnl
|
@@ -360,8 +360,8 @@ IFS=$ac_save_IFS
|
360 | 360 | AC_MSG_CHECKING([allow thread-safe client libraries])
|
361 | 361 | PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety make client libraries thread-safe])
|
362 | 362 | PGAC_ARG_BOOL(enable, thread-safety-force, no, [ --enable-thread-safety-force force thread-safety in spite of thread test failure])
|
363 |
| -if test "$enable_thread_safety" = yes -o |
364 |
| - test "$enable_thread_safety_force" = yes; then |
| 363 | +if test "$enable_thread_safety" = yes -o \ |
| 364 | + "$enable_thread_safety_force" = yes; then |
365 | 365 | enable_thread_safety="yes" # for 'force'
|
366 | 366 | AC_DEFINE([ENABLE_THREAD_SAFETY], 1,
|
367 | 367 | [Define to 1 to build client libraries as thread-safe code. (--enable-thread-safety)])
|
@@ -480,6 +480,16 @@ AC_SUBST(with_openssl)
|
480 | 480 | #
|
481 | 481 | PGAC_ARG_BOOL(with, readline, yes,
|
482 | 482 | [ --without-readline do not use Readline])
|
| 483 | +# readline on MinGW has problems with backslashes in psql and other bugs. |
| 484 | +# This is particularly a problem with non-US code pages. |
| 485 | +# Therefore disable its use until we understand the cause. 2004-07-20 |
| 486 | +case $host_os in mingw*) |
| 487 | + if test "$with_readline" = yes; then |
| 488 | + AC_MSG_WARN([*** Readline does not work on MinGW --- disabling]) |
| 489 | + with_readline=no |
| 490 | + fi;; |
| 491 | +esac |
| 492 | + |
483 | 493 |
|
484 | 494 | #
|
485 | 495 | # Zlib
|
|
0 commit comments