Commit 55103553 authored by Bruce Momjian's avatar Bruce Momjian

--enable-thread-safeness -> --enable-thread-safety

parent 6ed071bc
...@@ -855,7 +855,7 @@ Optional Packages: ...@@ -855,7 +855,7 @@ Optional Packages:
--with-libraries=DIRS look for additional libraries in DIRS --with-libraries=DIRS look for additional libraries in DIRS
--with-libs=DIRS alternative spelling of --with-libraries --with-libs=DIRS alternative spelling of --with-libraries
--with-pgport=PORTNUM change default port number 5432 --with-pgport=PORTNUM change default port number 5432
--enable-thread-safeness allow libpq and ecpg to be thread-safe --enable-thread-safety allow libpq and ecpg to be thread-safe
--with-tcl build Tcl and Tk interfaces --with-tcl build Tcl and Tk interfaces
--without-tk do not build Tk interfaces if Tcl is enabled --without-tk do not build Tk interfaces if Tcl is enabled
--with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR --with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR
...@@ -2811,7 +2811,7 @@ done ...@@ -2811,7 +2811,7 @@ done
IFS=$ac_save_IFS IFS=$ac_save_IFS
# #
# Enable libpq to be thread-safeness # Enable libpq to be thread-safety
# #
echo "$as_me:$LINENO: checking allow thread-safe libpq and ecpg" >&5 echo "$as_me:$LINENO: checking allow thread-safe libpq and ecpg" >&5
echo $ECHO_N "checking allow thread-safe libpq and ecpg... $ECHO_C" >&6 echo $ECHO_N "checking allow thread-safe libpq and ecpg... $ECHO_C" >&6
...@@ -2846,8 +2846,8 @@ else ...@@ -2846,8 +2846,8 @@ else
fi; fi;
echo "$as_me:$LINENO: result: $enable_thread_safeness" >&5 echo "$as_me:$LINENO: result: $enable_thread_safety" >&5
echo "${ECHO_T}$enable_thread_safeness" >&6 echo "${ECHO_T}$enable_thread_safety" >&6
# #
...@@ -12987,7 +12987,7 @@ fi ...@@ -12987,7 +12987,7 @@ fi
# For each platform, we need to know about any special compile and link # For each platform, we need to know about any special compile and link
# libraries, and whether the normal C function names are thread-safe. # libraries, and whether the normal C function names are thread-safe.
# #
if test "$enable_thread_safeness" = yes; then if test "$enable_thread_safety" = yes; then
if test "${ac_cv_header_pthread_h+set}" = set; then if test "${ac_cv_header_pthread_h+set}" = set; then
echo "$as_me:$LINENO: checking for pthread.h" >&5 echo "$as_me:$LINENO: checking for pthread.h" >&5
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6 echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
...@@ -13129,7 +13129,7 @@ fi ...@@ -13129,7 +13129,7 @@ fi
# One trick here is that if we don't call AC_CHECK_FUNCS, the # One trick here is that if we don't call AC_CHECK_FUNCS, the
# functions are marked "not found", which is perfect. # functions are marked "not found", which is perfect.
# #
if test "$enable_thread_safeness" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
_CFLAGS="$CFLAGS" _CFLAGS="$CFLAGS"
_LIB="$LIBS" _LIB="$LIBS"
CFLAGS="$CFLAGS $TREAD_CFLAGS" CFLAGS="$CFLAGS $TREAD_CFLAGS"
...@@ -17987,7 +17987,7 @@ s,@CPP@,$CPP,;t t ...@@ -17987,7 +17987,7 @@ s,@CPP@,$CPP,;t t
s,@GCC@,$GCC,;t t s,@GCC@,$GCC,;t t
s,@autodepend@,$autodepend,;t t s,@autodepend@,$autodepend,;t t
s,@INCLUDES@,$INCLUDES,;t t s,@INCLUDES@,$INCLUDES,;t t
s,@enable_thread_safeness@,$enable_thread_safeness,;t t s,@enable_thread_safety@,$enable_thread_safety,;t t
s,@with_tcl@,$with_tcl,;t t s,@with_tcl@,$with_tcl,;t t
s,@with_tk@,$with_tk,;t t s,@with_tk@,$with_tk,;t t
s,@with_perl@,$with_perl,;t t s,@with_perl@,$with_perl,;t t
......
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
dnl $Header: /cvsroot/pgsql/configure.in,v 1.270 2003/07/23 23:30:40 tgl Exp $ dnl $Header: /cvsroot/pgsql/configure.in,v 1.271 2003/08/01 03:10:03 momjian Exp $
dnl dnl
dnl Developers, please strive to achieve this order: dnl Developers, please strive to achieve this order:
dnl dnl
...@@ -320,14 +320,14 @@ done ...@@ -320,14 +320,14 @@ done
IFS=$ac_save_IFS IFS=$ac_save_IFS
# #
# Enable libpq to be thread-safeness # Enable libpq to be thread-safety
# #
AC_MSG_CHECKING([allow thread-safe libpq and ecpg]) AC_MSG_CHECKING([allow thread-safe libpq and ecpg])
PGAC_ARG_BOOL(with, threads, no, [ --enable-thread-safeness allow libpq and ecpg to be thread-safe], PGAC_ARG_BOOL(with, threads, 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-safeness)])]) [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_safeness]) AC_MSG_RESULT([$enable_thread_safety])
AC_SUBST(enable_thread_safeness) AC_SUBST(enable_thread_safety)
# #
# Tcl/Tk # Tcl/Tk
...@@ -965,7 +965,7 @@ AC_FUNC_FSEEKO ...@@ -965,7 +965,7 @@ AC_FUNC_FSEEKO
# For each platform, we need to know about any special compile and link # For each platform, we need to know about any special compile and link
# libraries, and whether the normal C function names are thread-safe. # libraries, and whether the normal C function names are thread-safe.
# #
if test "$enable_thread_safeness" = yes; then if test "$enable_thread_safety" = yes; then
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --with-threads])]) AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --with-threads])])
if test "$SUPPORTS_THREADS" != yes; then if test "$SUPPORTS_THREADS" != yes; then
...@@ -991,7 +991,7 @@ AC_SUBST(THREAD_LIBS) ...@@ -991,7 +991,7 @@ AC_SUBST(THREAD_LIBS)
# One trick here is that if we don't call AC_CHECK_FUNCS, the # One trick here is that if we don't call AC_CHECK_FUNCS, the
# functions are marked "not found", which is perfect. # functions are marked "not found", which is perfect.
# #
if test "$enable_thread_safeness" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
_CFLAGS="$CFLAGS" _CFLAGS="$CFLAGS"
_LIB="$LIBS" _LIB="$LIBS"
CFLAGS="$CFLAGS $TREAD_CFLAGS" CFLAGS="$CFLAGS $TREAD_CFLAGS"
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.45 2003/07/23 17:27:28 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.46 2003/08/01 03:10:04 momjian Exp $
--> -->
<chapter id="ecpg"> <chapter id="ecpg">
...@@ -751,7 +751,7 @@ EXEC SQL INCLUDE <replaceable>filename</replaceable>; ...@@ -751,7 +751,7 @@ EXEC SQL INCLUDE <replaceable>filename</replaceable>;
<para> <para>
<application>ecpg</application> is thread-safe if it is compiled using <application>ecpg</application> is thread-safe if it is compiled using
the <literal>--enable-thread-safeness</> <filename>configure</filename> the <literal>--enable-thread-safety</> <filename>configure</filename>
command-line option. (You might need to use other threading command-line option. (You might need to use other threading
command-line options to compile your client code.) command-line options to compile your client code.)
</para> </para>
......
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.136 2003/07/23 17:27:28 momjian Exp $ --> <!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.137 2003/08/01 03:10:04 momjian Exp $ -->
<chapter id="installation"> <chapter id="installation">
<title><![%standalone-include[<productname>PostgreSQL</>]]> <title><![%standalone-include[<productname>PostgreSQL</>]]>
...@@ -915,7 +915,7 @@ JAVACMD=$JAVA_HOME/bin/java ...@@ -915,7 +915,7 @@ JAVACMD=$JAVA_HOME/bin/java
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>--enable-thread-safeness</option></term> <term><option>--enable-thread-safety</option></term>
<listitem> <listitem>
<para> <para>
Allow separate libpq and ecpg threads to safely control their Allow separate libpq and ecpg threads to safely control their
......
<!-- <!--
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.129 2003/07/26 13:50:01 momjian Exp $ $Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.130 2003/08/01 03:10:04 momjian Exp $
--> -->
<chapter id="libpq"> <chapter id="libpq">
...@@ -3322,7 +3322,7 @@ If the permissions are less strict than this, the file will be ignored. ...@@ -3322,7 +3322,7 @@ If the permissions are less strict than this, the file will be ignored.
<para> <para>
<application>libpq</application> is thread-safe if the library is <application>libpq</application> is thread-safe if the library is
compiled using <filename>configure</filename>'s compiled using <filename>configure</filename>'s
<literal>--enable-thread-safeness</> command-line option. <literal>--enable-thread-safety</> command-line option.
(In addition, you might need to use other threading command-line (In addition, you might need to use other threading command-line
options to compile your client code.) options to compile your client code.)
</para> </para>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment