aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* build: Use AX_CC_FOR_BUILD and EXEEXT.NIIBE Yutaka2018-07-111-11/+1
| | | | | | | | | | | | | | * 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 <[email protected]> Fixes-commit: 6eb80abcde5ad776379069871e4156b28ef69712 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Now, yat2m is a standard tool.NIIBE Yutaka2018-07-111-4/+0
| | | | | | | | | | | | * configure.ac (YAT2M, HAVE_YAT2M): Remove. * doc/Makefile.am: Always use yat2m which comes with this source. -- Suggested-by: Michael Haubenwallner <[email protected]> Fixes-commit: 4dc6d4d2067c726cdb13593bf151637319ff65e6 Signed-off-by: NIIBE Yutaka <[email protected]>
* Post release updatesWerner Koch2018-05-021-1/+1
| | | | --
* Release 1.31.libgpg-error-1.31Werner Koch2018-05-021-1/+1
| | | | * configure.ac: Set LT version to C24/A24/R2.
* Post release updatesWerner Koch2018-04-301-1/+1
| | | | --
* Release 1.30.libgpg-error-1.30Werner Koch2018-04-301-1/+1
| | | | | | * configure.ac: Bump LT version to C24/A/24/R1. Signed-off-by: Werner Koch <[email protected]>
* build: Check -lsocket -lnsl for Solaris.NIIBE Yutaka2018-04-121-0/+14
| | | | | | | | | | | | | * configure.ac: Check inet_addr for -lnsl, and socket for -lsocket. -- Once I used LIB_SOCKET_NSL for the variable name, but it is already used by AX_LIB_SOCKET_NSL in autoconf-archive as an alias of the macro. So, I changed the variable name. GnuPG-bug-id: 3869 Signed-off-by: NIIBE Yutaka <[email protected]>
* Post release updatesWerner Koch2018-04-111-1/+1
| | | | --
* Release 1.29libgpg-error-1.29gpgrt-1.29Werner Koch2018-04-111-2/+2
| | | | | | * configure.ac: Bump LT version to C24/A24/R0. Signed-off-by: Werner Koch <[email protected]>
* doc: Support cross compilation for yat2m.NIIBE Yutaka2018-03-271-8/+3
| | | | | | | | | | | | * configure.ac (HAVE_YAT2M): New. * doc/Makefile.am [CROSS_COMPILING]: Supported. -- Makefile portability is also improved. Fixes-commit: 4dc6d4d2067c726cdb13593bf151637319ff65e6 Signed-off-by: NIIBE Yutaka <[email protected]>
* doc: Fix build and installation of yat2m.NIIBE Yutaka2018-03-221-0/+8
| | | | | | | | | | | | | * configure.ac (YAT2M): Require it when cross compiling. * doc/Makefile.am (bin_PROGRAMS): Add yat2m. -- Before 1.28, yat2m used to be an internal tool. Now, it's a standard tool. For native build, it is built and used for initial installation. For cross build, it is required on the build system. Signed-off-by: NIIBE Yutaka <[email protected]>
* core: Add the group of argparse functions.Werner Koch2018-03-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/visibility.c (gpgrt_argparse): New. (gpgrt_strusage): New. (gpgrt_set_strusage): New. (gpgrt_set_usage_outfnc): New. (gpgrt_set_fixed_string_mapper): New. * src/gpg-error.def.in, src/gpg-error.vers: Add new functions. * src/gpg-error.h.in: Add ARGPARSE macros from the former argparse.h. (gpgrt_argparse_t): New. (gpgrt_opt_t): New. * configure.ac (AH_BOTTOM): Request argparse macros. * src/Makefile.am (libgpg_error_la_SOURCES): Add argparse.c. * src/argparse.h: Remove. * src/argparse.c: Revamp to fit into libgpg-error. (_gpgrt_argparse): New. (_gpgrt_usage): Rename from usage. (_gpgrt_strusage): Rename from strusage. Define two new levels and templates for three common licenses. (_gpgrt_set_strusage): Rename from set_strusage. (_gpgrt_set_usage_outfnc): New. (_gpgrt_set_fixed_string_mapper): New. * tests/t-argparse.c: New. -- These functions are in use by GnuPG and other software for 20 years and it makes sense to have them always available instead of copying and maintaing the source in several projects. Note that there are minor changes in the API compared to GnuPG. Signed-off-by: Werner Koch <[email protected]>
* Post release updatesWerner Koch2018-03-131-1/+1
| | | | --
* Release 1.28libgpg-error-1.28gpgrt-1.28Werner Koch2018-03-131-2/+2
| | | | Signed-off-by: Werner Koch <[email protected]>
* build: Update copyright notices and remove gpgscm from the release.Werner Koch2018-03-131-7/+7
| | | | | | -- Signed-off-by: Werner Koch <[email protected]>
* core: Implement the spawn functions.Werner Koch2017-11-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/gpg-error.h.in (GPGRT_SPAWN_NONBLOCK): New const. (GPGRT_SPAWN_RUN_ASFW): New const. (GPGRT_SPAWN_DETACHED): New const. (gpgrt_make_pipe): New function. (gpgrt_create_pipe): New macro. (gpgrt_create_inbound_pipe): New macro. (gpgrt_create_outbound_pipe): New macro. (gpgrt_spawn_process): New function. (gpgrt_spawn_process_fd): New function. (gpgrt_spawn_process_detached): New function. (gpgrt_wait_process): New function. (gpgrt_wait_processes): New function. (gpgrt_kill_process): New function. (gpgrt_release_process): New function. * src/gpg-error.def.in, src/gpg-error.vers: Add new functions. * src/visibility.c, src/visibility.h: Add wrappers for new functions. * src/spawn-posix.c: Rework to better fit the use in gpgrt. Rename all public function with a _gpgrt prefix. * src/spawn-w32.c: Ditto. * src/gpgrt-int.h: Likewise. * src/Makefile.am (arch_sources): Add spawn-posix.c and spawn-w32.c. * src/w32-add.h: Add pid_t typedef as a temporary hack. * configure.ac: Check for signal.h and getrlimit. (AC_FUNC_FORK): New. -- This does build but porting the tests and further changes are required. Don't assume that the API for the new fucntions is stable. Signed-off-by: Werner Koch <[email protected]>
* core: New API functions gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd.Werner Koch2017-11-281-2/+4
| | | | | | | | | | | | | | | | | | | | | | * 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 <[email protected]>
* core: Prepare to build with gpgscm.Werner Koch2017-11-281-1/+15
| | | | | | | | | | | | * configure.ac: New option --enable-gpgscm. Create gpgscm/Makefile. (GPGRT_ENABLE_LOG_MACROS): Define. * Makefile.am (SUBDIRS): Add gpgscm * src/logging.c (_gpgrt_logv_clock): Do not use the log_debug macro. -- Note that gpscm does not yet build. Signed-off-by: Werner Koch <[email protected]>
* w32: Add new API fucntion gpgrt_w32_reg_query_string.Werner Koch2017-11-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | * src/w32-reg.c: New. * src/w32-add.h: Add gpgrt_w32_reg_query_string. * src/visibility.c (gpgrt_w32_reg_query_string): New wrapper. * src/gpg-error.def.in: Add gpgrt_w32_reg_query_string. * configure.ac (ac_check_funcs): Add stpcpy. * src/Makefile.am (arch_sources): Add w32-reg.c (socklibs): New. (libgpg_error_la_LIBADD): Add socklibs. * src/gpgrt-int.h (xfree, xtrymalloc, xtrycalloc) (xtryrealloc): New internal macros. (_gpgrt_stpcpy, stpcpy): New replacement fucntion and macro. * src/logging.c (_gpgrt_logv_internal): Use new registry query function and add standard registry key. -- This also fixes the build failure on Widnwos for logging.c. The code for gpgrt_w32_reg_query_string has been taken from the function read_w32_registry_string in w32-utils.c in the GPGME package. Signed-off-by: Werner Koch <[email protected]>
* New configure options and macros for internal use.Werner Koch2017-11-171-0/+29
| | | | | | | | | | | | | * configure.ac: Add option --enable-log-clock. * configure.ac: Add option --enable-werror. * src/sysutils.c: New. * src/Makefile.am (libgpg_error_la_SOURCES): Add sysutils.c * src/gpgrt-int.h: Add internal i18n macros and hacks to make working with sockets easier. (es_stdin, es_stdout, es_stderr): New internal macros. (snprintf): New macro. Signed-off-by: Werner Koch <[email protected]>
* gpgscm: Add required configure checks.Werner Koch2017-10-051-2/+6
| | | | | | | | * configure.ac: Add new checks. * m4/readline.m4: New. Taken from gnupg. * m4/Makefile.am (EXTRA_DIST): Add it. Signed-off-by: Werner Koch <[email protected]>
* 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
|