Skip to content
Snippets Groups Projects
configure 1.17 MiB
Newer Older
34001 34002 34003 34004 34005 34006 34007 34008 34009 34010 34011 34012 34013 34014 34015 34016 34017 34018 34019 34020 34021 34022 34023 34024 34025 34026 34027 34028 34029 34030 34031 34032 34033 34034 34035 34036 34037 34038 34039 34040 34041 34042 34043 34044 34045 34046 34047 34048 34049 34050 34051 34052 34053 34054 34055 34056 34057 34058 34059 34060 34061 34062 34063 34064 34065 34066 34067 34068 34069 34070 34071 34072 34073 34074 34075 34076 34077 34078 34079 34080 34081 34082 34083 34084 34085 34086 34087 34088 34089 34090 34091 34092 34093 34094 34095 34096 34097 34098 34099 34100 34101 34102 34103 34104 34105 34106 34107 34108 34109 34110 34111 34112 34113 34114 34115 34116 34117 34118 34119 34120 34121 34122 34123 34124 34125 34126 34127 34128 34129 34130 34131 34132 34133 34134 34135 34136 34137 34138 34139 34140 34141 34142 34143 34144 34145 34146 34147 34148 34149 34150 34151 34152 34153 34154 34155 34156 34157 34158 34159 34160 34161 34162 34163 34164 34165 34166 34167 34168 34169 34170 34171 34172 34173 34174 34175 34176 34177 34178 34179 34180 34181 34182 34183 34184 34185 34186 34187 34188 34189 34190 34191 34192 34193 34194 34195 34196 34197 34198 34199 34200 34201 34202 34203 34204 34205 34206 34207 34208 34209 34210 34211 34212 34213 34214 34215 34216 34217 34218 34219 34220 34221 34222 34223 34224 34225 34226 34227 34228 34229 34230 34231 34232 34233 34234 34235 34236 34237 34238 34239 34240 34241 34242 34243 34244 34245 34246 34247 34248 34249 34250 34251 34252 34253 34254 34255 34256 34257 34258 34259 34260 34261 34262 34263 34264 34265 34266 34267 34268 34269 34270 34271 34272 34273 34274 34275 34276 34277 34278 34279 34280 34281 34282 34283 34284 34285 34286 34287 34288 34289 34290 34291 34292 34293 34294 34295 34296 34297 34298 34299 34300 34301 34302 34303 34304 34305 34306 34307 34308 34309 34310 34311 34312 34313 34314 34315 34316 34317 34318 34319 34320 34321 34322 34323 34324 34325 34326 34327 34328 34329 34330 34331 34332 34333 34334 34335 34336 34337 34338 34339 34340 34341 34342 34343 34344 34345 34346 34347 34348 34349 34350 34351 34352 34353 34354 34355 34356 34357 34358 34359 34360 34361 34362 34363 34364 34365 34366 34367 34368 34369 34370 34371 34372 34373 34374 34375 34376 34377 34378 34379 34380 34381 34382 34383 34384 34385 34386 34387 34388 34389 34390 34391 34392 34393 34394 34395 34396 34397 34398 34399 34400 34401 34402 34403 34404 34405 34406 34407 34408 34409 34410 34411 34412 34413 34414 34415 34416 34417 34418 34419 34420 34421 34422 34423 34424 34425 34426 34427 34428 34429 34430 34431 34432 34433 34434 34435 34436 34437 34438 34439 34440 34441 34442 34443 34444 34445 34446 34447 34448 34449 34450 34451 34452 34453 34454 34455 34456 34457 34458 34459 34460 34461 34462 34463 34464 34465 34466 34467 34468 34469 34470 34471 34472 34473 34474 34475 34476 34477 34478 34479 34480 34481 34482 34483 34484 34485 34486 34487 34488 34489 34490 34491 34492 34493 34494 34495 34496 34497 34498 34499 34500 34501 34502 34503 34504 34505 34506 34507 34508 34509 34510 34511 34512 34513 34514 34515 34516 34517 34518 34519 34520 34521 34522 34523 34524 34525 34526 34527 34528 34529 34530 34531 34532 34533 34534 34535 34536 34537 34538 34539 34540 34541 34542 34543 34544 34545 34546 34547 34548 34549 34550 34551 34552 34553 34554 34555 34556 34557 34558 34559 34560 34561 34562 34563 34564 34565 34566 34567 34568 34569 34570 34571 34572 34573 34574 34575 34576 34577 34578 34579 34580 34581 34582 34583 34584 34585 34586 34587 34588 34589 34590 34591 34592 34593 34594 34595 34596 34597 34598 34599 34600 34601 34602 34603 34604 34605 34606 34607 34608 34609 34610 34611 34612 34613 34614 34615 34616 34617 34618 34619 34620 34621 34622 34623 34624 34625 34626 34627 34628 34629 34630 34631 34632 34633 34634 34635 34636 34637 34638 34639 34640 34641 34642 34643 34644 34645 34646 34647
extern "C"
#endif
char avc1394_send_command ();
int
main ()
{
return avc1394_send_command ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_avc1394_avc1394_send_command=yes
else
  ac_cv_lib_avc1394_avc1394_send_command=no
fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
$as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
  HAVE_AVC1394=yes
else
  HAVE_AVC1394=no
fi

  if test "x$HAVE_AVC1394" = "xyes"; then
    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
  :
else
  HAVE_AVC1394=no
fi


    if test "x$HAVE_AVC1394" = "xyes"; then
            AVC1394_LIBS="-lavc1394"
    else
      :
    fi
  else
    :
  fi




  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
$as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char rom1394_free_directory ();
int
main ()
{
return rom1394_free_directory ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_rom1394_rom1394_free_directory=yes
else
  ac_cv_lib_rom1394_rom1394_free_directory=no
fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
$as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
  HAVE_ROM1394=yes
else
  HAVE_ROM1394=no
fi

  if test "x$HAVE_ROM1394" = "xyes"; then
    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
  :
else
  HAVE_ROM1394=no
fi


    if test "x$HAVE_ROM1394" = "xyes"; then
            ROM1394_LIBS="-lrom1394"
    else
      :
    fi
  else
    :
  fi



       if test x$HAVE_AVC1394 = xyes && \
          test x$HAVE_AVC1394 = xyes && \
	  test x$HAVE_ROM1394 = xyes; then
	  HAVE_DV1394=yes
          DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS $LIBIEC61883_LIBS"
          DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"


	fi
  else
       if test x$HAVE_RAW1394 = xno; then

  which="libraw1394 >= 1.1.0"
    required="no"


pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for RAW1394" >&5
$as_echo_n "checking for RAW1394... " >&6; }

if test -n "$PKG_CONFIG"; then
    if test -n "$RAW1394_CFLAGS"; then
        pkg_cv_RAW1394_CFLAGS="$RAW1394_CFLAGS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_RAW1394_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi
if test -n "$PKG_CONFIG"; then
    if test -n "$RAW1394_LIBS"; then
        pkg_cv_RAW1394_LIBS="$RAW1394_LIBS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_RAW1394_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi



if test $pkg_failed = yes; then

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
        _pkg_short_errors_supported=yes
else
        _pkg_short_errors_supported=no
fi
        if test $_pkg_short_errors_supported = yes; then
	        RAW1394_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
        else
	        RAW1394_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
        fi
	# Put the nasty error message in config.log where it belongs
	echo "$RAW1394_PKG_ERRORS" >&5

	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

      HAVE_RAW1394="no"
      if test "x$required" = "xyes"; then
        as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
      else
        { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
$as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
      fi

elif test $pkg_failed = untried; then

      HAVE_RAW1394="no"
      if test "x$required" = "xyes"; then
        as_fn_error $? "$RAW1394_PKG_ERRORS" "$LINENO" 5
      else
        { $as_echo "$as_me:${as_lineno-$LINENO}: $RAW1394_PKG_ERRORS" >&5
$as_echo "$as_me: $RAW1394_PKG_ERRORS" >&6;}
      fi

else
	RAW1394_CFLAGS=$pkg_cv_RAW1394_CFLAGS
	RAW1394_LIBS=$pkg_cv_RAW1394_LIBS
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }

      HAVE_RAW1394="yes"

fi



  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avc1394_send_command in -lavc1394" >&5
$as_echo_n "checking for avc1394_send_command in -lavc1394... " >&6; }
if ${ac_cv_lib_avc1394_avc1394_send_command+:} false; then :
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lavc1394 $RAW1394_LIBS $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char avc1394_send_command ();
int
main ()
{
return avc1394_send_command ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_avc1394_avc1394_send_command=yes
else
  ac_cv_lib_avc1394_avc1394_send_command=no
fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avc1394_avc1394_send_command" >&5
$as_echo "$ac_cv_lib_avc1394_avc1394_send_command" >&6; }
if test "x$ac_cv_lib_avc1394_avc1394_send_command" = xyes; then :
  HAVE_AVC1394=yes
