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
fa82cddf
Commit
fa82cddf
authored
Nov 02, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move pthread.h test up to use PTHREAD_CFLAGS.
Kris Jurka
parent
0c3663b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
configure
configure
+6
-5
configure.in
configure.in
+4
-3
No files found.
configure
View file @
fa82cddf
...
...
@@ -13848,6 +13848,12 @@ For details, compile and run src/bin/pg_thread_test.
{
(
exit
1
)
;
exit
1
;
}
;
}
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
echo
"
$as_me
:
$LINENO
: checking for pthread.h"
>
&5
echo
$ECHO_N
"checking for pthread.h...
$ECHO_C
"
>
&6
...
...
@@ -13959,11 +13965,6 @@ fi
# Check for *_r functions
_CFLAGS
=
"
$CFLAGS
"
_LIBS
=
"
$LIBS
"
CFLAGS
=
"
$CFLAGS
$PTHREAD_CFLAGS
"
LIBS
=
"
$LIBS
$PTHREAD_LIBS
"
...
...
configure.in
View file @
fa82cddf
dnl Process this file with autoconf to produce a configure script.
dnl $PostgreSQL: pgsql/configure.in,v 1.38
3 2004/10/25 00:11:04 pgsql
Exp $
dnl $PostgreSQL: pgsql/configure.in,v 1.38
4 2004/11/02 05:44:45 momjian
Exp $
dnl
dnl Developers, please strive to achieve this order:
dnl
...
...
@@ -1009,13 +1009,14 @@ For details, compile and run src/bin/pg_thread_test.
])
fi
AC_CHECK_HEADER(pthread.h, [], [AC_MSG_ERROR([pthread.h not found, required for --enable-thread-safety])])
# Check for *_r functions
_CFLAGS="$CFLAGS"
_LIBS="$LIBS"
CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
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])
# Do test here with the proper thread flags
...
...
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