summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2022-03-31 11:08:31 +0900
committerNIIBE Yutaka <gniibe@fsij.org>2022-03-31 11:08:31 +0900
commit9de02ca16d30a3501a9333e48934b008fcd94f8f (patch)
tree835f3bae62da954224185989b69020624044a468 /configure.ac
parenteeda9ac0a71951a2894cd92a366216d2f65c5ad1 (diff)
downloadlibassuan-9de02ca16d30a3501a9333e48934b008fcd94f8f.tar.gz
build: When no gpg-error-config, not install libassuan-config.
* configure.ac (USE_GPGRT_CONFIG): New. * src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install of libassuan-config. -- When system will migrate use of gpgrt-config and removal of gpg-error-config, libassuan-config will not be installed (but use libassuan.pc by gpgrt-config). Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index acf1264..ec26580 100644
--- a/configure.ac
+++ b/configure.ac
@@ -384,6 +384,8 @@ AM_CONDITIONAL(USE_DESCRIPTOR_PASSING, test "$use_descriptor_passing" = "yes")
# Checking for libgpg-error.
AM_PATH_GPG_ERROR(1.17,, AC_MSG_ERROR([libgpg-error was not found]))
+AM_CONDITIONAL(USE_GPGRT_CONFIG, [test -n "$GPGRT_CONFIG" \
+ -a "$ac_cv_path_GPG_ERROR_CONFIG" = no])
#
# Checks for library functions.