
pkgconfig to help with setting your application to use dbus-cxx.dbus-cxx-1.0.pc and dbus-cxx-glibmm-1.0.pc. If you installed the Fedora dbus-cxx-devel or dbus-cxx-glibmm-devel packages you'll find these files installed in a directory named /pkgconfig under in your architecture's library directory (probably /usr/lib/pkgconfig or /usr/lib64/pkgconfig ).configure.ac (or configure.in ) with the following lines: PKG_CHECK_MODULES(PROJECT_DBUSCXX,[dbus-cxx-1.0 >= 0.7.0]) AC_SUBST(PROJECT_DBUSCXX_LIBS) AC_SUBST(PROJECT_DBUSCXX_CFLAGS)
PROJECT_DBUSCXX_LIBS and PROJECT_DBUSCXX_CFLAGS in your Makefile.am files.fooapp your Makefile.am might look like this: INCLUDES = $(PROJECT_DBUSCXX_CFLAGS) bin_PROGRAMS = fooapp fooapp_SOURCES = fooapp.cpp fooapp_LDADD = $(PROJECT_DBUSCXX_LIBS)
Continue On: Initial Concepts
Go Back: Quick Start Guide to dbus-cxx
1.6.1