summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2017-11-20 03:33:26 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2017-11-20 03:33:26 +0100
commite1984969cac06a88c7e6f5e49e5c3104d10a847d (patch)
tree6c819e7985a36b1f72d3891a9ace9ea385c6f324 /configure.ac
parentdirmngr: Fix double free of a hash context in the error case. (diff)
downloadgnupg2-e1984969cac06a88c7e6f5e49e5c3104d10a847d.tar.xz
gnupg2-e1984969cac06a88c7e6f5e49e5c3104d10a847d.zip
build: BSD make support for yat2m.
* configure.ac (YAT2M): Only define when found. * doc/Makefile.am: Portability fix. -- This is not intended to apply to master, but 2.2 branch only. When new libgpg-error is required, installation of yat2m can be assumed. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 13f1ab604..42c069863 100644
--- a/configure.ac
+++ b/configure.ac
@@ -602,8 +602,9 @@ AC_PROG_RANLIB
AC_CHECK_TOOL(AR, ar, :)
AC_PATH_PROG(PERL,"perl")
AC_CHECK_TOOL(WINDRES, windres, :)
-AC_PATH_PROG(YAT2M, "yat2m", "./yat2m" )
+AC_PATH_PROG(YAT2M, "yat2m")
AC_ARG_VAR(YAT2M, [tool to convert texi to man pages])
+AM_CONDITIONAL(HAVE_YAT2M, test -n "$ac_cv_path_YAT2M")
AC_ISC_POSIX
AC_SYS_LARGEFILE
GNUPG_CHECK_USTAR