aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorIngo Klöcker <[email protected]>2024-09-17 13:11:12 +0000
committerIngo Klöcker <[email protected]>2024-09-17 13:11:12 +0000
commit9747f189620a4c89f88f50c5960baa511eea0a97 (patch)
tree328514d9b7f9a53ade4e7ffd19bb5f1dd0aaabaa /configure.ac
parentdoc,build: Fix "make install" if yat2m isn't available (diff)
downloadgpgme-9747f189620a4c89f88f50c5960baa511eea0a97.tar.gz
gpgme-9747f189620a4c89f88f50c5960baa511eea0a97.zip
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 648a0801..31fa79c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -104,7 +104,7 @@ AC_CANONICAL_HOST
AM_SILENT_RULES
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])
AM_CONDITIONAL(HAVE_YAT2M, test "$ac_cv_path_YAT2M" != ":")