summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* build: Remove unused putc_unlocked.c.NIIBE Yutaka2022-04-051-1/+0
| | | | | | | | | * src/putc_unlocked.c: Remove. * configure.ac: Remove putc_unlocked replace. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Better cross build support.NIIBE Yutaka2022-04-011-15/+2
| | | | | | | | | | * configure.ac: Use AX_CC_FOR_BUILD. * src/Makefile.am: Use EXEEXT_FOR_BUILD. * m4/ax_cc_for_build.m4: New from libgpg-error. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: When no gpg-error-config, not install libassuan-config.NIIBE Yutaka2022-03-311-0/+2
| | | | | | | | | | | | | | * configure.ac (USE_GPGRT_CONFIG): New. * src/Makefile.am [USE_GPGRT_CONFIG]: Conditionalize the install of libassuan-config. -- When system will migrate use of gpgrt-config and removal of gpg-error-config, libassuan-config will not be installed (but use libassuan.pc by gpgrt-config). Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Update for newer autoconf.NIIBE Yutaka2021-12-221-2/+1
| | | | | | | | | | * configure.ac (AC_PREREQ): Require >= 2.69. (AC_HEADER_STDC): Remove. * m4/sys_socket_h.m4: Remove. -- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build,w32: Update configure script.NIIBE Yutaka2021-12-171-1/+1
| | | | | | * configure.ac: Don't use gl_HEADER_SYS_SOCKET, but check winsock2.h. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Simplify configure.ac.NIIBE Yutaka2021-08-051-1/+1
| | | | | | * configure.ac (AC_CHECK_HEADERS): Remove string.h. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: _DARWIN_C_SOURCE should be 1.NIIBE Yutaka2021-05-271-1/+1
| | | | | | | | | | * configure.ac (*-apple-darwin*): Set _DARWIN_C_SOURCE 1. -- GnuPG-bug-id: 5440 Reported-by: Jay Freeman Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Post release updatesWerner Koch2021-03-221-1/+1
| | | | --
* Release 2.5.5.libassuan-2.5.5Werner Koch2021-03-221-1/+1
|
* build: Update to newer autoconf constructs.NIIBE Yutaka2020-11-171-8/+6
| | | | | | | | | | | | | | | | * configure.ac: Use AC_CONFIG_HEADERS instead of AM_CONFIG_HEADER. 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/gnupg-pth.m4: Remove. * 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. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Post release updatesWerner Koch2020-10-231-1/+1
|
* Release 2.5.4libassuan-2.5.4Werner Koch2020-10-231-1/+1
|
* build: Use Requires.private and Libs.private.NIIBE Yutaka2020-02-251-3/+0
| | | | | | | | | * configure.ac (LIBASSUAN_CONFIG_LIBS): Remove NETLIBS. * src/libassuan.pc.in: Distinguish static link. * tests/Makefile.am: Don't need to link NETLIBS. GnuPG-bug-id: 4624 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Post release updatesWerner Koch2019-02-111-1/+1
| | | | --
* Release 2.5.3libassuan-2.5.3Werner Koch2019-02-111-1/+1
|
* build: With LD_LIBRARY_PATH defined, use --disable-new-dtags.NIIBE Yutaka2019-01-161-0/+35
| | | | | | | | | | * configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. -- GnuPG-bug-id: 4298 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Post release updatesWerner Koch2018-12-131-1/+1
| | | | --
* Release 2.5.2libassuan-2.5.2Werner Koch2018-12-131-1/+1
| | | | | | * configure.ac: Bump LT version to C8/A8/R2. Signed-off-by: Werner Koch <wk@gnupg.org>
* build: Relax requirements.NIIBE Yutaka2018-10-251-1/+1
| | | | | | | | | * m4/gpg-error.m4: Update from libgpg-error 1.33. * src/libassuan.m4: Don't require AM_PATH_GPG_ERROR. Only when gpgrt-config is available and works well, use it. * configure.ac (AM_PATH_GPG_ERROR): No requirement any more. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Use LIBASSUAN_CONFIG_LIBS (instead of LIB).NIIBE Yutaka2018-10-251-5/+3
| | | | | | | | | * configure.ac (LIBASSUAN_CONFIG_LIBS): Rename from *_LIB. (LIBASSUAN_CONFIG_EXTRA_LIBS): Remove. * src/libassuan-config.in: Follow the change. * src/libassuan.pc.in: Likewise. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Require libgpg-error >= 1.33.NIIBE Yutaka2018-10-251-1/+1
| | | | | | | * configure.ac (AM_PATH_GPG_ERROR): Require 1.33. * m4/gpg-error.m4: Update from libgpg-error 1.33. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* build: Provide libassuan.pc, generated by configure.NIIBE Yutaka2018-10-241-10/+1
| | | | | | | | | | | * configure.ac (PACKAGE, VERSION): Remove. Generate src/libassuan.pc. * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New. (assuan.h): Use PACKAGE_VERSION and VERSION_NUMBER vars. * src/libassuan-config.in: Use @PACKAGE_VERSION@. * src/libassuan.pc.in: New. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Fix OpenBSD build.Ben Kibbey2018-09-141-1/+4
| | | | | | | | * configure.ac: Define HAVE_STRUCT_SOCKPEERCRED_PID when found. -- Signed-off-by: Ben Kibbey <bjk@luxsci.net>
* Better credential support for other OSes.NIIBE Yutaka2018-02-201-41/+9
| | | | | | | | | | | | | | | | * configure.ac (HAVE_UCRED_H, HAVE_SYS_UCRED_H): Check these headers unconditionally. (HAVE_SO_PEERCRED, HAVE_LOCAL_PEEREID): Remove. (HAVE_STRUCT_SOCKPEERCRED_PID): New. (HAVE_GETPEEREID): New. * src/assuan-socket-server.c (accept_connection_bottom): Add support for OpenBSD, macOS, and FreeBSD. -- Code in gpg-agent/command-ssh.c are integrated. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* Post release updatesWerner Koch2017-12-071-1/+1
| | | | --
* Release 2.5.1libassuan-2.5.1Werner Koch2017-12-071-1/+1
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2017-12-071-1/+1
| | | | --
* Allow change of system hooks for assuan_sock_...NIIBE Yutaka2017-12-071-5/+5
| | | | | | | | | | | * src/assuan-socket.c (assuan_sock_set_system_hooks): New. * src/assuan.h.in (assuan_sock_set_system_hooks): New prototype. * src/libassuan.def: Add new function. * src/libassuan.vers: Add new function. -- Co-authored-by: wk@gnupg.org Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2017-12-011-1/+1
| | | | --
* Release 2.4.5libassuan-2.4.5Werner Koch2017-12-011-1/+1
|
* Post release updates.Werner Koch2017-11-161-1/+1
| | | | --
* Release 2.4.4libassuan-2.4.4Werner Koch2017-11-161-1/+1
| | | | Signed-off-by: Werner Koch <wk@gnupg.org>
* Let configure create the VERSION file.Werner Koch2017-11-151-1/+2
| | | | | | | | | | * autogen.sh: Update from Libgpg-error * configure.ac: Create file VERSION. * Makefile.am (dist-hook): Do not create VERSION. (EXTRA_DIST): Add VERSION. -- GnuPG-bug-id: 3283
* Add an SPDX tag to all core files.Werner Koch2017-11-151-0/+1
| | | | --
* We can't support fd passing, if the system doesn't support it.NIIBE Yutaka2017-09-061-11/+19
| | | | | | | | | | * configure.ac (check_descriptor_passing): New. (use_descriptor_passing): Use check_descriptor_passing. -- GnuPG-bug-id: 3384 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
* configure: Add flag to disable documentation build.Marcus Brinkmann2017-06-191-0/+11
| | | | | | | | | * configure.ac: Add new option --disable-doc. (BUILD_DOC): New automake conditional. * Makefile.am (SUBDIRS): Make doc optional based on BUILD_DOC. (DISTCHECK_CONFIGURE_FLAGS): New variable. Signed-Off-By: Marcus Brinkmann <mb@g10code.com>
* build: Use macOS' compatibility macros to enable all features.Justus Winter2017-03-081-1/+2
| | | | | | | | | | | | * configure.ac: On macOS, use the compatibility macros to expose every feature of the libc. This is the equivalent of _GNU_SOURCE on GNU libc. -- Not defining this leads to compilation errors or superfluous warnings on macOS. GnuPG-bug-id: 2910 Signed-off-by: Justus Winter <justus@g10code.com>
* Post release updatesWerner Koch2016-07-141-1/+1
| | | | --
* Release 2.4.3.libassuan-2.4.3Werner Koch2016-07-141-1/+1
| | | | | | | * configure.ac: Set LT version to C7/A7/R3. * Makefile.am (distcheck-hook): New. Signed-off-by: Werner Koch <wk@gnupg.org>
* Improve test for inet_pton on Solaris.Werner Koch2016-07-131-0/+10
| | | | | | | | * configure.ac (HAVE_INET_PTON): Add a fallback test. -- GnuPG-bug-id: 1476 Signed-off-by: Werner Koch <wk@gnupg.org>
* Improve getting of max. number of open fds.Werner Koch2016-01-151-1/+2
| | | | | | | | | | | | | | | | | | | * configure.ac (AC_CHECK_FUNCS): Add getrlimit. * src/assuan-pipe-connect.c (MAX_OPEN_FDS): Remove non-used macro. * src/system.c (MAX_OPEN_FDS): Remove non-used macro. * src/system-posix.c: Include stdint.h, sys/time.h, sys/resource.h. (MAX_OPEN_FDS): Remove non-used macro. (get_max_fds): New. Taken from gnupg/common/exechelp-posix.c. (__assuan_spawn): Use it here. -- This is related to GnuPG-bug-id: 2071 Changing of get_max_fds from LPGLv3+ to LGPLv2+ approved by me as sole author or that code. Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updates.Werner Koch2015-12-021-1/+1
| | | | --
* Release 2.4.2.libassuan-2.4.2Werner Koch2015-12-021-1/+1
| | | | | | * configure.ac: Bump LT version to C7/A7/R2. Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2015-11-231-1/+1
| | | | --
* Release 2.4.1.libassuan-2.4.1Werner Koch2015-11-231-1/+1
| | | | * configure.ac: Bump LT version to C7/A7/R1.
* Post release updates.Werner Koch2015-11-031-1/+1
| | | | --
* Release 2.4.0libassuan-2.4.0Werner Koch2015-11-031-4/+4
| | | | | | * configure.ac: Bump LT version to C7/A7/Ro. Signed-off-by: Werner Koch <wk@gnupg.org>
* Use asprintf function from libgpg-error.Werner Koch2015-11-031-2/+1
| | | | | | | | | | | | | | | | | | * configure.ac: Require libgpg-error 1.17. (vasprintf): Remove ac_replace. * src/assuan-defs.h [!HAVE_VASPRINTF]: Remove replace wrapper. * src/assuan-logging.c (_assuan_log_control_channel): (_assuan_log_control_channel): s/asprintf/gpgrt_asprintf/. * src/debug.c (_assuan_debug): s/vasprintf/gpgrt_vasprintf/. (_assuan_debug_begin): Ditto. (_assuan_debug_add): Ditto. s/asprintf/gpgrt_asprintf/. -- We plan to move more code into libgpg-error/gpgrt anyway thus this is a good start which also fixes this bug: GnuPG-bug-id: 1477 Signed-off-by: Werner Koch <wk@gnupg.org>
* Support SOCKS5 for assuan_sock_connect.Werner Koch2015-10-181-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | * src/assuan-socket.c: Include netinet/in.h and arpa/inet.h. (SOCKS_PORT, TOR_PORT): New constants. (tor_mode): New variable. (_assuan_sock_set_flag): Add flags "tor-mode" and "socks". (_assuan_sock_get_flag): Ditto. (do_readn, do_writen): Always build. (socks5_connect): New. (use_socks): New. (_assuan_sock_connect): Divert to socks5_connect if requested. * tests/socks5.c: New. * configure.ac (AH_TOP): Define GPGRT_ENABLE_ES_MACROS. (AC_CHECK_FUNC): Check for getaddrinfo. * tests/Makefile.am (testtools): New. Add socks5. (AM_LDFLAGS): Add -no-install for easier debugging. -- A future extension might be a new assuan_sock_direct_connect call takes the hostname as a string and returns a new socket. This allows the proxy to do the resolving. However, in the long term these socket wrapper should be moved to libgpgrt (aka libgpg-error). Signed-off-by: Werner Koch <wk@gnupg.org>
* Post release updatesWerner Koch2015-08-281-1/+1
|