doc,build: Look for yat2m in $prefix/bin

* configure.ac: Look for yat2m first in $prefix/bin and then in $PATH.
--

This makes sure that yat2m is found in case libgpg-error and gpgme are
installed in the same prefix.
This commit is contained in:
Ingo Klöcker 2024-09-17 15:11:12 +02:00
parent e4b04ae153
commit 9747f18962
No known key found for this signature in database
GPG Key ID: F5A5D1692277A1E9

View File

@ -104,7 +104,7 @@ AC_CANONICAL_HOST
AM_SILENT_RULES AM_SILENT_RULES
AC_ARG_VAR(SYSROOT,[locate config scripts also below that directory]) AC_ARG_VAR(SYSROOT,[locate config scripts also below that directory])
AC_PATH_PROG(YAT2M, [yat2m], [:]) AC_PATH_PROG(YAT2M, [yat2m], [:], [$prefix/bin:$PATH])
AC_ARG_VAR(YAT2M, [tool to convert texi to man pages]) AC_ARG_VAR(YAT2M, [tool to convert texi to man pages])
AM_CONDITIONAL(HAVE_YAT2M, test "$ac_cv_path_YAT2M" != ":") AM_CONDITIONAL(HAVE_YAT2M, test "$ac_cv_path_YAT2M" != ":")