else
  HAVE_AVC1394=no
fi

  if test "x$HAVE_AVC1394" = "xyes"; then
    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/avc1394.h" "ac_cv_header_libavc1394_avc1394_h" "$ac_includes_default"
if test "x$ac_cv_header_libavc1394_avc1394_h" = xyes; then :
  :
else
  HAVE_AVC1394=no
fi


    if test "x$HAVE_AVC1394" = "xyes"; then
            AVC1394_LIBS="-lavc1394"
    else
      :
    fi
  else
    :
  fi




  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rom1394_free_directory in -lrom1394" >&5
$as_echo_n "checking for rom1394_free_directory in -lrom1394... " >&6; }
if ${ac_cv_lib_rom1394_rom1394_free_directory+:} false; then :
  $as_echo_n "(cached) " >&6
else
  ac_check_lib_save_LIBS=$LIBS
LIBS="-lrom1394 $RAW1394_LIBS $LIBS"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h.  */

/* Override any GCC internal prototype to avoid an error.
   Use char because int might match the return type of a GCC
   builtin and then its argument prototype would still apply.  */
#ifdef __cplusplus
extern "C"
#endif
char rom1394_free_directory ();
int
main ()
{
return rom1394_free_directory ();
  ;
  return 0;
}
_ACEOF
if ac_fn_c_try_link "$LINENO"; then :
  ac_cv_lib_rom1394_rom1394_free_directory=yes
else
  ac_cv_lib_rom1394_rom1394_free_directory=no
fi
rm -f core conftest.err conftest.$ac_objext \
    conftest$ac_exeext conftest.$ac_ext
LIBS=$ac_check_lib_save_LIBS
fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rom1394_rom1394_free_directory" >&5
$as_echo "$ac_cv_lib_rom1394_rom1394_free_directory" >&6; }
if test "x$ac_cv_lib_rom1394_rom1394_free_directory" = xyes; then :
  HAVE_ROM1394=yes
else
  HAVE_ROM1394=no
fi

  if test "x$HAVE_ROM1394" = "xyes"; then
    ac_fn_c_check_header_mongrel "$LINENO" "libavc1394/rom1394.h" "ac_cv_header_libavc1394_rom1394_h" "$ac_includes_default"
if test "x$ac_cv_header_libavc1394_rom1394_h" = xyes; then :
  :
else
  HAVE_ROM1394=no
fi


    if test "x$HAVE_ROM1394" = "xyes"; then
            ROM1394_LIBS="-lrom1394"
    else
      :
    fi
  else
    :
  fi



          if test x$HAVE_RAW1394 = xyes && \
	     test x$HAVE_AVC1394 = xyes && \
	     test x$HAVE_ROM1394 = xyes; then
	     HAVE_DV1394=yes
	     DV1394_LIBS="$RAW1394_LIBS $AVC1394_LIBS $ROM1394_LIBS"
	     DV1394_CFLAGS="$RAW1394_CFLAGS"
	     if test x$HAVE_LIBIEC61883 = xyes; then
	       DV1394_CFLAGS="$RAW1394_CFLAGS $LIBIEC61883_CFLAGS -DHAVE_LIBIEC61883"
	       DV1394_LIBS="$DV1394_LIBS $LIBIEC61883_LIBS"
	     fi


           fi
	 fi
  fi


  LIBS=$gst_check_save_LIBS
  LDFLAGS=$gst_check_save_LDFLAGS
  CFLAGS=$gst_check_save_CFLAGS
  CPPFLAGS=$gst_check_save_CPPFLAGS
  CXXFLAGS=$gst_check_save_CXXFLAGS

    if test x$HAVE_DV1394 = xno; then
    USE_DV1394=no
  else
    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: 1394" >&5
