Mercurial > SDL_sound_CoreAudio
comparison configure.in @ 314:e867f050912c
Seekable FLAC detection.
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 24 Apr 2002 20:48:30 +0000 |
parents | 259daddc2d6b |
children | 5a72981b8cba |
comparison
equal
deleted
inserted
replaced
313:028f00df53ae | 314:e867f050912c |
---|---|
158 AC_CHECK_HEADER(FLAC/stream_decoder.h, have_flac_hdr=yes) | 158 AC_CHECK_HEADER(FLAC/stream_decoder.h, have_flac_hdr=yes) |
159 AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, have_flac_lib=yes) | 159 AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, have_flac_lib=yes) |
160 if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then | 160 if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then |
161 LIBS="$LIBS -lFLAC" | 161 LIBS="$LIBS -lFLAC" |
162 AC_DEFINE(SOUND_SUPPORTS_FLAC) | 162 AC_DEFINE(SOUND_SUPPORTS_FLAC) |
163 fi | |
164 fi | |
165 | |
166 dnl Check if libFLAC is recent enough for a seekable decoder | |
167 AC_ARG_ENABLE(seekable-flac, | |
168 [ --enable-seekable-flac enable the seekable decoder [default=yes]], | |
169 , enable_seekable_flac=yes) | |
170 if test x$enable_seekable_flac = xyes; then | |
171 AC_CHECK_LIB(FLAC, FLAC__seekable_stream_decoder_new, have_seekable_flac_lib=yes) | |
172 if test x$have_flac_hdr = xyes -a x$have_seekable_flac_lib = xyes; then | |
173 AC_DEFINE(SOUND_SUPPORTS_SEEKABLE_FLAC) | |
163 fi | 174 fi |
164 fi | 175 fi |
165 | 176 |
166 dnl Check for SMPEG | 177 dnl Check for SMPEG |
167 AC_ARG_ENABLE(smpeg, | 178 AC_ARG_ENABLE(smpeg, |