Building against libuiomux

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 libuiomux is available:

 PKG_CHECK_MODULES(UIOMUX, uiomux >= 0.6.0,
                   HAVE_UIOMUX="yes", HAVE_UIOMUX="no")
 if test "x$HAVE_UIOMUX" = "xyes" ; then
   AC_SUBST(UIOMUX_CFLAGS)
   AC_SUBST(UIOMUX_LIBS)
 fi
 

If libuiomux is found, HAVE_UIOMUX will be set to "yes", and the autoconf variables UIOMUX_CFLAGS and UIOMUX_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.

 UIOMUX_CFLAGS=`pkg-config --cflags uiomux`
 UIOMUX_LIBS=`pkg-config --libs uiomux`
 
Generated on Fri Aug 26 14:32:28 2011 for libuiomux by  doxygen 1.6.3