comparison configure.in @ 501:7558f9d03d6f

Fixed ogg.h detection in configure script.
author Ryan C. Gordon <icculus@icculus.org>
date Tue, 06 Dec 2005 12:07:40 +0000
parents 0b244f36049e
children 46d5f399cb35
comparison
equal deleted inserted replaced
498:31ed6917a411 501:7558f9d03d6f
233 dnl Check for ogg 233 dnl Check for ogg
234 AC_ARG_ENABLE(ogg, 234 AC_ARG_ENABLE(ogg,
235 [ --enable-ogg enable OGG decoding via libvorbis [default=yes]], 235 [ --enable-ogg enable OGG decoding via libvorbis [default=yes]],
236 , enable_ogg=yes) 236 , enable_ogg=yes)
237 if test x$enable_ogg = xyes; then 237 if test x$enable_ogg = xyes; then
238 AC_CHECK_HEADER(ogg.h, have_ogg_hdr=yes) 238 AC_CHECK_HEADER(ogg/ogg.h, have_ogg_hdr=yes)
239 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes) 239 AC_CHECK_LIB(ogg, ogg_sync_init, have_ogg_lib=yes)
240 AC_CHECK_HEADER(vorbis/codec.h, have_vorbis_hdr=yes) 240 AC_CHECK_HEADER(vorbis/codec.h, have_vorbis_hdr=yes)
241 AC_CHECK_LIB(vorbis, vorbis_info_init, have_vorbis_lib=yes) 241 AC_CHECK_LIB(vorbis, vorbis_info_init, have_vorbis_lib=yes)
242 AC_CHECK_HEADER(vorbis/vorbisfile.h, have_vorbisfile_hdr=yes) 242 AC_CHECK_HEADER(vorbis/vorbisfile.h, have_vorbisfile_hdr=yes)
243 AC_CHECK_LIB(vorbisfile, ov_open_callbacks, have_vorbisfile_lib=yes) 243 AC_CHECK_LIB(vorbisfile, ov_open_callbacks, have_vorbisfile_lib=yes)