]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix configure does not require pkg-config if not needed.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jun 2021 09:05:57 +0000 (11:05 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Fri, 25 Jun 2021 09:05:57 +0000 (11:05 +0200)
configure
configure.ac
doc/Changelog

index 2f75ef782b91eaa405818b114c67174bb90124ea..3ed5daddaaa8a957c49716760c22385040b04e01 100755 (executable)
--- a/configure
+++ b/configure
@@ -14616,6 +14616,8 @@ CC=$lt_save_CC
 
 
 
+# pkg-config is only needed for these options, do not require it otherwise
+if test "$enable_systemd" = "yes" -o "$with_pyunbound" = "yes" -o "$with_pythonmod" = "yes"; then
 
 
 
@@ -14736,6 +14738,7 @@ $as_echo "no" >&6; }
                PKG_CONFIG=""
        fi
 fi
+fi
 
 # Checks for header files.
 for ac_header in stdarg.h stdbool.h netinet/in.h netinet/tcp.h sys/param.h sys/select.h sys/socket.h sys/un.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h sys/endian.h libkern/OSByteOrder.h sys/ipc.h sys/shm.h ifaddrs.h
index 8bf9b6b156546b50d44daed2fe1f52bcb4489230..5ffbe68344ec26cf6f44078637d4961876e6fc78 100644 (file)
@@ -385,7 +385,10 @@ AC_CHECK_PROG(doxygen, doxygen, doxygen)
 AC_CHECK_TOOL(STRIP, strip)
 ACX_LIBTOOL_C_ONLY
 
+# pkg-config is only needed for these options, do not require it otherwise
+if test "$enable_systemd" = "yes" -o "$with_pyunbound" = "yes" -o "$with_pythonmod" = "yes"; then
 PKG_PROG_PKG_CONFIG
+fi
 
 # Checks for header files.
 AC_CHECK_HEADERS([stdarg.h stdbool.h netinet/in.h netinet/tcp.h sys/param.h sys/select.h sys/socket.h sys/un.h sys/uio.h sys/resource.h arpa/inet.h syslog.h netdb.h sys/wait.h pwd.h glob.h grp.h login_cap.h winsock2.h ws2tcpip.h endian.h sys/endian.h libkern/OSByteOrder.h sys/ipc.h sys/shm.h ifaddrs.h],,, [AC_INCLUDES_DEFAULT])
index ba8402b2ef65ee917c414e147738a7a82a2a1706..5f14d9683d90ad00fd1d84a1a84de8ee1ba635b6 100644 (file)
@@ -1,5 +1,9 @@
 25 June 2021: Wouter
        - Fix up permissions on rpl data file in tests.
+       - Fix testbound newline treatment in moment_read and tempfile write.
+       - Fix configure grep for reuseport default for failure.
+       - Fix compat ctime_r return value
+       - Fix configure does not require pkg-config if not needed.
 
 24 June 2021: Wouter
        - Add analyzer and port compile github workflow.