$as_echo "$as_me: *** These plugins will be built: 1394" >&6;}
  fi
fi
if test x$USE_DV1394 = xyes; then
  :
  if test "x1394" != "x"; then
    GST_PLUGINS_YES="\t1394\n$GST_PLUGINS_YES"
  fi

$as_echo "#define HAVE_DV1394 /**/" >>confdefs.h

else
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: 1394" >&5
$as_echo "$as_me: *** These plugins will not be built: 1394" >&6;}
  if test "x1394" != "x"; then
    GST_PLUGINS_NO="\t1394\n$GST_PLUGINS_NO"
  fi
  :
fi
 if test x$USE_DV1394 = xyes; then
  USE_DV1394_TRUE=
  USE_DV1394_FALSE='#'
else
  USE_DV1394_TRUE='#'
  USE_DV1394_FALSE=
fi


 if  test "x${HAVE_LIBIEC61883}" = xyes  ; then
  USE_LIBIEC61883_TRUE=
  USE_LIBIEC61883_FALSE='#'
else
  USE_LIBIEC61883_TRUE='#'
  USE_LIBIEC61883_FALSE=
fi


echo
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Shoutcast/Icecast client library ***" >&5
$as_echo "$as_me: *** checking feature: Shoutcast/Icecast client library ***" >&6;}
if test "xshout2" != "x"
then
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: shout2 ***" >&5
$as_echo "$as_me: *** for plug-ins: shout2 ***" >&6;}
fi
NOUSE=
if test "x$USE_SHOUT2" = "xno"; then
  NOUSE="yes"
fi
# Check whether --enable-shout2 was given.
if test "${enable_shout2+set}" = set; then :
  enableval=$enable_shout2;  case "${enableval}" in
      yes) USE_SHOUT2=yes;;
      no) USE_SHOUT2=no;;
      *) as_fn_error $? "bad value ${enableval} for --enable-shout2" "$LINENO" 5 ;;
    esac
else
   USE_SHOUT2=yes
fi

if test "x$NOUSE" = "xyes"; then
  USE_SHOUT2="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 pre-configured not to be built" >&5
$as_echo "$as_me: WARNING: *** shout2 pre-configured not to be built" >&2;}
fi
NOUSE=

if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SHOUT2 " > /dev/null; then
  USE_SHOUT2="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** shout2 not ported" >&5
$as_echo "$as_me: WARNING: *** shout2 not ported" >&2;}
fi


if test x$USE_SHOUT2 = xyes; then

  gst_check_save_LIBS=$LIBS
  gst_check_save_LDFLAGS=$LDFLAGS
  gst_check_save_CFLAGS=$CFLAGS
  gst_check_save_CPPFLAGS=$CPPFLAGS
  gst_check_save_CXXFLAGS=$CXXFLAGS

  HAVE_SHOUT2=no


  which="shout >= 2.0"
    required="no"


pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SHOUT2" >&5
$as_echo_n "checking for SHOUT2... " >&6; }

if test -n "$PKG_CONFIG"; then
    if test -n "$SHOUT2_CFLAGS"; then
        pkg_cv_SHOUT2_CFLAGS="$SHOUT2_CFLAGS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SHOUT2_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi
if test -n "$PKG_CONFIG"; then
    if test -n "$SHOUT2_LIBS"; then
        pkg_cv_SHOUT2_LIBS="$SHOUT2_LIBS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SHOUT2_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi



if test $pkg_failed = yes; then

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
        _pkg_short_errors_supported=yes
else
        _pkg_short_errors_supported=no
