aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (unfollow)
Commit message (Collapse)AuthorFilesLines
2015-06-08Post release updatesWerner Koch1-2/+2
--
2015-06-08Release 1.5.5gpgme-1.5.5Werner Koch1-3/+3
2015-04-13Post release updates.Werner Koch1-2/+2
--
2015-04-13Release 1.5.4.gpgme-1.5.4Werner Koch1-4/+4
2015-01-30Switch to automake 1.14 and update build-aux files.Werner Koch1-4/+2
Signed-off-by: Werner Koch <[email protected]>
2014-12-11Post release updates.Werner Koch1-3/+3
--
2014-12-11Release 1.5.3.gpgme-1.5.3Werner Koch1-1/+1
* configure.ac: Set LT version to C24/A13/R2.
2014-11-21Post release updatesWerner Koch1-1/+1
--
2014-11-21Release 1.5.2.gpgme-1.5.2Werner Koch1-1/+1
* configure.ac: Set LT version to C24/A13/R1.
2014-10-02build: Implement SYSROOT feature.origin/bjk/masterWerner Koch1-0/+10
* configure.ac: Document SYSROOT. * m4/gpg-error.m4: Update from libgpg-error master. * src/gpgme.m4: Implement SYSROOT stuff.
2014-07-30Post release updates.Werner Koch1-1/+1
--
2014-07-30Release 1.5.1gpgme-1.5.1Werner Koch1-2/+2
* configure.ac: Change LT version to C24/A13/R0.
2014-05-21Post release updatesWerner Koch1-1/+1
--
2014-05-21Release 1.5.0.gpgme-1.5.0Werner Koch1-2/+2
* configure.ac: Change LT version to C22/A11/R0.
2014-03-13Add configure option --enable-fixed-path.Werner Koch1-0/+11
* configure.ac: Add option --enable-fixed-path. (FIXED_SEARCH_PATH): New ac_define. * src/posix-util.c (walk_path): Make use of the option. Remove current directory from fallback PATH. -- Note that using this option PATH is entirely ignored by GPGME and only the given value is used instead to locate the GnuPG binaries. On Android the use of PATH is not desirable. Instead the GnuPG tools are expected in a fixed directory. By using ./configure --enable-fixed-path="/foo/bar" gpg et al are expected to be installed as /foo/bar/gpg. With ./configure --enable-fixed-path="/foo/bar:/bin" gpg is expected as /foo/bar/gpg or /bin/gpg.
2014-01-10Use the generic autogen.sh script.Werner Koch1-0/+1
* autogen.rc: New. * Makefile.am (EXTRA_DIST): Add it. * autogen.sh: Update from GnuPG. * configure.ac (AM_SILENT_RULES): New.
2014-01-07Set next version to 1.5.0Werner Koch1-2/+2
--
2013-12-27Locate engine names only at runtime and prefer GnuPG-2.Werner Koch1-485/+27
* configure.ac (NEED_GPG_VERSION, NEED_GPGSM_VERSION) (NEED_G13_VERSION, NEED_GPGCONF_VERSION): Remove vars and all related checks. Do not check for any engine version. (HAVE_ASSUAN): Remove AM conditional. * src/Makefile.am: Remove separate component vars and always build all engines but uiserver. * src/dirinfo.c (WANT_GPGCONF_NAME): New. (struct dirinfo): Add field gpgconf_name. (_gpgme_get_default_gpgconf_name): Use WANT_GPGCONF_NAME. (get_gpgconf_item): Set gpgconf name and adjust for _gpgme_get_*_path now returning a malloced string. * src/engine.c (engine_ops): Always init all engines except for uiserver. * src/posix-util.c (_gpgme_get_gpgsm_path, _gpgme_get_g13_path): Remove unused functions. (walk_path): New. (_gpgme_get_gpg_path, _gpgme_get_gpgconf_path ): Re-implement using walk_path. * src/w32-util.c (_gpgme_get_gpgsm_path, _gpgme_get_g13_path): Remove unused functions. (_gpgme_get_gpg_path, _gpgme_get_gpgconf_path): Return a malloced string. * src/engine-g13.c (g13_get_req_version): Use a hardwired string with the required version. This info belongs into this file. * src/engine-gpg.c (gpg_get_req_version): Ditto. * src/engine-gpgconf.c (gpgconf_get_req_version): Ditto. * src/engine-gpgsm.c (gpgsm_get_req_version): Ditto. * tests/t-engine-info.c: Replace now useless test by an info output. * tests/gpg/Makefile.am (GPG, GPG_AGENT): Hardwire gpg and gpg-agent. * tests/gpgsm/Makefile.am (GPGSM): Hardwire gpgsm. Signed-off-by: Werner Koch <[email protected]>
2013-08-12Release 1.4.3.gpgme-1.4.3Werner Koch1-2/+2
* configure.ac: Change LT version to C22/A11/R0.
2013-08-12Improve detection of default gpg by configure.Werner Koch1-108/+146
* configure.ac: Move test for gpgconf before test for gpg. (GPG, GPGSM, G13): Use gpgconf instead of AC_PATH_PROG if possible. -- This change is required so that the t-engine-info test does not fail. In any case, it is a good idea to use gpgconf for these test because this is how it works at runtime.
2013-08-02Prefer GnuPG-2 engines over GnuPG-1.Werner Koch1-1/+5
* src/util.h: Move some prototypes to ... * src/sys-util.h: New. * src/Makefile.am (main_sources): Add sys-util.h. * configure.ac (AH_VERBATIM): Add DIRSEP_C and DIRSEP_S. * src/dirinfo.c: Include sys-util.h. (WANT_GPG_NAME, WANT_GPGSM_NAME, WANT_G13_NAME) (WANT_UISRV_SOCKET): New. (dirinfo): Add corresponding fields. (parse_output): Add arg COMPONENTS and set new fields. (read_gpgconf_dirs): Add arg components and act upon it. (get_gpgconf_item): Call read_gpgconf_dirs two times. Add debug output. (_gpgme_get_default_gpg_name): New. (_gpgme_get_default_gpgsm_name): New. (_gpgme_get_default_g13_name): New. (_gpgme_get_default_gpgconf_name): New. (_gpgme_get_default_uisrv_socket): New. * src/engine-gpg.c, src/engine-g13.c, src/engine-gpgconf.c * src/engine-gpgsm.c, src/engine-uiserver.c: Change to use _gpgme_get_default_ instead of those from sys-util.h. * src/posix-util.c (_gpgme_get_gpg_path): Include sys-util.h. (_gpgme_get_uiserver_socket_path): Remove. * src/w32-util.c (_gpgme_get_gpg_path): Include sys-util.h. (_gpgme_get_uiserver_socket_path): Remove. -- The default engines names are now taken from the output of gpgconf. If gpgconf is not installed gpg 1 is assumed and locate the same was as gpgconf.
2013-05-28Post release version bump.Werner Koch1-1/+1
--
2013-05-28Release 1.4.2.gpgme-1.4.2Werner Koch1-3/+3
* configure.ac: Set LT version to C21/A10/R0.
2013-05-16Make definition of off_t robust against misbehaving w32 toolchains.Werner Koch1-15/+21
* configure.ac (NEED__FILE_OFFSET_BITS): Change to define gpgme_off_t and gpgme_ssize_t. (API__OFF_T, API__SSIZE_T): New ac_subst. * src/gpgme.h.in: Replace all ssize_t and off_t by ac_subst macros. * src/assuan-support.c, src/ath-pthread.c, src/ath.c, src/ath.h * src/data-compat.c, src/data-fd.c, src/data-mem.c, src/data-stream.c * src/data-user.c, src/data.c, src/data.h, src/engine-gpgsm.c * src/engine-uiserver.c, src/gpgme-tool.c, src/gpgme.c: Replace off_t by gpgme_off_t and sszie_t by gpgme_ssize_t. * src/ath-pthread.c, src/ath.h: Include gpgme.h. -- For a detailed description, see the gpgme.texi diff.
2013-05-01Post release version bump.Werner Koch1-1/+1
--
2013-05-01Release 1.4.1.gpgme-1.4.1Werner Koch1-1/+1
* configure.ac: Bump LT version to C20/A9/R1.
2013-05-01Disable fd-passing for Apple.Werner Koch1-1/+12
* configure.ac: Disable fd-passing by default for Apple. -- We have not yet tracked down the problem, thus we revert to the pre-1.4 behaviour for Apple. GnuPG-bug-id: 1483
2013-04-29Fix for i686-w64-mingw32.Werner Koch1-6/+8
* configure.ac (NEED__FILE_OFFSET_BITS): Do not define under Windows.
2013-02-26Post release version number bump.Werner Koch1-1/+1
--
2013-02-26Release 1.4.0.gpgme-1.4.0Werner Koch1-3/+3
* configure.ac: Bump LT version to C20/A9/R0.
2013-02-26Enable FD passing and thus building of the UI-server.Werner Koch1-2/+2
* configure.ac: Make --enable-fd-passing the default. * src/engine-uiserver.c (_gpgme_engine_ops_uiserver): Syntax fix.
2013-02-26w32: Hacks for building with 32 bit mingw64.Werner Koch1-1/+5
* configure.ac (INSERT__TYPEDEFS_FOR_GPGME_H): Add hacks for 32 bit mingw64. * src/util.h [W32]: Include winsock2.h before windows to make mingw64 happy. * src/w32-util.c (_WIN32_IE): Need to use 5.1 for mingw64. -- It is not clear to me what mingw64 wants to achieve with their POSIX hacks. In particular the off64_t stuff looks quite strange given that Windows has a pretty stable API for close to 2 decades. Thus I can't say whether it will really work when build with that toolchain.
2013-02-26Improve missing libgpg-error reporting in configure.Werner Koch1-2/+17
* configure.ac (NEED_GPG_ERROR_VERSION): New. Improve reporting for missing libgpg-error.
2013-02-26Change the various version numbers to the new scheme.Werner Koch1-46/+53
* configure.ac: Rename my_foo variables to mym4_foo variables to make clear that they are processed by m4. (VERSION_NUMBER): New ac_subst. (AH_BOTTOM): Add CRIGHTBLURB macro. (BUILD_REVISION, BUILD_FILEVERSION, BUILD_TIMESTAMP): Change them to work similar to libgpg-error et al. * src/versioninfo.rc.in: Remove use of BUILD_NUMBER and get it in line with gpg-error et al. * src/version.c (cright_blurb): New. (gpgme_check_version_internal): Add magic to display the above information. * tests/t-version.c (main): Add option --verbose.
2013-02-26Update helper scripts.Werner Koch1-4/+5
* configure.ac: Use AC_CONFIG_AUX_DIR. Remove args from AM_INIT_AUTOMAKE. Replace AM_CONFIG_HEADER by AC_CONFIG_HEADER. * compile, config.guess, config.sub, depcomp, install-sh, ltmain.sh * mkinstalldirs, texinfo.texi: Move to build-aux/ and update from gnulib (c042abf). * build-aux/mdate-sh, build-aux/missing: Install via automake -a -c. Update autogen.sh for changed config dir. * autogen.sh: Adjust for scripts dir change. Update W32 toolprefix list.
2013-02-25Remove included gitlog-to-changelog.Werner Koch1-2/+3
* build-aux/gitlog-to-changelog: Remove. * configure.ac (GITLOG_TO_CHANGELOG): Default to just gitlog-to-changelog.
2013-02-12Declare next version to be 1.4.0Werner Koch1-2/+2
--
2013-02-12Add macro GPGME_VERSION_NUMBER.Werner Koch1-2/+7
* src/gpgme.h.in (GPGME_VERSION_NUMBER): New. * configure.ac (my_version_major, my_version_minor) (my_version_micro): New m4 macros. (my_version): Build from new m4 macros. (VERSION_NUMBER): New ac_subst.
2012-11-16Improve parsing of the GIT revision number.Werner Koch1-6/+5
* configure.ac (git_revision): Use git rev-parse.
2012-10-24Make local variables configure hack more robustWerner Koch1-1/+1
* configure.ac (emacs_local_vars_begin): Use extra m4 quoting so that newer Emscasen won't take it up as Local Variables for this file.
2012-10-24Fix ttyname problem on Android.Werner Koch1-0/+9
* configure.ac: Define macro and conditional HAVE_ANDROID_SYSTEM. * m4/gnupg-ttyname.m4: Force use of replacement on Android. * src/ttyname_r.c: Ditto. -- Android's bionic lib has no working ttyname_r() nor ttyname(). Using them anyway will print FIX ME! implement ttyname_r() bionic/libc/bionic/stubs.c:466 Thus we force the use of our replacement code which simply return "/dev/tty".
2012-05-02Post release updates.Werner Koch1-2/+2
--
2012-05-02Release 1.3.2.gpgme-1.3.2Werner Koch1-13/+14
* configure.ac: Bump LT version to C19/A8/R1. * configure.ac (GITLOG_TO_CHANGELOG): Define. * Makefile.am (gen-ChangeLog): Use it.
2012-01-19Fix Solaris problems with ttyname_r.Werner Koch1-2/+1
* m4/gnupg-ttyname.m4: New. Based on ttyname_r from gnulib. * src/ttyname_r.c (_gpgme_ttyname_r): Rename from ttyname_r. Implement hacks required for Solaris and possible other non-fully Posix systems. * src/util.h: Include unistd.h. Redefine ttyname_r depending on REPLACE_TTYNAME_R and put it into the gpgme name space. -- Unfortunately we cant not use the ttyname_r replacement from gnulib because we want to keep GPGME LGPLv2+.
2012-01-19Try to make configure.ac a bit smaller.Werner Koch1-6/+3
* configure.ac: Move header checks.
2012-01-19For W32 use a build number instead of abbreviated commit id.Werner Koch1-2/+7
We would need to use a shortened commit id so that it fits into an 16 bit Windows variable. Further it is a random number and not something increasing. Thus a build number made up from the day of the year and the hour is much more useful to describe a build number for a specific revision. * configure.ac [W32]: Replace BUILD_REVISION by BUILD_NUMBER. * src/versioninfo.rc.in: Ditto.
2012-01-19Adjust configure.ac for modern autoconf.Werner Koch1-9/+8
* configure.ac: Minor cleanups.
2011-10-25Remove support for libgpgme-pth.Marcus Brinkmann1-6/+0
2011-07-04Post-release.Marcus Brinkmann1-1/+1
2011-06-16Release 1.3.1gpgme-1.3.1Marcus Brinkmann1-3/+3