aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
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.
2006-05-052006-05-05 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+3
* configure.ac (AC_CONFIG_FILES): Add lang/Makefile and lang/cl/Makefile. * Makefile.am (SUBDIRS): Add lang. * lang: New directory. * lang/README, lang/Makefile.am: New files. * lang/cl: New directory. * lang/cl/Makefile.am, lang/cl/README, lang/cl/gpg-error.asd, lang/cl/gpg-error-package.lisp, lang/cl/gpg-error.lisp, lang/cl/mkerrcodes.awk: New files.
2006-03-142006-03-14 Marcus Brinkmann <[email protected]>libgpg-error-1.3Marcus Brinkmann1-2/+2
Released 1.3. * configure.ac (LIBGPG_ERROR_LT_REVISION): Bump for release.
2006-03-142006-03-14 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+4
Many files regenerated. * src/Makefile.am (gpg_error_CPPFLAGS, libgpg_error_la_CPPFLAGS): Add -I../intl. * Makefile.am (SUBDIRS): Add intl. * configure.ac (AC_CONFIG_FILES): Add intl/Makefile. (AM_GNU_GETTEXT_VERSION): Bump to 0.14.5. intl/ 2005-05-23 GNU <[email protected]> * Version 0.14.5 released. m4/ 2006-03-14 gettextize <[email protected]> * codeset.m4: Upgrade to gettext-0.14.5. * gettext.m4: Upgrade to gettext-0.14.5. * glibc2.m4: New file, from gettext-0.14.5. * glibc21.m4: Upgrade to gettext-0.14.5. * iconv.m4: Upgrade to gettext-0.14.5. * intdiv0.m4: Upgrade to gettext-0.14.5. * intmax.m4: New file, from gettext-0.14.5. * inttypes.m4: Upgrade to gettext-0.14.5. * inttypes_h.m4: Upgrade to gettext-0.14.5. * inttypes-pri.m4: Upgrade to gettext-0.14.5. * isc-posix.m4: Upgrade to gettext-0.14.5. * lcmessage.m4: Upgrade to gettext-0.14.5. * lib-ld.m4: Upgrade to gettext-0.14.5. * lib-link.m4: Upgrade to gettext-0.14.5. * lib-prefix.m4: Upgrade to gettext-0.14.5. * longdouble.m4: New file, from gettext-0.14.5. * longlong.m4: New file, from gettext-0.14.5. * nls.m4: Upgrade to gettext-0.14.5. * po.m4: Upgrade to gettext-0.14.5. * printf-posix.m4: New file, from gettext-0.14.5. * progtest.m4: Upgrade to gettext-0.14.5. * signed.m4: New file, from gettext-0.14.5. * size_max.m4: New file, from gettext-0.14.5. * stdint_h.m4: Upgrade to gettext-0.14.5. * uintmax_t.m4: Upgrade to gettext-0.14.5. * ulonglong.m4: Upgrade to gettext-0.14.5. * wchar_t.m4: New file, from gettext-0.14.5. * wint_t.m4: New file, from gettext-0.14.5. * xsize.m4: New file, from gettext-0.14.5. * Makefile.am (EXTRA_DIST): Add the new files. po/ 2006-03-14 gettextize <[email protected]> * Makefile.in.in: Upgrade to gettext-0.14.5. * Rules-quot: Upgrade to gettext-0.14.5.
2006-03-062006-03-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+1
* configure.ac (min_automake_version): Bump to 1.9.6. * mkinstalldirs, depcomp, compile, INSTALL, COPYING, missing, install-sh: Update from automake 1.9.6. ltmain.sh: Update from libtool 1.5.22.
2006-03-03Post-release tweaks.Marcus Brinkmann1-1/+1
2006-03-032006-03-03 Marcus Brinkmann <[email protected]>libgpg-error-1.2Marcus Brinkmann1-5/+5
* configure.ac (LIBGPG_ERROR_LT_CURRENT, LIBGPG_ERROR_LT_AGE): Bump for release. (LIBGPG_ERROR_LT_REVISION): Reset to 0 for release.
2005-11-02Changes for building on W32 without needing libintl.Werner Koch1-1/+8
2005-10-202005-10-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+2
* configure.ac: Instead checking for windres and dlltool, invoke AC_LIBTOOL_WIN32_DLL and AC_LIBTOOL_RC. * src/Makefile.am [HAVE_W32_SYSTEM]: Use libtool, which simplifies the rules.