fi
        if test $_pkg_short_errors_supported = yes; then
	        SHOUT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
        else
	        SHOUT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
        fi
	# Put the nasty error message in config.log where it belongs
	echo "$SHOUT2_PKG_ERRORS" >&5

	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

      HAVE_SHOUT2="no"
      if test "x$required" = "xyes"; then
        as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
      else
        { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
$as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
      fi

elif test $pkg_failed = untried; then

      HAVE_SHOUT2="no"
      if test "x$required" = "xyes"; then
        as_fn_error $? "$SHOUT2_PKG_ERRORS" "$LINENO" 5
      else
        { $as_echo "$as_me:${as_lineno-$LINENO}: $SHOUT2_PKG_ERRORS" >&5
$as_echo "$as_me: $SHOUT2_PKG_ERRORS" >&6;}
      fi

else
	SHOUT2_CFLAGS=$pkg_cv_SHOUT2_CFLAGS
	SHOUT2_LIBS=$pkg_cv_SHOUT2_LIBS
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }

      HAVE_SHOUT2="yes"

fi




  LIBS=$gst_check_save_LIBS
  LDFLAGS=$gst_check_save_LDFLAGS
  CFLAGS=$gst_check_save_CFLAGS
  CPPFLAGS=$gst_check_save_CPPFLAGS
  CXXFLAGS=$gst_check_save_CXXFLAGS

    if test x$HAVE_SHOUT2 = xno; then
    USE_SHOUT2=no
  else
    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: shout2" >&5
$as_echo "$as_me: *** These plugins will be built: shout2" >&6;}
  fi
fi
if test x$USE_SHOUT2 = xyes; then
  :
  if test "xshout2" != "x"; then
    GST_PLUGINS_YES="\tshout2\n$GST_PLUGINS_YES"
  fi

$as_echo "#define HAVE_SHOUT2 /**/" >>confdefs.h

else
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: shout2" >&5
$as_echo "$as_me: *** These plugins will not be built: shout2" >&6;}
  if test "xshout2" != "x"; then
    GST_PLUGINS_NO="\tshout2\n$GST_PLUGINS_NO"
  fi
  :
fi
 if test x$USE_SHOUT2 = xyes; then
  USE_SHOUT2_TRUE=
  USE_SHOUT2_FALSE='#'
else
  USE_SHOUT2_TRUE='#'
  USE_SHOUT2_FALSE=
fi



echo
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: soup http client plugin (2.4) ***" >&5
$as_echo "$as_me: *** checking feature: soup http client plugin (2.4) ***" >&6;}
if test "xsouphttpsrc" != "x"
then
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: souphttpsrc ***" >&5
$as_echo "$as_me: *** for plug-ins: souphttpsrc ***" >&6;}
fi
NOUSE=
if test "x$USE_SOUP" = "xno"; then
  NOUSE="yes"
fi
# Check whether --enable-soup was given.
if test "${enable_soup+set}" = set; then :
  enableval=$enable_soup;  case "${enableval}" in
      yes) USE_SOUP=yes;;
      no) USE_SOUP=no;;
      *) as_fn_error $? "bad value ${enableval} for --enable-soup" "$LINENO" 5 ;;
    esac
else
   USE_SOUP=yes
fi

if test "x$NOUSE" = "xyes"; then
  USE_SOUP="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc pre-configured not to be built" >&5
$as_echo "$as_me: WARNING: *** souphttpsrc pre-configured not to be built" >&2;}
fi
NOUSE=

if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SOUP " > /dev/null; then
  USE_SOUP="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** souphttpsrc not ported" >&5
$as_echo "$as_me: WARNING: *** souphttpsrc not ported" >&2;}
fi


if test x$USE_SOUP = xyes; then

  gst_check_save_LIBS=$LIBS
  gst_check_save_LDFLAGS=$LDFLAGS
  gst_check_save_CFLAGS=$CFLAGS
  gst_check_save_CPPFLAGS=$CPPFLAGS
  gst_check_save_CXXFLAGS=$CXXFLAGS

  HAVE_SOUP=no


pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SOUP" >&5
$as_echo_n "checking for SOUP... " >&6; }

if test -n "$PKG_CONFIG"; then
    if test -n "$SOUP_CFLAGS"; then
        pkg_cv_SOUP_CFLAGS="$SOUP_CFLAGS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.48\""; } >&5
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.48") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SOUP_CFLAGS=`$PKG_CONFIG --cflags "libsoup-2.4 >= 2.48" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi
if test -n "$PKG_CONFIG"; then
    if test -n "$SOUP_LIBS"; then
        pkg_cv_SOUP_LIBS="$SOUP_LIBS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4 >= 2.48\""; } >&5
  ($PKG_CONFIG --exists --print-errors "libsoup-2.4 >= 2.48") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SOUP_LIBS=`$PKG_CONFIG --libs "libsoup-2.4 >= 2.48" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi



if test $pkg_failed = yes; then

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
        _pkg_short_errors_supported=yes
else
        _pkg_short_errors_supported=no
fi
        if test $_pkg_short_errors_supported = yes; then
	        SOUP_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libsoup-2.4 >= 2.48"`
	        SOUP_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libsoup-2.4 >= 2.48"`
        fi
	# Put the nasty error message in config.log where it belongs
	echo "$SOUP_PKG_ERRORS" >&5

	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }
                HAVE_SOUP="no"
elif test $pkg_failed = untried; then
	HAVE_SOUP="no"
34702 34703 34704 34705 34706 34707 34708 34709 34710 34711 34712 34713 34714 34715 34716 34717 34718 34719 34720 34721 34722 34723 34724 34725 34726 34727 34728 34729 34730 34731 34732 34733 34734 34735 34736 34737 34738 34739 34740 34741 34742 34743 34744 34745 34746 34747 34748 34749 34750 34751 34752 34753 34754 34755 34756 34757 34758 34759 34760 34761 34762 34763 34764 34765 34766 34767 34768 34769 34770 34771 34772 34773 34774 34775 34776 34777 34778 34779 34780 34781 34782 34783 34784 34785 34786 34787 34788 34789 34790 34791 34792 34793 34794 34795 34796 34797 34798 34799 34800 34801 34802 34803 34804 34805 34806 34807 34808 34809 34810 34811 34812 34813 34814 34815 34816 34817 34818 34819 34820 34821 34822 34823 34824 34825 34826 34827 34828 34829 34830 34831 34832 34833 34834 34835 34836 34837 34838 34839 34840 34841 34842 34843 34844 34845 34846 34847 34848 34849 34850 34851 34852 34853 34854 34855 34856 34857 34858 34859 34860 34861 34862 34863 34864 34865 34866 34867 34868 34869 34870 34871 34872 34873 34874 34875 34876 34877 34878 34879 34880 34881 34882 34883 34884 34885 34886 34887 34888 34889 34890 34891 34892 34893 34894 34895 34896 34897 34898 34899 34900 34901 34902 34903 34904 34905 34906 34907 34908 34909 34910 34911 34912 34913 34914 34915 34916 34917 34918 34919 34920 34921 34922 34923 34924 34925 34926 34927 34928 34929 34930 34931 34932 34933 34934 34935 34936 34937 34938 34939 34940 34941 34942 34943 34944 34945 34946 34947 34948 34949 34950 34951 34952 34953 34954 34955 34956 34957 34958 34959 34960 34961 34962 34963 34964 34965 34966 34967 34968 34969 34970 34971 34972 34973 34974 34975 34976 34977 34978 34979 34980 34981 34982 34983 34984 34985 34986 34987 34988 34989 34990 34991 34992 34993 34994 34995 34996 34997 34998 34999 35000
else
	SOUP_CFLAGS=$pkg_cv_SOUP_CFLAGS
	SOUP_LIBS=$pkg_cv_SOUP_LIBS
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }
	HAVE_SOUP="yes"
fi




  LIBS=$gst_check_save_LIBS
  LDFLAGS=$gst_check_save_LDFLAGS
  CFLAGS=$gst_check_save_CFLAGS
  CPPFLAGS=$gst_check_save_CPPFLAGS
  CXXFLAGS=$gst_check_save_CXXFLAGS

    if test x$HAVE_SOUP = xno; then
    USE_SOUP=no
  else
    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: souphttpsrc" >&5
