aboutsummaryrefslogtreecommitdiff
path: root/sntp/m4/openldap-thread-check.m4
diff options
context:
space:
mode:
authorGleb Smirnoff <glebius@FreeBSD.org>2015-10-21 19:16:13 +0000
committerGleb Smirnoff <glebius@FreeBSD.org>2015-10-21 19:16:13 +0000
commit0b0c40a74f7959b8d7d71f883715ac667a6f119a (patch)
tree9317fbf022414d34dee917358139b99c3a2b9184 /sntp/m4/openldap-thread-check.m4
parent2cf53bda1c28f47d72aa80971e6c5d400c46a960 (diff)
downloadsrc-0b0c40a74f7959b8d7d71f883715ac667a6f119a.tar.gz
src-0b0c40a74f7959b8d7d71f883715ac667a6f119a.zip
Merge NTP 4.2.8p4 into dist.
Notes
Notes: svn path=/vendor/ntp/dist/; revision=289715
Diffstat (limited to 'sntp/m4/openldap-thread-check.m4')
-rw-r--r--sntp/m4/openldap-thread-check.m49
1 files changed, 9 insertions, 0 deletions
diff --git a/sntp/m4/openldap-thread-check.m4 b/sntp/m4/openldap-thread-check.m4
index 33f9199ff300..7768a5c5b3b5 100644
--- a/sntp/m4/openldap-thread-check.m4
+++ b/sntp/m4/openldap-thread-check.m4
@@ -15,6 +15,9 @@ dnl <http://www.OpenLDAP.org/license.html>.
dnl
dnl --------------------------------------------------------------------
+dnl This file is a fragment of OpenLDAP's build/openldap.m4 and some
+dnl fragments of OpenLDAP's configure.ac .
+
# OL_THREAD_CHECK([ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]])
AC_DEFUN([OL_THREAD_CHECK], [
@@ -202,6 +205,8 @@ dnl [ol_cv_pthread_lpthread_lexc])
OL_PTHREAD_TRY([-lpthreads],[ol_cv_pthread_lib_lpthreads])
+AC_MSG_NOTICE([ol_link_threads: <$ol_link_threads> ol_link_pthreads <$ol_link_pthreads>])
+
if test $ol_link_threads != no ; then
LTHREAD_LIBS="$LTHREAD_LIBS $ol_link_pthreads"
@@ -680,4 +685,8 @@ case "$ol_with_threads" in
esac
AC_LANG_RESTORE
+
+AC_SUBST(BUILD_THREAD)
+AC_SUBST(LTHREAD_LIBS)
+
])