Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
64579962
Commit
64579962
authored
15 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Properly define ENABLE_THREAD_SAFETY in conflgure, per suggestion from Peter.
parent
324385d6
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+7
-0
7 additions, 0 deletions
configure
configure.in
+5
-1
5 additions, 1 deletion
configure.in
with
12 additions
and
1 deletion
configure
+
7
−
0
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; }
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
5
−
1
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
:2
5
momjian Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.61
6
2009/12/
11 02:21
:2
1
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)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment