aboutsummaryrefslogtreecommitdiffstats
path: root/src/gpgme-config.in (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-12build: Provide gpgme.pc, generated by configure.NIIBE Yutaka1-5/+8
* configure.ac: Generate src/gpgme.pc. * src/Makefile.am (pkgconfigdir, pkgconfig_DATA): New. (EXTRA_DIST): Add gpgme.pc.in. * src/gpgme.pc.in: New. * src/gpgme-config.in: Use variables. -- Some usages of gpgme-config is not compatible to pkg-config style; The --glib option and --thread option which affect the output by --cflags or --libs are not supported by gpgme.pc. gpgme-config's embedding information for gpg-error and libassuan at the build time of gpgme is considered inflexible than pkg-config style. It is now handled by dependency of gpgme.pc (Requires field). To use gpgme.pc, newer libgpg-error (>= 1.33) and libassuan (>= 2.5.3) are required, which provide gpg-error.pc and libassuan.pc respectively. Signed-off-by: NIIBE Yutaka <[email protected]>
2016-11-10core: Use gpgrt locking for thread safenessAndre Heinecke1-3/+5
* configure.ac: Require libgpg-error 1.17. No longer check for pthread. * doc/gpgme.texi: Document removed neccessity for thread safe gpgme flavours. * src/sema.h (DEFINE_GLOBAL_LOCK), (DEFINE_STATIC_LOCK, INIT_LOCK, DECLARE_LOCK) (DESTROY_LOCK, LOCK, UNLOCK): Change to gpgrt equivalents. * src/posix-sema.c, src/w32-sema.c: Removed. * src/Makefile.am: Remove libpthread and Update accordingly. * src/ath.c, src/ath.h (ath_mutex_init) (ath_mutex_destroy, ath_mutex_lock, ath_mutex_unlock): Removed. * src/ath.h (ATH_MUTEX_INITIALIZER): Removed. * src/version.c (do_subsystem_inits): sema_subsystem_init is no longer required. * tests/gpg/Makefile.am: Add new threading tests. (t_thread1_LDADD, t_cancel_LDADD): Use just gpgme. * tests/gpg/t-thread-keylist-verify.c, tests/gpg/t-thread-keylist.c: New. * src/gpgme-config.in: Use -lgpgme for thread-model pthread. -- Using gpgrt locks instead of pthread locks removes the neccessity to link pthread directly to gpgme and have a different, thread safe flavor of gpgme. Now gpgme is thread-safe if the conditions mentioned in the doc are met. As the cpp bindings linked against libgpgme and not libgpgme-pthread this fixes threading problems with them. libgpgme-pthread is removed but gpgme-config still supports --thread=pthread for compatibility with find scripts.
2016-08-21core: New commands --lang and --have-lang for gpgme-configWerner Koch1-10/+25
* configure.ac (GPGME_CONFIG_AVAIL_LANG): New ac_subst. * src/gpgme-config.in (avail_lang): Add commands --lang and --have-lang. Signed-off-by: Werner Koch <[email protected]>
2012-05-02Remove unused pth stuff from gpgme-config.Werner Koch1-6/+0
* src/gpgme-config.in: Remove unused pth stuff.
2011-04-06gpgme-config cleanups and --host optionWerner Koch1-32/+64
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.
2009-10-202009-10-20 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-3/+4
* gpgme-config.in (netlibs): Remove. (assuan_cflags, assuan_libs): Add.
2009-03-13Fix locale problem, e.g. for et_ET.Werner Koch1-0/+5
2008-11-03008-11-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+0
* configure.ac: Replace gpgme paths with src. * gpgme: Move to ... * src: ... this new directory. assuan/ 2008-11-03 Marcus Brinkmann <[email protected]> * Makefile.am (INCLUDES): Replace gpgme path with src. tests/ 2008-11-03 Marcus Brinkmann <[email protected]> * gpgsm/Makefile.am (INCLUDES, LDADD): Replace gpgme path with src. * gpg/Makefile.am (INCLUDES, LDADD, t_thread1_LDADD): Likewise. * Makefile.am (LDADD): Likewise.
2007-01-26/Werner Koch1-0/+8
* configure.ac: Changed gpg and gpgsm version checks to work with arbitrary names of the gpg binary. New option --disable-gpg-test and --disable-gpgsm-test. gpgme/ * w32-io.c (build_commandline): Fixed stupid quoting bug. * w32-glib-io.c (build_commandline): Ditto. * rungpg.c (gpg_set_locale): Avoid dangling pointer after free. * gpgme-config.in: New options --get-gpg and --get-gpgsm.
2006-07-292006-07-29 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-1/+4
* configure.ac: Check for network libraries and set NETLIBS. gpgme/ 2006-07-29 Marcus Brinkmann <[email protected]> * gpgme-config.in (Options): Add NETLIBS. * Makefile.am (libgpgme_la_LIBADD, libgpgme_pthread_la_LIBADD, libgpgme_pth_la_LIBADD, libgpgme_glib_la_LIBADD): Add NETLIBS.
2006-03-062006-03-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+4
* gpgme-config.in (cflags_pth): Revert accidential removal of pthread support with last change.
2005-11-172005-11-17 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-5/+20
* configure.ac: Add support for --enable-w32-glib (disabled by default). Invoke AM_PATH_GLIB_2_0. gpgme/ 2005-11-17 Marcus Brinkmann <[email protected]> * w32-glib-io.c: New file. * gpgme.def (gpgme_get_giochannel): Add symbol. * Makefile.am (system_components) [HAVE_DOSISH_SYSTEM]: Remove w32-io.c. (ltlib_gpgme_extra): New variable. (lib_LTLIBRARIES): Add $(ltlib_gpgme_extra). (system_components_not_extra): New variable. (libgpgme_la_SOURCES, libgpgme_pthread_la_SOURCES, (libgpgme_pth_la_SOURCES): Add $(system_components_not_extra). (libgpgme_glib_la_LDFLAGS, libgpgme_glib_la_DEPENDENCIES, (libgpgme_glib_la_LIBADD, libgpgme_glib_la_CFLAGS) [BUILD_W32_GLIB]: New variables. * gpgme-config.in (glib): New option. * gpgme.m4 (AM_PATH_GPGME_GLIB): New macro. m4/ 2005-11-17 Marcus Brinkmann <[email protected]> * glib-2.0.m4: New file.
2004-05-212004-05-21 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-0/+5
* configure.ac (GPGME_CONFIG_API_VERSION): New variable, substitute it. gpgme/ 2004-05-21 Marcus Brinkmann <[email protected]> * gpgme-config.in (Options): Support --api-version.
2004-03-072004-03-07 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+6
* gpgme-config.in: Do not emit include and lib directory for prefix "/usr" or "".
2004-03-03* engine-gpgsm.c (gpgsm_export_ext): Properly insert a spaceWerner Koch1-0/+6
beween patterns. * gpgsm/t-export.c (main): Also check exporting 2 certificates.
2003-09-032003-09-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-3/+3
* gpgme-config.in: Use $libdir, not @libdir@, for the echo command.
2003-09-032003-09-03 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-84/+83
* configure.ac: Remove GPGME_CONFIG_LIBS and GPGME_CONFIG_CFLAGS. doc/ 2003-09-03 Marcus Brinkmann <[email protected]> * gpgme.texi (Header): We don't use the assuan namespace anymore. Document new thread options. gpgme/ 2003-09-03 Marcus Brinkmann <[email protected]> * gpgme-config.in: Rewritten. * gpgme.m4: Rewritten.
2003-08-142003-08-15 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+2
* gpgme-config.in: Put gpg-error related flags after gpgme's.
2003-07-282003-07-23 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+2
* gpgme-config.in (gpg_error_libs): Quote GPG_ERROR_CFLAGS and GPG_ERROR_LIBS when setting the corresponding variables. Reported by St�phane Corth�sy.
2003-06-062003-06-06 Marcus Brinkmann <[email protected]>Marcus Brinkmann1-2/+5
* configure.ac: Use AM_PATH_GPG_ERROR. gpgme/ 2003-06-06 Marcus Brinkmann <[email protected]> * Makefile.am (AM_CPPFLAGS): Add @GPG_ERROR_CFLAGS@. * gpgme-config.in (gpg_error_libs, gpg_error_cflags): New variables. Print them.
2002-08-23* gpgme-config.in: Made --prefix work for --libs.Werner Koch1-8/+30
2000-10-27Starting project 'GnuPG Made Easy'Werner Koch1-0/+93