Main Page | Modules | Directories | File List | Globals

Building against liboggz

Using GNU autoconf

available:

 PKG_CHECK_MODULES(OGGZ, oggz >= 0.6.0,
                   HAVE_OGGZ="yes", HAVE_OGGZ="no")
 if test "x$HAVE_OGGZ" = "xyes" ; then
   AC_SUBST(OGGZ_CFLAGS)
   AC_SUBST(OGGZ_LIBS)
 fi
 

If liboggz is found, HAVE_OGGZ will be set to "yes", and the autoconf variables OGGZ_CFLAGS and OGGZ_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.

 OGGZ_CFLAGS=`pkg-config --cflags oggz`

 OGGZ_LIBS=`pkg-config --libs oggz`
 


Generated on Mon Feb 14 18:00:08 2005 for liboggz by  doxygen 1.4.0