Main Page | Modules | Data Structures | File List | Data Fields | Globals

Building against libremix

Using GNU autoconf

If you are using GNU autoconf, you do not need to call pkg-config directly. Use the following macro to determine if libremix is available:

PKG_CHECK_MODULES(REMIX, remix >= 0.2.0, HAVE_REMIX="yes", HAVE_REMIX="no") if test "x$HAVE_REMIX" = "xyes" ; then AC_SUBST(REMIX_CFLAGS) AC_SUBST(REMIX_LIBS) fi

If libremix is found, HAVE_REMIX will be set to "yes", and the autoconf variables REMIX_CFLAGS and REMIX_LIBS will be set appropriately.

Determining compiler options with pkg-config

If you are not using GNU autoconf in your project, you can use the pkg-config tool directly to determine the correct compiler options.

REMIX_CFLAGS=`pkg-config --cflags remix`

REMIX_LIBS=`pkg-config --libs remix`


Generated on Fri Jan 9 08:44:16 2004 for remix by doxygen 1.3.4