$as_echo "$as_me: *** These plugins will be built: souphttpsrc" >&6;}
  fi
fi
if test x$USE_SOUP = xyes; then
  :
  if test "xsouphttpsrc" != "x"; then
    GST_PLUGINS_YES="\tsouphttpsrc\n$GST_PLUGINS_YES"
  fi

$as_echo "#define HAVE_SOUP /**/" >>confdefs.h

else
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: souphttpsrc" >&5
$as_echo "$as_me: *** These plugins will not be built: souphttpsrc" >&6;}
  if test "xsouphttpsrc" != "x"; then
    GST_PLUGINS_NO="\tsouphttpsrc\n$GST_PLUGINS_NO"
  fi
  :
fi
 if test x$USE_SOUP = xyes; then
  USE_SOUP_TRUE=
  USE_SOUP_FALSE='#'
else
  USE_SOUP_TRUE='#'
  USE_SOUP_FALSE=
fi



echo
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: speex speech codec ***" >&5
$as_echo "$as_me: *** checking feature: speex speech codec ***" >&6;}
if test "xspeex" != "x"
then
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: speex ***" >&5
$as_echo "$as_me: *** for plug-ins: speex ***" >&6;}
fi
NOUSE=
if test "x$USE_SPEEX" = "xno"; then
  NOUSE="yes"
fi
# Check whether --enable-speex was given.
if test "${enable_speex+set}" = set; then :
  enableval=$enable_speex;  case "${enableval}" in
      yes) USE_SPEEX=yes;;
      no) USE_SPEEX=no;;
      *) as_fn_error $? "bad value ${enableval} for --enable-speex" "$LINENO" 5 ;;
    esac
else
   USE_SPEEX=yes
fi

if test "x$NOUSE" = "xyes"; then
  USE_SPEEX="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex pre-configured not to be built" >&5
$as_echo "$as_me: WARNING: *** speex pre-configured not to be built" >&2;}
fi
NOUSE=

if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " SPEEX " > /dev/null; then
  USE_SPEEX="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** speex not ported" >&5
$as_echo "$as_me: WARNING: *** speex not ported" >&2;}
fi


if test x$USE_SPEEX = xyes; then

  gst_check_save_LIBS=$LIBS
  gst_check_save_LDFLAGS=$LDFLAGS
  gst_check_save_CFLAGS=$CFLAGS
  gst_check_save_CPPFLAGS=$CPPFLAGS
  gst_check_save_CXXFLAGS=$CXXFLAGS

  HAVE_SPEEX=no


  which="speex >= 1.1.6"
    required="no"


pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SPEEX" >&5
$as_echo_n "checking for SPEEX... " >&6; }

if test -n "$PKG_CONFIG"; then
    if test -n "$SPEEX_CFLAGS"; then
        pkg_cv_SPEEX_CFLAGS="$SPEEX_CFLAGS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SPEEX_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi
if test -n "$PKG_CONFIG"; then
    if test -n "$SPEEX_LIBS"; then
        pkg_cv_SPEEX_LIBS="$SPEEX_LIBS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then
  pkg_cv_SPEEX_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null`
else
  pkg_failed=yes
fi
    fi
else
	pkg_failed=untried
fi



if test $pkg_failed = yes; then

if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
        _pkg_short_errors_supported=yes
else
        _pkg_short_errors_supported=no
fi
        if test $_pkg_short_errors_supported = yes; then
	        SPEEX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$which"`
        else
	        SPEEX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$which"`
        fi
	# Put the nasty error message in config.log where it belongs
	echo "$SPEEX_PKG_ERRORS" >&5

	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
