aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
* build: Prepend the maintainer CFLAGS.Justus Winter2017-05-311-4/+8
| | | | | | | * configure.ac: Prepend the maintainer CFLAGS making it possible to override e.g. the optimization level for debugging. Signed-off-by: Justus Winter <[email protected]>
* build: Use macOS' compatibility macros to enable all features.Justus Winter2017-03-081-1/+7
| | | | | | | | | | | | * 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 <[email protected]>
* Post release updatesWerner Koch2017-02-281-1/+1
| | | | | | -- Signed-off-by: Werner Koch <[email protected]>
* Release 1.27libgpg-error-1.27Werner Koch2017-02-281-2/+2
| | | | | | | | | | * configure.ac: Bump LT version to C22/A22/R0. -- Note that C21/A21/R0 was used in 1.26 but later lost in the repo due to a merge. Signed-off-by: Werner Koch <[email protected]>
* build: Modernize autogen.sh.Werner Koch2017-01-171-18/+14
| | | | | | | | | | * autogen.sh: Update from GnuPG. * autogen.rc (version_parts): New. * configure.ac: Change to use autogen.sh --find-version helper. * Makefile.am (dist-hook): Do not create VERSION (EXTRA_DIST): Add VERSION. Signed-off-by: Werner Koch <[email protected]>
* Fix last merge.Werner Koch2017-01-031-1/+1
| | | | --
* Post release updates.Werner Koch2016-11-141-1/+1
| | | | --
* Release 1.25libgpg-error-1.25Werner Koch2016-11-141-3/+3
| | | | | | * configure.ac: Set LT version to C20/A20/R0. Signed-off-by: Werner Koch <[email protected]>
* Check the size of the time_t.Werner Koch2016-09-011-0/+14
| | | | | | | * configure.ac (AC_HEADER_TIME): New. (AC_CHECK_SIZEOF): Check size of time_t. Signed-off-by: Werner Koch <[email protected]>
* Post release updates.Werner Koch2016-07-141-1/+1
| | | | --
* Release 1.24libgpg-error-1.24Werner Koch2016-07-141-1/+1
|
* Add an option to disable testsYann E. MORIN2016-07-121-0/+5
| | | | | | | | | | | | * configure.ac: add an option to enable/disable building tests * Makefile.am: conditionally build tests -- On an embeded device, there is no reason to have the tests present in a production release build. Add a configure-time option to disable them. Signed-off-by: "Yann E. MORIN" <[email protected]>
* Post release updatesWerner Koch2016-06-151-1/+1
| | | | --
* Release 1.23libgpg-error-1.23Werner Koch2016-06-151-2/+2
|
* Post release updates.Werner Koch2016-04-251-1/+1
| | | | --
* Release 1.22.libgpg-error-1.22Werner Koch2016-04-251-3/+3
| | | | | | * configure.ac: Set LT version to C18/A18/R0. Signed-off-by: Werner Koch <[email protected]>
* Fix for HPPA.NIIBE Yutaka2016-04-251-0/+22
| | | | | | | | | | | | | | * configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): Revert. * src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Revert. * src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Revert. -- Signed-off-by: NIIBE Yutaka <[email protected]> This fixes commit 5168b97. I considered wrongly that long double were 128-bit in HPPA. Currently, all that we can do for HPPA is assuming GCC and use its extension of "aligned" attribute.
* For Solaris, add -lrt correctly.NIIBE Yutaka2016-03-031-5/+0
| | | | | | | | | | | | | | | | | | * configure.ac (LIB_SCHED_YIELD): Not avoiding defining LIB. -- This fixes commit 5168b97 for Solaris linking issue. It tried to add -lrt for build on Solaris for gpg-error, but it wrongly avoids adding it also to LIB, which actually is needed. Reported-by: Tom G. Christensen <[email protected]> Thanks also to Jörn Clausen, who submitted a report to our BTS. GnuPG-bug-id: 1671 Signed-off-by: NIIBE Yutaka <[email protected]>
* Add support for Solaris, fixing HPPA.NIIBE Yutaka2016-02-261-23/+20
| | | | | | | | | | | | * configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): Remove. (LIB_SCHED_YIELD): New. Check sched_yield in -lrt. * src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Remove. (USE_DOUBLE_FOR_ALIGNMENT, USE_LONG_DOUBLE_FOR_ALIGNMENT): New. * src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Update. -- Signed-off-by: NIIBE Yutaka <[email protected]>
* Convert http links to https where possible in the source.Daniel Kahn Gillmor2016-02-081-2/+2
| | | | | | | | | | | | | | | | -- * 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
* Post release updates.Werner Koch2015-12-121-1/+1
| | | | --
* Release 1.21.libgpg-error-1.21Werner Koch2015-12-121-2/+2
| | | | * configure.ac: Set LT version to C17/A17/Ro.
* estream: Add gpgrt_set_nonblock and gpgrt_poll.Werner Koch2015-09-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (AC_CHECK_HEADERS): Add sys/select.h and sys/time.h. * src/estream.c: Include both header if available. (COOKIE_IOCTL_NONBLOCK): New. (struct estream_cookie_fd): Add field nonblock. (func_fd_create): Set nonblock from MODEFLAGS. (es_func_fd_ioctl): New. (parse_mode): Add modeflag "nonblock". (es_fill): Map EWOULDBLOCK to EAGAIN. Do not set error indicator for EAGAIN. (es_flush, es_seek, es_write_nbf): Map EWOULDBLOCK to EAGAIN. (do_fdopen): Call COOKIE_IOCTL_NONBLOCK. (_gpgrt_set_nonblock): New. (_gpgrt_get_nonblock): New. (_gpgrt_poll): New. * src/gpg-error.h.in (struct _gpgrt_poll_s): New. (gpgrt_poll_t, es_poll_t): New. (es_set_nonblock, es_get_nonblock, es_poll): New. * src/gpg-error.vers, src/gpg-error.def.in: Add gpgrt_set_nonblock, gpgrt_get_nonblock, and gpgrt_poll. * src/visibility.c (gpgrt_set_nonblock, gpgrt_get_nonblock): New. (gpgrt_poll): New. * tests/t-common.h (DIM): New. * tests/t-poll.c: New. * tests/Makefile.am (TESTS): Add t-poll. (t_poll_LDADD): New. -- The poll interface uses select(2) internally because that is more portable than poll(2). Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2015-08-261-1/+1
| | | | --
* Release 1.20.libgpg-error-1.20Werner Koch2015-08-261-2/+2
| | | | | | * configure.ac: Set LT version to C16/A16/R0. Signed-off-by: Werner Koch <[email protected]>
* Make configure option --disable-build-timestamp the default.Werner Koch2015-08-251-9/+9
| | | | | | * configure.ac (BUILD_TIMESTAMP): Set to "<none>" by default. Signed-off-by: Werner Koch <[email protected]>
* Allow building with --disable-threads.Werner Koch2015-06-151-1/+7
| | | | | | | | | | | | | | | | | | | | * src/posix-lock-obj.h (LOCK_ABI_NOT_AVAILABLE): New. (LOCK_ABI_VERSION): Define depending on USE_POSIX_THREADS. (_gpgrt_lock_t) [!USE_POSIX_THREADS]: Do not define the union. * src/gen-posix-lock-obj.c: Take care of USE_POSIX_THREADS. * src/posix-lock.c (_gpgrt_lock_init, _gpgrt_lock_lock) (_gpgrt_lock_trylock, _gpgrt_lock_unlock) (_gpgrt_lock_destroy): Return success for a no-threads version. * tests/t-lock.c: Disable tests if threads are not available. * src/mkheader.c (main): Add NO-THREADS to the printed comment. * configure.ac: Show NO-TRHEADS in the final summary. -- Warning: Using --disable-threads creates a different ABI which we can't encode in the the cpu-vendor-os triplet. The run time checks should detect this and abort the process. Signed-off-by: Werner Koch <[email protected]>
* Post release updates.Werner Koch2015-04-101-1/+1
| | | | --
* Release 1.19.libgpg-error-1.19Werner Koch2015-04-101-2/+2
|
* w32: Add a manifest to libgpg-error.Werner Koch2015-03-061-4/+5
| | | | | | | | | | | * src/gpg-error.w32-manifest.in: New. * src/Makefile.am (EXTRA_DIST): Add it. (versioninfo.lo): Depend on it. * src/versioninfo.rc.in: Add it. * configure.ac (AC_CONFIG_FILES): Add it. (BUILD_VERSION): New. Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2015-01-261-1/+1
| | | | --
* Release 1.18.libgpg-error-1.18Werner Koch2015-01-261-2/+2
| | | | * configure.ac: Set LT version to C14/A14/R0.
* Update copyright notices.Werner Koch2015-01-261-1/+1
| | | | --
* build: Update to gettext 0.19.Werner Koch2015-01-051-1/+1
| | | | | * po/Makefile.in.in (MSGMERGE): Remove --previous. * po/Makevars (MSGMERGE_OPTIONS): Add --previous.
* build: Require automake 1.14.Werner Koch2015-01-051-2/+2
| | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Add serial-tests. * tests/Makefile.am (INCLUDES): Replace by AM_CPPFLAGS. Signed-off-by: Werner Koch <[email protected]>
* Fix commit 754a987.Werner Koch2014-12-151-2/+2
| | | | | | | * Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New. (AUTOMAKE_OPTIONS): Move options to ... * configure.ac (AM_INIT_AUTOMAKE): .. here. (BUILD_DOC): Fix commit 754a987.
* Add configure option --disable-docWerner Koch2014-12-151-2/+9
| | | | | | | | | | | | * Makefile.am (doc) [!BUILD_DOC]: Do not recurse into doc/. * configure.ac (BUILD_DOC): New am_conditional and new option. -- We have this option already for GnuPG and should use it for all projects. Embedded platforms usually do not require documentation and being able to disable the building avoids a lot of build dependencies. Suggested-by: Hans-Christoph Steiner <[email protected]>
* Post release updates.Werner Koch2014-10-151-1/+1
| | | | --
* Release 1.17.libgpg-error-1.17Werner Koch2014-10-151-3/+3
| | | | * configure.ac: Set LT version to C13/A13/R0.
* doc: Add a man page for gpg-error-config.Werner Koch2014-10-151-1/+1
| | | | | | | | | | | | * doc/gpgrt.texi: New. Just a start for now. * doc/gpl.texi, doc/lgpl.texi: New. Take from Libgcrypt. * doc/yat2m.c: New. Take from GnuPG master. * doc/Makefile.am: New. * configure.ac (AC_CONFIG_FILES): Add doc/Makefile. * Makefile.am (SUBDIRS): Add doc/. * build-aux/mdate-sh, build-aux/texinfo.tex: New. Signed-off-by: Werner Koch <[email protected]>
* Fix to help building native on Windows.Werner Koch2014-10-151-0/+7
| | | | | | | | | | | | * configure.ac (FORCE_USE_SYSCFG): New am_conditional. * src/Makefile.am: Use new conditional to decide whether to build the native lock object header. -- This should help to build using msys2 and mingw. GnuPG-bug-id: 1717 Signed-off-by: Werner Koch <[email protected]>
* Allow ./configure to explicitly set libgpg-error's build timestampDaniel Kahn Gillmor2014-09-241-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac: add --enable-build-timestamp -- A group within Debian is working on making the archive rebuildable in a reproducible way, so that the compiled binary outputs are byte-for-byte identical when built for the same platform using the same toolchain. This is useful in providing auditability and corroboration for users of the operating system. libgpg-error is very close to reproducible except for embedding the build timestamp in the generated binary. This timestamp is set in config.h during ./configure. This patch allows an external build system to set this embedded timestamp explicitly, which appears to make the package build repeatably when ./configure is called with (for example) --enable=build-timestamp=2014-09-23T01:02+0000 Debian-bug-id: 762397 (Minor reformatting and NEWS entry by wk.)
* Post release updates.Werner Koch2014-09-181-1/+1
| | | | --
* Release 1.16.libgpg-error-1.16Werner Koch2014-09-181-1/+1
| | | | * configure.ac: Set LT version to C12/A12/R2.
* Post release updates.Werner Koch2014-09-111-1/+1
| | | | --
* Release 1.15.libgpg-error-1.15Werner Koch2014-09-111-1/+1
| | | | * configure.ac: Set LT version to C12/A12/R1.
* Fix problems with ssize_t and off_t.Werner Koch2014-09-111-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | * configure.ac (AC_SYS_LARGEFILE): New. (AC_CHECK_HEADERS): Check for stdint.h. (AC_CHECK_SIZEOF): Add for int, long and long long. (REPLACEMENT_FOR_OFF_T): New ac_define. * src/mkheader.c (have_stdint_h, have_w32_system, have_w64_system) (replacement_for_off_type, stdint_h_included): New. (xfree, xstrdup): New. (parse_config_h): New. (write_special): Support "define:gpgrt_off_t", "define:gpgrt_ssize_t", "api_ssize_t" tags. (main): Add config.h arg. Call parse_config_h. Fix substitute code. * src/Makefile.am (gpg-error.h): Pass config.h to mkheader. * src/gpg-error.h.in: Include definitions for gpgrt_ssize_t and gpgrt_off_t. Let mkheader insert ssize_t keywords. Chnage all off_t to gpgrt_off_t. * src/estream.c: Change all off_t to gpgrt_off_t. Chnage all ssize_t to gpgrt_ssize_t. * src/visibility.c (gpgrt_fseeko): Use gpgrt_off_t. (gpgrt_ftello): Ditto. (gpgrt_getline): Use gpgrt_ssize_t. (gpgrt_read_line): Ditto.
* Post release updatesWerner Koch2014-09-081-1/+1
| | | | --
* Release 1.14.libgpg-error-1.14Werner Koch2014-09-081-2/+2
| | | | * configure.ac: Set LT version to C12/A12/R0.
* Add gpgrt_set_alloc_func.Werner Koch2014-08-261-0/+5
| | | | | | | | | | | | | * src/visibility.c (gpgrt_set_alloc_func): New. * configure.ac (_ESTREAM_PRINTF_REALLOC): Define. (_ESTREAM_PRINTF_EXTRA_INCLUDE): Define. * src/estream.c (mem_alloc, mem_realloc, mem_free): Simplify. (_gpgrt_free): Remove. * src/init.c (custom_realloc): New var. (_gpgrt_set_alloc_func): New. (_gpgrt_realloc, _gpgrt_malloc, _gpgrt_free): New. * src/visibility.h (gpg_err_deinit): Mark as visible.