Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5510355

Browse files
committed
--enable-thread-safeness -> --enable-thread-safety
1 parent6ed071b commit5510355

File tree

5 files changed

+21
-21
lines changed

5 files changed

+21
-21
lines changed

‎configure

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -855,7 +855,7 @@ Optional Packages:
855855
--with-libraries=DIRS look for additional libraries in DIRS
856856
--with-libs=DIRS alternative spelling of --with-libraries
857857
--with-pgport=PORTNUM change default port number 5432
858-
--enable-thread-safeness allow libpq and ecpg to be thread-safe
858+
--enable-thread-safety allow libpq and ecpg to be thread-safe
859859
--with-tcl build Tcl and Tk interfaces
860860
--without-tk do not build Tk interfaces if Tcl is enabled
861861
--with-tclconfig=DIR tclConfig.sh and tkConfig.sh are in DIR
@@ -2811,7 +2811,7 @@ done
28112811
IFS=$ac_save_IFS
28122812

28132813
#
2814-
# Enable libpq to be thread-safeness
2814+
# Enable libpq to be thread-safety
28152815
#
28162816
echo "$as_me:$LINENO: checking allow thread-safe libpq and ecpg" >&5
28172817
echo $ECHO_N "checking allow thread-safe libpq and ecpg... $ECHO_C" >&6
@@ -2846,8 +2846,8 @@ else
28462846
fi;
28472847

28482848

2849-
echo "$as_me:$LINENO: result: $enable_thread_safeness" >&5
2850-
echo "${ECHO_T}$enable_thread_safeness" >&6
2849+
echo "$as_me:$LINENO: result: $enable_thread_safety" >&5
2850+
echo "${ECHO_T}$enable_thread_safety" >&6
28512851

28522852

28532853
#
@@ -12987,7 +12987,7 @@ fi
1298712987
# For each platform, we need to know about any special compile and link
1298812988
# libraries, and whether the normal C function names are thread-safe.
1298912989
#
12990-
if test "$enable_thread_safeness" = yes; then
12990+
if test "$enable_thread_safety" = yes; then
1299112991
if test "${ac_cv_header_pthread_h+set}" = set; then
1299212992
echo "$as_me:$LINENO: checking for pthread.h" >&5
1299312993
echo $ECHO_N "checking for pthread.h... $ECHO_C" >&6
@@ -13129,7 +13129,7 @@ fi
1312913129
# One trick here is that if we don't call AC_CHECK_FUNCS, the
1313013130
# functions are marked "not found", which is perfect.
1313113131
#
13132-
if test "$enable_thread_safeness" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
13132+
if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
1313313133
_CFLAGS="$CFLAGS"
1313413134
_LIB="$LIBS"
1313513135
CFLAGS="$CFLAGS $TREAD_CFLAGS"
@@ -17987,7 +17987,7 @@ s,@CPP@,$CPP,;t t
1798717987
s,@GCC@,$GCC,;t t
1798817988
s,@autodepend@,$autodepend,;t t
1798917989
s,@INCLUDES@,$INCLUDES,;t t
17990-
s,@enable_thread_safeness@,$enable_thread_safeness,;t t
17990+
s,@enable_thread_safety@,$enable_thread_safety,;t t
1799117991
s,@with_tcl@,$with_tcl,;t t
1799217992
s,@with_tk@,$with_tk,;t t
1799317993
s,@with_perl@,$with_perl,;t t

‎configure.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $Header: /cvsroot/pgsql/configure.in,v 1.270 2003/07/23 23:30:40 tgl Exp $
2+
dnl $Header: /cvsroot/pgsql/configure.in,v 1.271 2003/08/01 03:10:03 momjian Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -320,14 +320,14 @@ done
320320
IFS=$ac_save_IFS
321321

