22642
22656
HAVE_SOUNDSYSTEM=no
22645
GST_REQUIRED_VERSION=0.8.2
22648
echo "$as_me:$LINENO: checking for SOUNDSYSTEM" >&5
22649
echo $ECHO_N "checking for SOUNDSYSTEM... $ECHO_C" >&6
22651
if test -n "$PKG_CONFIG"; then
22652
if test -n "$SOUNDSYSTEM_CFLAGS"; then
22653
pkg_cv_SOUNDSYSTEM_CFLAGS="$SOUNDSYSTEM_CFLAGS"
22655
if test -n "$PKG_CONFIG" && \
22656
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
22657
gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION gstreamer-libs-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION
22658
gstreamer-control-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION gstreamer-gconf-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION\"") >&5
22659
($PKG_CONFIG --exists --print-errors "\
22660
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-libs-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION
22661
gstreamer-control-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-gconf-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION") 2>&5
22663
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22664
(exit $ac_status); }; then
22665
pkg_cv_SOUNDSYSTEM_CFLAGS=`$PKG_CONFIG --cflags "\
22666
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-libs-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION
22667
gstreamer-control-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-gconf-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION" 2>/dev/null`
22675
if test -n "$PKG_CONFIG"; then
22676
if test -n "$SOUNDSYSTEM_LIBS"; then
22677
pkg_cv_SOUNDSYSTEM_LIBS="$SOUNDSYSTEM_LIBS"
22679
if test -n "$PKG_CONFIG" && \
22680
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
22681
gstreamer-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION gstreamer-libs-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION
22682
gstreamer-control-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION gstreamer-gconf-\$GST_MAJORMINOR >= \$GST_REQUIRED_VERSION\"") >&5
22683
($PKG_CONFIG --exists --print-errors "\
22684
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-libs-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION
22685
gstreamer-control-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-gconf-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION") 2>&5
22687
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22688
(exit $ac_status); }; then
22689
pkg_cv_SOUNDSYSTEM_LIBS=`$PKG_CONFIG --libs "\
22690
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-libs-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION
22691
gstreamer-control-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-gconf-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION" 2>/dev/null`
22702
if test $pkg_failed = yes; then
22704
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22705
_pkg_short_errors_supported=yes
22707
_pkg_short_errors_supported=no
22709
if test $_pkg_short_errors_supported = yes; then
22710
SOUNDSYSTEM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
22711
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-libs-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION
22712
gstreamer-control-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-gconf-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION"`
22714
SOUNDSYSTEM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
22715
gstreamer-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-libs-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION
22716
gstreamer-control-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION gstreamer-gconf-$GST_MAJORMINOR >= $GST_REQUIRED_VERSION"`
22718
# Put the nasty error message in config.log where it belongs
22719
echo "$SOUNDSYSTEM_PKG_ERRORS" >&5
22721
HAVE_SOUNDSYSTEM=no
22722
elif test $pkg_failed = untried; then
22723
HAVE_SOUNDSYSTEM=no
22725
SOUNDSYSTEM_CFLAGS=$pkg_cv_SOUNDSYSTEM_CFLAGS
22726
SOUNDSYSTEM_LIBS=$pkg_cv_SOUNDSYSTEM_LIBS
22727
echo "$as_me:$LINENO: result: yes" >&5
22728
echo "${ECHO_T}yes" >&6
22729
HAVE_SOUNDSYSTEM=yes
22732
if test "x$HAVE_SOUNDSYSTEM" = "xno"; then
22733
{ { echo "$as_me:$LINENO: error: GStreamer not found, or older than version $GST_REQUIRED_VERSION" >&5
22734
echo "$as_me: error: GStreamer not found, or older than version $GST_REQUIRED_VERSION" >&2;}
22735
{ (exit 1); exit 1; }; }
22738
SOUNDSYSTEM_DEPS="gstreamer-$GST_MAJORMINOR"
22742
cat >>confdefs.h <<\_ACEOF
22743
#define HAVE_GSTREAMER 1
22658
GST_0_8_MAJORMINOR=0.8
22659
GST_0_8_REQUIRED_VERSION=0.8.2
22662
echo "$as_me:$LINENO: checking for GSTREAMER_0_8" >&5
22663
echo $ECHO_N "checking for GSTREAMER_0_8... $ECHO_C" >&6
22665
if test -n "$PKG_CONFIG"; then
22666
if test -n "$GSTREAMER_0_8_CFLAGS"; then
22667
pkg_cv_GSTREAMER_0_8_CFLAGS="$GSTREAMER_0_8_CFLAGS"
22669
if test -n "$PKG_CONFIG" && \
22670
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
22671
gstreamer-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION gstreamer-libs-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION
22672
gstreamer-control-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION
22673
gstreamer-gconf-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION\"") >&5
22674
($PKG_CONFIG --exists --print-errors "\
22675
gstreamer-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION gstreamer-libs-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22676
gstreamer-control-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22677
gstreamer-gconf-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION") 2>&5
22679
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22680
(exit $ac_status); }; then
22681
pkg_cv_GSTREAMER_0_8_CFLAGS=`$PKG_CONFIG --cflags "\
22682
gstreamer-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION gstreamer-libs-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22683
gstreamer-control-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22684
gstreamer-gconf-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION" 2>/dev/null`
22692
if test -n "$PKG_CONFIG"; then
22693
if test -n "$GSTREAMER_0_8_LIBS"; then
22694
pkg_cv_GSTREAMER_0_8_LIBS="$GSTREAMER_0_8_LIBS"
22696
if test -n "$PKG_CONFIG" && \
22697
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
22698
gstreamer-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION gstreamer-libs-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION
22699
gstreamer-control-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION
22700
gstreamer-gconf-\$GST_0_8_MAJORMINOR >= \$GST_0_8_REQUIRED_VERSION\"") >&5
22701
($PKG_CONFIG --exists --print-errors "\
22702
gstreamer-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION gstreamer-libs-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22703
gstreamer-control-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22704
gstreamer-gconf-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION") 2>&5
22706
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22707
(exit $ac_status); }; then
22708
pkg_cv_GSTREAMER_0_8_LIBS=`$PKG_CONFIG --libs "\
22709
gstreamer-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION gstreamer-libs-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22710
gstreamer-control-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22711
gstreamer-gconf-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION" 2>/dev/null`
22722
if test $pkg_failed = yes; then
22724
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22725
_pkg_short_errors_supported=yes
22727
_pkg_short_errors_supported=no
22729
if test $_pkg_short_errors_supported = yes; then
22730
GSTREAMER_0_8_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
22731
gstreamer-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION gstreamer-libs-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22732
gstreamer-control-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22733
gstreamer-gconf-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION"`
22735
GSTREAMER_0_8_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
22736
gstreamer-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION gstreamer-libs-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22737
gstreamer-control-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION
22738
gstreamer-gconf-$GST_0_8_MAJORMINOR >= $GST_0_8_REQUIRED_VERSION"`
22740
# Put the nasty error message in config.log where it belongs
22741
echo "$GSTREAMER_0_8_PKG_ERRORS" >&5
22743
have_gstreamer_0_8=no
22744
elif test $pkg_failed = untried; then
22745
have_gstreamer_0_8=no
22747
GSTREAMER_0_8_CFLAGS=$pkg_cv_GSTREAMER_0_8_CFLAGS
22748
GSTREAMER_0_8_LIBS=$pkg_cv_GSTREAMER_0_8_LIBS
22749
echo "$as_me:$LINENO: result: yes" >&5
22750
echo "${ECHO_T}yes" >&6
22751
have_gstreamer_0_8=yes
22754
GST_0_10_MAJORMINOR=0.10
22755
GST_0_10_REQUIRED_VERSION=0.9.7
22758
echo "$as_me:$LINENO: checking for GSTREAMER_0_10" >&5
22759
echo $ECHO_N "checking for GSTREAMER_0_10... $ECHO_C" >&6
22761
if test -n "$PKG_CONFIG"; then
22762
if test -n "$GSTREAMER_0_10_CFLAGS"; then
22763
pkg_cv_GSTREAMER_0_10_CFLAGS="$GSTREAMER_0_10_CFLAGS"
22765
if test -n "$PKG_CONFIG" && \
22766
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
22767
gstreamer-\$GST_0_10_MAJORMINOR >= \$GST_0_10_REQUIRED_VERSION
22768
gstreamer-plugins-base-\$GST_0_10_MAJORMINOR >= \$GST_0_10_REQUIRED_VERSION\"") >&5
22769
($PKG_CONFIG --exists --print-errors "\
22770
gstreamer-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION
22771
gstreamer-plugins-base-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION") 2>&5
22773
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22774
(exit $ac_status); }; then
22775
pkg_cv_GSTREAMER_0_10_CFLAGS=`$PKG_CONFIG --cflags "\
22776
gstreamer-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION
22777
gstreamer-plugins-base-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION" 2>/dev/null`
22785
if test -n "$PKG_CONFIG"; then
22786
if test -n "$GSTREAMER_0_10_LIBS"; then
22787
pkg_cv_GSTREAMER_0_10_LIBS="$GSTREAMER_0_10_LIBS"
22789
if test -n "$PKG_CONFIG" && \
22790
{ (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\\
22791
gstreamer-\$GST_0_10_MAJORMINOR >= \$GST_0_10_REQUIRED_VERSION
22792
gstreamer-plugins-base-\$GST_0_10_MAJORMINOR >= \$GST_0_10_REQUIRED_VERSION\"") >&5
22793
($PKG_CONFIG --exists --print-errors "\
22794
gstreamer-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION
22795
gstreamer-plugins-base-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION") 2>&5
22797
echo "$as_me:$LINENO: \$? = $ac_status" >&5
22798
(exit $ac_status); }; then
22799
pkg_cv_GSTREAMER_0_10_LIBS=`$PKG_CONFIG --libs "\
22800
gstreamer-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION
22801
gstreamer-plugins-base-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION" 2>/dev/null`
22812
if test $pkg_failed = yes; then
22814
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
22815
_pkg_short_errors_supported=yes
22817
_pkg_short_errors_supported=no
22819
if test $_pkg_short_errors_supported = yes; then
22820
GSTREAMER_0_10_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "\
22821
gstreamer-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION
22822
gstreamer-plugins-base-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION"`
22824
GSTREAMER_0_10_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "\
22825
gstreamer-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION
22826
gstreamer-plugins-base-$GST_0_10_MAJORMINOR >= $GST_0_10_REQUIRED_VERSION"`
22828
# Put the nasty error message in config.log where it belongs
22829
echo "$GSTREAMER_0_10_PKG_ERRORS" >&5
22831
have_gstreamer_0_10=no
22832
elif test $pkg_failed = untried; then
22833
have_gstreamer_0_10=no
22835
GSTREAMER_0_10_CFLAGS=$pkg_cv_GSTREAMER_0_10_CFLAGS
22836
GSTREAMER_0_10_LIBS=$pkg_cv_GSTREAMER_0_10_LIBS
22837
echo "$as_me:$LINENO: result: yes" >&5
22838
echo "${ECHO_T}yes" >&6
22839
have_gstreamer_0_10=yes
22843
# Check whether --with-player or --without-player was given.
22844
if test "${with_player+set}" = set; then
22845
withval="$with_player"
22851
if test x$with_playback = xauto -o x$with_playback = x$gstreamer_0_10; then
22852
if test x"$have_gstreamer_0_10" = xyes; then
22853
with_playback=gstreamer_0_10
22854
SOUNDSYSTEM_DEPS="gstreamer-$GST_0_10_MAJORMINOR"
22856
cat >>confdefs.h <<\_ACEOF
22857
#define HAVE_GSTREAMER 1
22861
cat >>confdefs.h <<\_ACEOF
22862
#define HAVE_GSTREAMER_0_10 1
22865
SOUNDSYSTEM_CFLAGS="$GSTREAMER_0_10_CFLAGS"
22866
SOUNDSYSTEM_LIBS="$GSTREAMER_0_10_LIBS"
22867
elif test x$with_playback = x$gstreamer_0_10; then
22868
{ { echo "$as_me:$LINENO: error: GStreamer 0.10 explicity requested, and not found or older than version $GST_REQUIRED_VERSION" >&5
22869
echo "$as_me: error: GStreamer 0.10 explicity requested, and not found or older than version $GST_REQUIRED_VERSION" >&2;}
22870
{ (exit 1); exit 1; }; }
22873
if test x$with_playback = xauto -o x$with_playback = x$gstreamer_0_8; then
22874
if test x"$have_gstreamer_0_8" = xyes; then
22875
with_playback=gstreamer_0_8
22876
SOUNDSYSTEM_DEPS="gstreamer-$GST_0_8_MAJORMINOR"
22878
cat >>confdefs.h <<\_ACEOF
22879
#define HAVE_GSTREAMER 1
22883
cat >>confdefs.h <<\_ACEOF
22884
#define HAVE_GSTREAMER_0_8 1
22887
SOUNDSYSTEM_CFLAGS="$GSTREAMER_0_8_CFLAGS"
22888
SOUNDSYSTEM_LIBS="$GSTREAMER_0_8_LIBS"
22889
elif test x$with_playback = x$gstreamer_0_8; then
22890
{ { echo "$as_me:$LINENO: error: GStreamer 0.8 explicity requested, and not found or older than version $GST_REQUIRED_VERSION" >&5
22891
echo "$as_me: error: GStreamer 0.8 explicity requested, and not found or older than version $GST_REQUIRED_VERSION" >&2;}
22892
{ (exit 1); exit 1; }; }
22896
if test x$with_playback = xauto; then
22897
{ { echo "$as_me:$LINENO: error: GStreamer not found, or older than version $GST_0_8_REQUIRED_VERSION/$GST_0_10_REQUIRED_VERSION" >&5
22898
echo "$as_me: error: GStreamer not found, or older than version $GST_0_8_REQUIRED_VERSION/$GST_0_10_REQUIRED_VERSION" >&2;}
22899
{ (exit 1); exit 1; }; }
22747
22903
RHYTHMBOX_CFLAGS="$RHYTHMBOX_CFLAGS $SOUNDSYSTEM_CFLAGS"
22748
22904
RHYTHMBOX_LIBS="$RHYTHMBOX_LIBS $SOUNDSYSTEM_LIBS"
22751
if test "x$GST_INSPECT" == "x"; then
22752
# Extract the first word of "gst-inspect-0.8", so it can be a program name with args.
22753
set dummy gst-inspect-0.8; ac_word=$2
22754
echo "$as_me:$LINENO: checking for $ac_word" >&5
22755
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
22756
if test "${ac_cv_prog_GST_INSPECT+set}" = set; then
22757
echo $ECHO_N "(cached) $ECHO_C" >&6
22759
if test -n "$GST_INSPECT"; then
22760
ac_cv_prog_GST_INSPECT="$GST_INSPECT" # Let the user override the test.
22762
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22763
for as_dir in $PATH
22766
test -z "$as_dir" && as_dir=.
22767
for ac_exec_ext in '' $ac_executable_extensions; do
22768
if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22769
ac_cv_prog_GST_INSPECT="gst-inspect-0.8"
22770
echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
22778
GST_INSPECT=$ac_cv_prog_GST_INSPECT
22779
if test -n "$GST_INSPECT"; then
22780
echo "$as_me:$LINENO: result: $GST_INSPECT" >&5
22781
echo "${ECHO_T}$GST_INSPECT" >&6
22783
echo "$as_me:$LINENO: result: no" >&5
22784
echo "${ECHO_T}no" >&6
22789
if test "x$GST_INSPECT" != "x"; then
22790
echo "$as_me:$LINENO: checking GStreamer element playbin" >&5
22791
echo $ECHO_N "checking GStreamer element playbin... $ECHO_C" >&6
22792
if $GST_INSPECT playbin > /dev/null 2> /dev/null ; then
22793
echo "$as_me:$LINENO: result: found." >&5
22794
echo "${ECHO_T}found." >&6
22797
echo "$as_me:$LINENO: result: not found." >&5
22798
echo "${ECHO_T}not found." >&6
22799
missing_gst_elements="$missing_gst_elements spider"
22804
22907
# Check whether --enable-tag-writing or --disable-tag-writing was given.
22805
22908
if test "${enable_tag_writing+set}" = set; then
22806
22909
enableval="$enable_tag_writing"