On 18/03/2021 17:16, Juliusz Sosinowicz wrote:
Signed-off-by: Juliusz Sosinowicz <juli...@wolfssl.com> --- compat.m4 | 16 ++++++++++++++++ 1 file changed, 16 insertions(+)diff --git a/compat.m4 b/compat.m4 index e54a7203..47650f6d 100644 --- a/compat.m4 +++ b/compat.m4 @@ -64,6 +64,22 @@ ifdef( AC_DEFUN([AC_TYPE_UINT64_T], []) ] ) +ifdef( + [PKG_CHECK_VAR], + , + [ + AC_DEFUN([PKG_CHECK_VAR], + [AC_REQUIRE([PKG_PROG_PKG_CONFIG]) + AC_ARG_VAR([$1], [value of $3 for $2, overriding pkg-config]) + + _PKG_CONFIG([$1], [variable="][$3]["], [$2]) + AS_VAR_COPY([$1], [pkg_cv_][$1]) + + AS_VAR_IF([$1], [""], [$5], [$4]) + ]) + ] +) + if test -z "${docdir}"; then docdir="\$(datadir)/doc/\$(PACKAGE_NAME)" AC_SUBST([docdir])
I'm not seeing the rationale to why we need this; can you explain that? The TL;DR version of Chris Beams "How to write a git commit message" [1] is: git subject --->> _What_ this patch is about git body message --->> _Why_ the change is needed git diff --->> _How_ the change is solved [1] <https://chris.beams.io/posts/git-commit/> -- kind regards, David Sommerseth OpenVPN Inc
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel