PKG_CHECK_MODULES(FISHSOUND, fishsound >= 0.6.0, HAVE_FISHSOUND="yes", HAVE_FISHSOUND="no") if test "x$HAVE_FISHSOUND" = "xyes" ; then AC_SUBST(FISHSOUND_CFLAGS) AC_SUBST(FISHSOUND_LIBS) fiIf libfishsound is found, HAVE_FISHSOUND will be set to "yes", and the autoconf variables FISHSOUND_CFLAGS and FISHSOUND_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.
FISHSOUND_CFLAGS=`pkg-config --cflags fishsound`
FISHSOUND_LIBS=`pkg-config --libs fishsound`
Generated on Thu Jun 24 18:46:04 2004 for libfishsound by1.3.5