1353
1354
Optional Packages:
1354
1355
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1355
1356
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1357
--with-libshout=PFX prefix where the libshout header files and library
1358
are installed (default: autodetect)
1359
--with-libshout-includes=DIR
1360
directory where libshout header files are installed
1362
--with-libshout-libs=DIR
1363
directory where libshout is installed (optional)
1364
--with-libxml2=PFX prefix where the libxml2 header files and library
1365
are installed (default: autodetect)
1366
--with-libxml2-includes=DIR
1367
directory where libxml2 header files are installed
1369
--with-libxml2-libs=DIR directory where libxml2 is installed (optional)
1356
1370
--with-taglib=PFX prefix where the TagLib header files and library are
1357
1371
installed (default: autodetect)
1358
1372
--with-taglib-includes=DIR
1986
2001
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1989
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1990
# We used to keeping the `.' as first argument, in order to
1991
# allow $(mkdir_p) to be used without argument. As in
1992
# $(mkdir_p) $(somedir)
1993
# where $(somedir) is conditionally defined. However this is wrong
1995
# 1. if the package is installed by a user who cannot write `.'
1996
# make install will fail,
1997
# 2. the above comment should most certainly read
1998
# $(mkdir_p) $(DESTDIR)$(somedir)
1999
# so it does not work when $(somedir) is undefined and
2000
# $(DESTDIR) is not.
2001
# To support the latter case, we have to write
2002
# test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2003
# so the `.' trick is pointless.
2004
mkdir_p='mkdir -p --'
2004
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2005
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2006
if test -z "$MKDIR_P"; then
2007
if test "${ac_cv_path_mkdir+set}" = set; then
2008
echo $ECHO_N "(cached) $ECHO_C" >&6
2006
# On NextStep and OpenStep, the `mkdir' command does not
2007
# recognize any option. It will interpret all options as
2008
# directories to create, and then abort because `.' already
2010
for d in ./-p ./--version;
2012
test -d $d && rmdir $d
2014
# $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2015
if test -f "$ac_aux_dir/mkinstalldirs"; then
2016
mkdir_p='$(mkinstalldirs)'
2010
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2014
test -z "$as_dir" && as_dir=.
2015
for ac_prog in mkdir gmkdir; do
2016
for ac_exec_ext in '' $ac_executable_extensions; do
2017
{ test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2018
case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2019
'mkdir (GNU coreutils) '* | \
2020
'mkdir (coreutils) '* | \
2021
'mkdir (fileutils) '4.1*)
2022
ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2032
if test "${ac_cv_path_mkdir+set}" = set; then
2033
MKDIR_P="$ac_cv_path_mkdir -p"
2018
mkdir_p='$(SHELL) $(install_sh) -d'
2035
# As a last resort, use the slow shell script. Don't cache a
2036
# value for MKDIR_P within a source directory, because that will
2037
# break other packages using the cache if that directory is
2038
# removed, or if the value is a relative name.
2039
test -d ./--version && rmdir ./--version
2040
MKDIR_P="$ac_install_sh -d"
2043
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2044
echo "${ECHO_T}$MKDIR_P" >&6; }
2048
[\\/$]* | ?:[\\/]*) ;;
2049
*/*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2022
2052
for ac_prog in gawk mawk nawk awk
5814
if test x"${prefix}" = "xNONE"; then
5815
ax_check_libshout_prefix="/usr/local"
5817
ax_check_libshout_prefix="${prefix}"
5837
if test -z "${PKG_CONFIG}"; then
5838
{ { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5
5839
echo "$as_me: error: The pkg-config utility is required." >&2;}
5840
{ (exit 1); exit 1; }; }
5845
have_libshout_includes=""
5846
have_libshout_libs=""
5847
want_libshout="auto"
5849
# Check whether --with-libshout was given.
5850
if test "${with_libshout+set}" = set; then
5851
withval=$with_libshout;
5852
case "${withval}" in
5860
have_libshout_prefix="${withval}"
5869
# Check whether --with-libshout-includes was given.
5870
if test "${with_libshout_includes+set}" = set; then
5871
withval=$with_libshout_includes;
5872
case "${withval}" in
5875
have_libshout_includes="${withval}"
5883
# Check whether --with-libshout-libs was given.
5884
if test "${with_libshout_libs+set}" = set; then
5885
withval=$with_libshout_libs;
5886
case "${withval}" in
5889
have_libshout_libs="${withval}"
5896
if test "${local_cv_have_lib_libshout_opts+set}" = set; then
5897
echo $ECHO_N "(cached) $ECHO_C" >&6
5900
ax_check_libshout_shout_pc="no"
5901
if test -n "$PKG_CONFIG" && \
5902
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"shout\"") >&5
5903
($PKG_CONFIG --exists --print-errors "shout") 2>&5
5905
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5906
(exit $ac_status); }; then
5907
ax_check_libshout_shout_pc=yes
5909
if test -z "${LIBSHOUT_CFLAGS}" \
5910
-a x"${ax_check_libshout_shout_pc}" = "xyes"; then
5911
LIBSHOUT_CFLAGS="`${PKG_CONFIG} --cflags-only-other shout`"
5913
if test -n "${LIBSHOUT_CPPFLAGS}"; then
5914
if test -n "${have_libshout_includes}"; then
5915
LIBSHOUT_CPPFLAGS="${LIBSHOUT_CPPFLAGS} -I${have_libshout_includes}"
5918
if test -n "${have_libshout_includes}"; then
5919
LIBSHOUT_CPPFLAGS="-I${have_libshout_includes}"
5921
if test x"${want_libshout}" = "xauto" \
5922
-a x"${ax_check_libshout_shout_pc}" = "xyes"; then
5923
LIBSHOUT_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I shout`"
5924
elif test -n "${have_libshout_prefix}"; then
5925
LIBSHOUT_CPPFLAGS="-I${have_libshout_prefix}/include"
5929
if test -n "${LIBSHOUT_LDFLAGS}"; then
5930
if test -n "${have_libshout_libs}"; then
5931
LIBSHOUT_LDFLAGS="-L${have_libshout_libs} ${LIBSHOUT_LDFLAGS}"
5934
if test -n "${have_libshout_libs}"; then
5935
LIBSHOUT_LDFLAGS="-L${have_libshout_libs}"
5937
if test x"${want_libshout}" = "xauto" \
5938
-a x"${ax_check_libshout_shout_pc}" = "xyes"; then
5939
LIBSHOUT_LDFLAGS=" \
5940
`${PKG_CONFIG} --libs-only-L shout` \
5941
`${PKG_CONFIG} --libs-only-other shout` \
5943
elif test -n "${have_libshout_prefix}"; then
5944
LIBSHOUT_LDFLAGS="-L${have_libshout_prefix}/lib"
5948
local_cv_have_lib_libshout_opts=yes
5819
5957
if test "${local_cv_have_lib_libshout+set}" = set; then
5820
5958
echo $ECHO_N "(cached) $ECHO_C" >&6
5823
5961
local_cv_have_lib_libshout=no
5825
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${ax_check_libshout_prefix}/lib/pkgconfig"
5963
if test x"${want_libshout}" != "xno"; then # want_libshout != no
5826
5965
if test -z "${PKG_CONFIG}"; then
5827
5966
{ { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5
5828
5967
echo "$as_me: error: The pkg-config utility is required." >&2;}
5829
5968
{ (exit 1); exit 1; }; }
5832
if test -n "$PKG_CONFIG" && \
5971
if test -n "" -a x"${ax_check_libshout_shout_pc}" = "xyes"; then
5972
if test -n "$PKG_CONFIG" && \
5833
5973
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"shout \"") >&5
5834
5974
($PKG_CONFIG --exists --print-errors "shout ") 2>&5
5836
5976
echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837
5977
(exit $ac_status); }; then
5980
{ { echo "$as_me:$LINENO: error: libshout version is required." >&5
5981
echo "$as_me: error: libshout version is required." >&2;}
5982
{ (exit 1); exit 1; }; }
5840
5987
libshout_libs_autodetect=no
5841
if test -z "${LIBSHOUT_CFLAGS}"; then
5842
LIBSHOUT_CFLAGS="`${PKG_CONFIG} --cflags-only-other shout`"
5844
if test -z "${LIBSHOUT_CPPFLAGS}"; then
5845
LIBSHOUT_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I shout`"
5847
if test -z "${LIBSHOUT_LDFLAGS}"; then
5849
`${PKG_CONFIG} --libs-only-L shout` \
5850
`${PKG_CONFIG} --libs-only-other shout` \
5853
if test -z "${LIBSHOUT_LIBS}"; then
5988
if test -z "${LIBSHOUT_LIBS}" \
5989
-a x"${ax_check_libshout_shout_pc}" = "xyes"; then
5854
5990
LIBSHOUT_LIBS="`${PKG_CONFIG} --libs-only-l shout`"
5855
5991
libshout_libs_autodetect=yes
5858
5994
# If libshout required libm, make sure that it is listed at the end:
5859
if test "${libshout_libs_autodetect}" = "yes"; then
5995
if test x"${libshout_libs_autodetect}" = x"yes"; then
5860
5996
if test -n "`echo ${LIBSHOUT_LIBS} | ${FGREP} -e ' -lm'`"; then
5861
5997
xt_shout_TEMP="`echo ${LIBSHOUT_LIBS} | sed -e 's, -lm,,g'`"
5862
5998
LIBSHOUT_LIBS="${xt_shout_TEMP} -lm"
6062
6198
{ echo "$as_me:$LINENO: result: no" >&5
6063
6199
echo "${ECHO_T}no" >&6; }
6200
if test x"${libshout_libs_autodetect}" = "xyes"; then
6201
LIBSHOUT_LIBS="`${PKG_CONFIG} --static --libs-only-l shout`"
6202
LIBS="${LIBSHOUT_LIBS} ${ax_check_libshout_save_LIBS}"
6203
{ echo "$as_me:$LINENO: checking if libshout works with explicit dependencies" >&5
6204
echo $ECHO_N "checking if libshout works with explicit dependencies... $ECHO_C" >&6; }
6205
cat >conftest.$ac_ext <<_ACEOF
6208
cat confdefs.h >>conftest.$ac_ext
6209
cat >>conftest.$ac_ext <<_ACEOF
6210
/* end confdefs.h. */
6212
#include <shout/shout.h>
6224
rm -f conftest.$ac_objext conftest$ac_exeext
6225
if { (ac_try="$ac_link"
6227
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6228
*) ac_try_echo=$ac_try;;
6230
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6231
(eval "$ac_link") 2>conftest.er1
6233
grep -v '^ *+' conftest.er1 >conftest.err
6235
cat conftest.err >&5
6236
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6237
(exit $ac_status); } && {
6238
test -z "$ac_c_werror_flag" ||
6239
test ! -s conftest.err
6240
} && test -s conftest$ac_exeext &&
6241
$as_test_x conftest$ac_exeext; then
6243
{ echo "$as_me:$LINENO: result: yes" >&5
6244
echo "${ECHO_T}yes" >&6; }
6245
local_cv_have_lib_libshout=yes
6248
echo "$as_me: failed program was:" >&5
6249
sed 's/^/| /' conftest.$ac_ext >&5
6252
{ echo "$as_me:$LINENO: result: no" >&5
6253
echo "${ECHO_T}no" >&6; }
6258
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6259
conftest$ac_exeext conftest.$ac_ext
6173
if test x"${prefix}" = "xNONE"; then
6174
ax_check_libxml2_prefix="/usr/local"
6176
ax_check_libxml2_prefix="${prefix}"
6365
if test -z "${PKG_CONFIG}"; then
6366
{ { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5
6367
echo "$as_me: error: The pkg-config utility is required." >&2;}
6368
{ (exit 1); exit 1; }; }
6373
have_libxml2_includes=""
6374
have_libxml2_libs=""
6377
# Check whether --with-libxml2 was given.
6378
if test "${with_libxml2+set}" = set; then
6379
withval=$with_libxml2;
6380
case "${withval}" in
6388
have_libxml2_prefix="${withval}"
6397
# Check whether --with-libxml2-includes was given.
6398
if test "${with_libxml2_includes+set}" = set; then
6399
withval=$with_libxml2_includes;
6400
case "${withval}" in
6403
have_libxml2_includes="${withval}"
6411
# Check whether --with-libxml2-libs was given.
6412
if test "${with_libxml2_libs+set}" = set; then
6413
withval=$with_libxml2_libs;
6414
case "${withval}" in
6417
have_libxml2_libs="${withval}"
6424
if test "${local_cv_have_lib_libxml2_opts+set}" = set; then
6425
echo $ECHO_N "(cached) $ECHO_C" >&6
6428
ax_check_libxml2_xml2_pc="no"
6429
if test -n "$PKG_CONFIG" && \
6430
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libxml-2.0\"") >&5
6431
($PKG_CONFIG --exists --print-errors "libxml-2.0") 2>&5
6433
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434
(exit $ac_status); }; then
6435
ax_check_libxml2_xml2_pc=yes
6437
if test -z "${LIBXML2_CFLAGS}" \
6438
-a x"${ax_check_libxml2_xml2_pc}" = "xyes"; then
6439
LIBXML2_CFLAGS="`${PKG_CONFIG} --cflags-only-other libxml-2.0`"
6441
if test -n "${LIBXML2_CPPFLAGS}"; then
6442
if test -n "${have_libxml2_includes}"; then
6443
LIBXML2_CPPFLAGS="${LIBXML2_CPPFLAGS} -I${have_libxml2_includes}"
6446
if test -n "${have_libxml2_includes}"; then
6447
LIBXML2_CPPFLAGS="-I${have_libxml2_includes}"
6449
if test x"${want_libxml2}" = "xauto" \
6450
-a x"${ax_check_libxml2_xml2_pc}" = "xyes"; then
6451
LIBXML2_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I libxml-2.0`"
6452
elif test -n "${have_libxml2_prefix}"; then
6453
LIBXML2_CPPFLAGS="-I${have_libxml2_prefix}/include"
6457
if test -n "${LIBXML2_LDFLAGS}"; then
6458
if test -n "${have_libxml2_libs}"; then
6459
LIBXML2_LDFLAGS="-L${have_libxml2_libs} ${LIBXML2_LDFLAGS}"
6462
if test -n "${have_libxml2_libs}"; then
6463
LIBXML2_LDFLAGS="-L${have_libxml2_libs}"
6465
if test x"${want_libxml2}" = "xauto" \
6466
-a x"${ax_check_libxml2_xml2_pc}" = "xyes"; then
6468
`${PKG_CONFIG} --libs-only-L libxml-2.0` \
6469
`${PKG_CONFIG} --libs-only-other libxml-2.0` \
6471
elif test -n "${have_libxml2_prefix}"; then
6472
LIBXML2_LDFLAGS="-L${have_libxml2_prefix}/lib"
6476
local_cv_have_lib_libxml2_opts=yes
6178
6484
if test "${local_cv_have_lib_libxml2+set}" = set; then
6179
6485
echo $ECHO_N "(cached) $ECHO_C" >&6
6182
6488
local_cv_have_lib_libxml2=no
6184
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${ax_check_libxml2_prefix}/lib/pkgconfig"
6490
if test x"${want_libxml2}" != "xno"; then # want_libxml2 != no
6185
6492
if test -z "${PKG_CONFIG}"; then
6186
6493
{ { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5
6187
6494
echo "$as_me: error: The pkg-config utility is required." >&2;}
6228
6523
CPPFLAGS="${CPPFLAGS} ${LIBXML2_CPPFLAGS}"
6229
6524
LDFLAGS="${LDFLAGS} ${LIBXML2_LDFLAGS}"
6230
6525
LIBS="${LIBXML2_LIBS} ${LIBS}"
6232
for ac_header in libxml/parser.h
6234
as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6235
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6236
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6237
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6238
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6526
if test "${ac_cv_header_libxml_parser_h+set}" = set; then
6527
{ echo "$as_me:$LINENO: checking for libxml/parser.h" >&5
6528
echo $ECHO_N "checking for libxml/parser.h... $ECHO_C" >&6; }
6529
if test "${ac_cv_header_libxml_parser_h+set}" = set; then
6239
6530
echo $ECHO_N "(cached) $ECHO_C" >&6
6241
ac_res=`eval echo '${'$as_ac_Header'}'`
6242
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6243
echo "${ECHO_T}$ac_res" >&6; }
6532
{ echo "$as_me:$LINENO: result: $ac_cv_header_libxml_parser_h" >&5
6533
echo "${ECHO_T}$ac_cv_header_libxml_parser_h" >&6; }
6245
6535
# Is the header compilable?
6246
{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6247
echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6536
{ echo "$as_me:$LINENO: checking libxml/parser.h usability" >&5
6537
echo $ECHO_N "checking libxml/parser.h usability... $ECHO_C" >&6; }
6248
6538
cat >conftest.$ac_ext <<_ACEOF
6249
6539
/* confdefs.h. */
6325
6615
# So? What about this header?
6326
6616
case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6328
{ echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6329
echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6330
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6331
echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6618
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: accepted by the compiler, rejected by the preprocessor!" >&5
6619
echo "$as_me: WARNING: libxml/parser.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
6620
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: proceeding with the compiler's result" >&5
6621
echo "$as_me: WARNING: libxml/parser.h: proceeding with the compiler's result" >&2;}
6332
6622
ac_header_preproc=yes
6335
{ echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6336
echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6337
{ echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6338
echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6339
{ echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6340
echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6341
{ echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6342
echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6343
{ echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6344
echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6345
{ echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6346
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6625
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: present but cannot be compiled" >&5
6626
echo "$as_me: WARNING: libxml/parser.h: present but cannot be compiled" >&2;}
6627
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: check for missing prerequisite headers?" >&5
6628
echo "$as_me: WARNING: libxml/parser.h: check for missing prerequisite headers?" >&2;}
6629
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: see the Autoconf documentation" >&5
6630
echo "$as_me: WARNING: libxml/parser.h: see the Autoconf documentation" >&2;}
6631
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: section \"Present But Cannot Be Compiled\"" >&5
6632
echo "$as_me: WARNING: libxml/parser.h: section \"Present But Cannot Be Compiled\"" >&2;}
6633
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: proceeding with the preprocessor's result" >&5
6634
echo "$as_me: WARNING: libxml/parser.h: proceeding with the preprocessor's result" >&2;}
6635
{ echo "$as_me:$LINENO: WARNING: libxml/parser.h: in the future, the compiler will take precedence" >&5
6636
echo "$as_me: WARNING: libxml/parser.h: in the future, the compiler will take precedence" >&2;}
6347
6637
( cat <<\_ASBOX
6348
6638
## ----------------------------------------------------------------- ##
6349
6639
## Report this to https://trac.xiph.org/newticket?component=ezstream ##
6352
6642
) | sed "s/^/$as_me: WARNING: /" >&2
6355
{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6356
echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6357
if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6645
{ echo "$as_me:$LINENO: checking for libxml/parser.h" >&5
6646
echo $ECHO_N "checking for libxml/parser.h... $ECHO_C" >&6; }
6647
if test "${ac_cv_header_libxml_parser_h+set}" = set; then
6358
6648
echo $ECHO_N "(cached) $ECHO_C" >&6
6360
eval "$as_ac_Header=\$ac_header_preproc"
6650
ac_cv_header_libxml_parser_h=$ac_header_preproc
6362
ac_res=`eval echo '${'$as_ac_Header'}'`
6363
{ echo "$as_me:$LINENO: result: $ac_res" >&5
6364
echo "${ECHO_T}$ac_res" >&6; }
6652
{ echo "$as_me:$LINENO: result: $ac_cv_header_libxml_parser_h" >&5
6653
echo "${ECHO_T}$ac_cv_header_libxml_parser_h" >&6; }
6367
if test `eval echo '${'$as_ac_Header'}'` = yes; then
6368
cat >>confdefs.h <<_ACEOF
6369
#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6656
if test $ac_cv_header_libxml_parser_h = yes; then
6372
6658
{ echo "$as_me:$LINENO: checking if libxml2 works" >&5
6373
6659
echo $ECHO_N "checking if libxml2 works... $ECHO_C" >&6; }
6456
rm -f conftest$ac_exeext
6735
rm -f conftest.$ac_objext conftest$ac_exeext
6457
6736
if { (ac_try="$ac_link"
6458
6737
case "(($ac_try" in
6459
6738
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6460
6739
*) ac_try_echo=$ac_try;;
6462
6741
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6463
(eval "$ac_link") 2>&5
6465
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6466
(exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6467
{ (case "(($ac_try" in
6468
*\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6469
*) ac_try_echo=$ac_try;;
6471
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6472
(eval "$ac_try") 2>&5
6474
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475
(exit $ac_status); }; }; then
6742
(eval "$ac_link") 2>conftest.er1
6744
grep -v '^ *+' conftest.er1 >conftest.err
6746
cat conftest.err >&5
6747
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6748
(exit $ac_status); } && {
6749
test -z "$ac_c_werror_flag" ||
6750
test ! -s conftest.err
6751
} && test -s conftest$ac_exeext &&
6752
$as_test_x conftest$ac_exeext; then
6477
6754
{ echo "$as_me:$LINENO: result: yes" >&5
6478
6755
echo "${ECHO_T}yes" >&6; }
6479
6756
local_cv_have_lib_libxml2=yes
6482
echo "$as_me: program exited with status $ac_status" >&5
6483
echo "$as_me: failed program was:" >&5
6759
echo "$as_me: failed program was:" >&5
6484
6760
sed 's/^/| /' conftest.$ac_ext >&5
6488
6763
{ echo "$as_me:$LINENO: result: no" >&5
6489
6764
echo "${ECHO_T}no" >&6; }
6493
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6769
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
6770
conftest$ac_exeext conftest.$ac_ext
6665
6940
echo $ECHO_N "(cached) $ECHO_C" >&6
6668
if test -z "${TAGLIB_CFLAGS}"; then
6943
ax_check_taglib_taglib_pc="no"
6944
if test -n "$PKG_CONFIG" && \
6945
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"taglib\"") >&5
6946
($PKG_CONFIG --exists --print-errors "taglib") 2>&5
6948
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6949
(exit $ac_status); }; then
6950
ax_check_taglib_taglib_pc=yes
6952
if test -z "${TAGLIB_CFLAGS}" \
6953
-a x"${ax_check_taglib_taglib_pc}" = "xyes"; then
6669
6954
TAGLIB_CFLAGS="`${PKG_CONFIG} --cflags-only-other taglib`"
6671
6956
if test -n "${TAGLIB_CPPFLAGS}"; then
6672
if test x"${have_taglib_includes}" != "x"; then
6957
if test -n "${have_taglib_includes}"; then
6673
6958
TAGLIB_CPPFLAGS="${TAGLIB_CPPFLAGS} -I${have_taglib_includes}"
6676
if test x"${have_taglib_includes}" != "x"; then
6961
if test -n "${have_taglib_includes}"; then
6677
6962
TAGLIB_CPPFLAGS="-I${have_taglib_includes}"
6679
if test x"${want_taglib}" = "xauto"; then
6964
if test x"${want_taglib}" = "xauto" \
6965
-a x"${ax_check_taglib_taglib_pc}" = "xyes"; then
6680
6966
TAGLIB_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I taglib`"
6967
elif test -n "${have_taglib_prefix}"; then
6682
6968
TAGLIB_CPPFLAGS="-I${have_taglib_prefix}/include/taglib"
6686
6972
if test -n "${TAGLIB_LDFLAGS}"; then
6687
if test x"${have_taglib_libs}" != "x"; then
6973
if test -n "${have_taglib_libs}"; then
6688
6974
TAGLIB_LDFLAGS="-L${have_taglib_libs} ${TAGLIB_LDFLAGS}"
6691
6977
if test -n "${have_taglib_libs}"; then
6692
6978
TAGLIB_LDFLAGS="-L${have_taglib_libs}"
6694
if test x"${want_taglib}" = "xauto"; then
6980
if test x"${want_taglib}" = "xauto" \
6981
-a x"${ax_check_taglib_taglib_pc}" = "xyes"; then
6695
6982
TAGLIB_LDFLAGS=" \
6696
6983
`${PKG_CONFIG} --libs-only-L taglib` \
6697
6984
`${PKG_CONFIG} --libs-only-other taglib` \
6986
elif test -n "${have_taglib_prefix}"; then
6700
6987
TAGLIB_LDFLAGS="-L${have_taglib_prefix}/lib"
6771
7058
echo $ECHO_N "(cached) $ECHO_C" >&6
6774
if test -z "${VORBIS_CFLAGS}"; then
7061
ax_check_libvorbis_vorbis_pc="no"
7062
if test -n "$PKG_CONFIG" && \
7063
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"vorbis\"") >&5
7064
($PKG_CONFIG --exists --print-errors "vorbis") 2>&5
7066
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7067
(exit $ac_status); }; then
7068
ax_check_libvorbis_vorbis_pc=yes
7070
if test -z "${VORBIS_CFLAGS}" \
7071
-a x"${ax_check_libvorbis_vorbis_pc}" = "xyes"; then
6775
7072
VORBIS_CFLAGS="`${PKG_CONFIG} --cflags-only-other vorbis`"
6777
7074
if test -n "${VORBIS_CPPFLAGS}"; then
6778
if test x"${have_libvorbis_includes}" != "x"; then
7075
if test -n "${have_libvorbis_includes}"; then
6779
7076
VORBIS_CPPFLAGS="${VORBIS_CPPFLAGS} -I${have_libvorbis_includes}"
6782
if test x"${have_libvorbis_includes}" != "x"; then
7079
if test -n "${have_libvorbis_includes}"; then
6783
7080
VORBIS_CPPFLAGS="-I${have_libvorbis_includes}"
6785
if test x"${want_libvorbis}" = "xauto"; then
7082
if test x"${want_libvorbis}" = "xauto" \
7083
-a x"${ax_check_libvorbis_vorbis_pc}" = "xyes"; then
6786
7084
VORBIS_CPPFLAGS="`${PKG_CONFIG} --cflags-only-I vorbis`"
7085
elif test -n "${have_libvorbis_prefix}"; then
6788
7086
VORBIS_CPPFLAGS="-I${have_libvorbis_prefix}/include"
6792
7090
if test -n "${VORBIS_LDFLAGS}"; then
6793
if test x"${have_libvorbis_libs}" != "x"; then
7091
if test -n "${have_libvorbis_libs}"; then
6794
7092
VORBIS_LDFLAGS="-L${have_libvorbis_libs} ${VORBIS_LDFLAGS}"
6797
7095
if test -n "${have_libvorbis_libs}"; then
6798
7096
VORBIS_LDFLAGS="-L${have_libvorbis_libs}"
6800
if test x"${want_libvorbis}" = "xauto"; then
7098
if test x"${want_libvorbis}" = "xauto" \
7099
-a x"${ax_check_libvorbis_vorbis_pc}" = "xyes"; then
6801
7100
VORBIS_LDFLAGS=" \
6802
7101
`${PKG_CONFIG} --libs-only-L vorbis` \
6803
7102
`${PKG_CONFIG} --libs-only-other vorbis` \
7104
elif test -n "${have_libvorbis_prefix}"; then
6806
7105
VORBIS_LDFLAGS="-L${have_libvorbis_prefix}/lib"
6822
7121
local_cv_have_lib_taglib_c=no
6824
PKG_CONFIG_PATH="${PKG_CONFIG_PATH}:${have_taglib_prefix}/lib/pkgconfig"
6825
if test -z "${PKG_CONFIG}"; then
6826
{ { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5
6827
echo "$as_me: error: The pkg-config utility is required." >&2;}
6828
{ (exit 1); exit 1; }; }
6831
if test -n "$PKG_CONFIG" && \
6832
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"taglib \"") >&5
6833
($PKG_CONFIG --exists --print-errors "taglib ") 2>&5
6835
echo "$as_me:$LINENO: \$? = $ac_status" >&5
6836
(exit $ac_status); }; then
6839
7123
if test x"${want_taglib}" != "xno"; then # want_taglib != no
7125
if test -z "${PKG_CONFIG}"; then
7126
{ { echo "$as_me:$LINENO: error: The pkg-config utility is required." >&5
7127
echo "$as_me: error: The pkg-config utility is required." >&2;}
7128
{ (exit 1); exit 1; }; }
7131
if test -n "$PKG_CONFIG" && \
7132
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"taglib_c \"") >&5
7133
($PKG_CONFIG --exists --print-errors "taglib_c ") 2>&5
7135
echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136
(exit $ac_status); }; then
6840
7139
if test -z "${TAGLIB_C_LIBS}"; then
6841
7140
TAGLIB_C_LIBS="-ltag_c"
7143
ax_check_taglib_c_save_CFLAGS="${CFLAGS}"
6843
7144
ax_check_taglib_c_save_CPPFLAGS="${CPPFLAGS}"
6844
7145
ax_check_taglib_c_save_LDFLAGS="${LDFLAGS}"
6845
7146
ax_check_taglib_c_save_LIBS="${LIBS}"