Blame doc/liboggz/html/group__building.html

Packit a38265
Packit a38265
<html xmlns="http://www.w3.org/1999/xhtml">
Packit a38265
<head>
Packit a38265
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
Packit a38265
<title>liboggz: Building against liboggz</title>
Packit a38265
<link href="tabs.css" rel="stylesheet" type="text/css"/>
Packit a38265
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
Packit a38265
</head>
Packit a38265
<body>
Packit a38265
Packit a38265
Packit a38265
  
Packit a38265
    
    Packit a38265
          
  • Main Page
  • Packit a38265
          
  • Modules
  • Packit a38265
          
  • Data Structures
  • Packit a38265
          
  • Files
  • Packit a38265
        
    Packit a38265
      
    Packit a38265
    Packit a38265
    Packit a38265

    Building against liboggz

    Packit a38265
    Packit a38265

    Packit a38265
    Using GNU autoconf
    Packit a38265

    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:

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

    If liboggz is found, HAVE_OGGZ will be set to "yes", and the autoconf variables OGGZ_CFLAGS and OGGZ_LIBS will be set appropriately.

    Packit a38265

    Packit a38265
    Determining compiler options with pkg-config
    Packit a38265

    If you are not using GNU autoconf in your project, you can use the pkg-config tool directly to determine the correct compiler options.

    Packit a38265
    Packit a38265
     OGGZ_CFLAGS=`pkg-config --cflags oggz`
     OGGZ_LIBS=`pkg-config --libs oggz`
    Packit a38265
      
    Packit a38265

    <address style="text-align: right;"><small>Generated on Sat Apr 24 09:13:55 2010 for liboggz by 
    Packit a38265
    Packit a38265
    doxygen 1.6.3 </small></address>
    Packit a38265
    </body>
    Packit a38265
    </html>