| Commit message (Collapse) | Author | Files | Lines |
|
* src/gpgrt.m4: Remove old backward compatible support.
--
Since this macro gpgrt.m4 has not yet been used by any, we can
break now. The gpgrt-config script is for all hosts (switching
by --libdir option), it's not switched by --with-*-prefix nor
SYSROOT.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpgrt-config: Simplify --libdir support, remove variable
substituion.
* src/gpg-error.m4: Expand possible ${prefix}, ${exec_prefix} in
libdir. Simplify invocation of gpgrt-config.
* src/gpgrt.m4: Likewise.
--
The --libdir option for configure can include variable reference
like --libdir='${exec_prefix}/lib/x86_64-linux-gnu', and this
expression should be expanded (the variable should be substituted)
beforehand to determine if there is gpg-error.pc file or not.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error.m4 (gpgrt_libdir): New. Bump the version date.
* src/gpgrt.m4: Likewise.
--
Locating gpg-error.pc file, when it's not found at target's $libdir,
try system libdir defined by CC, assuming CC supports gcc compatible
-print-file-name option.
GnuPG-bug-id: 4239
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]>
|
|
* src/gpg-error.m4: Bump version date.
(min_gpg_error_version): Require >= 1.33, if not specified.
(gpg_error_config_args): Remove bogus uses.
* src/gpgrt.m4: Bump version date.
(libgpgrt-prefix): Add support of --with-libgpgrt-prefix option.
(gpgrt-config): Search/call gpgrt-config instead of gpg-error-config.
(min_gpgrt_version): Require >= 1.33, if not specified.
(gpgrt_config_args): Remove bogus uses.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpg-error.m4: Add CC when invoking gpg-error-config.
* src/gpgrt.m4: Likewise.
--
For standard cross build, the use of --with-libgpg-error-prefix will
not be needed, as the script automatically finds the place.
Signed-off-by: NIIBE Yutaka <[email protected]>
|
|
* src/gpgrt.m4: New. Bascially a copy of libgpg-error.m4
* src/gpg-error-config.in: Decide which name to print.
* src/Makefile.am (nodist_bin_SCRIPTS): Add gpgrt-config.
(m4data_DATA): Add gpgrt.m4
(EXTRA_DIST): Add gpgrt.m4.
(BUILT_SOURCES): Add gpgrt-config.
(CLEANFILES): Add gpgrt-config.
(gpgrt-config): Create from gpg-error-config.
--
These files can be used instead of gpg-error-config or gpg-error.m4.
The hope is that providing them early will ease an eventual migration
from libgpg-error to libgpgrt easier.
Signed-off-by: Werner Koch <[email protected]>
|
|
* doc/gpgrt.texi: Say "--with-libgpg-error-prefix" instead of
"--with-gpg-error-prefix".
* src/gpg-error.m4: When warning about library locations, warn with
the preferred "--with-libgpg-error-prefix" name.
--
in src/gpg-error.m4, it already says:
> dnl --with-libgpg-error-prefix=PFX is the preferred name for this option,
> dnl since that is consistent with how our three siblings use the directory/
> dnl package name in --with-$dir_name-prefix=PFX.
so this is an attempt to live up to that expectation.
Signed-off-by: Daniel Kahn Gillmor <[email protected]>
|
|
* src/gpg-error.m4: Add support for SYSROOT and set
gpg_config_script_warn. Use AC_PATH_PROG instead of AC_PATH_TOOL
because the config script is not expected to be installed with a
prefix for its name.
|
|
* m4/threadlib.m4: Set THREADLIB_CPPFLAGS.
* src/gpg-error-config.in: Add option --mt.
* configure.ac: Add support for the --mt option.
* src/gpg-error.m4: Add ac_subst GPG_ERROR_MT_CFLAGS and
GPG_ERROR_MT_LIBS.
--
Although, libgpg-error does not yet provide an API for multi-thread
support, it is useful to add the already available detection to the
config script. This allows the latest Libgcrypt to take advantage of
this in its regression tests. In particular for the regression tests
a gpgrt_thread functions would be useful and eventually added to
libgpg-error. The new gpg-error.m4 script should already be used by
other packages to be prepared for future updates.
|
|
* src/gpg-error.m4: Do not use the no-action branch in AC_ARG_WITH.
--
This fixes commit aaa3f534. The bug was that --with-gpg-error-prefix
always reset the value from --with-libgpg-error-prefix.
|
|
* src/gpg-error.m4 (AM_PATH_GPG_ERROR): Also accept
--with-libgpg-error-prefix=PFX, for consistency with our three
library sibling packages.
|
|
If the path to gpg-error-config was explicitly given by the user it
may happen that it does not exists but AC_CHECK_TOOL may assume it
still exists because it is somewhere in the PATH. The extra check
avoids extra sh warnings.
Note that we can't use test -x because that is not defined on some old
systems.
|
|
|
|
This is done by taking host prefixed config scripts names in account
(as suggested by bug#1261) and adding a new config option --host to
print a warning if the used config script was not built for the
current host. Care has been taken not to mess things up if an old
config script without the option is used or if AC_CANONICAL_HOST has
not been used.
|
|
|
|
* src/gpg-error.m4: Add copyright note.
|
|
* src/gpg-error.m4: Quote first argument to AC_DEFUN.
|
|
* src/gpg-error.m4: Do not ask gpg-error-config to change the
prefix, if --with-gpg-error-prefix=... is used.
|
|
* src/gpg-error.m4 (AM_PATH_GPG_ERROR): Use `0.0' instead of
`0.0.0' in case no version number is given, since the following
sed commands expect the former form, not a triplet.
|
|
|
|
|
|
* configure.ac: Define GPG_ERROR_CONFIG_LIBS and
GPG_ERROR_CONFIG_CFLAGS.
Add src/gpg-error-config to config files.
* src/Makefile.am (EXTRA_DIST): Add gpg-error-config.in and
gpg-error.m4.
(bin_SCRIPTS): New variable.
(m4datadir, m4data_DATA): New variables.
* src/gpg-error-config.in: New file.
* src/gpg-error.m4: New file.
|