aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
2014-09-08Release 1.14.libgpg-error-1.14Werner Koch1-2/+2
* configure.ac: Set LT version to C12/A12/R0.
2014-08-26Add gpgrt_set_alloc_func.Werner Koch1-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.
2014-08-25Add test for the estream printf functionsWerner Koch1-1/+1
* tests/t-printf.c: New. * configure.ac: Check for vasprintf. -- These tests have been taken from Libestream and changed to be more portable. For example there is only va_start per function and the test return an error only for _GLIBC_ based systems because that is what we compare against.
2014-08-25Implement symbol visibility.Werner Koch1-1/+105
* configure.ac: New option --enable-ld-version-script. (GPGRT_USE_VISIBILITY): New ac_define. (HAVE_LD_VERSION_SCRIPT): New am_conditional. * src/gpg-error.vers: New. * src/gpgrt-int.h: New. * src/visibility.c, src/visibility.h: New. Lot of changes to symbold names. -- This is only doe for the old API. The estream API needs to be added.
2014-08-25First set of changes to include estream into the API.Werner Koch1-2/+1
* configure.ac (AH_BOTTOM): Define GPGRT_ENABLE_ES_MACROS. * src/gpg-error.h.in: include stdio.h. Include most of the estream functions and rename structures and types. * src/estream.h: Rewrite. Include only gpg-error.h and local prototypes. * src/estream.c: Rename types and macros. * src/estream-printf.c (_gpgrt_estream_snprintf): Prefix public functions with _gpgrt_.
2014-08-25Add estream code from GnuPG.Werner Koch1-2/+82
* src/estream-printf.c, src/estream-printf.h: New. * src/estream.c, src/estream.h: New. * m4/estream.m4: New. * src/Makefile.am (libgpg_error_la_SOURCES): Add new files. * configure.ac (AH_BOTTOM): Define estream prefix. <gcc>: Add useful gcc warning options. (estream_INIT): Call. -- This is the base line patch to move the estream code from GnuPG to libgpg-error. The code has been taken from the GnuPG repository at commit cb680c5ea540738692a5c74951802b0fdc658e85. Signed-off-by: Werner Koch <[email protected]>
2014-08-05Use 16 byte alignment for hppa-unknown-linux-gnu.Werner Koch1-1/+22
* configure.ac (HAVE_GCC_ATTRIBUTE_ALIGNED): New. * src/gen-posix-lock-obj.c (USE_16BYTE_ALIGNMENT): Set for HPPA-Linux. (main): Enforce alignment if needed. * src/syscfg/lock-obj-pub.hppa-unknown-linux-gnu.h: Use 16 byte alignment. -- Debian-bug-id: 757060
2014-04-15Post release updates.Werner Koch1-1/+1
--
2014-04-15Release 1.13.libgpg-error-1.13Werner Koch1-2/+2
* configure.ac: Set LT version to C11/A11/R0.
2014-01-24Do not use the threadlib macros for Windows.Werner Koch1-27/+45
* configure.ac: Move platform detection before gl_THREADLIB_EARLY. Do not use gl_THREADLIB for Windows. Signed-off-by: Werner Koch <[email protected]>
2014-01-24Make multi-threading flags available via gpg-error-config.Werner Koch1-0/+12
* m4/threadlib.m4: Set THREADLIB_CPPFLAGS. * src/gpg-error-config.in: Add option --mt. * configure.ac: Add support for the --mt option. * src/gpg-error.m4: Add ac_subst GPG_ERROR_MT_CFLAGS and GPG_ERROR_MT_LIBS. -- Although, libgpg-error does not yet provide an API for multi-thread support, it is useful to add the already available detection to the config script. This allows the latest Libgcrypt to take advantage of this in its regression tests. In particular for the regression tests a gpgrt_thread functions would be useful and eventually added to libgpg-error. The new gpg-error.m4 script should already be used by other packages to be prepared for future updates.
2014-01-17Extend the platform dependent build rules.Werner Koch1-0/+3
* src/mkheader.c (mk_include_name): New. (include_file): Implement '&' substitution. (try_include_file): New. (write_special): Use try_include_file and syscfg/. (main): Add a new arg. * configure.ac (CROSS_COMPILING): New am_conditional. (HOST_TRIPLET_STRING): New ac_define. * src/gen-posix-lock-obj.c (main): Print the host triplet. * src/w32-lock-obj-pub.in: Move to ... * src/syscfg/lock-obj-pub.mingw32.h: here. * src/Makefile.am (lock_obj_pub): New. (pre_mkheader_cmds): New. (gpg-error.h): Run pre_mkheader_cmds. (parts_of_gpg_error_h, lock-obj-pub.native.h): Do not use when cross-compiling. Signed-off-by: Werner Koch <[email protected]>
2014-01-16Add gpgrt_lock_ functions.Werner Koch1-0/+18
* src/gpg-error.h.in (GPGRT_LOCK_DEFINE): New. (gpgrt_lock_init): New. (gpgrt_lock_lock): New. (gpgrt_lock_unlock): New. (gpgrt_lock_destroy): New. (gpgrt_yield): New. * src/gpg-error.def.in: Add new functions. * m4/lock.m4, m4/threadlib.m4: New. Taken from current gnulib. * configure.ac: Call gl_LOCK. Check size of pthread_mutex_t. Add LIBTHREAD to GPG_ERROR_CONFIG_LIBS. * src/err-codes.h.in (GPG_ERR_INV_LOCK_OBJ): New. * src/gen-posix-lock-obj.c: New. * src/gen-w32-lock-obj.c: New. * src/lock.h, src/thread.h: New. * src/posix-lock-obj.h, src/w32-lock-obj.h: New. * src/posix-lock.c, src/w32-lock.c: New. * src/posix-thread.c, src/w32-thread.c: * src/w32-lock-obj-pub.in: New. * src/mkheader.c (include_file): Support build time include files. (write_special): Add keyword "include:lock-obj". * src/Makefile.am: (posix-lock-obj-pub.in): New rule. (noinst_PROGRAMS): Add gen-*-lock-obj helpers. * tests/t-common.h: New. * tests/t-lock.c: New. * tests/Makefile.am (t_lock_LDADD): Add new test. -- This patch introduces the gpgrt_ functions which will be extended over time to provide a library of commonly used code in GnuPG and Libgcrypt. Having them in a library named libgpg-error is a misnomer but this way we can achieve a smooth upgrade path. In contrasts to other GnuPG libraries, the gpgrt_ functions return a simple gpg_err_code_t and not gpg_error_t. The rationale for this is that a source of error identifier does not make sense here; it is better to use the source of error identifier of the caller. This can easily be achieved in a component by wrapping these function in a gpg_error macro/inline. There is no cross-compiling support for Posix platforms; the gen-posix-lock-obj tool must be run on the target system. Note that the gen-w32-lock-obj tool is not needed at build time but was used to figure out ABI definitions for Windows. Signed-off-by: Werner Koch <[email protected]>
2014-01-10Move helper scripts to build-aux.Werner Koch1-0/+2
* compile, config.guess, config.rpath, config.sub * depcomp, install-sh, ltmain.sh, missing: Move to build-aux/. * configure.ac (AC_CONFIG_AUX_DIR): New.
2013-06-24Post release version bump.Werner Koch1-1/+1
--
2013-06-24Release 1.12.libgpg-error-1.12Werner Koch1-2/+2
* configure.ac: Set LT version to C10/A10/R0.
2013-02-25Post release vesion bump.Werner Koch1-1/+1
--
2013-02-25Release 1.11.libgpg-error-1.11Werner Koch1-3/+3
* configure.ac: Set LT version to C9/A9/R0. * Makefile.am (GITLOG_TO_CHANGELOG): New. (gen-ChangeLog): Use --tear-off. * build-aux/gitlog-to-changelog: Remove.
2013-02-23Add version macros and check function.Werner Koch1-12/+30
* configure.ac (VERSION_NUMBER): New ac_subst. (BUILD_FILEVERSION): Build on all platforms (BUILD_TIMESTAMP): Try to use an ISO string. * src/Makefile.am (extra-h.in): Add new version numbers. * src/versioninfo.rc.in: Update copyright year. * src/version.c: New. (gpg_error_check_version): New API. * src/gpg-error.h.in: Add gpg_error_check_version prototype. * src/gpg-error.def.in: Add gpg_error_check_version * tests/t-version.c: New. * tests/Makefile.am (TESTS): Add t-version.c * src/gpg-error-config.in: s/VERSION/PACKAGE_VERSION/. -- All other GnuPG libraries do this, thus we do it here as well.
2012-11-16Switch to the new automagic beta numbering scheme.Werner Koch1-23/+31
* configure.ac: Change to a git only revision id setup. (BUILD_FILEVERSION): Use revision id for this. * src/versioninfo.rc.in (FileVersion): Use LT version.
2012-11-16Improve parsing of the GIT revision number.Werner Koch1-2/+2
* configure.ac (git_revision): Use git rev-parse.
2011-12-01Fix for newer autoconf version.Werner Koch1-5/+4
* Makefile.am (EXTRA_DIST): Fix filename. * configure.ac (my_full_version): New. (AC_INIT): Use new macro. Change bug address to the bug tracker URL.
2011-04-06Prepare for a W64 target.Werner Koch1-0/+9
2011-02-23Make gpg-error-config and gpg-error.m4 more robust.Werner Koch1-8/+10
This is done by taking host prefixed config scripts names in account (as suggested by bug#1261) and adding a new config option --host to print a warning if the used config script was not built for the current host. Care has been taken not to mess things up if an old config script without the option is used or if AC_CANONICAL_HOST has not been used.
2010-12-23Support a kind of git revisionWerner Koch1-1/+5
2010-10-26Post release updatesWerner Koch1-2/+2
2010-10-26Prepare 1.10libgpg-error-1.10Werner Koch1-3/+3
2010-09-16Update pl.po.Werner Koch1-1/+1
Updated to gettext 0.1.17 Add a new error code.
2010-08-19Require new GPG_ERR_ENABLE_ERRNO_MACROS define to include the strerrorWerner Koch1-4/+5
define.
2010-07-21Add gpg_err_deinitlibgpg-error-1.9Werner Koch1-3/+3
Prepare a new release.
2010-05-06post release updatesWerner Koch1-2/+2
2010-05-06prepare a releaselibgpg-error-1.8Werner Koch1-7/+6
2010-03-15Fix type in macro name.Werner Koch1-1/+0
Set generated header to read-only.
2010-03-09Add macro to enable gettext macros.Werner Koch1-0/+2
2010-02-16Minor fixes.Werner Koch1-0/+1
2010-01-18Add some code to build nativley under WindowsCE - not finished.Werner Koch1-1/+11
2009-06-232009-06-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-3/+5
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/Makefile.am (LTRCCOMPILE): Refactor with ... (RCCOMPILE): ... this new macro. Add $(libgpg_error_la_CPPFLAGS). (SUFFIXES): Add .lo. (.rc.o): Change to ... (.rc.lo): ... this implicit rule. (gpg_error_res_ldflag): Removed. (gpg_error_res): Use libtool object file name here. (install-def-file): Fix typo. (libgpg_error_la_LDFLAGS): Remove gpg_error_res_ldflag usage. (libgpg_error_la_LIBADD): Add gpg_error_res.
2008-11-26Post release updates.Werner Koch1-2/+2
2008-11-26Preparing a release.libgpg-error-1.7Werner Koch1-5/+5
2008-08-06Add a new error code.Werner Koch1-1/+2
2007-10-29post release updateWerner Koch1-2/+2
2007-10-29Preparing a releaselibgpg-error-1.6Werner Koch1-4/+4
2007-08-032007-08-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+6
* configure.ac: Allow --disable-languages. * Makefile.am [!LANGUAGES_SOME]: Don't add lang to subdirs. * m4/inttypes-h.m4, m4/lock.m4, m4/visibility.m4: New files.
2007-08-032007-08-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+1
* configure.ac: Call AM_PROG_CC_C_O. * autogen.sh: Use = not == in test. * lang/cl/Makefile.am: Do not use :=, but =.
2006-11-30Post release version number bumpWerner Koch1-2/+2
2006-11-30* configure.ac: Set LT version to C3/A3/R1.libgpg-error-1.5Werner Koch1-2/+2
* README: Switch to tar.bz2 and sha1sum. * src/gpg-error.c (main): Add option --version. * autogen.sh (FORCE): Add option --force. * intl/: Removed. * Makefile.am (SUBDIRS): Removed intl. * configure.ac (AM_GNU_GETTEXT): Use external flag * src/Makefile.am: Removed -I../intl.
2006-11-30Removed included gettext and updated latest gettextWerner Koch1-9/+25
2006-09-14Post release updatesWerner Koch1-1/+1
2006-09-14Ready for a new releaselibgpg-error-1.4Werner Koch1-4/+6
2006-05-252006-05-25 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* lang/cl/gpg-error.asd: Renamed to ... * lang/cl/gpg-error.asd.in: ... this. * configure.ac (AC_CONFIG_FILES): Add lang/cl/gpg-error.asd.in.