Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
64579962
Commit
64579962
authored
Dec 11, 2009
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly define ENABLE_THREAD_SAFETY in conflgure, per suggestion from Peter.
parent
324385d6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
configure
configure
+7
-0
configure.in
configure.in
+5
-1
No files found.
configure
View file @
64579962
...
@@ -4881,6 +4881,13 @@ else
...
@@ -4881,6 +4881,13 @@ else
fi
fi
if
test
"
$enable_thread_safety
"
=
yes
;
then
cat
>>
confdefs.h
<<
\
_ACEOF
#define ENABLE_THREAD_SAFETY 1
_ACEOF
fi
{
$as_echo
"
$as_me
:
$LINENO
: result:
$enable_thread_safety
"
>
&5
{
$as_echo
"
$as_me
:
$LINENO
: result:
$enable_thread_safety
"
>
&5
$as_echo
"
$enable_thread_safety
"
>
&6
;
}
$as_echo
"
$enable_thread_safety
"
>
&6
;
}
...
...
configure.in
View file @
64579962
dnl Process this file with autoconf to produce a configure script.
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.61
5 2009/12/02 14:07:25
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.61
6 2009/12/11 02:21:21
momjian Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -559,6 +559,10 @@ IFS=$ac_save_IFS
...
@@ -559,6 +559,10 @@ IFS=$ac_save_IFS
#
#
AC_MSG_CHECKING([allow thread-safe client libraries])
AC_MSG_CHECKING([allow thread-safe client libraries])
PGAC_ARG_BOOL(enable, thread-safety, yes, [disable thread-safety in client libraries])
PGAC_ARG_BOOL(enable, thread-safety, yes, [disable thread-safety in client libraries])
if test "$enable_thread_safety" = yes; then
AC_DEFINE([ENABLE_THREAD_SAFETY], 1,
[Define to 1 to build client libraries as thread-safe code. (--enable-thread-safety)])
fi
AC_MSG_RESULT([$enable_thread_safety])
AC_MSG_RESULT([$enable_thread_safety])
AC_SUBST(enable_thread_safety)
AC_SUBST(enable_thread_safety)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment