Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ISC Open Source Projects
BIND
Commits
88740c7f
Commit
88740c7f
authored
Apr 21, 2017
by
Mark Andrews
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4590. [bug] Support for PTHREAD_MUTEX_ADAPTIVE_NP was not being
properly detected. [RT #44871]
parent
3b443e87
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
19 deletions
+14
-19
CHANGES
CHANGES
+3
-0
configure
configure
+6
-16
configure.in
configure.in
+5
-3
No files found.
CHANGES
View file @
88740c7f
4590. [bug] Support for PTHREAD_MUTEX_ADAPTIVE_NP was not being
properly detected. [RT #44871]
4589. [cleanup] "configure -q" is now silent. [RT #44829]
4589. [cleanup] "configure -q" is now silent. [RT #44829]
4588. [bug] nsupdate could send queries for TKEY to the wrong
4588. [bug] nsupdate could send queries for TKEY to the wrong
...
...
configure
View file @
88740c7f
...
@@ -955,7 +955,6 @@ infodir
...
@@ -955,7 +955,6 @@ infodir
docdir
docdir
oldincludedir
oldincludedir
includedir
includedir
runstatedir
localstatedir
localstatedir
sharedstatedir
sharedstatedir
sysconfdir
sysconfdir
...
@@ -1111,7 +1110,6 @@ datadir='${datarootdir}'
...
@@ -1111,7 +1110,6 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
localstatedir='${prefix}/var'
runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
includedir='${prefix}/include'
oldincludedir='/usr/include'
oldincludedir='/usr/include'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
...
@@ -1364,15 +1362,6 @@ do
...
@@ -1364,15 +1362,6 @@ do
| -silent | --silent | --silen | --sile | --sil)
| -silent | --silent | --silen | --sile | --sil)
silent=yes ;;
silent=yes ;;
-runstatedir | --runstatedir | --runstatedi | --runstated \
| --runstate | --runstat | --runsta | --runst | --runs \
| --run | --ru | --r)
ac_prev=runstatedir ;;
-runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
| --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
| --run=* | --ru=* | --r=*)
runstatedir=$ac_optarg ;;
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
-sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
ac_prev=sbindir ;;
ac_prev=sbindir ;;
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
-sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
...
@@ -1510,7 +1499,7 @@ fi
...
@@ -1510,7 +1499,7 @@ fi
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
datadir sysconfdir sharedstatedir localstatedir includedir \
datadir sysconfdir sharedstatedir localstatedir includedir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
libdir localedir mandir
runstatedir
libdir localedir mandir
do
do
eval ac_val=\$$ac_var
eval ac_val=\$$ac_var
# Remove trailing slashes.
# Remove trailing slashes.
...
@@ -1663,7 +1652,6 @@ Fine tuning of the installation directories:
...
@@ -1663,7 +1652,6 @@ Fine tuning of the installation directories:
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
--libdir=DIR object code libraries [EPREFIX/lib]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
...
@@ -15451,14 +15439,16 @@ $as_echo_n "checking for PTHREAD_MUTEX_ADAPTIVE_NP... " >&6; }
...
@@ -15451,14 +15439,16 @@ $as_echo_n "checking for PTHREAD_MUTEX_ADAPTIVE_NP... " >&6; }
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
/* end confdefs.h. */
#define _GNU_SOURCE
#ifndef _GNU_SOURCE
#include <pthread.h>
#define _GNU_SOURCE
#endif
#include <pthread.h>
int
int
main ()
main ()
{
{
return (PTHREAD_MUTEX_ADAPTIVE_NP);
return (PTHREAD_MUTEX_ADAPTIVE_NP);
;
;
return 0;
return 0;
...
...
configure.in
View file @
88740c7f
...
@@ -1270,10 +1270,12 @@ then
...
@@ -1270,10 +1270,12 @@ then
AC_MSG_CHECKING([for PTHREAD_MUTEX_ADAPTIVE_NP])
AC_MSG_CHECKING([for PTHREAD_MUTEX_ADAPTIVE_NP])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#define _GNU_SOURCE
#ifndef _GNU_SOURCE
#include <pthread.h>
#define _GNU_SOURCE
#endif
#include <pthread.h>
]], [[
]], [[
return (PTHREAD_MUTEX_ADAPTIVE_NP);
return (PTHREAD_MUTEX_ADAPTIVE_NP);
]])],
]])],
[ AC_MSG_RESULT(using adaptive lock type)
[ AC_MSG_RESULT(using adaptive lock type)
AC_DEFINE([HAVE_PTHREAD_MUTEX_ADAPTIVE_NP], 1,
AC_DEFINE([HAVE_PTHREAD_MUTEX_ADAPTIVE_NP], 1,
...
...
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