git-svn-id: https://scorched3d.svn.sourceforge.net/svnroot/scorched3d/trunk/scorched...
[scorched3d/parasti.git] / configure-ogg.m4
blob14f338ed25e34a2e4eb9e3bdee43783ae543c0b2
1 dnl Check for ogg and vorbis
3 OGG_CFLAGS=
4 OGG_LIBS=
6 have_OGG=yes
7 XIPH_PATH_OGG([
9 XIPH_PATH_VORBIS([      
10 OGG_CFLAGS="$OGG_CFLAGS $VORBIS_CFLAGS"
11 OGG_LIBS="$OGG_LIBS $VORBIS_LIBS $VORBISFILE_LIBS"
13 have_OGG=yes
14 AC_DEFINE(HAVE_OGG)
17 have_OGG=no
22 have_OGG=no
25 if test x$have_OGG != xyes; then
26     AC_MSG_WARN([OGG not found no ogg support compiled into Scorched3D])
30 AC_SUBST(OGG_CFLAGS)
31 AC_SUBST(OGG_LIBS)