$as_echo "no" >&6; }

      HAVE_SPEEX="no"
      if test "x$required" = "xyes"; then
        as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
      else
        { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
$as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
      fi

elif test $pkg_failed = untried; then

      HAVE_SPEEX="no"
      if test "x$required" = "xyes"; then
        as_fn_error $? "$SPEEX_PKG_ERRORS" "$LINENO" 5
      else
        { $as_echo "$as_me:${as_lineno-$LINENO}: $SPEEX_PKG_ERRORS" >&5
$as_echo "$as_me: $SPEEX_PKG_ERRORS" >&6;}
      fi

else
	SPEEX_CFLAGS=$pkg_cv_SPEEX_CFLAGS
	SPEEX_LIBS=$pkg_cv_SPEEX_LIBS
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
$as_echo "yes" >&6; }

      HAVE_SPEEX="yes"

fi




  LIBS=$gst_check_save_LIBS
  LDFLAGS=$gst_check_save_LDFLAGS
  CFLAGS=$gst_check_save_CFLAGS
  CPPFLAGS=$gst_check_save_CPPFLAGS
  CXXFLAGS=$gst_check_save_CXXFLAGS

    if test x$HAVE_SPEEX = xno; then
    USE_SPEEX=no
  else
    { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: speex" >&5
$as_echo "$as_me: *** These plugins will be built: speex" >&6;}
  fi
fi
if test x$USE_SPEEX = xyes; then
  :
  if test "xspeex" != "x"; then
    GST_PLUGINS_YES="\tspeex\n$GST_PLUGINS_YES"
  fi

$as_echo "#define HAVE_SPEEX /**/" >>confdefs.h

else
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: speex" >&5
$as_echo "$as_me: *** These plugins will not be built: speex" >&6;}
  if test "xspeex" != "x"; then
    GST_PLUGINS_NO="\tspeex\n$GST_PLUGINS_NO"
  fi
  :
fi
 if test x$USE_SPEEX = xyes; then
  USE_SPEEX_TRUE=
  USE_SPEEX_FALSE='#'
else
  USE_SPEEX_TRUE='#'
  USE_SPEEX_FALSE=
fi



echo
{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: taglib tagging library ***" >&5
$as_echo "$as_me: *** checking feature: taglib tagging library ***" >&6;}
if test "xtaglib" != "x"
then
  { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: taglib ***" >&5
$as_echo "$as_me: *** for plug-ins: taglib ***" >&6;}
fi
NOUSE=
if test "x$USE_TAGLIB" = "xno"; then
  NOUSE="yes"
fi
# Check whether --enable-taglib was given.
if test "${enable_taglib+set}" = set; then :
  enableval=$enable_taglib;  case "${enableval}" in
      yes) USE_TAGLIB=yes;;
      no) USE_TAGLIB=no;;
      *) as_fn_error $? "bad value ${enableval} for --enable-taglib" "$LINENO" 5 ;;
    esac
else
   USE_TAGLIB=yes
fi

if test "x$NOUSE" = "xyes"; then
  USE_TAGLIB="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib pre-configured not to be built" >&5
$as_echo "$as_me: WARNING: *** taglib pre-configured not to be built" >&2;}
fi
NOUSE=

if echo " $GST_PLUGINS_NONPORTED " | tr , ' ' | grep -i " TAGLIB " > /dev/null; then
  USE_TAGLIB="no"
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** taglib not ported" >&5
$as_echo "$as_me: WARNING: *** taglib not ported" >&2;}
fi


if test x$USE_TAGLIB = xyes; then

  gst_check_save_LIBS=$LIBS
  gst_check_save_LDFLAGS=$LDFLAGS
  gst_check_save_CFLAGS=$CFLAGS
  gst_check_save_CPPFLAGS=$CPPFLAGS
  gst_check_save_CXXFLAGS=$CXXFLAGS

  HAVE_TAGLIB=no


  which="taglib >= 1.5"
    required="no"


pkg_failed=no
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TAGLIB" >&5
$as_echo_n "checking for TAGLIB... " >&6; }

if test -n "$PKG_CONFIG"; then
    if test -n "$TAGLIB_CFLAGS"; then
        pkg_cv_TAGLIB_CFLAGS="$TAGLIB_CFLAGS"
    else
        if test -n "$PKG_CONFIG" && \
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5
  ($PKG_CONFIG --exists --print-errors "$which") 2>&5
  ac_status=$?
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  test $ac_status = 0; }; then