2007-09-07 Marcus Brinkmann <marcus@g10code.de>
authorMarcus Brinkmann <mb@g10code.com>
Thu, 6 Sep 2007 22:41:11 +0000 (22:41 +0000)
committerMarcus Brinkmann <mb@g10code.com>
Thu, 6 Sep 2007 22:41:11 +0000 (22:41 +0000)
commitbecf580f6163889de683500957a0a7cfceb7ed47
treec3c9b04114345915dc05ca837d274aae4570d28f
parente8b5e9321da78948b90f7f3bb3ed42dd96d4d61d
2007-09-07  Marcus Brinkmann  <marcus@g10code.de>

* configure.ac: Check for C++, Qt and support --enable-w32-qt.
* m4/pkg.m4: New file.

gpgme/
2007-09-07  Marcus Brinkmann  <marcus@g10code.de>

* kdpipeiodevice.h, kdpipeiodevice.cpp, moc_kdpipeiodevice.cpp,
kdpipeiodevice.moc, w32-qt-io.c: New files.
* Makefile.am (ltlib_gpgme_extra): Rename to ltlib_gpgme_glib.
(ltlib_gpgme_qt): New variable.
(lib_LTLIBRARIES): Add $(ltlib_gpgme_qt).
(libgpgme_qt_la_SOURCES): New variable.
(AM_CPPFLAGS): Add @QT4_CORE_INCLUDES@
(AM_CFLAGS): Add @QT4_CORE_CFLAGS@.
(libgpgme_qt_la_LDFLAGS, libgpgme_qt_la_DEPENDENCIES)
(libgpgme_qt_la_LIBADD): New variables.
* sema.h (struct critsect_s): Rename "private" to "priv" to make
C++ users happy.  Change users.
* posix-sema.c (_gpgme_sema_cs_enter, _gpgme_sema_cs_leave)
(_gpgme_sema_cs_destroy): Likewise.
* w32-sema.c (critsect_init, _gpgme_sema_cs_enter)
(_gpgme_sema_cs_leave, _gpgme_sema_cs_destroy): Likewise.
* w32-glib-io.c (gpgme_get_giochannel): Change return type to
void*.
(gpgme_get_fdptr): New function.
* w32-io.c (gpgme_get_fdptr): New function
* gpgme.def: Add gpgme_get_fdptr.
16 files changed:
ChangeLog
configure.ac
gpgme/ChangeLog
gpgme/Makefile.am
gpgme/gpgme.def
gpgme/kdpipeiodevice.cpp [new file with mode: 0644]
gpgme/kdpipeiodevice.h [new file with mode: 0644]
gpgme/kdpipeiodevice.moc [new file with mode: 0644]
gpgme/moc_kdpipeiodevice.cpp [new file with mode: 0644]
gpgme/posix-sema.c
gpgme/sema.h
gpgme/w32-glib-io.c
gpgme/w32-io.c
gpgme/w32-qt-io.cpp [new file with mode: 0644]
gpgme/w32-sema.c
m4/pkg.m4 [new file with mode: 0644]