Mercurial > SDL_sound_CoreAudio
comparison configure.in @ 162:3ccce5bb41c0
Changed the header to look for regarding FLAC support from FLAC/all.h to
FLAC/stream_decoder.h ...
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Mon, 19 Nov 2001 16:35:12 +0000 |
parents | fa3e593b6a5e |
children | 8df5aff6ce12 |
comparison
equal
deleted
inserted
replaced
161:0f958979b1dd | 162:3ccce5bb41c0 |
---|---|
146 dnl Check for libFLAC | 146 dnl Check for libFLAC |
147 AC_ARG_ENABLE(flac, | 147 AC_ARG_ENABLE(flac, |
148 [ --enable-flac enable FLAC decoding via libFLAC [default=yes]], | 148 [ --enable-flac enable FLAC decoding via libFLAC [default=yes]], |
149 , enable_flac=yes) | 149 , enable_flac=yes) |
150 if test x$enable_flac = xyes; then | 150 if test x$enable_flac = xyes; then |
151 AC_CHECK_HEADER(FLAC/all.h, have_flac_hdr=yes) | 151 AC_CHECK_HEADER(FLAC/stream_decoder.h, have_flac_hdr=yes) |
152 AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, have_flac_lib=yes) | 152 AC_CHECK_LIB(FLAC, FLAC__stream_decoder_new, have_flac_lib=yes) |
153 if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then | 153 if test x$have_flac_hdr = xyes -a x$have_flac_lib = xyes; then |
154 LIBS="$LIBS -lFLAC" | 154 LIBS="$LIBS -lFLAC" |
155 AC_DEFINE(SOUND_SUPPORTS_FLAC) | 155 AC_DEFINE(SOUND_SUPPORTS_FLAC) |
156 fi | 156 fi |