aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-01-28Release 1.35libgpg-error-1.35gpgrt-1.35Werner Koch1-1/+1
-- Because gpgrt-config is not anymore generated from gpgrt-config.in and a stale (generated) gpgrt-config was hanging around in the build directory the make distcheck target didn't caught this situation and we accidently distributed the old gpgrt-config from the build directory. Signed-off-by: Werner Koch <[email protected]>
2019-01-16Post release updatesWerner Koch1-1/+1
--
2019-01-16Release 1.34libgpg-error-1.34gpgrt-1.34Werner Koch1-2/+2
* configure.ac: Bump LT version to C26/A26/R0. Signed-off-by: Werner Koch <[email protected]>
2019-01-10build: Build with LD_LIBRARY_PATH, use of DT_RPATH (2/2).NIIBE Yutaka1-3/+6
* configure.ac (LDADD_FOR_TESTS_KLUDGE): New for --disable-new-dtags. * tests/Makefile.am (LDADD): Use LDADD_FOR_TESTS_KLUDGE. (t_lock_LDADD, t_poll_LDADD): Use LDADD. -- GnuPG-bug-id: 4298 Signed-off-by: NIIBE Yutaka <[email protected]>
2019-01-10build: Build with LD_LIBRARY_PATH, use of DT_RPATH (1/2).NIIBE Yutaka1-0/+32
* configure.ac: Check against --disable-new-dtags. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-12-07Post release updatesWerner Koch1-1/+1
--
2018-12-07Release 1.33.libgpg-error-1.33gpgrt-1.33Werner Koch1-3/+3
* configure.ac: Set LT version to C25/A25/R0. GnuPG-bug-id: 4205 Signed-off-by: Werner Koch <[email protected]>
2018-10-29gpgrt-config: Better architecture independent support.NIIBE Yutaka1-12/+0
* configure.ac: Don't generate gpgrt-config. * src/gpgrt-config: Rename from gpgrt-config.in. (--prefix, --exec-prefix, --libdir): Use --libdir to determine PKG_CONFIG_LIBDIR. * src/Makefile.am (EXTRA_DIST): Remove gpgrt-config.in. * src/gpg-error-config-test.sh: Fix for path to gpgrt-config. * src/gpg-error.m4: Provide --prefix, --exec-prefix, --libdir option from configure. Don't use CC because we have --libdir. Bump version date. * src/gpgrt.m4: Likewise. -- Considering multilib support as well as multiarch support, it is better to provide the information for PKG_CONFIG_LIBDIR by --libdir directly, instead of CC. Difficulty is that configure allows variable reference like: --libdir='${exec_prefix}/i386-linux' So, it should also support --prefix and --exec_prefix options. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-10-25gpg-error-config: Keep old gpg-error-config implementation.NIIBE Yutaka1-1/+1
* configure.ac: Generate gpgrt-config from gpgrt-config.in. * src/gpgrt-config.in: Rename from src/gpg-error-config-new.in. * src/Makefile.am (bin_SCRIPTS): Add gpgrt-config. (EXTRA_DIST): Add gpgrt-config.in removing gpg-error-config-new.in. (BUILT_SOURCES, CLEANFILES): Remove gpgrt-config. (gpg-error-config): Always copy from gpg-error-config-old. * src/gpg-error-config-test.sh: Follow the rename. -- The gpgrt-config script is new implementation supporting *.pc file, while gpg-error-config keeps old single shell script. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-10-23build: Fix detecting build on multiarch environment.NIIBE Yutaka1-7/+10
* configure.ac: Rough match by shell pattern. -- Since libdir is i386-linux-gnu on Debian i686-linux-gnu machine, exact match to host_alias didn't work. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-10-23gpg-error-config: Fix cross build support.NIIBE Yutaka1-1/+1
* configure.ac: Fix regexp matching multiarch environment. * src/gpg-error-config-new.in: Support standard cross build. Handle the case where $multiarch != $triplet. -- For standard cross build, use @exec_prefix@/$triplet/lib/pkgconfig. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-10-22gpg-error-config: Support "auto", architecture independent script.NIIBE Yutaka1-1/+7
* configure.ac (pkg_config_libdir): Set it "auto" when it looks multiarch environment. * src/gpg-error-config-new.in: Automatically detects the triplet. -- The triplet detection mechanism is not sufficient. It's up to distributions to apply more changes (in distribution specific way). Signed-off-by: NIIBE Yutaka <[email protected]>
2018-10-17gpg-error-config: Fix PKG_CONFIG_LIBDIR support.NIIBE Yutaka1-0/+2
* configure.ac (pkg_config_libdir): New. * src/gpg-error-config-new.in: Use pkg_config_libdir. -- PKG_CONFIG_LIBDIR is not mere libdir but should include 'pkgconfig'. Signed-off-by: NIIBE Yutaka <[email protected]>
2018-09-11Make gpg-error-config compatible to pkg-config.NIIBE Yutaka1-1/+3
* configure.ac (AC_CONFIG_FILES): Generate src/gpg-error.pc, as well as src/gpg-error-config-old and src/gpg-error-config-new. * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New. (EXTRA_DIST): Add gpg-error-config-new.in, gpg-error-config-test.sh, and gpg-error.pc.in. (CLEANFILES): Add gpg-error-config gpg-error-config-test.log. (TESTS): New. (gpg-error-config): New target. * src/gpg-error-config-new.in: New. * src/gpg-error-config-test.sh: New. * src/gpg-error.pc.in: New. * src/gpg-error.m4 (GPG_ERROR_MT_CFLAGS): Use --variable. (GPG_ERROR_MT_LIBS, gpg_error_config_host): Likewise. -- This change is to privide gpg-error.pc for pkg-config, so that developers can use pkg-config to configure their applications. The gpg-error-config script is also kept supported for applications which want to avoid dependency of pkg-config. Note that new gpg-error-config script uses gpg-error.pc as master data, so that it can keep compatibility to pkg-config easily. In the new gpg-error-config script, features are added to increase compatibility to pkg-config, like --variable option and multiple module support. However, it is not meant to oriented to be a full-fledged version of pkg-config, only a small set of features is supported. To be conservative, new gpg-error-config is checked at build time against old gpg-error-config. On the host which fails, old gpg-error-config will be installed with a warning. GnuPG-bug-id: 4085 Signed-off-by: NIIBE Yutaka <[email protected]>
2018-09-04gpg-error-config: Determine output at configure time.NIIBE Yutaka1-4/+39
* src/gpg-error-config.in (isubdirafter): Remove. Also for --cflags and --libs. * configure.ac (GPG_ERROR_CONFIG_ISUBDIRAFTER): Remove. (GPG_ERROR_CONFIG_CFLAGS): Add -idirafter gpg-extra for W32CE. (GPG_ERROR_CONFIG_CFLAGS): Decide here if adding -I$includedir. (GPG_ERROR_CONFIG_LIBS): Decide here if adding -L$libdir. -- Don't do string substitution at the time of its command invocation, but let it determine at configure time.
2018-07-12Post release updatesWerner Koch1-1/+1
--
2018-07-12Release 1.32libgpg-error-1.32Werner Koch1-1/+1
Signed-off-by: Werner Koch <[email protected]>
2018-07-11build: Use AX_CC_FOR_BUILD and EXEEXT.NIIBE Yutaka1-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]>
2018-07-11doc: Now, yat2m is a standard tool.NIIBE Yutaka1-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]>
2018-05-02Post release updatesWerner Koch1-1/+1
--
2018-05-02Release 1.31.libgpg-error-1.31Werner Koch1-1/+1
* configure.ac: Set LT version to C24/A24/R2.
2018-04-30Post release updatesWerner Koch1-1/+1
--
2018-04-30Release 1.30.libgpg-error-1.30Werner Koch1-1/+1
* configure.ac: Bump LT version to C24/A/24/R1. Signed-off-by: Werner Koch <[email protected]>
2018-04-12build: Check -lsocket -lnsl for Solaris.NIIBE Yutaka1-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]>
2018-04-11Post release updatesWerner Koch1-1/+1
--
2018-04-11Release 1.29libgpg-error-1.29gpgrt-1.29Werner Koch1-2/+2
* configure.ac: Bump LT version to C24/A24/R0. Signed-off-by: Werner Koch <[email protected]>
2018-03-27doc: Support cross compilation for yat2m.NIIBE Yutaka1-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]>
2018-03-22doc: Fix build and installation of yat2m.NIIBE Yutaka1-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]>
2018-03-21core: Add the group of argparse functions.Werner Koch1-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]>
2018-03-13Post release updatesWerner Koch1-1/+1
--
2018-03-13Release 1.28libgpg-error-1.28gpgrt-1.28Werner Koch1-2/+2
Signed-off-by: Werner Koch <[email protected]>
2018-03-13build: Update copyright notices and remove gpgscm from the release.Werner Koch1-7/+7
-- Signed-off-by: Werner Koch <[email protected]>
2017-11-29core: Implement the spawn functions.Werner Koch1-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]>
2017-11-28core: New API functions gpgrt_mkdir, gpgrt_chdir, gpgrt_getcwd.Werner Koch1-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]>
2017-11-28core: Prepare to build with gpgscm.Werner Koch1-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]>
2017-11-17w32: Add new API fucntion gpgrt_w32_reg_query_string.Werner Koch1-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]>
2017-11-17New configure options and macros for internal use.Werner Koch1-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]>
2017-10-05gpgscm: Add required configure checks.Werner Koch1-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]>
2017-05-31build: Prepend the maintainer CFLAGS.Justus Winter1-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]>
2017-03-08build: Use macOS' compatibility macros to enable all features.Justus Winter1-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]>
2017-02-28Post release updatesWerner Koch1-1/+1
-- Signed-off-by: Werner Koch <[email protected]>
2017-02-28Release 1.27libgpg-error-1.27Werner Koch1-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]>
2017-01-17build: Modernize autogen.sh.Werner Koch1-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]>
2017-01-03Fix last merge.Werner Koch1-1/+1
--
2016-12-21Post release updatesrelease-1.26Werner Koch1-1/+1
--
2016-12-21Release 1.26libgpg-error-1.26Werner Koch1-2/+2
* configure.ac: Bump LT version to C21/A21/R0. Signed-off-by: Werner Koch <[email protected]>
2016-11-14Post release updates.Werner Koch1-1/+1
--
2016-11-14Release 1.25libgpg-error-1.25Werner Koch1-3/+3
* configure.ac: Set LT version to C20/A20/R0. Signed-off-by: Werner Koch <[email protected]>
2016-09-01Check the size of the time_t.Werner Koch1-0/+14
* configure.ac (AC_HEADER_TIME): New. (AC_CHECK_SIZEOF): Check size of time_t. Signed-off-by: Werner Koch <[email protected]>
2016-07-14Post release updates.Werner Koch1-1/+1
--