Home GnuPG

gpgrt-config: Better architecture independent support.

Description

gpgrt-config: Better architecture independent support.

* configure.ac: Don't generate gpgrt-config.
* src/gpgrt-config: Rename from gpgrt-config.in.
(--prefix, --exec-prefix, --libdir): Use --libdir to determine
PKG_CONFIG_LIBDIR.
* src/Makefile.am (EXTRA_DIST): Remove gpgrt-config.in.
* src/gpg-error-config-test.sh: Fix for path to gpgrt-config.
* src/gpg-error.m4: Provide --prefix, --exec-prefix, --libdir
option from configure.  Don't use CC because we have --libdir.
Bump version date.
* src/gpgrt.m4: Likewise.

Considering multilib support as well as multiarch support, it is
better to provide the information for PKG_CONFIG_LIBDIR by --libdir
directly, instead of CC.

Difficulty is that configure allows variable reference like:

--libdir='${exec_prefix}/i386-linux'

So, it should also support --prefix and --exec_prefix options.

  • Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>

Details

Provenance
gniibeAuthored on Oct 29 2018, 4:11 AM
Parents
rEb229ed40e265: b64dec: Fix to use custom memory handlers.
Branches
Unknown
Tags
Unknown