Building against libshbeu

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

 PKG_CHECK_MODULES(SHBEU, shbeu >= 0.0.1,
                   HAVE_SHBEU="yes", HAVE_SHBEU="no")
 if test "x$HAVE_SHBEU" = "xyes" ; then
   AC_SUBST(SHBEU_CFLAGS)
   AC_SUBST(SHBEU_LIBS)
 fi
 

If libshbeu is found, HAVE_SHBEU will be set to "yes", and the autoconf variables SHBEU_CFLAGS and SHBEU_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.

 SHBEU_CFLAGS=`pkg-config --cflags shbeu`
 SHBEU_LIBS=`pkg-config --libs shbeu`
 
Generated on Fri Aug 26 14:44:37 2011 for libshbeu by  doxygen 1.6.3