diff options
| author | Bruce Momjian <bruce@momjian.us> | 2003-08-04 21:26:26 +0000 |
|---|---|---|
| committer | Bruce Momjian <bruce@momjian.us> | 2003-08-04 21:26:26 +0000 |
| commit | 98bf00442183f3487548bf71ac9dc39b8ef18df1 (patch) | |
| tree | af7e93743fddbf08a2815fc89e01252999e69a25 /configure.in | |
| parent | c45b851e373d9de2b89c2c7a07d58036526452de (diff) | |
| download | postgresql-98bf00442183f3487548bf71ac9dc39b8ef18df1.tar.gz | |
Re-add USE_THREADS, used by ecpg.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 1d4430d724..b60332d740 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,5 @@ dnl Process this file with autoconf to produce a configure script. -dnl $Header: /cvsroot/pgsql/configure.in,v 1.275 2003/08/04 16:48:03 momjian Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.276 2003/08/04 21:26:26 momjian Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -314,7 +314,8 @@ IFS=$ac_save_IFS # Enable libpq to be thread-safety # AC_MSG_CHECKING([allow thread-safe libpq and ecpg]) -PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety allow libpq and ecpg to be thread-safe]) +PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety allow libpq and ecpg to be thread-safe], + [AC_DEFINE([USE_THREADS], 1, [Define to 1 to build libpq and ecpg to be thread-safe. (--enable-thread-safety)])]) AC_MSG_RESULT([$enable_thread_safety]) AC_SUBST(enable_thread_safety) |
