aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Post release updates.Werner Koch2014-12-111-3/+3
| | | | --
* Release 1.5.3.gpgme-1.5.3Werner Koch2014-12-111-1/+1
| | | | * configure.ac: Set LT version to C24/A13/R2.
* Post release updatesWerner Koch2014-11-211-1/+1
| | | | --
* Release 1.5.2.gpgme-1.5.2Werner Koch2014-11-211-1/+1
| | | | * configure.ac: Set LT version to C24/A13/R1.
* build: Implement SYSROOT feature.origin/bjk/masterWerner Koch2014-10-021-0/+10
| | | | | | * configure.ac: Document SYSROOT. * m4/gpg-error.m4: Update from libgpg-error master. * src/gpgme.m4: Implement SYSROOT stuff.
* Post release updates.Werner Koch2014-07-301-1/+1
| | | | --
* Release 1.5.1gpgme-1.5.1Werner Koch2014-07-301-2/+2
| | | | * configure.ac: Change LT version to C24/A13/R0.
* Post release updatesWerner Koch2014-05-211-1/+1
| | | | --
* Release 1.5.0.gpgme-1.5.0Werner Koch2014-05-211-2/+2
| | | | * configure.ac: Change LT version to C22/A11/R0.
* Add configure option --enable-fixed-path.Werner Koch2014-03-131-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.
* Use the generic autogen.sh script.Werner Koch2014-01-101-0/+1
| | | | | | | | * autogen.rc: New. * Makefile.am (EXTRA_DIST): Add it. * autogen.sh: Update from GnuPG. * configure.ac (AM_SILENT_RULES): New.
* Set next version to 1.5.0Werner Koch2014-01-071-2/+2
| | | | --
* Locate engine names only at runtime and prefer GnuPG-2.Werner Koch2013-12-271-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]>
* Release 1.4.3.gpgme-1.4.3Werner Koch2013-08-121-2/+2
| | | | * configure.ac: Change LT version to C22/A11/R0.
* Improve detection of default gpg by configure.Werner Koch2013-08-121-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.
* Prefer GnuPG-2 engines over GnuPG-1.Werner Koch2013-08-021-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.
* Post release version bump.Werner Koch2013-05-281-1/+1
| | | | --
* Release 1.4.2.gpgme-1.4.2Werner Koch2013-05-281-3/+3
| | | | * configure.ac: Set LT version to C21/A10/R0.
* Make definition of off_t robust against misbehaving w32 toolchains.Werner Koch2013-05-161-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.
* Post release version bump.Werner Koch2013-05-011-1/+1
| | | | --
* Release 1.4.1.gpgme-1.4.1Werner Koch2013-05-011-1/+1
| | | | * configure.ac: Bump LT version to C20/A9/R1.
* Disable fd-passing for Apple.Werner Koch2013-05-011-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
* Fix for i686-w64-mingw32.Werner Koch2013-04-291-6/+8
| | | | * configure.ac (NEED__FILE_OFFSET_BITS): Do not define under Windows.
* Post release version number bump.Werner Koch2013-02-261-1/+1
| | | | --
* Release 1.4.0.gpgme-1.4.0Werner Koch2013-02-261-3/+3
| | | | * configure.ac: Bump LT version to C20/A9/R0.
* Enable FD passing and thus building of the UI-server.Werner Koch2013-02-261-2/+2
| | | | | * configure.ac: Make --enable-fd-passing the default. * src/engine-uiserver.c (_gpgme_engine_ops_uiserver): Syntax fix.
* w32: Hacks for building with 32 bit mingw64.Werner Koch2013-02-261-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.
* Improve missing libgpg-error reporting in configure.Werner Koch2013-02-261-2/+17
| | | | | * configure.ac (NEED_GPG_ERROR_VERSION): New. Improve reporting for missing libgpg-error.
* Change the various version numbers to the new scheme.Werner Koch2013-02-261-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.
* Update helper scripts.Werner Koch2013-02-261-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.
* Remove included gitlog-to-changelog.Werner Koch2013-02-251-2/+3
| | | | | | * build-aux/gitlog-to-changelog: Remove. * configure.ac (GITLOG_TO_CHANGELOG): Default to just gitlog-to-changelog.
* Declare next version to be 1.4.0Werner Koch2013-02-121-2/+2
| | | | --
* Add macro GPGME_VERSION_NUMBER.Werner Koch2013-02-121-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.
* Improve parsing of the GIT revision number.Werner Koch2012-11-161-6/+5
| | | | * configure.ac (git_revision): Use git rev-parse.
* Make local variables configure hack more robustWerner Koch2012-10-241-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.
* Fix ttyname problem on Android.Werner Koch2012-10-241-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".
* Post release updates.Werner Koch2012-05-021-2/+2
| | | | --
* Release 1.3.2.gpgme-1.3.2Werner Koch2012-05-021-13/+14
| | | | | | | * configure.ac: Bump LT version to C19/A8/R1. * configure.ac (GITLOG_TO_CHANGELOG): Define. * Makefile.am (gen-ChangeLog): Use it.
* Fix Solaris problems with ttyname_r.Werner Koch2012-01-191-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+.
* Try to make configure.ac a bit smaller.Werner Koch2012-01-191-6/+3
| | | | * configure.ac: Move header checks.
* For W32 use a build number instead of abbreviated commit id.Werner Koch2012-01-191-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.
* Adjust configure.ac for modern autoconf.Werner Koch2012-01-191-9/+8
| | | | * configure.ac: Minor cleanups.
* Remove support for libgpgme-pth.Marcus Brinkmann2011-10-251-6/+0
|
* Post-release.Marcus Brinkmann2011-07-041-1/+1
|
* Release 1.3.1gpgme-1.3.1Marcus Brinkmann2011-06-161-3/+3
|
* Remove complus (10 years unused).Marcus Brinkmann2011-05-061-3/+1
|
* Require autoconf 1.11Werner Koch2011-04-141-1/+1
| | | | | This is because AM_SUBST_NOTMAKE is only offically supported since this version of automake.
* Add an AC_SUBST_NOTMAKEWerner Koch2011-04-061-0/+1
| | | | | Without that the multiline INSERT__TYPEDEFS_FOR_GPGME_H would be expanded in the Makefiles and mess them up.
* gpgme-config cleanups and --host optionWerner Koch2011-04-061-0/+2
| | | | | | | | gpgme-config.in: Add option --host. Change options --cflags and --libs to collapse duplicate include and lib dirs. Try to put extra libs at the end. Note that gpgme.m4 has not yet been extended.
* Insert platform dependent typedefs into gpgme.hWerner Koch2011-04-061-16/+46
| | | | | | | | | | | | | We already modify gpgme.h per playform and thus we can also get rid of some #ifdefs. The change does not change anything for current platforms but should do the right think for W64. Note that as per MS specs ssize_t is to be defined as LONG_PTR which translates to a long on 32 bit platforms and to __int64 on 64 bit Windows platforms. We already used long in the past. There seems to be a problem with some versions of mingw32 which includes a ssize_t type typedefed to int. O(n 32 bit W32 platforms int and long are identically.