[Pdns-dev] [PATCH] Fix autoconf script for OpenBSD.

Brad brad at comstyle.com
Fri Oct 21 14:45:04 CEST 2011


Rip out this bogus section in the switch case dealing with OpenBSD.
The default fallback case below this deals with OpenBSD properly.
OpenBSD has been using -pthread for linking POSIX threads for 9
years now.


Index: configure.ac
===================================================================
--- configure.ac	(revision 2283)
+++ configure.ac	(working copy)
@@ -122,12 +122,6 @@
 	THREADFLAGS="-pthread"
 	CXXFLAGS="-D_GNU_SOURCE $CXXFLAGS"
 	;;
-openbsd*)
-	AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
-	DYNLINKFLAGS="-rdynamic"
-	LDFLAGS="-lc_r $LDFLAGS"
-	CXXFLAGS="-pthread $CXXFLAGS"
-	;;
 *)
 	AC_DEFINE(HAVE_IPV6,1,[If the host operating system understands IPv6])
 	DYNLINKFLAGS="-rdynamic"

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the Pdns-dev mailing list