diff options
| author | Peter Eisentraut | 2003-11-24 13:11:27 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2003-11-24 13:11:27 +0000 |
| commit | 83ab17e051b7f7cbbcf7b54a74ebc8fcc08cdc69 (patch) | |
| tree | f453cce8ef6afa69a81edcfd0bf53da1ccbfb2b5 /configure.in | |
| parent | a62f62d78b3c11a7da90d0bc31ec4c7d4126d46e (diff) | |
Rename USE_THREADS to ENABLE_THREAD_SAFETY to avoid name clash with Perl.
Fixes compliation failure with --enable-thread-safety --with-perl and Perl
5.6.1.
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 7b9d6940da5..d3b76965bb3 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.301.2.2 2003/11/16 21:33:50 pgsql Exp $ +dnl $Header: /cvsroot/pgsql/configure.in,v 1.301.2.3 2003/11/24 13:11:27 petere Exp $ dnl dnl Developers, please strive to achieve this order: dnl @@ -351,7 +351,7 @@ IFS=$ac_save_IFS # AC_MSG_CHECKING([allow thread-safe client libraries]) PGAC_ARG_BOOL(enable, thread-safety, no, [ --enable-thread-safety make client libraries thread-safe], - [AC_DEFINE([USE_THREADS], 1, + [AC_DEFINE([ENABLE_THREAD_SAFETY], 1, [Define to 1 to build client libraries as thread-safe code. (--enable-thread-safety)])]) AC_MSG_RESULT([$enable_thread_safety]) AC_SUBST(enable_thread_safety) |
