liboggz  1.1.1
Building against liboggz

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

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

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