]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Patch to fix openwrt for mac os build darwin detection in configure.
authorWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 6 Jun 2018 05:31:12 +0000 (05:31 +0000)
committerWouter Wijngaards <wouter@nlnetlabs.nl>
Wed, 6 Jun 2018 05:31:12 +0000 (05:31 +0000)
git-svn-id: file:///svn/unbound/trunk@4713 be551aaa-1e26-0410-a405-d3ace91eadb9

configure
configure.ac
doc/Changelog

index 3f38929d8fd866bd54d0f6da6b38d16a50a00704..6514ff54fc1878731f3b16b1fadfc68f86f755dd 100755 (executable)
--- a/configure
+++ b/configure
@@ -19762,7 +19762,7 @@ done
 
 
 # check if setreuid en setregid fail, on MacOSX10.4(darwin8).
-if echo $build_os | grep darwin8 > /dev/null; then
+if echo $target_os | grep darwin8 > /dev/null; then
 
 $as_echo "#define DARWIN_BROKEN_SETREUID 1" >>confdefs.h
 
index b4c484ec976fd4fa0968c66894c60f18a6dd7f7f..76f801948a32056e653ea597377fb44f5e35ef80 100644 (file)
@@ -1324,7 +1324,7 @@ AC_CHECK_FUNCS([setresuid],,[AC_CHECK_FUNCS([setreuid])])
 AC_CHECK_FUNCS([setresgid],,[AC_CHECK_FUNCS([setregid])])
 
 # check if setreuid en setregid fail, on MacOSX10.4(darwin8).
-if echo $build_os | grep darwin8 > /dev/null; then
+if echo $target_os | grep darwin8 > /dev/null; then
        AC_DEFINE(DARWIN_BROKEN_SETREUID, 1, [Define this if on macOSX10.4-darwin8 and setreuid and setregid do not work])
 fi
 AC_CHECK_DECLS([inet_pton,inet_ntop], [], [], [
index f7ce2a1e6b41a1a3a065349d0ecb0568896d627d..e7c1d662d9a178b8407ed5711899778e30a50827 100644 (file)
@@ -1,3 +1,6 @@
+6 June 2018: Wouter
+       - Patch to fix openwrt for mac os build darwin detection in configure.
+
 5 June 2018: Wouter
        - Fix crash if ratelimit taken into use with unbound-control
          instead of with unbound.conf.