| Commit message (Collapse) | Author | Files | Lines |
|
* src/gpg-error-config-test.sh.in: Skip the test with pkgconf 1.8.0.
--
Possibly, we need to skip with 1.9.0, 1.9.1, 1.9.2, and 1.9.3, too.
pkgconf 1.8.1 (on Debian) works well.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_LIBDIR.
--
GnuPG-bug-id: 5740
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error-config-test.sh.in: Clear PKG_CONFIG_SYSROOT_DIR.
GnuPG-bug-id: 4973
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error-config-test.sh.in: Check pkg-config version.
--
Use of sort and sed 1q for version check is taken from .m4 code in
gettext.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* configure.ac (INSTALLSHELLPATH): New.
* src/Makefile.am: Change invocation of gpg-error-config-test.sh.
* src/gpgrt-config.in (INSTALLSHELLPATH): To be substituted.
* src/gpg-error-config-test.sh.in: Likewise.
--
GnuPG-bug-id: 4574
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* 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 <[email protected]>
|
|
* configure.ac: Generate gpgrt-config from gpgrt-config.in.
* src/gpgrt-config.in: Rename from src/gpg-error-config-new.in.
* src/Makefile.am (bin_SCRIPTS): Add gpgrt-config.
(EXTRA_DIST): Add gpgrt-config.in removing gpg-error-config-new.in.
(BUILT_SOURCES, CLEANFILES): Remove gpgrt-config.
(gpg-error-config): Always copy from gpg-error-config-old.
* src/gpg-error-config-test.sh: Follow the rename.
--
The gpgrt-config script is new implementation supporting *.pc file,
while gpg-error-config keeps old single shell script.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error-config-new.in (sysroot): New function.
(want_cflags, want_libs): Use sysroot.
* src/gpg-error-config-test.sh: Test with PKG_CONFIG_SYSROOT_DIR.
--
PKG_CONFIG_SYSROOT_DIR is for cross build.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error-config-test.sh: Remove white spaces at the
end or at the beginning.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error-config-test.sh (OUTPUT_OLD): Use shell
and echo to remove spaces.
--
There is an alternative implementation of pkg-conf, named pkgconf.
It emits an extra space at the end.
Tested on FreeBSD 11.1.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* configure.ac (AC_CONFIG_FILES): Generate src/gpg-error.pc, as well
as src/gpg-error-config-old and src/gpg-error-config-new.
* src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New.
(EXTRA_DIST): Add gpg-error-config-new.in, gpg-error-config-test.sh,
and gpg-error.pc.in.
(CLEANFILES): Add gpg-error-config gpg-error-config-test.log.
(TESTS): New.
(gpg-error-config): New target.
* src/gpg-error-config-new.in: New.
* src/gpg-error-config-test.sh: New.
* src/gpg-error.pc.in: New.
* src/gpg-error.m4 (GPG_ERROR_MT_CFLAGS): Use --variable.
(GPG_ERROR_MT_LIBS, gpg_error_config_host): Likewise.
--
This change is to privide gpg-error.pc for pkg-config, so that
developers can use pkg-config to configure their applications. The
gpg-error-config script is also kept supported for applications which
want to avoid dependency of pkg-config.
Note that new gpg-error-config script uses gpg-error.pc as master
data, so that it can keep compatibility to pkg-config easily. In the
new gpg-error-config script, features are added to increase
compatibility to pkg-config, like --variable option and multiple
module support. However, it is not meant to oriented to be a
full-fledged version of pkg-config, only a small set of features is
supported.
To be conservative, new gpg-error-config is checked at build time
against old gpg-error-config. On the host which fails, old
gpg-error-config will be installed with a warning.
GnuPG-bug-id: 4085
Signed-off-by: NIIBE Yutaka <[email protected]>
|