| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Copied
from gnulib.
* m4/po.m4, m4/nls.m4, m4/progtest.m4: Likewise.
* m4/gettext.m4, m4/iconv.m4: Update from gnulib.
* m4/host-cpu-c-abi.m4: New from gnulib.
--
Fixes-commit: 980e4410bb0a372a7bcce5f454915e6565a56b96
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/glibc2.m4, m4/glibc21.m4, m4/intdiv0.m4, m4/intmax.m4: Remove.
* m4/inttypes-h.m4, m4/inttypes-pri.m4, m4/inttypes.m4: Remove.
* m4/inttypes_h.m4, m4/isc-posix.m4, m4/lcmessage.m4: Remove.
* m4/lib-ld.m4, m4/lib-link.m4, m4/lib-prefix.m4: Remove.
* m4/longdouble.m4, m4/longlong.m4, m4/nls.m4, m4/po.m4: Remove.
* m4/printf-posix.m4, m4/progtest.m4, m4/signed.m4: Remove.
* m4/size_max.m4, m4/stdint_h.m4, m4/uintmax_t.m4: Remove.
* m4/ulonglong.m4, m4/visibility.m4, m4/wchar_t.m4: Remove.
* m4/wint_t.m4, m4/xsize.m4: Remove.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (AC_PREREQ): Require 2.69 or later.
(AC_CONFIG_HEADERS): Replace AC_CONFIG_HEADER.
(AC_HEADER_STDC): Remove.
* m4/codeset.m4: Update from gnulib.
--
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/libtool.m4: Not setting 10.0 to MACOSX_DEPLOYMENT_TARGET when not
defined. Only specify -flat_namespace to linker for specific
(older) versions and hosts.
--
Original patch was by: Jeremy Huddleston Sequoia <jeremyhu@apple.com>
in
https://lists.gnu.org/archive/html/libtool-patches/
2020-06/msg00001.html
Reported-by: Aleix Conchillo Flaque
GnuPG-bug-id: 5610
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
| |
* m4/threadlib.m4: Add THREADLIB_CPPFLAGS support.
--
GnuPG-bug-id: 5547
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/threadlib.m4: Update.
--
Copied from gnulib commit of 12b5b00f93, so that we can support build
with GNU C library 2.34 or later.
Parts of our local changes are not needed any more:
- Fix comment for "http" to "https"
- Update to AS_HELP_STRING for newer autoconf
One of our local change is canceled by this commit:
- CPPFLAGS handling by THREADLIB_CPPFLAGS
And it will be merged by following commit.
GnuPG-bug-id: 5547
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac Replace AC_GNU_SOURCE to Use AC_USE_SYSTEM_EXTENSIONS.
Replace AC_HELP_STRING to AS_HELP_STRING.
* m4/estream.m4: Replace AC_TRY_LINK to AC_LINK_IFELSE.
* m4/gnupg-misc.m4: Replace AC_TRY_COMPILE to AC_COMPILE_IFELSE.
* m4/libtool.m4: Use AC_LANG_PUSH/AC_LANG_POP instead of
AC_LANG_SAVE/AC_LANG_RESTORE.
* m4/readline.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
Fix quote for _combo.
* m4/threadlib.m4: Replace AC_HELP_STRING to AS_HELP_STRING.
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/iconv.m4: Update from gettext 0.20.1.
--
This includes fixes of file descriptor leaks.
GnuPG-bug-id: 4504
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* src/estream-printf.c: Replace HAVE_LANGINFO_THOUSANDS_SEP by
HAVE_LANGINFO_THOUSEP.
(pr_integer): Use THOUSEP.
--
GnuPG-bug-id: 4286
Reported-by: miod
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
| |
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac (AX_CC_FOR_BUILD): New.
* doc/Makefile.am: Use EXEEXT and EXEEXT_FOR_BUILD.
* m4/ac_prog_cc_for_build.m4: Remove.
* m4/ax_cc_for_build.m4: New.
--
Suggested-by: Michael Haubenwallner
<michael.haubenwallner@ssi-schaefer.com>
Fixes-commit: 6eb80abcde5ad776379069871e4156b28ef69712
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/gpg-error.h.in (gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd): New.
* src/visibility.c, src/visibility.h: Add wrappers.
* src/gpg-error.vers, src/gpg-error.def.in: Add them.
* src/sysutils.c (modestr_to_mode): New.
(_gpgrt_mkdir, _gpgrt_chdir, _gpgrt_getcwd): New.
* m4/gnupg-misc.m4: New.
* m4/Makefile.am (EXTRA_DIST): Add new M4 file.
* configure.ac: Call new GNUPG_FUNC_MKDIR_TAKES_ONE_ARG.
(AC_CHECK_FUNCS): Add stat.
--
The code has been taken from GnuPG. _gpgrt_mkdir was originally
written by me as gnupg_mkdir and here relicensed to LGPLv2.1+.
_gpgrt_getcwd was originally written by in 2007 and also here
relicensed to LGPLv2.1. The new M4 macro was also written by me for
use in in GnuPG; it has been taken from GnUPG's acinclude.m4, moved to
its own file here, and relicensed to FSFULLR.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
| |
* configure.ac: Add new checks.
* m4/readline.m4: New. Taken from gnupg.
* m4/Makefile.am (EXTRA_DIST): Add it.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
--
* use https for bug reporting
* in comments and docs, use https to refer to:
- www.gnu.org
- creativecommons.org
- translationproject.org
- mail.gnome.org
- www.perl.org
- www.ctan.org
- www.cl.cam.ac.uk
- www.ntg.nl
- cygwin.com
- www.ethnologue.com
|
|
|
|
|
| |
* po/Makefile.in.in (MSGMERGE): Remove --previous.
* po/Makevars (MSGMERGE_OPTIONS): Add --previous.
|
|
|
|
|
|
|
| |
* m4/estream.m4: Check for memrchr.
* src/estream.c (memrchr) [!HAVE_MEMRCHR]: New.
* src/init.c: Include estream.h
(real_init): Init estream.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* src/estream-printf.c, src/estream-printf.h: New.
* src/estream.c, src/estream.h: New.
* m4/estream.m4: New.
* src/Makefile.am (libgpg_error_la_SOURCES): Add new files.
* configure.ac (AH_BOTTOM): Define estream prefix.
<gcc>: Add useful gcc warning options.
(estream_INIT): Call.
--
This is the base line patch to move the estream code from GnuPG to
libgpg-error. The code has been taken from the GnuPG repository at
commit cb680c5ea540738692a5c74951802b0fdc658e85.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.h.in (GPGRT_LOCK_DEFINE): New.
(gpgrt_lock_init): New.
(gpgrt_lock_lock): New.
(gpgrt_lock_unlock): New.
(gpgrt_lock_destroy): New.
(gpgrt_yield): New.
* src/gpg-error.def.in: Add new functions.
* m4/lock.m4, m4/threadlib.m4: New. Taken from current gnulib.
* configure.ac: Call gl_LOCK. Check size of pthread_mutex_t. Add
LIBTHREAD to GPG_ERROR_CONFIG_LIBS.
* src/err-codes.h.in (GPG_ERR_INV_LOCK_OBJ): New.
* src/gen-posix-lock-obj.c: New.
* src/gen-w32-lock-obj.c: New.
* src/lock.h, src/thread.h: New.
* src/posix-lock-obj.h, src/w32-lock-obj.h: New.
* src/posix-lock.c, src/w32-lock.c: New.
* src/posix-thread.c, src/w32-thread.c:
* src/w32-lock-obj-pub.in: New.
* src/mkheader.c (include_file): Support build time include files.
(write_special): Add keyword "include:lock-obj".
* src/Makefile.am:
(posix-lock-obj-pub.in): New rule.
(noinst_PROGRAMS): Add gen-*-lock-obj helpers.
* tests/t-common.h: New.
* tests/t-lock.c: New.
* tests/Makefile.am (t_lock_LDADD): Add new test.
--
This patch introduces the gpgrt_ functions which will be extended over
time to provide a library of commonly used code in GnuPG and
Libgcrypt. Having them in a library named libgpg-error is a misnomer
but this way we can achieve a smooth upgrade path.
In contrasts to other GnuPG libraries, the gpgrt_ functions return a
simple gpg_err_code_t and not gpg_error_t. The rationale for this is
that a source of error identifier does not make sense here; it is
better to use the source of error identifier of the caller. This can
easily be achieved in a component by wrapping these function in a
gpg_error macro/inline.
There is no cross-compiling support for Posix platforms; the
gen-posix-lock-obj tool must be run on the target system.
Note that the gen-w32-lock-obj tool is not needed at build time but
was used to figure out ABI definitions for Windows.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
|
| |
* config.guess, config.sub: Update to latest version (2013-11-29).
* m4/libtool.m4: Add patches for ppc64le.
--
We don't want to update libtool, thus we a simple libtool patch
supplied by IBM.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* m4/libtool.m4: Add "linux*android*" case. Taken from the libtool
repository.
--
The patch, which cleanly applies, is
commit 8eeeb00daef8c4f720c9b79a0cdb89225d9909b6
Author: David 'Digit' Turner <digit@google.com>
Date: Tue Oct 8 14:37:32 2013 -0700
This patch adds proper Android support to libtool. The main
issues are the following:
- Versioned libraries are not supported by the platform and
its build/packaging tools.
- The dynamic linker is not GNU ld, there is no support for
DT_RUNPATH.
- Similarly, there is no ldconfig.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* ltmain.sh (sed_uncomment_deffile): New.
(orig_export_symbols): Uncomment def file before testing for EXPORTS.
* m4/libtool.m4: Do the same for the generated code.
--
The old code was not correct in that it only looked at the first line
and puts an EXPORTS keyword in front if missing. Binutils 2.22
accepted a duplicated EXPORTS keyword but at least 2.23.2 is more
stringent and bails out without this fix.
There is no need to send this upstream. Upstream's git master has a
lot of changes including a similar fix for this problems. There are
no signs that a libtool 2.4.3 will be released to fix this problem and
thus we need to stick to our copy of 2.4.2 along with this patch.
Signed-off-by: Werner Koch <wk@gnupg.org>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* build-aux/gitlog-to-changelog: New script. Taken from gnulib.
* build-aux/git-log-fix: New file.
* build-aux/git-log-footer: New file.
* doc/HACKING: New file.
* ChangeLog: New file.
* Makefile.am (EXTRA_DIST): Add new files.
(gen-ChangeLog): New.
(dist-hook): Run gen-ChangeLog.
Rename all ChangeLog files to ChangeLog-2011.
|
|
|
|
|
|
| |
Updated to gettext 0.1.17
Add a new error code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Update to libtool 2.2.6a.
* configure.ac: Invoke AC_CONFIG_MACRO_DIR.
(AC_LIBTOOL_WIN32_DLL, AC_LIBTOOL_RC): Replace by ...
(LT_PREREQ, LT_INIT, LT_LANG): ... these.
* config.guess, config.sub, install-sh, ltmain.sh, m4/libtool.m4:
Updated to libtool 2.2.6a.
* m4/ltoptions.m4, m4/ltsugar.m4, m4/ltversion.m4,
m4/lt~obsolete.m4: New files from libtool 2.2.6a.
* src/Makefile.am (LTRCCOMPILE): Refactor with ...
(RCCOMPILE): ... this new macro. Add $(libgpg_error_la_CPPFLAGS).
(SUFFIXES): Add .lo.
(.rc.o): Change to ...
(.rc.lo): ... this implicit rule.
(gpg_error_res_ldflag): Removed.
(gpg_error_res): Use libtool object file name here.
(install-def-file): Fix typo.
(libgpg_error_la_LDFLAGS): Remove gpg_error_res_ldflag usage.
(libgpg_error_la_LIBADD): Add gpg_error_res.
|
|
|
|
|
|
|
| |
* configure.ac: Allow --disable-languages.
* Makefile.am [!LANGUAGES_SOME]: Don't add lang to subdirs.
* m4/inttypes-h.m4, m4/lock.m4, m4/visibility.m4: New files.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Many files regenerated.
* src/Makefile.am (gpg_error_CPPFLAGS, libgpg_error_la_CPPFLAGS):
Add -I../intl.
* Makefile.am (SUBDIRS): Add intl.
* configure.ac (AC_CONFIG_FILES): Add intl/Makefile.
(AM_GNU_GETTEXT_VERSION): Bump to 0.14.5.
intl/
2005-05-23 GNU <bug-gnu-gettext@gnu.org>
* Version 0.14.5 released.
m4/
2006-03-14 gettextize <bug-gnu-gettext@gnu.org>
* codeset.m4: Upgrade to gettext-0.14.5.
* gettext.m4: Upgrade to gettext-0.14.5.
* glibc2.m4: New file, from gettext-0.14.5.
* glibc21.m4: Upgrade to gettext-0.14.5.
* iconv.m4: Upgrade to gettext-0.14.5.
* intdiv0.m4: Upgrade to gettext-0.14.5.
* intmax.m4: New file, from gettext-0.14.5.
* inttypes.m4: Upgrade to gettext-0.14.5.
* inttypes_h.m4: Upgrade to gettext-0.14.5.
* inttypes-pri.m4: Upgrade to gettext-0.14.5.
* isc-posix.m4: Upgrade to gettext-0.14.5.
* lcmessage.m4: Upgrade to gettext-0.14.5.
* lib-ld.m4: Upgrade to gettext-0.14.5.
* lib-link.m4: Upgrade to gettext-0.14.5.
* lib-prefix.m4: Upgrade to gettext-0.14.5.
* longdouble.m4: New file, from gettext-0.14.5.
* longlong.m4: New file, from gettext-0.14.5.
* nls.m4: Upgrade to gettext-0.14.5.
* po.m4: Upgrade to gettext-0.14.5.
* printf-posix.m4: New file, from gettext-0.14.5.
* progtest.m4: Upgrade to gettext-0.14.5.
* signed.m4: New file, from gettext-0.14.5.
* size_max.m4: New file, from gettext-0.14.5.
* stdint_h.m4: Upgrade to gettext-0.14.5.
* uintmax_t.m4: Upgrade to gettext-0.14.5.
* ulonglong.m4: Upgrade to gettext-0.14.5.
* wchar_t.m4: New file, from gettext-0.14.5.
* wint_t.m4: New file, from gettext-0.14.5.
* xsize.m4: New file, from gettext-0.14.5.
* Makefile.am (EXTRA_DIST): Add the new files.
po/
2006-03-14 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.in.in: Upgrade to gettext-0.14.5.
* Rules-quot: Upgrade to gettext-0.14.5.
|
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Escape arguments in AC_INIT invocation.
* config.guess, config.sub, ltmain.sh: Update.
m4/
2005-10-02 Marcus Brinkmann <marcus@g10code.de>
* libtool.m4: Update.
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Add ac_prog_cc_for_build.m4.
* ac_prog_cc_for_build.m4: New file.
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Add ac_prog_cc_for_build.m4.
* ac_prog_cc_for_build.m4: New file.
|
| |
|
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Added autogen.sh.
* libtool.m4: Added (CVS only).
|
| |
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Added autogen.sh.
|
|
* Initial check-in.
|