2005-09-12 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Mon, 12 Sep 2005 19:15:14 +0000 (19:15 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Mon, 12 Sep 2005 19:15:14 +0000 (19:15 +0000)
* configure.ac (HAVE_PTH): Don't add $PTH_CFLAGS to $CFLAGS here.

gpgme/
2005-09-12  Marcus Brinkmann  <marcus@g10code.de>

* Makefile.am (libgpgme_la_SOURCES): Set to ath.h and ath.c.
(ath_pth_src, ath_pthread_src): Removed.
(w32_o_files): Replace ath-compat.o with ath.o.
(libgpgme_pth_la_CFLAGS): New variable.
* ath-compat.c, ath-pthread-compat.c, ath-pth-compat.c: Removed.
* ath.h (ath_pthread_available, ath_pth_available): Removed.
(ath_init) [!_ATH_EXT_SYM_PREFIX]: Do not define macro.
(struct ath_ops, ath_init) [_ATH_COMPAT]: Removed.
(_ATH_COMPAT): Macro removed.
* posix-sema.c (_gpgme_sema_subsystem_init): Do not call
_gpgme_ath_init.

configure.ac

index de35e78..2d8c35b 100644 (file)
@@ -122,7 +122,6 @@ case "${host}" in
        AC_CHECK_PTH(1.2.0,,,no,have_pth=yes)
        if test "$have_pth" = yes; then
          AC_DEFINE(HAVE_PTH, ,[Define if we have Pth.])
-         CFLAGS="$CFLAGS $PTH_CFLAGS"
        fi
        AC_CHECK_LIB(pthread,pthread_create,have_pthread=yes)
        if test "$have_pthread" = yes; then