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
0d4aa039
Commit
0d4aa039
authored
Aug 17, 2004
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix agressive collection of thread flags.
parent
26f6111d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
config/acx_pthread.m4
config/acx_pthread.m4
+3
-2
configure
configure
+3
-1
No files found.
config/acx_pthread.m4
View file @
0d4aa039
...
...
@@ -82,6 +82,8 @@ esac
if test x"$acx_pthread_ok" = xno; then
for flag in $acx_pthread_flags; do
tryPTHREAD_CFLAGS=""
tryPTHREAD_LIBS=""
case $flag in
none)
AC_MSG_CHECKING([whether pthreads work without any flags])
...
...
@@ -125,7 +127,7 @@ for flag in $acx_pthread_flags; do
[pthread_t th; pthread_join(th, 0);
pthread_attr_init(0); pthread_cleanup_push(0, 0);
pthread_create(0,0,0,0); pthread_cleanup_pop(0); ],
[acx_pthread_ok=yes])
[acx_pthread_ok=yes]
, [acx_pthread_ok=no]
)
LIBS="$save_LIBS"
CFLAGS="$save_CFLAGS"
...
...
@@ -138,7 +140,6 @@ for flag in $acx_pthread_flags; do
PTHREAD_LIBS=" $tryPTHREAD_LIBS $PTHREAD_LIBS"
PTHREAD_CFLAGS="$PTHREAD_CFLAGS $tryPTHREAD_CFLAGS"
fi
done
fi
...
...
configure
View file @
0d4aa039
...
...
@@ -13204,6 +13204,8 @@ esac
if
test
x
"
$acx_pthread_ok
"
=
xno
;
then
for
flag
in
$acx_pthread_flags
;
do
tryPTHREAD_CFLAGS
=
""
tryPTHREAD_LIBS
=
""
case
$flag
in
none
)
echo
"
$as_me
:
$LINENO
: checking whether pthreads work without any flags"
>
&5
...
...
@@ -13317,6 +13319,7 @@ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
else
echo
"
$as_me
: failed program was:"
>
&5
cat
conftest.
$ac_ext
>
&5
acx_pthread_ok
=
no
fi
rm
-f
conftest.
$ac_objext
conftest
$ac_exeext
conftest.
$ac_ext
...
...
@@ -13332,7 +13335,6 @@ echo "${ECHO_T}$acx_pthread_ok" >&6
PTHREAD_LIBS
=
"
$tryPTHREAD_LIBS
$PTHREAD_LIBS
"
PTHREAD_CFLAGS
=
"
$PTHREAD_CFLAGS
$tryPTHREAD_CFLAGS
"
fi
done
fi
...
...
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