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

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.
This commit is contained in:
Peter Eisentraut
2003-11-24 13:11:27 +00:00
parent a62f62d78b
commit 83ab17e051
7 changed files with 43 additions and 43 deletions

View File

@ -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)