diff --git a/CHANGES b/CHANGES index 3a138d63b5..2a93f00219 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,8 @@ -1008. [port] libtool.m4, ltmain.sh from libtool-1.4.2 +1009. [port] OpenUNIX 8 support. [RT #1728] -1007. [port] config.guess, config.sub from autoconf-2.52 +1008. [port] libtool.m4, ltmain.sh from libtool-1.4.2. + +1007. [port] config.guess, config.sub from autoconf-2.52. 1006. [bug] If a KEY RR was found missing during DNSSEC validation, an assertion failure could subsequently be triggered diff --git a/configure.in b/configure.in index b627e8d007..62ca81006d 100644 --- a/configure.in +++ b/configure.in @@ -18,7 +18,7 @@ AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)dnl esyscmd([sed "s/^/# /" COPYRIGHT])dnl AC_DIVERT_POP()dnl -AC_REVISION($Revision: 1.296 $) +AC_REVISION($Revision: 1.297 $) AC_INIT(lib/dns/name.c) AC_PREREQ(2.13) @@ -451,6 +451,10 @@ case $host in *-sco-sysv*uw*) # UnixWare use_threads=false ;; +*-*-sysv*UnixW*) + use_threads=false ;; +*-*-sysv*OpenUNIX*) + use_threads=false ;; *-netbsd*) # Socket I/O optimizations introduced in 9.2 expose a # bug in unproven-pthreads; see PR #12650 @@ -612,6 +616,12 @@ then *-sco-sysv*uw*) AC_DEFINE(HAVE_UNIXWARE_SIGWAIT) ;; + *-*-sysv*UnixWare*) + AC_DEFINE(HAVE_UNIXWARE_SIGWAIT) + ;; + *-*-sysv*OpenUNIX*) + AC_DEFINE(HAVE_UNIXWARE_SIGWAIT) + ;; esac # @@ -654,6 +664,14 @@ then CC="$CC -Kthread" CCOPT="$CCOPT -Kthread" ;; + *-*-sysv*UnixWare*) + CC="$CC -Kthread" + CCOPT="$CCOPT -Kthread" + ;; + *-*-sysv*OpenUNIX*) + CC="$CC -Kthread" + CCOPT="$CCOPT -Kthread" + ;; esac fi ALWAYS_DEFINES="-D_REENTRANT" @@ -746,6 +764,14 @@ else # UnixWare CC="$CC -w" ;; + *-*-sysv*UnixWare*) + # UnixWare + CC="$CC -w" + ;; + *-*-sysv*OpenUNIX*) + # UnixWare + CC="$CC -w" + ;; esac fi @@ -976,6 +1002,20 @@ case "$host" in ISC_PLATFORM_FIXIN6ISADDR="#define ISC_PLATFORM_FIXIN6ISADDR 1" isc_netinetin6_hack="#include " ;; +*-*-sysv*UnixWare*) + # UnixWare + ISC_PLATFORM_NEEDNETINETIN6H="#define ISC_PLATFORM_NEEDNETINETIN6H 1" + LWRES_PLATFORM_NEEDNETINETIN6H="#define LWRES_PLATFORM_NEEDNETINETIN6H 1" + ISC_PLATFORM_FIXIN6ISADDR="#define ISC_PLATFORM_FIXIN6ISADDR 1" + isc_netinetin6_hack="#include " + ;; +*-*-sysv*OpenUNIX*) + # UnixWare + ISC_PLATFORM_NEEDNETINETIN6H="#define ISC_PLATFORM_NEEDNETINETIN6H 1" + LWRES_PLATFORM_NEEDNETINETIN6H="#define LWRES_PLATFORM_NEEDNETINETIN6H 1" + ISC_PLATFORM_FIXIN6ISADDR="#define ISC_PLATFORM_FIXIN6ISADDR 1" + isc_netinetin6_hack="#include " + ;; *) ISC_PLATFORM_NEEDNETINETIN6H="#undef ISC_PLATFORM_NEEDNETINETIN6H" LWRES_PLATFORM_NEEDNETINETIN6H="#undef LWRES_PLATFORM_NEEDNETINETIN6H"