From: Mark Andrews Date: Mon, 8 Dec 2008 04:50:52 +0000 (+0000) Subject: 2506. [port] solaris: Check at configure time if X-Git-Tag: v9.6.0rc2~5^2~14 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=9908cbc06f89c8d44f092708a43ae3a6e7a4416c;p=thirdparty%2Fbind9.git 2506. [port] solaris: Check at configure time if hack_shutup_pthreadonceinit is needed. [RT #19037] --- diff --git a/CHANGES b/CHANGES index 01be30c527f..7e8752d807a 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +2506. [port] solaris: Check at configure time if + hack_shutup_pthreadonceinit is needed. [RT #19037] + 2505. [port] Treat amd64 similarly to x86_64 when determining atomic operation support. [RT #19031] diff --git a/configure.in b/configure.in index e7f49c9b972..a16f81522ee 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(1)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.460 $) +AC_REVISION($Revision: 1.461 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.59) @@ -2131,7 +2131,7 @@ case "$host" in hack_shutup_pthreadonceinit=yes ;; *-solaris2.1[[0-9]]) - hack_shutup_pthreadonceinit=yes + AC_TRY_COMPILE([ #include ], [ static pthread_once_t once_test = { PTHREAD_ONCE_INIT }; ], [hack_shutup_pthreadonceinit=yes], ) ;; esac