summaryrefslogtreecommitdiff
path: root/m4
Commit message (Collapse)AuthorAgeFilesLines
* build: Fix make dist after socklen.m4 removalClemens Lang2022-04-121-1/+1
| | | | | | | | * m4/Makefile.am: Remove socklen.m4 from EXTRA_DIST -- Signed-off-by: Clemens Lang <cllang@redhat.com>
* build: Remove configure checking for socklen_t.NIIBE Yutaka2022-04-081-76/+0
| | | | | | | | | * configure.ac (gl_TYPE_SOCKLEN_T): Remove. * m4/socklen.m4: Remove. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Fix m4/gpg-error.m4.NIIBE Yutaka2022-02-151-1/+2
| | | | | | | | | | | * m4/gpg-error.m4: Unset GPGRT_CONFIG when it doesn't work well. -- With older version of libgpg-error (< 1.33), the gpgrt-config script doesn't support .pc files. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Fix .m4 files in distribution.NIIBE Yutaka2022-01-181-1/+1
| | | | | | | | | | * m4/Makefile.am (EXTRA_DIST): Remove sys_socket_h.m4. -- Fixes-commit: 3204c3827e9840915af2b6cbf603f3cf51664568 Reported-by: Jakub Jelen <jjelen@redhat.com> Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update for newer autoconf.NIIBE Yutaka2021-12-221-23/+0
| | | | | | | | | | | * configure.ac (AC_PREREQ): Require >= 2.69. (AC_CONFIG_HEADERS): Use it, instead of AC_CONFIG_HEADER. (AC_HEADER_STDC): Remove. * m4/sys_socket_h.m4: Remove. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* libtool: Link without -flat_namespace for macOS.NIIBE Yutaka2021-09-271-9/+4
| | | | | | | | | | | | | | | | | | * 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>
* build: Update gpg-error.m4.NIIBE Yutaka2021-03-311-3/+4
| | | | | | | | | * m4/gpg-error.m4: Update from libgpg-error. -- GnuPG-bug-id: 5365 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update gpg-error.m4.NIIBE Yutaka2021-02-161-50/+68
| | | | | | * m4/gpg-error.m4: Update from libgpg-error. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update to newer autoconf constructs.NIIBE Yutaka2020-11-186-117/+79
| | | | | | | | | | | | | | | | | | | | * acinclude.m4 (GNUPG_SYS_SYMBOL_UNDERSCORE): Use AS_MESSAGE_LOG_FD instead of AC_FD_CC. (GNUPG_CHECK_MLOCK): Use AC_LINK_IFELSE instead of AC_TRY_LINK. Use AC_RUN_IFELSE instead of AC_TRY_RUN. * configure.ac (AC_ISC_POSIX): Replace by AC_SEARCH_LIBS. Use AC_USE_SYSTEM_EXTENSIONS instead of AC_GNU_SOURCE. Use AS_HELP_STRING instead of AC_HELP_STRING. (AC_TYPE_SIGNAL): Remove. (AC_DECL_SYS_SIGLIST): Remove. * m4/Makefile.am (EXTRA_DIST): Update. * m4/onceonly.m4: Remove. * m4/socklen.m4: Update from gnulib. * m4/libtool.m4: Update from libgpg-error. * m4/gpg-error.m4: Update from libgpg-error. * m4/noexecstack.m4: Use AS_HELP_STRING instead of AC_HELP_STRING. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Use {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD for helper programs.NIIBE Yutaka2019-07-221-0/+77
| | | | | | | | | | * configure.ac (CC_FOR_BUILD): Use AX_CC_FOR_BUILD. * cipher/Makefile.am (gost-s-box): Add {CFLAGS,CPPFLAGS,LDFLAGS}_FOR_BUILD. * doc/Makefile.am (yat2m): Likewise. * m4/ax_cc_for_build.m4: New. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update gpg-error.m4 and libgcrypt.m4.NIIBE Yutaka2018-11-021-13/+46
| | | | | | | | * m4/gpg-error.m4: Update to 2018-11-02. * src/libgrypt.m4: Add AC_MSG_NOTICE. Bump the version date. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update gpg-error.m4 and ksba.m4.NIIBE Yutaka2018-10-291-16/+22
| | | | | | | | * m4/gpg-error.m4: Update to 2018-10-29. * src/libgrypt.m4: Follow the change of gpgrt-config. Bump the version date. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* libgcrypt.m4: Better compatibility support.NIIBE Yutaka2018-10-261-7/+20
| | | | | | | * src/gpg-error.m4: Update. * src/libgcrypt.m4: Don't assume libgcrypt-config is newer. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Relax build requirements.NIIBE Yutaka2018-10-261-4/+17
| | | | | | | | | | | * m4/gpg-error.m4: Update from libgpg-error 1.33. * src/libgcrypt.m4: Don't require AM_PATH_GPG_ERROR. Use GPGRT_CONFIG instead of libgcrypt-config when it is confirmed that it is available and working well. * configure.ac (AM_PATH_GPG_ERROR): No requirement for newer version (It was because of new gpgrt-config which supports *.pc files). Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Require libgpg-error >= 1.33.NIIBE Yutaka2018-10-251-9/+9
| | | | | | | | | * configure.ac (NEED_GPG_ERROR_VERSION): Require 1.33. * m4/gpg-error.m4: Update from libgpg-error 1.33. * src/libgcrypt.m4: Bump version date. Use --variable option. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update gpg-error.m4 from libgpg-error.NIIBE Yutaka2018-10-241-7/+9
| | | | | | * m4/gpg-error.m4: Update from libgpg-error 1.33. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Support SYSROOT based config script finding.Werner Koch2014-10-021-7/+26
| | | | | | | | | | | | * src/libgcrypt.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 * configure.ac: Print a library mismatch warning. * m4/gpg-error.m4: Update from git master. -- Also fixed the false copyright notice in libgcrypt.m4.
* Update gpg-error autoconf macros to fix threading problems.Werner Koch2014-01-271-13/+25
| | | | | * m4/gpg-error.m4: Update to version 2014-01-24. * tests/Makefile.am (t_lock_LDADD): Use MT Libs.
* Update libtool to support Android.David 'Digit' Turner2013-12-091-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | * 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>
* Add build support for ppc64le.Werner Koch2013-12-031-2/+8
| | | | | | | | | | * 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 use patches supplied by IBM. Signed-off-by: Werner Koch <wk@gnupg.org>
* Fix libtool 2.4.2 to correctly detect .def files.Werner Koch2013-05-221-4/+4
| | | | | | | | | | | | | | | | | | | * 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>
* Update build helper scriptsWerner Koch2012-11-054-828/+1475
| | | | | | | * config.guess, config.sub: Update to version 2012-07-31. * ltmain.sh: Update to version 2.4.2. * install-sh, m4/libtool.m4, m4/ltoptions.m4, m4/ltversion.m4 * m4/lt~obsolete.m4: Update to autoconf 2.69 versions.
* Generate the ChangeLog from commit logs.Werner Koch2011-12-011-0/+11
| | | | | | | | | | | | | * scripts/gitlog-to-changelog: New script. Taken from gnulib. * scripts/git-log-fix: New file. * scripts/git-log-footer: New file. * doc/HACKING: Describe the ChangeLog policy * 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.
* accept --with-libgpg-error-prefix as well as --with-gpg-error-prefixJim Meyering2011-11-281-2/+13
| | | | * m4/gpg-error.m4: Update from git master.
* Updated gpg-error.m4 (bug#1261)Werner Koch2011-02-233-0/+85
|
* Nuked almost all trailing whitespace.post-nuke-of-trailing-wsWerner Koch2011-02-041-2/+1
| | | | Check and install the standard git pre-commit hook.
* Support WindowsCE.Werner Koch2010-01-211-5/+5
|
* 2009-12-08 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2009-12-085-3694/+5737
| | | | | | | | | | | | | | | | | | | | | | | | | 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/ 2009-12-08 Marcus Brinkmann <marcus@g10code.de> * Makefile.am (LTRCCOMPILE): Refactor with ... (RCCOMPILE): ... this new macro. Add $(libgcrypt_la_CPPFLAGS). (SUFFIXES): Add .lo. (.rc.o): Change to ... (.rc.lo): ... this implicit rule. (gcrypt_res_ldflag): Removed. (gcrypt_res): Use libtool object file name here. (libgcrypt_la_LDFLAGS): Remove gcrypt_res_ldflag usage. (libgcrypt_la_LIBADD): Add gcrypt_res.
* Preparinglibgcrypt-1.4.4Werner Koch2009-01-222-1/+6
|
* Tweaks for W32Werner Koch2007-02-222-3/+7
|
* A lot of cleanups as well as minor API changes.Werner Koch2007-02-213-0/+62
| | | | | Ported some changes from 1.2 to here.
* 2006-10-11 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2006-10-112-180/+4
| | | | | | | | | | | * configure.ac (FALLBACK_SOCKLEN_T): Rewrite in terms of socklen.m4. m4/ 2006-10-11 Marcus Brinkmann <marcus@g10code.de> * fallback.m4: Removed again.
* 2006-10-10 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2006-10-102-0/+184
| | | | | | | | | | | | | | | | | | | | * configure.ac: Invoke AC_CHECK_SOCKLEN_TYPE. (AC_CONFIG_FILES): Add src/gcrypt.h. (AC_CONFIG_SRCDIR): Change to src/libgcrypt.vers. m4/ 2006-10-10 Marcus Brinkmann <marcus@g10code.de> * fallback.m4: New file from Pth. src/ 2006-10-10 Marcus Brinkmann <marcus@g10code.de> * gcrypt.h: Add fallback type for socklen_t. Move to ... * gcrypt.h.in: ... this file. * Makefile.am (EXTRA_DIST): Add gcrypt.h.in.
* 2006-07-04 Marcus Brinkmann <marcus@g10code.de>Marcus Brinkmann2006-07-044-0/+145
| | | | | | | | | | | | | | | | | * configure.ac: Call gl_TYPE_SOCKLEN_T instead of the other socklen_t checks. m4/ 2006-07-04 Marcus Brinkmann <marcus@g10code.de> * sys_socket_h.m4, socklen.m4, onceonly.m4: New files from gnulib. src/ 2006-07-04 Marcus Brinkmann <marcus@g10code.de> * gcrypt.h [!HAVE_SYS_SOCKET_H]: Do not include sys/socket.h, but the appropriate windows socket header.
* * config.guess, config.sub, ltmain.sh: Updated to those fromWerner Koch2004-04-062-2509/+4735
| | | | | | | libtools 1.5.4. * libtool.m4: Updated from 1.5.4
* keep the libtool macros here.Werner Koch2003-12-082-0/+3721
|
* Files we want to keep in the CVS.Werner Koch2003-12-081-0/+0