322322
#
323-
# Enable libpq to be thread-safeness
323+
# Enable libpq to be thread-safety
324324
#
325325
AC_MSG_CHECKING([allow thread-safe libpq and ecpg])
326-
PGAC_ARG_BOOL(with, threads, no, [ --enable-thread-safeness allow libpq and ecpg to be thread-safe],
327-
[AC_DEFINE([USE_THREADS], 1, [Define to 1 to build libpq and ecpg to be thread-safe. (--enable-thread-safeness)])])
326+
PGAC_ARG_BOOL(with, threads, no, [ --enable-thread-safety allow libpq and ecpg to be thread-safe],
327+
[AC_DEFINE([USE_THREADS], 1, [Define to 1 to build libpq and ecpg to be thread-safe. (--enable-thread-safety)])])
328328

329-
AC_MSG_RESULT([$enable_thread_safeness])
330-
AC_SUBST(enable_thread_safeness)
329+
AC_MSG_RESULT([$enable_thread_safety])
330+
AC_SUBST(enable_thread_safety)
331331

332332
#
333333
# Tcl/Tk
@@ -965,7 +965,7 @@ AC_FUNC_FSEEKO
965965
# For each platform, we need to know about any special compile and link
966966
# libraries, and whether the normal C function names are thread-safe.
967967
#
968-
if test "$enable_thread_safeness" = yes; then
968+
if test "$enable_thread_safety" = yes; then
969969
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --with-threads])])
970970

971971
if test "$SUPPORTS_THREADS" != yes; then
@@ -991,7 +991,7 @@ AC_SUBST(THREAD_LIBS)
991991
# One trick here is that if we don't call AC_CHECK_FUNCS, the
992992
# functions are marked "not found", which is perfect.
993993
#
994-
if test "$enable_thread_safeness" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
994+
if test "$enable_thread_safety" = yes -a "$NEED_REENTRANT_FUNC_NAMES" = yes ; then
995995
_CFLAGS="$CFLAGS"
996996
_LIB="$LIBS"
997997
CFLAGS="$CFLAGS $TREAD_CFLAGS"

‎doc/src/sgml/ecpg.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.45 2003/07/23 17:27:28 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/ecpg.sgml,v 1.46 2003/08/01 03:10:04 momjian Exp $
33
-->
44

55
<chapter id="ecpg">
@@ -751,7 +751,7 @@ EXEC SQL INCLUDE <replaceable>filename</replaceable>;
751751

752752
<para>
753753
<application>ecpg</application> is thread-safe if it is compiled using
754-
the <literal>--enable-thread-safeness</> <filename>configure</filename>
754+
the <literal>--enable-thread-safety</> <filename>configure</filename>
755755
command-line option. (You might need to use other threading
756756
command-line options to compile your client code.)
757757
</para>

‎doc/src/sgml/installation.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.136 2003/07/23 17:27:28 momjian Exp $ -->
1+
<!-- $Header: /cvsroot/pgsql/doc/src/sgml/installation.sgml,v 1.137 2003/08/01 03:10:04 momjian Exp $ -->
22

33
<chapter id="installation">
44
<title><![%standalone-include[<productname>PostgreSQL</>]]>
@@ -915,7 +915,7 @@ JAVACMD=$JAVA_HOME/bin/java
915915
</varlistentry>
916916

917917
<varlistentry>
918-
<term><option>--enable-thread-safeness</option></term>
918+
<term><option>--enable-thread-safety</option></term>
919919
<listitem>
920920
<para>
921921
Allow separate libpq and ecpg threads to safely control their

‎doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<!--
2-
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.129 2003/07/26 13:50:01 momjian Exp $
2+
$Header: /cvsroot/pgsql/doc/src/sgml/libpq.sgml,v 1.130 2003/08/01 03:10:04 momjian Exp $
33
-->
44

55
<chapter id="libpq">
@@ -3322,7 +3322,7 @@ If the permissions are less strict than this, the file will be ignored.
33223322
<para>
33233323
<application>libpq</application> is thread-safe if the library is
33243324
compiled using <filename>configure</filename>'s
3325-
<literal>--enable-thread-safeness</> command-line option.
3325+
<literal>--enable-thread-safety</> command-line option.
33263326
(In addition, you might need to use other threading command-line
33273327
options to compile your client code.)
33283328
</para>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp