Commit 5c58a8be authored by Led's avatar Led

0.10.2-rc3

parent 33d1bf90
...@@ -10806,8 +10806,10 @@ if test x$enable_iconv = xyes; then ...@@ -10806,8 +10806,10 @@ if test x$enable_iconv = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $ICONV_CFLAGS" CFLAGS="$CFLAGS $MPD_CFLAGS $ICONV_CFLAGS"
LIBS="$LIBS $MPD_LIBS $ICONV_LIBS" LIBS="$LIBS $MPD_LIBS $ICONV_LIBS"
CPPFLAGS=$CFLAGS
if test "${ac_cv_header_iconv_h+set}" = set; then if test "${ac_cv_header_iconv_h+set}" = set; then
echo "$as_me:$LINENO: checking for iconv.h" >&5 echo "$as_me:$LINENO: checking for iconv.h" >&5
echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6 echo $ECHO_N "checking for iconv.h... $ECHO_C" >&6
...@@ -11011,6 +11013,7 @@ _ACEOF ...@@ -11011,6 +11013,7 @@ _ACEOF
fi fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
ID3_SUBDIR="" ID3_SUBDIR=""
...@@ -11041,8 +11044,10 @@ if test x$enable_id3 = xyes; then ...@@ -11041,8 +11044,10 @@ if test x$enable_id3 = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $ID3TAG_CFLAGS" CFLAGS="$CFLAGS $MPD_CFLAGS $ID3TAG_CFLAGS"
LIBS="$LIBS $MPD_LIBS $ID3TAG_LIBS" LIBS="$LIBS $MPD_LIBS $ID3TAG_LIBS"
CPPFLAGS=$CFLAGS
echo "$as_me:$LINENO: checking for id3_file_open in -lid3tag" >&5 echo "$as_me:$LINENO: checking for id3_file_open in -lid3tag" >&5
echo $ECHO_N "checking for id3_file_open in -lid3tag... $ECHO_C" >&6 echo $ECHO_N "checking for id3_file_open in -lid3tag... $ECHO_C" >&6
if test "${ac_cv_lib_id3tag_id3_file_open+set}" = set; then if test "${ac_cv_lib_id3tag_id3_file_open+set}" = set; then
...@@ -11107,6 +11112,7 @@ fi ...@@ -11107,6 +11112,7 @@ fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
if test x$use_mpd_id3tag = xyes; then if test x$use_mpd_id3tag = xyes; then
...@@ -11154,8 +11160,10 @@ if test x$enable_mp3 = xyes; then ...@@ -11154,8 +11160,10 @@ if test x$enable_mp3 = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $MAD_CFLAGS" CFLAGS="$CFLAGS $MPD_CFLAGS $MAD_CFLAGS"
LIBS="$LIBS $MPD_LIBS $MAD_LIBS" LIBS="$LIBS $MPD_LIBS $MAD_LIBS"
CPPFLAGS=$CFLAGS
echo "$as_me:$LINENO: checking for mad_stream_init in -lmad" >&5 echo "$as_me:$LINENO: checking for mad_stream_init in -lmad" >&5
echo $ECHO_N "checking for mad_stream_init in -lmad... $ECHO_C" >&6 echo $ECHO_N "checking for mad_stream_init in -lmad... $ECHO_C" >&6
if test "${ac_cv_lib_mad_mad_stream_init+set}" = set; then if test "${ac_cv_lib_mad_mad_stream_init+set}" = set; then
...@@ -11219,6 +11227,7 @@ fi ...@@ -11219,6 +11227,7 @@ fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
if test x$use_mpd_mad = xyes; then if test x$use_mpd_mad = xyes; then
...@@ -11263,8 +11272,10 @@ if test x$enable_aac = xyes; then ...@@ -11263,8 +11272,10 @@ if test x$enable_aac = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -I." CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -I."
LIBS="$LIBS $MPD_LIBS $FAAD_LIBS" LIBS="$LIBS $MPD_LIBS $FAAD_LIBS"
CPPFLAGS=$CFLAGS
if test "${ac_cv_header_faad_h+set}" = set; then if test "${ac_cv_header_faad_h+set}" = set; then
echo "$as_me:$LINENO: checking for faad.h" >&5 echo "$as_me:$LINENO: checking for faad.h" >&5
echo $ECHO_N "checking for faad.h... $ECHO_C" >&6 echo $ECHO_N "checking for faad.h... $ECHO_C" >&6
...@@ -11718,6 +11729,7 @@ echo "$as_me: WARNING: faad2 lib needed for MP4/AAC support -- disabling MP4/AAC ...@@ -11718,6 +11729,7 @@ echo "$as_me: WARNING: faad2 lib needed for MP4/AAC support -- disabling MP4/AAC
fi fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
if test x$enable_ogg = xyes; then if test x$enable_ogg = xyes; then
......
...@@ -131,8 +131,10 @@ if test x$enable_iconv = xyes; then ...@@ -131,8 +131,10 @@ if test x$enable_iconv = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $ICONV_CFLAGS" CFLAGS="$CFLAGS $MPD_CFLAGS $ICONV_CFLAGS"
LIBS="$LIBS $MPD_LIBS $ICONV_LIBS" LIBS="$LIBS $MPD_LIBS $ICONV_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_HEADER(iconv.h,MPD_CFLAGS="$MPD_CFLAGS $ICONV_CFLAGS",enable_iconv=no) AC_CHECK_HEADER(iconv.h,MPD_CFLAGS="$MPD_CFLAGS $ICONV_CFLAGS",enable_iconv=no)
if test x$enable_iconv = xyes; then if test x$enable_iconv = xyes; then
AC_CHECK_LIB(iconv,iconv_open,MPD_LIBS="$MPD_LIBS $ICONV_LIBS",) AC_CHECK_LIB(iconv,iconv_open,MPD_LIBS="$MPD_LIBS $ICONV_LIBS",)
...@@ -140,6 +142,7 @@ if test x$enable_iconv = xyes; then ...@@ -140,6 +142,7 @@ if test x$enable_iconv = xyes; then
fi fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
ID3_SUBDIR="" ID3_SUBDIR=""
...@@ -170,14 +173,17 @@ if test x$enable_id3 = xyes; then ...@@ -170,14 +173,17 @@ if test x$enable_id3 = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $ID3TAG_CFLAGS" CFLAGS="$CFLAGS $MPD_CFLAGS $ID3TAG_CFLAGS"
LIBS="$LIBS $MPD_LIBS $ID3TAG_LIBS" LIBS="$LIBS $MPD_LIBS $ID3TAG_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_LIB(id3tag,id3_file_open,[ID3_LIB="$ID3TAG_LIBS"; AC_CHECK_LIB(id3tag,id3_file_open,[ID3_LIB="$ID3TAG_LIBS";
MPD_CFLAGS="$MPD_CFLAGS $ID3TAG_CFLAGS"; MPD_CFLAGS="$MPD_CFLAGS $ID3TAG_CFLAGS";
use_libid3tag=yes], use_libid3tag=yes],
[use_libid3tag=no;use_mpd_id3tag=yes]) [use_libid3tag=no;use_mpd_id3tag=yes])
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
if test x$use_mpd_id3tag = xyes; then if test x$use_mpd_id3tag = xyes; then
AC_DEFINE(USE_MPD_ID3TAG,1,[Define to use mpd libid3tag]) AC_DEFINE(USE_MPD_ID3TAG,1,[Define to use mpd libid3tag])
...@@ -214,13 +220,16 @@ if test x$enable_mp3 = xyes; then ...@@ -214,13 +220,16 @@ if test x$enable_mp3 = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $MAD_CFLAGS" CFLAGS="$CFLAGS $MPD_CFLAGS $MAD_CFLAGS"
LIBS="$LIBS $MPD_LIBS $MAD_LIBS" LIBS="$LIBS $MPD_LIBS $MAD_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_LIB(mad,mad_stream_init,[MAD_LIB="$MAD_LIBS"; AC_CHECK_LIB(mad,mad_stream_init,[MAD_LIB="$MAD_LIBS";
MPD_CFLAGS="$MPD_CFLAGS $MAD_CFLAGS";use_libmad=yes], MPD_CFLAGS="$MPD_CFLAGS $MAD_CFLAGS";use_libmad=yes],
[use_libmad=no;use_mpd_mad=yes]) [use_libmad=no;use_mpd_mad=yes])
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
if test x$use_mpd_mad = xyes; then if test x$use_mpd_mad = xyes; then
AC_DEFINE(USE_MPD_MAD,1,[Define to use mpd libmad]) AC_DEFINE(USE_MPD_MAD,1,[Define to use mpd libmad])
...@@ -254,8 +263,10 @@ if test x$enable_aac = xyes; then ...@@ -254,8 +263,10 @@ if test x$enable_aac = xyes; then
oldcflags=$CFLAGS oldcflags=$CFLAGS
oldlibs=$LIBS oldlibs=$LIBS
oldcppflags=$CPPFLAGS
CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -I." CFLAGS="$CFLAGS $MPD_CFLAGS $FAAD_CFLAGS -I."
LIBS="$LIBS $MPD_LIBS $FAAD_LIBS" LIBS="$LIBS $MPD_LIBS $FAAD_LIBS"
CPPFLAGS=$CFLAGS
AC_CHECK_HEADER(faad.h,,enable_aac=no) AC_CHECK_HEADER(faad.h,,enable_aac=no)
if test x$enable_aac = xyes; then if test x$enable_aac = xyes; then
AC_CHECK_DECL(faacDecInit2,,enable_aac=no,[#include <faad.h>]) AC_CHECK_DECL(faacDecInit2,,enable_aac=no,[#include <faad.h>])
...@@ -271,6 +282,7 @@ if test x$enable_aac = xyes; then ...@@ -271,6 +282,7 @@ if test x$enable_aac = xyes; then
fi fi
CFLAGS=$oldcflags CFLAGS=$oldcflags
LIBS=$oldlibs LIBS=$oldlibs
CPPFLAGS=$oldcppflags
fi fi
if test x$enable_ogg = xyes; then if test x$enable_ogg = xyes; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment