Lines 33-44
Link Here
|
33 |
dnl Configure switches. |
33 |
dnl Configure switches. |
34 |
dnl ------------------------------- |
34 |
dnl ------------------------------- |
35 |
AC_ARG_ENABLE(ogg, |
35 |
AC_ARG_ENABLE(ogg, |
36 |
AC_HELP_STRING([--disable-ogg], [Disable support of Ogg Vorbis files (default=enabled)]), |
36 |
AC_HELP_STRING([--disable-ogg], [Disable support for Ogg Vorbis files (default=enabled)]), |
37 |
enable_ogg=no, enable_ogg=yes) |
37 |
, enable_ogg=yes) |
38 |
|
38 |
|
39 |
AC_ARG_ENABLE(flac, |
39 |
AC_ARG_ENABLE(flac, |
40 |
AC_HELP_STRING([--disable-flac],[Disable support of FLAC files (default=enabled)]), |
40 |
AC_HELP_STRING([--disable-flac],[Disable support for FLAC files (default=enabled)]), |
41 |
enable_flac=no, enable_flac=yes) |
41 |
, enable_flac=yes) |
42 |
|
42 |
|
43 |
|
43 |
|
44 |
dnl ------------------------------- |
44 |
dnl ------------------------------- |
Lines 85-90
Link Here
|
85 |
dnl check for system libflac |
85 |
dnl check for system libflac |
86 |
if test "x$enable_flac" = "xyes"; then |
86 |
if test "x$enable_flac" = "xyes"; then |
87 |
dnl Library required for flac files, if not found 'enable_flac' is disabled |
87 |
dnl Library required for flac files, if not found 'enable_flac' is disabled |
|
|
88 |
AC_CHECK_LIB(m, cos) dnl Patch from Christian Weisgerber |
88 |
AC_CHECK_LIB(FLAC, FLAC__metadata_simple_iterator_new, , enable_flac=no) |
89 |
AC_CHECK_LIB(FLAC, FLAC__metadata_simple_iterator_new, , enable_flac=no) |
89 |
dnl AM_PATH_LIBFLAC(enable_flac="yes",enable_flac="no") |
90 |
dnl AM_PATH_LIBFLAC(enable_flac="yes",enable_flac="no") |
90 |
fi |
91 |
fi |