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
fa82cddf
Commit
fa82cddf
authored
20 years ago
by
Bruce Momjian
Browse files
Options
Downloads
Patches
Plain Diff
Move pthread.h test up to use PTHREAD_CFLAGS.
Kris Jurka
parent
0c3663b4
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+6
-5
6 additions, 5 deletions
configure
configure.in
+4
-3
4 additions, 3 deletions
configure.in
with
10 additions
and
8 deletions
configure
+
6
−
5
View file @
fa82cddf
...
@@ -13848,6 +13848,12 @@ For details, compile and run src/bin/pg_thread_test.
...
@@ -13848,6 +13848,12 @@ For details, compile and run src/bin/pg_thread_test.
{ (exit 1); exit 1; }; }
{ (exit 1); exit 1; }; }
fi
fi
# Check for *_r functions
_CFLAGS="$CFLAGS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$LIBS $PTHREAD_LIBS"
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
...
@@ -13959,11 +13965,6 @@ fi
...
@@ -13959,11 +13965,6 @@ fi
# Check for *_r functions
_CFLAGS="$CFLAGS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$LIBS $PTHREAD_LIBS"
...
...
This diff is collapsed.
Click to expand it.
configure.in
+
4
−
3
View file @
fa82cddf
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.38
3
2004/1
0/25 00:11:04 pgsql
Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.38
4
2004/1
1/02 05:44:45 momjian
Exp $
dnl
dnl
dnl Developers, please strive to achieve this order:
dnl Developers, please strive to achieve this order:
dnl
dnl
...
@@ -1009,13 +1009,14 @@ For details, compile and run src/bin/pg_thread_test.
...
@@ -1009,13 +1009,14 @@ For details, compile and run src/bin/pg_thread_test.
])
])
fi
fi
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --enable-thread-safety])])
# Check for *_r functions
# Check for *_r functions
_CFLAGS="$CFLAGS"
_CFLAGS="$CFLAGS"
_LIBS="$LIBS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
LIBS="$LIBS $PTHREAD_LIBS"
LIBS="$LIBS $PTHREAD_LIBS"
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --enable-thread-safety])])
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
AC_CHECK_FUNCS([strerror_r getpwuid_r gethostbyname_r])
# Do test here with the proper thread flags
# Do test here with the proper thread flags
...
...
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