From 446d68d35a47b15aed3606789ff83f25ea0ccbf3 Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Sun, 20 Sep 2009 05:55:15 +0200 Subject: [PATCH] gst-plugins-bad: update to gst-plugins-bad-0.10.14 --- packages/multimedia/gst-plugins-bad/build | 37 +- packages/multimedia/gst-plugins-bad/install | 7 - ...lugins-bad-0.10.14-allow_disable_kate.diff | 40286 ++++++++++++++++ packages/multimedia/gst-plugins-bad/url | 2 +- 4 files changed, 40310 insertions(+), 22 deletions(-) create mode 100644 packages/multimedia/gst-plugins-bad/patches/gst-plugins-bad-0.10.14-allow_disable_kate.diff diff --git a/packages/multimedia/gst-plugins-bad/build b/packages/multimedia/gst-plugins-bad/build index f460b9f4e0..d331296a1a 100755 --- a/packages/multimedia/gst-plugins-bad/build +++ b/packages/multimedia/gst-plugins-bad/build @@ -7,18 +7,18 @@ $SCRIPTS/build gstreamer $SCRIPTS/build gst-plugins-base $SCRIPTS/build liboil $SCRIPTS/build alsa-lib -#$SCRIPTS/build libexif $SCRIPTS/build libdvdnav $SCRIPTS/build libtheora -#$SCRIPTS/build SDL $SCRIPTS/build libcdaudio $SCRIPTS/build faac $SCRIPTS/build faad2 -$SCRIPTS/build libsndfile +# segfault $SCRIPTS/build libsndfile $SCRIPTS/build bzip2 -#$SCRIPTS/build swfdec $SCRIPTS/build xvidcore +# Todo +# libkate for karaoke? + cd $PKG_BUILD ac_cv_lib_xvidcore_xvid_encore=yes \ @@ -37,37 +37,41 @@ ac_cv_lib_xvidcore_xvid_global=yes \ --enable-external \ --disable-experimental \ --disable-gtk-doc \ + --enable-aacparse \ + --enable-adpcmdec \ --enable-aiffparse \ --enable-amrparse \ + --enable-asfmux \ --enable-autoconvert \ --enable-camerabin \ --enable-legacyresample \ --enable-bayer \ --enable-cdxaparse \ + --enable-dccp \ --enable-debugutils \ --enable-dtmf \ - --enable-dccp \ --enable-dvdspu \ --enable-festival \ --enable-freeze \ + --enable-frei0r \ --enable-h264parse \ --enable-hdvparse \ --enable-id3tag \ --enable-librfb \ --enable-liveadder \ - --enable-modplug \ --enable-mpegdemux \ --enable-mpegtsmux \ --enable-mpeg4videoparse \ --enable-mpegvideoparse \ --enable-mve \ + --enable-mxf \ --enable-nsf \ --enable-nuvdemux \ --enable-pcapparse \ --enable-qtmux \ --enable-rawparse \ --enable-real \ - --enable-rtpmanager \ + --enable-rtpmux \ --enable-scaletempo \ --enable-sdp \ --enable-selector \ @@ -82,12 +86,13 @@ ac_cv_lib_xvidcore_xvid_global=yes \ --enable-vmnc \ --enable-xdgmime \ \ - --disable-directdraw \ - --disable-osx_video \ + --disable-directsound \ + --disable-directdraw \ + --disable-osx_video \ --enable-quicktime \ --enable-vcd \ --enable-alsa \ - --disable-assrender \ + --disable-assrender \ --disable-amrwb \ --enable-apexsink \ --enable-bz2 \ @@ -107,10 +112,12 @@ ac_cv_lib_xvidcore_xvid_global=yes \ --disable-ivorbis \ --disable-jack \ --disable-jp2k \ + --disable-kate \ --disable-ladspa \ + --disable-lv2 \ --disable-libmms \ - --disable-modplug \ - --disable-mimic \ + --disable-modplug \ + --disable-mimic \ --enable-mpeg2enc \ --enable-mplex \ --enable-musepack \ @@ -123,7 +130,7 @@ ac_cv_lib_xvidcore_xvid_global=yes \ --disable-wildmidi \ --disable-sdl \ --disable-sdltest \ - --enable-sndfile \ + --disable-sndfile \ --enable-soundtouch \ --disable-spc \ --disable-swfdec \ @@ -133,7 +140,9 @@ ac_cv_lib_xvidcore_xvid_global=yes \ --disable-oss4 \ --disable-wininet \ --disable-acm \ - --enable-shave \ + --disable-vdpau \ + --disable-schro \ + --enable-shave \ make diff --git a/packages/multimedia/gst-plugins-bad/install b/packages/multimedia/gst-plugins-bad/install index f1014f623a..8501228acd 100755 --- a/packages/multimedia/gst-plugins-bad/install +++ b/packages/multimedia/gst-plugins-bad/install @@ -5,13 +5,6 @@ $SCRIPTS/install gstreamer $SCRIPTS/install gst-plugins-base $SCRIPTS/install alsa-lib -#$SCRIPTS/install libexif -#$SCRIPTS/install libdvdnav -#$SCRIPTS/install libtheora -#$SCRIPTS/install libsndfile -#$SCRIPTS/install bzip2 -#$SCRIPTS/install x264 -#$SCRIPTS/install xvidcore mkdir -p $INSTALL/usr/lib/gstreamer-0.10 cp -PR `find $PKG_BUILD/{ext,gst,sys} -name *.so` $INSTALL/usr/lib/gstreamer-0.10 diff --git a/packages/multimedia/gst-plugins-bad/patches/gst-plugins-bad-0.10.14-allow_disable_kate.diff b/packages/multimedia/gst-plugins-bad/patches/gst-plugins-bad-0.10.14-allow_disable_kate.diff new file mode 100644 index 0000000000..568881c585 --- /dev/null +++ b/packages/multimedia/gst-plugins-bad/patches/gst-plugins-bad-0.10.14-allow_disable_kate.diff @@ -0,0 +1,40286 @@ +diff -Naur gst-plugins-bad-0.10.14/configure gst-plugins-bad-0.10.14.patch/configure +--- gst-plugins-bad-0.10.14/configure 2009-08-29 00:07:00.000000000 +0200 ++++ gst-plugins-bad-0.10.14.patch/configure 2009-09-20 02:56:29.469826140 +0200 +@@ -1,22 +1,20 @@ + #! /bin/sh + # Guess values for system-dependent variables and create Makefiles. +-# Generated by GNU Autoconf 2.64 for GStreamer Bad Plug-ins 0.10.14. ++# Generated by GNU Autoconf 2.63 for GStreamer Bad Plug-ins 0.10.14. + # + # Report bugs to . + # + # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, +-# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software +-# Foundation, Inc. +-# ++# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + # This configure script is free software; the Free Software Foundation + # gives unlimited permission to copy, distribute and modify it. +-## -------------------- ## +-## M4sh Initialization. ## +-## -------------------- ## ++## --------------------- ## ++## M4sh Initialization. ## ++## --------------------- ## + + # Be more Bourne compatible + DUALCASE=1; export DUALCASE # for MKS sh +-if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then : ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then + emulate sh + NULLCMD=: + # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which +@@ -24,15 +22,23 @@ + alias -g '${1+"$@"}'='"$@"' + setopt NO_GLOB_SUBST + else +- case `(set -o) 2>/dev/null` in #( +- *posix*) : +- set -o posix ;; #( +- *) : +- ;; ++ case `(set -o) 2>/dev/null` in ++ *posix*) set -o posix ;; + esac ++ + fi + + ++ ++ ++# PATH needs CR ++# Avoid depending upon Character Ranges. ++as_cr_letters='abcdefghijklmnopqrstuvwxyz' ++as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' ++as_cr_Letters=$as_cr_letters$as_cr_LETTERS ++as_cr_digits='0123456789' ++as_cr_alnum=$as_cr_Letters$as_cr_digits ++ + as_nl=' + ' + export as_nl +@@ -40,13 +46,7 @@ + as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\' + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo + as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo +-# Prefer a ksh shell builtin over an external printf program on Solaris, +-# but without wasting forks for bash or zsh. +-if test -z "$BASH_VERSION$ZSH_VERSION" \ +- && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then +- as_echo='print -r --' +- as_echo_n='print -rn --' +-elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then ++if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then + as_echo='printf %s\n' + as_echo_n='printf %s' + else +@@ -57,7 +57,7 @@ + as_echo_body='eval expr "X$1" : "X\\(.*\\)"' + as_echo_n_body='eval + arg=$1; +- case $arg in #( ++ case $arg in + *"$as_nl"*) + expr "X$arg" : "X\\(.*\\)$as_nl"; + arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;; +@@ -80,6 +80,13 @@ + } + fi + ++# Support unset when possible. ++if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then ++ as_unset=unset ++else ++ as_unset=false ++fi ++ + + # IFS + # We need space, tab and new line, in precisely that order. Quoting is +@@ -89,15 +96,15 @@ + IFS=" "" $as_nl" + + # Find who we are. Look in the path if we contain no directory separator. +-case $0 in #(( ++case $0 in + *[\\/]* ) as_myself=$0 ;; + *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in $PATH + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break +- done ++ test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break ++done + IFS=$as_save_IFS + + ;; +@@ -109,16 +116,12 @@ + fi + if test ! -f "$as_myself"; then + $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 +- exit 1 ++ { (exit 1); exit 1; } + fi + +-# Unset variables that we do not need and which cause bugs (e.g. in +-# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1" +-# suppresses any "Segmentation fault" message there. '((' could +-# trigger a bug in pdksh 5.2.14. +-for as_var in BASH_ENV ENV MAIL MAILPATH +-do eval test x\${$as_var+set} = xset \ +- && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || : ++# Work around bugs in pre-3.0 UWIN ksh. ++for as_var in ENV MAIL MAILPATH ++do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var + done + PS1='$ ' + PS2='> ' +@@ -130,301 +133,330 @@ + LANGUAGE=C + export LANGUAGE + ++# Required to use basename. ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi ++ ++if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then ++ as_basename=basename ++else ++ as_basename=false ++fi ++ ++ ++# Name of the executable. ++as_me=`$as_basename -- "$0" || ++$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ ++ X"$0" : 'X\(//\)$' \| \ ++ X"$0" : 'X\(/\)' \| . 2>/dev/null || ++$as_echo X/"$0" | ++ sed '/^.*\/\([^/][^/]*\)\/*$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\/\)$/{ ++ s//\1/ ++ q ++ } ++ /^X\/\(\/\).*/{ ++ s//\1/ ++ q ++ } ++ s/.*/./; q'` ++ + # CDPATH. +-(unset CDPATH) >/dev/null 2>&1 && unset CDPATH ++$as_unset CDPATH ++ + + if test "x$CONFIG_SHELL" = x; then +- as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then : +- emulate sh +- NULLCMD=: +- # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which +- # is contrary to our usage. Disable this feature. +- alias -g '\${1+\"\$@\"}'='\"\$@\"' +- setopt NO_GLOB_SUBST ++ if (eval ":") 2>/dev/null; then ++ as_have_required=yes + else +- case \`(set -o) 2>/dev/null\` in #( +- *posix*) : +- set -o posix ;; #( +- *) : +- ;; +-esac ++ as_have_required=no + fi +-" +- as_required="as_fn_return () { (exit \$1); } +-as_fn_success () { as_fn_return 0; } +-as_fn_failure () { as_fn_return 1; } +-as_fn_ret_success () { return 0; } +-as_fn_ret_failure () { return 1; } ++ ++ if test $as_have_required = yes && (eval ": ++(as_func_return () { ++ (exit \$1) ++} ++as_func_success () { ++ as_func_return 0 ++} ++as_func_failure () { ++ as_func_return 1 ++} ++as_func_ret_success () { ++ return 0 ++} ++as_func_ret_failure () { ++ return 1 ++} + + exitcode=0 +-as_fn_success || { exitcode=1; echo as_fn_success failed.; } +-as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; } +-as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; } +-as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; } +-if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then : +- +-else +- exitcode=1; echo positional parameters were not saved. +-fi +-test x\$exitcode = x0 || exit 1" +- as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO +- as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO +- eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" && +- test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1 +-test \$(( 1 + 1 )) = 2 || exit 1" +- if (eval "$as_required") 2>/dev/null; then : +- as_have_required=yes ++if as_func_success; then ++ : + else +- as_have_required=no ++ exitcode=1 ++ echo as_func_success failed. ++fi ++ ++if as_func_failure; then ++ exitcode=1 ++ echo as_func_failure succeeded. + fi +- if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then : + ++if as_func_ret_success; then ++ : + else +- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-as_found=false ++ exitcode=1 ++ echo as_func_ret_success failed. ++fi ++ ++if as_func_ret_failure; then ++ exitcode=1 ++ echo as_func_ret_failure succeeded. ++fi ++ ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then ++ : ++else ++ exitcode=1 ++ echo positional parameters were not saved. ++fi ++ ++test \$exitcode = 0) || { (exit 1); exit 1; } ++ ++( ++ as_lineno_1=\$LINENO ++ as_lineno_2=\$LINENO ++ test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" && ++ test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; } ++") 2> /dev/null; then ++ : ++else ++ as_candidate_shells= ++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR + for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- as_found=: +- case $as_dir in #( ++ case $as_dir in + /*) + for as_base in sh bash ksh sh5; do +- # Try only shells that exist, to save several forks. +- as_shell=$as_dir/$as_base +- if { test -f "$as_shell" || test -f "$as_shell.exe"; } && +- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then : +- CONFIG_SHELL=$as_shell as_have_required=yes +- if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then : +- break 2 +-fi +-fi ++ as_candidate_shells="$as_candidate_shells $as_dir/$as_base" + done;; + esac +- as_found=false + done +-$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } && +- { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then : +- CONFIG_SHELL=$SHELL as_have_required=yes +-fi; } + IFS=$as_save_IFS + + +- if test "x$CONFIG_SHELL" != x; then : +- # We cannot yet assume a decent shell, so we have to provide a +- # neutralization value for shells without unset; and this also +- # works around shells that cannot unset nonexistent variables. +- BASH_ENV=/dev/null +- ENV=/dev/null +- (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV +- export CONFIG_SHELL +- exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} +-fi ++ for as_shell in $as_candidate_shells $SHELL; do ++ # Try only shells that exist, to save several forks. ++ if { test -f "$as_shell" || test -f "$as_shell.exe"; } && ++ { ("$as_shell") 2> /dev/null <<\_ASEOF ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in ++ *posix*) set -o posix ;; ++esac + +- if test x$as_have_required = xno; then : +- $as_echo "$0: This script requires a shell more modern than all" +- $as_echo "$0: the shells that I found on your system." +- if test x${ZSH_VERSION+set} = xset ; then +- $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should" +- $as_echo "$0: be upgraded to zsh 4.3.4 or later." +- else +- $as_echo "$0: Please tell bug-autoconf@gnu.org and +-$0: http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer +-$0: about your system, including any error possibly output +-$0: before this message. Then install a modern shell, or +-$0: manually run the script under such a shell if you do +-$0: have one." +- fi +- exit 1 +-fi + fi ++ ++ ++: ++_ASEOF ++}; then ++ CONFIG_SHELL=$as_shell ++ as_have_required=yes ++ if { "$as_shell" 2> /dev/null <<\_ASEOF ++if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then ++ emulate sh ++ NULLCMD=: ++ # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which ++ # is contrary to our usage. Disable this feature. ++ alias -g '${1+"$@"}'='"$@"' ++ setopt NO_GLOB_SUBST ++else ++ case `(set -o) 2>/dev/null` in ++ *posix*) set -o posix ;; ++esac ++ + fi +-SHELL=${CONFIG_SHELL-/bin/sh} +-export SHELL +-# Unset more variables known to interfere with behavior of common tools. +-CLICOLOR_FORCE= GREP_OPTIONS= +-unset CLICOLOR_FORCE GREP_OPTIONS + +-## --------------------- ## +-## M4sh Shell Functions. ## +-## --------------------- ## +-# as_fn_unset VAR +-# --------------- +-# Portably unset VAR. +-as_fn_unset () +-{ +- { eval $1=; unset $1;} +-} +-as_unset=as_fn_unset +- +-# as_fn_set_status STATUS +-# ----------------------- +-# Set $? to STATUS, without forking. +-as_fn_set_status () +-{ +- return $1 +-} # as_fn_set_status +- +-# as_fn_exit STATUS +-# ----------------- +-# Exit the shell with STATUS, even in a "trap 0" or "set -e" context. +-as_fn_exit () +-{ +- set +e +- as_fn_set_status $1 +- exit $1 +-} # as_fn_exit +- +-# as_fn_mkdir_p +-# ------------- +-# Create "$as_dir" as a directory, including parents if necessary. +-as_fn_mkdir_p () +-{ + +- case $as_dir in #( +- -*) as_dir=./$as_dir;; +- esac +- test -d "$as_dir" || eval $as_mkdir_p || { +- as_dirs= +- while :; do +- case $as_dir in #( +- *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'( +- *) as_qdir=$as_dir;; +- esac +- as_dirs="'$as_qdir' $as_dirs" +- as_dir=`$as_dirname -- "$as_dir" || +-$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ +- X"$as_dir" : 'X\(//\)[^/]' \| \ +- X"$as_dir" : 'X\(//\)$' \| \ +- X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X"$as_dir" | +- sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ +- s//\1/ +- q +- } +- /^X\(\/\/\)[^/].*/{ +- s//\1/ +- q +- } +- /^X\(\/\/\)$/{ +- s//\1/ +- q +- } +- /^X\(\/\).*/{ +- s//\1/ +- q +- } +- s/.*/./; q'` +- test -d "$as_dir" && break +- done +- test -z "$as_dirs" || eval "mkdir $as_dirs" +- } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir" ++: ++(as_func_return () { ++ (exit $1) ++} ++as_func_success () { ++ as_func_return 0 ++} ++as_func_failure () { ++ as_func_return 1 ++} ++as_func_ret_success () { ++ return 0 ++} ++as_func_ret_failure () { ++ return 1 ++} + ++exitcode=0 ++if as_func_success; then ++ : ++else ++ exitcode=1 ++ echo as_func_success failed. ++fi + +-} # as_fn_mkdir_p +-# as_fn_append VAR VALUE +-# ---------------------- +-# Append the text in VALUE to the end of the definition contained in VAR. Take +-# advantage of any shell optimizations that allow amortized linear growth over +-# repeated appends, instead of the typical quadratic growth present in naive +-# implementations. +-if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then : +- eval 'as_fn_append () +- { +- eval $1+=\$2 +- }' ++if as_func_failure; then ++ exitcode=1 ++ echo as_func_failure succeeded. ++fi ++ ++if as_func_ret_success; then ++ : + else +- as_fn_append () +- { +- eval $1=\$$1\$2 +- } +-fi # as_fn_append ++ exitcode=1 ++ echo as_func_ret_success failed. ++fi + +-# as_fn_arith ARG... +-# ------------------ +-# Perform arithmetic evaluation on the ARGs, and store the result in the +-# global $as_val. Take advantage of shells that can avoid forks. The arguments +-# must be portable across $(()) and expr. +-if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then : +- eval 'as_fn_arith () +- { +- as_val=$(( $* )) +- }' ++if as_func_ret_failure; then ++ exitcode=1 ++ echo as_func_ret_failure succeeded. ++fi ++ ++if ( set x; as_func_ret_success y && test x = "$1" ); then ++ : + else +- as_fn_arith () +- { +- as_val=`expr "$@" || test $? -eq 1` +- } +-fi # as_fn_arith ++ exitcode=1 ++ echo positional parameters were not saved. ++fi + ++test $exitcode = 0) || { (exit 1); exit 1; } + +-# as_fn_error ERROR [LINENO LOG_FD] +-# --------------------------------- +-# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are +-# provided, also output the error to LOG_FD, referencing LINENO. Then exit the +-# script with status $?, using 1 if that was 0. +-as_fn_error () +-{ +- as_status=$?; test $as_status -eq 0 && as_status=1 +- if test "$3"; then +- as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3 +- fi +- $as_echo "$as_me: error: $1" >&2 +- as_fn_exit $as_status +-} # as_fn_error ++( ++ as_lineno_1=$LINENO ++ as_lineno_2=$LINENO ++ test "x$as_lineno_1" != "x$as_lineno_2" && ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; } + +-if expr a : '\(a\)' >/dev/null 2>&1 && +- test "X`expr 00001 : '.*\(...\)'`" = X001; then +- as_expr=expr ++_ASEOF ++}; then ++ break ++fi ++ ++fi ++ ++ done ++ ++ if test "x$CONFIG_SHELL" != x; then ++ for as_var in BASH_ENV ENV ++ do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var ++ done ++ export CONFIG_SHELL ++ exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"} ++fi ++ ++ ++ if test $as_have_required = no; then ++ echo This script requires a shell more modern than all the ++ echo shells that I found on your system. Please install a ++ echo modern shell, or manually run the script under such a ++ echo shell if you do have one. ++ { (exit 1); exit 1; } ++fi ++ ++ ++fi ++ ++fi ++ ++ ++ ++(eval "as_func_return () { ++ (exit \$1) ++} ++as_func_success () { ++ as_func_return 0 ++} ++as_func_failure () { ++ as_func_return 1 ++} ++as_func_ret_success () { ++ return 0 ++} ++as_func_ret_failure () { ++ return 1 ++} ++ ++exitcode=0 ++if as_func_success; then ++ : + else +- as_expr=false ++ exitcode=1 ++ echo as_func_success failed. + fi + +-if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then +- as_basename=basename ++if as_func_failure; then ++ exitcode=1 ++ echo as_func_failure succeeded. ++fi ++ ++if as_func_ret_success; then ++ : + else +- as_basename=false ++ exitcode=1 ++ echo as_func_ret_success failed. + fi + +-if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then +- as_dirname=dirname ++if as_func_ret_failure; then ++ exitcode=1 ++ echo as_func_ret_failure succeeded. ++fi ++ ++if ( set x; as_func_ret_success y && test x = \"\$1\" ); then ++ : + else +- as_dirname=false ++ exitcode=1 ++ echo positional parameters were not saved. + fi + +-as_me=`$as_basename -- "$0" || +-$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ +- X"$0" : 'X\(//\)$' \| \ +- X"$0" : 'X\(/\)' \| . 2>/dev/null || +-$as_echo X/"$0" | +- sed '/^.*\/\([^/][^/]*\)\/*$/{ +- s//\1/ +- q +- } +- /^X\/\(\/\/\)$/{ +- s//\1/ +- q +- } +- /^X\/\(\/\).*/{ +- s//\1/ +- q +- } +- s/.*/./; q'` ++test \$exitcode = 0") || { ++ echo No shell found that supports shell functions. ++ echo Please tell bug-autoconf@gnu.org about your system, ++ echo including any error possibly output before this message. ++ echo This can help us improve future autoconf versions. ++ echo Configuration will now proceed without shell functions. ++} + +-# Avoid depending upon Character Ranges. +-as_cr_letters='abcdefghijklmnopqrstuvwxyz' +-as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' +-as_cr_Letters=$as_cr_letters$as_cr_LETTERS +-as_cr_digits='0123456789' +-as_cr_alnum=$as_cr_Letters$as_cr_digits + + +- as_lineno_1=$LINENO as_lineno_1a=$LINENO +- as_lineno_2=$LINENO as_lineno_2a=$LINENO +- eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" && +- test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || { +- # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-) ++ as_lineno_1=$LINENO ++ as_lineno_2=$LINENO ++ test "x$as_lineno_1" != "x$as_lineno_2" && ++ test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || { ++ ++ # Create $as_me.lineno as a copy of $as_myself, but with $LINENO ++ # uniformly replaced by the line number. The first 'sed' inserts a ++ # line-number line after each line using $LINENO; the second 'sed' ++ # does the real work. The second script uses 'N' to pair each ++ # line-number line with the line containing $LINENO, and appends ++ # trailing '-' during substitution so that $LINENO is not a special ++ # case at line end. ++ # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the ++ # scripts with optimization help from Paolo Bonzini. Blame Lee ++ # E. McMahon (1931-1989) for sed's syntax. :-) + sed -n ' + p + /[$]LINENO/= +@@ -441,7 +473,8 @@ + s/-\n.*// + ' >$as_me.lineno && + chmod +x "$as_me.lineno" || +- { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; } ++ { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 ++ { (exit 1); exit 1; }; } + + # Don't try to exec as it changes $[0], causing all sort of problems + # (the dirname of $[0] is not the place where we might find the +@@ -451,18 +484,29 @@ + exit + } + ++ ++if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then ++ as_dirname=dirname ++else ++ as_dirname=false ++fi ++ + ECHO_C= ECHO_N= ECHO_T= +-case `echo -n x` in #((((( ++case `echo -n x` in + -n*) +- case `echo 'xy\c'` in ++ case `echo 'x\c'` in + *c*) ECHO_T=' ';; # ECHO_T is single tab character. +- xy) ECHO_C='\c';; +- *) echo `echo ksh88 bug on AIX 6.1` > /dev/null +- ECHO_T=' ';; ++ *) ECHO_C='\c';; + esac;; + *) + ECHO_N='-n';; + esac ++if expr a : '\(a\)' >/dev/null 2>&1 && ++ test "X`expr 00001 : '.*\(...\)'`" = X001; then ++ as_expr=expr ++else ++ as_expr=false ++fi + + rm -f conf$$ conf$$.exe conf$$.file + if test -d conf$$.dir; then +@@ -492,7 +536,7 @@ + rmdir conf$$.dir 2>/dev/null + + if mkdir -p . 2>/dev/null; then +- as_mkdir_p='mkdir -p "$as_dir"' ++ as_mkdir_p=: + else + test -d ./-p && rmdir ./-p + as_mkdir_p=false +@@ -511,10 +555,10 @@ + if test -d "$1"; then + test -d "$1/."; + else +- case $1 in #( ++ case $1 in + -*)set "./$1";; + esac; +- case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #(( ++ case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in + ???[sx]*):;;*)false;;esac;fi + '\'' sh + ' +@@ -529,6 +573,7 @@ + + + ++ + # Check that we are running under the correct shell. + SHELL=${CONFIG_SHELL-/bin/sh} + +@@ -695,6 +740,7 @@ + subdirs= + MFLAGS= + MAKEFLAGS= ++SHELL=${CONFIG_SHELL-/bin/sh} + + # Identity of this package. + PACKAGE_NAME='GStreamer Bad Plug-ins' +@@ -702,7 +748,6 @@ + PACKAGE_VERSION='0.10.14' + PACKAGE_STRING='GStreamer Bad Plug-ins 0.10.14' + PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer' +-PACKAGE_URL='' + + ac_unique_file="docs/plugins/gst-plugins-bad-plugins-docs.sgml" + # Factoring default headers for most tests. +@@ -1361,7 +1406,6 @@ + program_transform_name + prefix + exec_prefix +-PACKAGE_URL + PACKAGE_BUGREPORT + PACKAGE_STRING + PACKAGE_VERSION +@@ -1725,7 +1769,8 @@ + ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error "invalid feature name: $ac_useropt" ++ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 ++ { (exit 1); exit 1; }; } + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1751,7 +1796,8 @@ + ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error "invalid feature name: $ac_useropt" ++ { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2 ++ { (exit 1); exit 1; }; } + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1955,7 +2001,8 @@ + ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error "invalid package name: $ac_useropt" ++ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 ++ { (exit 1); exit 1; }; } + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -1971,7 +2018,8 @@ + ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'` + # Reject names that are not valid shell variable names. + expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null && +- as_fn_error "invalid package name: $ac_useropt" ++ { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2 ++ { (exit 1); exit 1; }; } + ac_useropt_orig=$ac_useropt + ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'` + case $ac_user_opts in +@@ -2001,17 +2049,17 @@ + | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) + x_libraries=$ac_optarg ;; + +- -*) as_fn_error "unrecognized option: \`$ac_option' +-Try \`$0 --help' for more information." ++ -*) { $as_echo "$as_me: error: unrecognized option: $ac_option ++Try \`$0 --help' for more information." >&2 ++ { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. +- case $ac_envvar in #( +- '' | [0-9]* | *[!_$as_cr_alnum]* ) +- as_fn_error "invalid variable name: \`$ac_envvar'" ;; +- esac ++ expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && ++ { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2 ++ { (exit 1); exit 1; }; } + eval $ac_envvar=\$ac_optarg + export $ac_envvar ;; + +@@ -2028,13 +2076,15 @@ + + if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` +- as_fn_error "missing argument to $ac_option" ++ { $as_echo "$as_me: error: missing argument to $ac_option" >&2 ++ { (exit 1); exit 1; }; } + fi + + if test -n "$ac_unrecognized_opts"; then + case $enable_option_checking in + no) ;; +- fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;; ++ fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2 ++ { (exit 1); exit 1; }; } ;; + *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;; + esac + fi +@@ -2057,7 +2107,8 @@ + [\\/$]* | ?:[\\/]* ) continue;; + NONE | '' ) case $ac_var in *prefix ) continue;; esac;; + esac +- as_fn_error "expected an absolute directory name for --$ac_var: $ac_val" ++ { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 ++ { (exit 1); exit 1; }; } + done + + # There might be people who depend on the old broken behavior: `$host' +@@ -2087,9 +2138,11 @@ + ac_pwd=`pwd` && test -n "$ac_pwd" && + ac_ls_di=`ls -di .` && + ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || +- as_fn_error "working directory cannot be determined" ++ { $as_echo "$as_me: error: working directory cannot be determined" >&2 ++ { (exit 1); exit 1; }; } + test "X$ac_ls_di" = "X$ac_pwd_ls_di" || +- as_fn_error "pwd does not report name of working directory" ++ { $as_echo "$as_me: error: pwd does not report name of working directory" >&2 ++ { (exit 1); exit 1; }; } + + + # Find the source files, if location was not specified. +@@ -2128,11 +2181,13 @@ + fi + if test ! -r "$srcdir/$ac_unique_file"; then + test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." +- as_fn_error "cannot find sources ($ac_unique_file) in $srcdir" ++ { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 ++ { (exit 1); exit 1; }; } + fi + ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" + ac_abs_confdir=`( +- cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg" ++ cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2 ++ { (exit 1); exit 1; }; } + pwd)` + # When building in place, set srcdir=. + if test "$ac_abs_confdir" = "$ac_pwd"; then +@@ -2619,974 +2674,129 @@ + if $ac_init_version; then + cat <<\_ACEOF + GStreamer Bad Plug-ins configure 0.10.14 +-generated by GNU Autoconf 2.64 ++generated by GNU Autoconf 2.63 + +-Copyright (C) 2009 Free Software Foundation, Inc. ++Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, ++2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. + This configure script is free software; the Free Software Foundation + gives unlimited permission to copy, distribute and modify it. + _ACEOF + exit + fi ++cat >config.log <<_ACEOF ++This file contains any messages produced by compilers while ++running configure, to aid debugging if configure makes a mistake. + +-## ------------------------ ## +-## Autoconf initialization. ## +-## ------------------------ ## +- +-# ac_fn_c_try_compile LINENO +-# -------------------------- +-# Try to compile conftest.$ac_ext, and return whether this succeeded. +-ac_fn_c_try_compile () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext +- if { { ac_try="$ac_compile" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_compile") 2>conftest.err +- ac_status=$? +- if test -s conftest.err; then +- grep -v '^ *+' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- mv -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { +- test -z "$ac_c_werror_flag" || +- test ! -s conftest.err +- } && test -s conftest.$ac_objext; then : +- ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=1 +-fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval +- +-} # ac_fn_c_try_compile +- +-# ac_fn_c_try_link LINENO +-# ----------------------- +-# Try to link conftest.$ac_ext, and return whether this succeeded. +-ac_fn_c_try_link () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext conftest$ac_exeext +- if { { ac_try="$ac_link" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_link") 2>conftest.err +- ac_status=$? +- if test -s conftest.err; then +- grep -v '^ *+' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- mv -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { +- test -z "$ac_c_werror_flag" || +- test ! -s conftest.err +- } && test -s conftest$ac_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=1 +-fi +- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information +- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would +- # interfere with the next link command; also delete a directory that is +- # left behind by Apple's compiler. We do this before executing the actions. +- rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval ++It was created by GStreamer Bad Plug-ins $as_me 0.10.14, which was ++generated by GNU Autoconf 2.63. Invocation command line was + +-} # ac_fn_c_try_link ++ $ $0 $@ + +-# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES +-# ------------------------------------------------------- +-# Tests whether HEADER exists and can be compiled using the include files in +-# INCLUDES, setting the cache variable VAR accordingly. +-ac_fn_c_check_header_compile () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-#include <$2> + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- eval "$3=yes" +-else +- eval "$3=no" +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- +-} # ac_fn_c_check_header_compile +- +-# ac_fn_c_try_cpp LINENO +-# ---------------------- +-# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +-ac_fn_c_try_cpp () ++exec 5>>config.log + { +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if { { ac_try="$ac_cpp conftest.$ac_ext" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err +- ac_status=$? +- if test -s conftest.err; then +- grep -v '^ *+' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- mv -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } >/dev/null && { +- test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || +- test ! -s conftest.err +- }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=1 +-fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval ++cat <<_ASUNAME ++## --------- ## ++## Platform. ## ++## --------- ## + +-} # ac_fn_c_try_cpp ++hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` ++uname -m = `(uname -m) 2>/dev/null || echo unknown` ++uname -r = `(uname -r) 2>/dev/null || echo unknown` ++uname -s = `(uname -s) 2>/dev/null || echo unknown` ++uname -v = `(uname -v) 2>/dev/null || echo unknown` + +-# ac_fn_c_try_run LINENO +-# ---------------------- +-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +-# that executables *can* be run. +-ac_fn_c_try_run () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if { { ac_try="$ac_link" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' +- { { case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 ++/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` ++/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` + +- ac_retval=$ac_status +-fi +- rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval ++/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` ++/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` ++/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` ++/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` ++/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` ++/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` ++/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` + +-} # ac_fn_c_try_run ++_ASUNAME + +-# ac_fn_c_check_func LINENO FUNC VAR +-# ---------------------------------- +-# Tests whether FUNC exists, setting the cache variable VAR accordingly +-ac_fn_c_check_func () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-/* Define $2 to an innocuous variant, in case declares $2. +- For example, HP-UX 11i declares gettimeofday. */ +-#define $2 innocuous_$2 ++as_save_IFS=$IFS; IFS=$PATH_SEPARATOR ++for as_dir in $PATH ++do ++ IFS=$as_save_IFS ++ test -z "$as_dir" && as_dir=. ++ $as_echo "PATH: $as_dir" ++done ++IFS=$as_save_IFS + +-/* System header to define __stub macros and hopefully few prototypes, +- which can conflict with char $2 (); below. +- Prefer to if __STDC__ is defined, since +- exists even on freestanding compilers. */ ++} >&5 + +-#ifdef __STDC__ +-# include +-#else +-# include +-#endif ++cat >&5 <<_ACEOF + +-#undef $2 + +-/* 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 $2 (); +-/* The GNU C library defines this for functions which it implements +- to always fail with ENOSYS. Some functions are actually named +- something starting with __ and the normal name is an alias. */ +-#if defined __stub_$2 || defined __stub___$2 +-choke me +-#endif ++## ----------- ## ++## Core tests. ## ++## ----------- ## + +-int +-main () +-{ +-return $2 (); +- ; +- return 0; +-} + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- eval "$3=yes" +-else +- eval "$3=no" +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- +-} # ac_fn_c_check_func + +-# ac_fn_cxx_try_compile LINENO +-# ---------------------------- +-# Try to compile conftest.$ac_ext, and return whether this succeeded. +-ac_fn_cxx_try_compile () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext +- if { { ac_try="$ac_compile" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_compile") 2>conftest.err +- ac_status=$? +- if test -s conftest.err; then +- grep -v '^ *+' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- mv -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { +- test -z "$ac_cxx_werror_flag" || +- test ! -s conftest.err +- } && test -s conftest.$ac_objext; then : +- ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=1 +-fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval +- +-} # ac_fn_cxx_try_compile + +-# ac_fn_cxx_try_cpp LINENO +-# ------------------------ +-# Try to preprocess conftest.$ac_ext, and return whether this succeeded. +-ac_fn_cxx_try_cpp () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if { { ac_try="$ac_cpp conftest.$ac_ext" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err +- ac_status=$? +- if test -s conftest.err; then +- grep -v '^ *+' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- mv -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } >/dev/null && { +- test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || +- test ! -s conftest.err +- }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=1 +-fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval ++# Keep a trace of the command line. ++# Strip out --no-create and --no-recursion so they do not pile up. ++# Strip out --silent because we don't want to record it for future runs. ++# Also quote any args containing shell meta-characters. ++# Make two passes to allow for proper duplicate-argument suppression. ++ac_configure_args= ++ac_configure_args0= ++ac_configure_args1= ++ac_must_keep_next=false ++for ac_pass in 1 2 ++do ++ for ac_arg ++ do ++ case $ac_arg in ++ -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; ++ -q | -quiet | --quiet | --quie | --qui | --qu | --q \ ++ | -silent | --silent | --silen | --sile | --sil) ++ continue ;; ++ *\'*) ++ ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; ++ esac ++ case $ac_pass in ++ 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; ++ 2) ++ ac_configure_args1="$ac_configure_args1 '$ac_arg'" ++ if test $ac_must_keep_next = true; then ++ ac_must_keep_next=false # Got value, back to normal. ++ else ++ case $ac_arg in ++ *=* | --config-cache | -C | -disable-* | --disable-* \ ++ | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ ++ | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ ++ | -with-* | --with-* | -without-* | --without-* | --x) ++ case "$ac_configure_args0 " in ++ "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; ++ esac ++ ;; ++ -* ) ac_must_keep_next=true ;; ++ esac ++ fi ++ ac_configure_args="$ac_configure_args '$ac_arg'" ++ ;; ++ esac ++ done ++done ++$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } ++$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } + +-} # ac_fn_cxx_try_cpp +- +-# ac_fn_cxx_try_link LINENO +-# ------------------------- +-# Try to link conftest.$ac_ext, and return whether this succeeded. +-ac_fn_cxx_try_link () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- rm -f conftest.$ac_objext conftest$ac_exeext +- if { { ac_try="$ac_link" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_link") 2>conftest.err +- ac_status=$? +- if test -s conftest.err; then +- grep -v '^ *+' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- mv -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { +- test -z "$ac_cxx_werror_flag" || +- test ! -s conftest.err +- } && test -s conftest$ac_exeext && { +- test "$cross_compiling" = yes || +- $as_test_x conftest$ac_exeext +- }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=1 +-fi +- # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information +- # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would +- # interfere with the next link command; also delete a directory that is +- # left behind by Apple's compiler. We do this before executing the actions. +- rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval +- +-} # ac_fn_cxx_try_link +- +-# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES +-# ------------------------------------------------------- +-# Tests whether HEADER exists, giving a warning if it cannot be compiled using +-# the include files in INCLUDES and setting the cache variable VAR +-# accordingly. +-ac_fn_c_check_header_mongrel () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +-$as_echo_n "checking $2 usability... " >&6; } +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-#include <$2> +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_header_compiler=yes +-else +- ac_header_compiler=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +-$as_echo_n "checking $2 presence... " >&6; } +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include <$2> +-_ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- ac_header_preproc=yes +-else +- ac_header_preproc=no +-fi +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #(( +- yes:no: ) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +- ;; +- no:yes:* ) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +-( cat <<\_ASBOX +-## ------------------------------------------------------------------------ ## +-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## +-## ------------------------------------------------------------------------ ## +-_ASBOX +- ) | sed "s/^/$as_me: WARNING: /" >&2 +- ;; +-esac +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$3=\$ac_header_compiler" +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- +-} # ac_fn_c_check_header_mongrel +- +-# ac_fn_c_check_type LINENO TYPE VAR INCLUDES +-# ------------------------------------------- +-# Tests whether TYPE exists after having included INCLUDES, setting cache +-# variable VAR accordingly. +-ac_fn_c_check_type () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$3=no" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-if (sizeof ($2)) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-if (sizeof (($2))) +- return 0; +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- +-else +- eval "$3=yes" +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- +-} # ac_fn_c_check_type +- +-# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES +-# -------------------------------------------- +-# Tries to find the compile-time value of EXPR in a program that includes +-# INCLUDES, setting VAR accordingly. Returns whether the value could be +-# computed +-ac_fn_c_compute_int () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if test "$cross_compiling" = yes; then +- # Depending upon the size, compute the lo and hi bounds. +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-static int test_array [1 - 2 * !(($2) >= 0)]; +-test_array [0] = 0 +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_lo=0 ac_mid=0 +- while :; do +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_hi=$ac_mid; break +-else +- as_fn_arith $ac_mid + 1 && ac_lo=$as_val +- if test $ac_lo -le $ac_mid; then +- ac_lo= ac_hi= +- break +- fi +- as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-static int test_array [1 - 2 * !(($2) < 0)]; +-test_array [0] = 0 +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_hi=-1 ac_mid=-1 +- while :; do +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-static int test_array [1 - 2 * !(($2) >= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_lo=$ac_mid; break +-else +- as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val +- if test $ac_mid -le $ac_hi; then +- ac_lo= ac_hi= +- break +- fi +- as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- done +-else +- ac_lo= ac_hi= +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-# Binary search between lo and hi bounds. +-while test "x$ac_lo" != "x$ac_hi"; do +- as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-int +-main () +-{ +-static int test_array [1 - 2 * !(($2) <= $ac_mid)]; +-test_array [0] = 0 +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_hi=$ac_mid +-else +- as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-done +-case $ac_lo in #(( +-?*) eval "$3=\$ac_lo"; ac_retval=0 ;; +-'') ac_retval=1 ;; +-esac +- else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-static long int longval () { return $2; } +-static unsigned long int ulongval () { return $2; } +-#include +-#include +-int +-main () +-{ +- +- FILE *f = fopen ("conftest.val", "w"); +- if (! f) +- return 1; +- if (($2) < 0) +- { +- long int i = longval (); +- if (i != ($2)) +- return 1; +- fprintf (f, "%ld", i); +- } +- else +- { +- unsigned long int i = ulongval (); +- if (i != ($2)) +- return 1; +- fprintf (f, "%lu", i); +- } +- /* Do not output a trailing newline, as this causes \r\n confusion +- on some platforms. */ +- return ferror (f) || fclose (f) != 0; +- +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- echo >>conftest.val; read $3 &5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-else +- # Is the header compilable? +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5 +-$as_echo_n "checking $2 usability... " >&6; } +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-$4 +-#include <$2> +-_ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : +- ac_header_compiler=yes +-else +- ac_header_compiler=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5 +-$as_echo "$ac_header_compiler" >&6; } +- +-# Is the header present? +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5 +-$as_echo_n "checking $2 presence... " >&6; } +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +-#include <$2> +-_ACEOF +-if ac_fn_cxx_try_cpp "$LINENO"; then : +- ac_header_preproc=yes +-else +- ac_header_preproc=no +-fi +-rm -f conftest.err conftest.$ac_ext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5 +-$as_echo "$ac_header_preproc" >&6; } +- +-# So? What about this header? +-case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #(( +- yes:no: ) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5 +-$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +- ;; +- no:yes:* ) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5 +-$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5 +-$as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5 +-$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5 +-$as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5 +-$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;} +-( cat <<\_ASBOX +-## ------------------------------------------------------------------------ ## +-## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## +-## ------------------------------------------------------------------------ ## +-_ASBOX +- ) | sed "s/^/$as_me: WARNING: /" >&2 +- ;; +-esac +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5 +-$as_echo_n "checking for $2... " >&6; } +-if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then : +- $as_echo_n "(cached) " >&6 +-else +- eval "$3=\$ac_header_compiler" +-fi +-eval ac_res=\$$3 +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 +-$as_echo "$ac_res" >&6; } +-fi +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- +-} # ac_fn_cxx_check_header_mongrel +- +-# ac_fn_cxx_try_run LINENO +-# ------------------------ +-# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes +-# that executables *can* be run. +-ac_fn_cxx_try_run () +-{ +- as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack +- if { { ac_try="$ac_link" +-case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_link") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && { ac_try='./conftest$ac_exeext' +- { { case "(($ac_try" in +- *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; +- *) ac_try_echo=$ac_try;; +-esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_try") 2>&5 +- ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; }; then : +- ac_retval=0 +-else +- $as_echo "$as_me: program exited with status $ac_status" >&5 +- $as_echo "$as_me: failed program was:" >&5 +-sed 's/^/| /' conftest.$ac_ext >&5 +- +- ac_retval=$ac_status +-fi +- rm -rf conftest.dSYM conftest_ipa8_conftest.oo +- eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;} +- return $ac_retval +- +-} # ac_fn_cxx_try_run +-cat >config.log <<_ACEOF +-This file contains any messages produced by compilers while +-running configure, to aid debugging if configure makes a mistake. +- +-It was created by GStreamer Bad Plug-ins $as_me 0.10.14, which was +-generated by GNU Autoconf 2.64. Invocation command line was +- +- $ $0 $@ +- +-_ACEOF +-exec 5>>config.log +-{ +-cat <<_ASUNAME +-## --------- ## +-## Platform. ## +-## --------- ## +- +-hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` +-uname -m = `(uname -m) 2>/dev/null || echo unknown` +-uname -r = `(uname -r) 2>/dev/null || echo unknown` +-uname -s = `(uname -s) 2>/dev/null || echo unknown` +-uname -v = `(uname -v) 2>/dev/null || echo unknown` +- +-/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` +-/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` +- +-/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` +-/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` +-/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` +-/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown` +-/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` +-/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` +-/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` +- +-_ASUNAME +- +-as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +-for as_dir in $PATH +-do +- IFS=$as_save_IFS +- test -z "$as_dir" && as_dir=. +- $as_echo "PATH: $as_dir" +- done +-IFS=$as_save_IFS +- +-} >&5 +- +-cat >&5 <<_ACEOF +- +- +-## ----------- ## +-## Core tests. ## +-## ----------- ## +- +-_ACEOF +- +- +-# Keep a trace of the command line. +-# Strip out --no-create and --no-recursion so they do not pile up. +-# Strip out --silent because we don't want to record it for future runs. +-# Also quote any args containing shell meta-characters. +-# Make two passes to allow for proper duplicate-argument suppression. +-ac_configure_args= +-ac_configure_args0= +-ac_configure_args1= +-ac_must_keep_next=false +-for ac_pass in 1 2 +-do +- for ac_arg +- do +- case $ac_arg in +- -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; +- -q | -quiet | --quiet | --quie | --qui | --qu | --q \ +- | -silent | --silent | --silen | --sile | --sil) +- continue ;; +- *\'*) +- ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; +- esac +- case $ac_pass in +- 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;; +- 2) +- as_fn_append ac_configure_args1 " '$ac_arg'" +- if test $ac_must_keep_next = true; then +- ac_must_keep_next=false # Got value, back to normal. +- else +- case $ac_arg in +- *=* | --config-cache | -C | -disable-* | --disable-* \ +- | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ +- | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ +- | -with-* | --with-* | -without-* | --without-* | --x) +- case "$ac_configure_args0 " in +- "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; +- esac +- ;; +- -* ) ac_must_keep_next=true ;; +- esac +- fi +- as_fn_append ac_configure_args " '$ac_arg'" +- ;; +- esac +- done +-done +-{ ac_configure_args0=; unset ac_configure_args0;} +-{ ac_configure_args1=; unset ac_configure_args1;} +- +-# When interrupted or exit'd, cleanup temporary files, and complete +-# config.log. We remove comments because anyway the quotes in there +-# would cause problems or look ugly. +-# WARNING: Use '\'' to represent an apostrophe within the trap. +-# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. +-trap 'exit_status=$? +- # Save into config.log some information that might help in debugging. +- { +- echo ++# When interrupted or exit'd, cleanup temporary files, and complete ++# config.log. We remove comments because anyway the quotes in there ++# would cause problems or look ugly. ++# WARNING: Use '\'' to represent an apostrophe within the trap. ++# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug. ++trap 'exit_status=$? ++ # Save into config.log some information that might help in debugging. ++ { ++ echo + + cat <<\_ASBOX + ## ---------------- ## +@@ -3601,13 +2811,13 @@ + case $ac_val in #( + *${as_nl}*) + case $ac_var in #( +- *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5 ++ *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5 + $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;; + esac + case $ac_var in #( + _ | IFS | as_nl) ;; #( + BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #( +- *) { eval $ac_var=; unset $ac_var;} ;; ++ *) $as_unset $ac_var ;; + esac ;; + esac + done +@@ -3679,39 +2889,37 @@ + exit $exit_status + ' 0 + for ac_signal in 1 2 13 15; do +- trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal ++ trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal + done + ac_signal=0 + + # confdefs.h avoids OS command line length limits that DEFS can exceed. + rm -f -r conftest* confdefs.h + +-$as_echo "/* confdefs.h */" > confdefs.h +- + # Predefined preprocessor variables. + + cat >>confdefs.h <<_ACEOF + #define PACKAGE_NAME "$PACKAGE_NAME" + _ACEOF + ++ + cat >>confdefs.h <<_ACEOF + #define PACKAGE_TARNAME "$PACKAGE_TARNAME" + _ACEOF + ++ + cat >>confdefs.h <<_ACEOF + #define PACKAGE_VERSION "$PACKAGE_VERSION" + _ACEOF + ++ + cat >>confdefs.h <<_ACEOF + #define PACKAGE_STRING "$PACKAGE_STRING" + _ACEOF + +-cat >>confdefs.h <<_ACEOF +-#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" +-_ACEOF + + cat >>confdefs.h <<_ACEOF +-#define PACKAGE_URL "$PACKAGE_URL" ++#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" + _ACEOF + + +@@ -3732,7 +2940,7 @@ + do + test "x$ac_site_file" = xNONE && continue + if test -r "$ac_site_file"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5 ++ { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 + $as_echo "$as_me: loading site script $ac_site_file" >&6;} + sed 's/^/| /' "$ac_site_file" >&5 + . "$ac_site_file" +@@ -3743,7 +2951,7 @@ + # Some versions of bash will fail to source /dev/null (special + # files actually), so we avoid doing that. + if test -f "$cache_file"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5 ++ { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5 + $as_echo "$as_me: loading cache $cache_file" >&6;} + case $cache_file in + [\\/]* | ?:[\\/]* ) . "$cache_file";; +@@ -3751,7 +2959,7 @@ + esac + fi + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5 ++ { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5 + $as_echo "$as_me: creating cache $cache_file" >&6;} + >$cache_file + fi +@@ -3767,11 +2975,11 @@ + eval ac_new_val=\$ac_env_${ac_var}_value + case $ac_old_set,$ac_new_set in + set,) +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 ++ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 + $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,set) +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5 ++ { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 + $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} + ac_cache_corrupted=: ;; + ,);; +@@ -3781,17 +2989,17 @@ + ac_old_val_w=`echo x $ac_old_val` + ac_new_val_w=`echo x $ac_new_val` + if test "$ac_old_val_w" != "$ac_new_val_w"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5 ++ { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 + $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} + ac_cache_corrupted=: + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 ++ { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5 + $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;} + eval $ac_var=\$ac_old_val + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5 ++ { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5 + $as_echo "$as_me: former value: \`$ac_old_val'" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5 ++ { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5 + $as_echo "$as_me: current value: \`$ac_new_val'" >&2;} + fi;; + esac +@@ -3803,20 +3011,43 @@ + esac + case " $ac_configure_args " in + *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. +- *) as_fn_append ac_configure_args " '$ac_arg'" ;; ++ *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; + esac + fi + done + if $ac_cache_corrupted; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +- { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5 ++ { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 + $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;} +- as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 ++$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} ++ { (exit 1); exit 1; }; } + fi +-## -------------------- ## +-## Main body of script. ## +-## -------------------- ## ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ ++ + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -3834,16 +3065,24 @@ + + ac_aux_dir= + for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do +- for ac_t in install-sh install.sh shtool; do +- if test -f "$ac_dir/$ac_t"; then +- ac_aux_dir=$ac_dir +- ac_install_sh="$ac_aux_dir/$ac_t -c" +- break 2 +- fi +- done ++ if test -f "$ac_dir/install-sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install-sh -c" ++ break ++ elif test -f "$ac_dir/install.sh"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/install.sh -c" ++ break ++ elif test -f "$ac_dir/shtool"; then ++ ac_aux_dir=$ac_dir ++ ac_install_sh="$ac_aux_dir/shtool install -c" ++ break ++ fi + done + if test -z "$ac_aux_dir"; then +- as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5 ++$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;} ++ { (exit 1); exit 1; }; } + fi + + # These three variables are undocumented and unsupported, +@@ -3869,10 +3108,10 @@ + # OS/2's system install, which has a completely different semantic + # ./install, which can be erroneously created by make from ./install.sh. + # Reject install programs that cannot install multiple files. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5 ++{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 + $as_echo_n "checking for a BSD-compatible install... " >&6; } + if test -z "$INSTALL"; then +-if test "${ac_cv_path_install+set}" = set; then : ++if test "${ac_cv_path_install+set}" = set; then + $as_echo_n "(cached) " >&6 + else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -3880,11 +3119,11 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- # Account for people who put trailing slashes in PATH elements. +-case $as_dir/ in #(( +- ./ | .// | /[cC]/* | \ ++ # Account for people who put trailing slashes in PATH elements. ++case $as_dir/ in ++ ./ | .// | /cC/* | \ + /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ +- ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \ ++ ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ + /usr/ucb/* ) ;; + *) + # OSF1 and SCO ODT 3.0 have their own names for install. +@@ -3921,7 +3160,7 @@ + ;; + esac + +- done ++done + IFS=$as_save_IFS + + rm -rf conftest.one conftest.two conftest.dir +@@ -3937,7 +3176,7 @@ + INSTALL=$ac_install_sh + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5 ++{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5 + $as_echo "$INSTALL" >&6; } + + # Use test -z because SunOS4 sh mishandles braces in ${var-val}. +@@ -3948,7 +3187,7 @@ + + test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5 + $as_echo_n "checking whether build environment is sane... " >&6; } + # Just in case + sleep 1 +@@ -3972,8 +3211,11 @@ + # if, for instance, CONFIG_SHELL is bash and it inherits a + # broken ls alias from the environment. This has actually + # happened. Such a system could not be considered "sane". +- as_fn_error "ls -t appears to fail. Make sure there is not a broken +-alias in your environment" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken ++alias in your environment" >&5 ++$as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken ++alias in your environment" >&2;} ++ { (exit 1); exit 1; }; } + fi + + test "$2" = conftest.file +@@ -3982,10 +3224,13 @@ + # Ok. + : + else +- as_fn_error "newly created file is older than distributed files! +-Check your system clock" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files! ++Check your system clock" >&5 ++$as_echo "$as_me: error: newly created file is older than distributed files! ++Check your system clock" >&2;} ++ { (exit 1); exit 1; }; } + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++{ $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + test "$program_prefix" != NONE && + program_transform_name="s&^&$program_prefix&;$program_transform_name" +@@ -4006,14 +3251,14 @@ + am_missing_run="$MISSING --run " + else + am_missing_run= +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5 + $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;} + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5 ++{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5 + $as_echo_n "checking for a thread-safe mkdir -p... " >&6; } + if test -z "$MKDIR_P"; then +- if test "${ac_cv_path_mkdir+set}" = set; then : ++ if test "${ac_cv_path_mkdir+set}" = set; then + $as_echo_n "(cached) " >&6 + else + as_save_IFS=$IFS; IFS=$PATH_SEPARATOR +@@ -4021,7 +3266,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in mkdir gmkdir; do ++ for ac_prog in mkdir gmkdir; do + for ac_exec_ext in '' $ac_executable_extensions; do + { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue + case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #( +@@ -4033,7 +3278,7 @@ + esac + done + done +- done ++done + IFS=$as_save_IFS + + fi +@@ -4049,7 +3294,7 @@ + MKDIR_P="$ac_install_sh -d" + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5 ++{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5 + $as_echo "$MKDIR_P" >&6; } + + mkdir_p="$MKDIR_P" +@@ -4062,9 +3307,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AWK+set}" = set; then : ++if test "${ac_cv_prog_AWK+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$AWK"; then +@@ -4075,24 +3320,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AWK="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + AWK=$ac_cv_prog_AWK + if test -n "$AWK"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5 ++ { $as_echo "$as_me:$LINENO: result: $AWK" >&5 + $as_echo "$AWK" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4100,11 +3345,11 @@ + test -n "$AWK" && break + done + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5 + $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } + set x ${MAKE-make} + ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'` +-if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then : ++if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 + else + cat >conftest.make <<\_ACEOF +@@ -4122,11 +3367,11 @@ + rm -f conftest.make + fi + if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + SET_MAKE= + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + SET_MAKE="MAKE=${MAKE-make}" + fi +@@ -4146,7 +3391,9 @@ + am__isrc=' -I$(srcdir)' + # test to see if srcdir already configured + if test -f $srcdir/config.status; then +- as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5 ++$as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;} ++ { (exit 1); exit 1; }; } + fi + fi + +@@ -4200,9 +3447,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. + set dummy ${ac_tool_prefix}strip; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_STRIP+set}" = set; then : ++if test "${ac_cv_prog_STRIP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$STRIP"; then +@@ -4213,24 +3460,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + STRIP=$ac_cv_prog_STRIP + if test -n "$STRIP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 + $as_echo "$STRIP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4240,9 +3487,9 @@ + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. + set dummy strip; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_STRIP"; then +@@ -4253,24 +3500,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP + if test -n "$ac_ct_STRIP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 + $as_echo "$ac_ct_STRIP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4279,7 +3526,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -4316,19 +3563,19 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking nano version" >&5 ++ { $as_echo "$as_me:$LINENO: checking nano version" >&5 + $as_echo_n "checking nano version... " >&6; } + + NANO=$(echo 0.10.14 | cut -d'.' -f4) + + if test x"$NANO" = x || test "x$NANO" = "x0" ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: 0 (release)" >&5 ++ { $as_echo "$as_me:$LINENO: result: 0 (release)" >&5 + $as_echo "0 (release)" >&6; } + NANO=0 + PACKAGE_VERSION_RELEASE=1 + GST_CVS="no" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NANO" >&5 ++ { $as_echo "$as_me:$LINENO: result: $NANO" >&5 + $as_echo "$NANO" >&6; } + PACKAGE_VERSION_RELEASE=0.`date +%Y%m%d.%H%M%S` + GST_CVS="yes" +@@ -4343,16 +3590,16 @@ + ac_config_headers="$ac_config_headers config.h" + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5 + $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; } + # Check whether --enable-maintainer-mode was given. +-if test "${enable_maintainer_mode+set}" = set; then : ++if test "${enable_maintainer_mode+set}" = set; then + enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval + else + USE_MAINTAINER_MODE=no + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5 ++ { $as_echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5 + $as_echo "$USE_MAINTAINER_MODE" >&6; } + if test $USE_MAINTAINER_MODE = yes; then + MAINTAINER_MODE_TRUE= +@@ -4368,27 +3615,35 @@ + + # Make sure we can run config.sub. + $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 || +- as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5 ++$as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;} ++ { (exit 1); exit 1; }; } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5 ++{ $as_echo "$as_me:$LINENO: checking build system type" >&5 + $as_echo_n "checking build system type... " >&6; } +-if test "${ac_cv_build+set}" = set; then : ++if test "${ac_cv_build+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_build_alias=$build_alias + test "x$ac_build_alias" = x && + ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"` + test "x$ac_build_alias" = x && +- as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5 ++$as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;} ++ { (exit 1); exit 1; }; } + ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` || +- as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5 ++$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;} ++ { (exit 1); exit 1; }; } + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5 + $as_echo "$ac_cv_build" >&6; } + case $ac_cv_build in + *-*-*) ;; +-*) as_fn_error "invalid value of canonical build" "$LINENO" 5;; ++*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5 ++$as_echo "$as_me: error: invalid value of canonical build" >&2;} ++ { (exit 1); exit 1; }; };; + esac + build=$ac_cv_build + ac_save_IFS=$IFS; IFS='-' +@@ -4404,24 +3659,28 @@ + case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5 ++{ $as_echo "$as_me:$LINENO: checking host system type" >&5 + $as_echo_n "checking host system type... " >&6; } +-if test "${ac_cv_host+set}" = set; then : ++if test "${ac_cv_host+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test "x$host_alias" = x; then + ac_cv_host=$ac_cv_build + else + ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` || +- as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5 ++$as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;} ++ { (exit 1); exit 1; }; } + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5 + $as_echo "$ac_cv_host" >&6; } + case $ac_cv_host in + *-*-*) ;; +-*) as_fn_error "invalid value of canonical host" "$LINENO" 5;; ++*) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5 ++$as_echo "$as_me: error: invalid value of canonical host" >&2;} ++ { (exit 1); exit 1; }; };; + esac + host=$ac_cv_host + ac_save_IFS=$IFS; IFS='-' +@@ -4450,9 +3709,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args. + set dummy ${ac_tool_prefix}as; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AS+set}" = set; then : ++if test "${ac_cv_prog_AS+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$AS"; then +@@ -4463,24 +3722,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AS="${ac_tool_prefix}as" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + AS=$ac_cv_prog_AS + if test -n "$AS"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5 ++ { $as_echo "$as_me:$LINENO: result: $AS" >&5 + $as_echo "$AS" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4490,9 +3749,9 @@ + ac_ct_AS=$AS + # Extract the first word of "as", so it can be a program name with args. + set dummy as; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_AS+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_AS+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_AS"; then +@@ -4503,24 +3762,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AS="as" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_AS=$ac_cv_prog_ac_ct_AS + if test -n "$ac_ct_AS"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5 + $as_echo "$ac_ct_AS" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4529,7 +3788,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -4542,9 +3801,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args. + set dummy ${ac_tool_prefix}dlltool; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_DLLTOOL+set}" = set; then : ++if test "${ac_cv_prog_DLLTOOL+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$DLLTOOL"; then +@@ -4555,24 +3814,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + DLLTOOL=$ac_cv_prog_DLLTOOL + if test -n "$DLLTOOL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5 + $as_echo "$DLLTOOL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4582,9 +3841,9 @@ + ac_ct_DLLTOOL=$DLLTOOL + # Extract the first word of "dlltool", so it can be a program name with args. + set dummy dlltool; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_DLLTOOL"; then +@@ -4595,24 +3854,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DLLTOOL="dlltool" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL + if test -n "$ac_ct_DLLTOOL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5 + $as_echo "$ac_ct_DLLTOOL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4621,7 +3880,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -4634,9 +3893,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. + set dummy ${ac_tool_prefix}objdump; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OBJDUMP+set}" = set; then : ++if test "${ac_cv_prog_OBJDUMP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$OBJDUMP"; then +@@ -4647,24 +3906,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + OBJDUMP=$ac_cv_prog_OBJDUMP + if test -n "$OBJDUMP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 + $as_echo "$OBJDUMP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4674,9 +3933,9 @@ + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. + set dummy objdump; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OBJDUMP"; then +@@ -4687,24 +3946,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP + if test -n "$ac_ct_OBJDUMP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 + $as_echo "$ac_ct_OBJDUMP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4713,7 +3972,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -4748,7 +4007,7 @@ + + case `pwd` in + *\ * | *\ *) +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5 + $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;; + esac + +@@ -4783,7 +4042,7 @@ + .PHONY: am__doit + END + # If we don't find an include directive, just comment out the code. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5 ++{ $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5 + $as_echo_n "checking for style of include used by $am_make... " >&6; } + am__include="#" + am__quote= +@@ -4811,12 +4070,12 @@ + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5 ++{ $as_echo "$as_me:$LINENO: result: $_am_result" >&5 + $as_echo "$_am_result" >&6; } + rm -f confinc confmf + + # Check whether --enable-dependency-tracking was given. +-if test "${enable_dependency_tracking+set}" = set; then : ++if test "${enable_dependency_tracking+set}" = set; then + enableval=$enable_dependency_tracking; + fi + +@@ -4841,9 +4100,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. + set dummy ${ac_tool_prefix}gcc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -4854,24 +4113,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4881,9 +4140,9 @@ + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -4894,24 +4153,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4920,7 +4179,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -4934,9 +4193,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. + set dummy ${ac_tool_prefix}cc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -4947,24 +4206,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -4974,9 +4233,9 @@ + if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -4988,18 +4247,18 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + if test $ac_prog_rejected = yes; then +@@ -5018,10 +4277,10 @@ + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -5033,9 +4292,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -5046,24 +4305,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -5077,9 +4336,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -5090,24 +4349,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -5120,7 +4379,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -5131,55 +4390,73 @@ + fi + + +-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "no acceptable C compiler found in \$PATH +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: no acceptable C compiler found in \$PATH ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + + # Provide some information about the compiler. +-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-for ac_option in --version -v -V -qversion; do +- { { ac_try="$ac_compiler $ac_option >&5" ++{ (ac_try="$ac_compiler --version >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler --version >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -v >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -v >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -V >&5" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? +- if test -s conftest.err; then +- sed '10a\ +-... rest of stderr output deleted ... +- 10q' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- rm -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +-done ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } + +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ +-#include ++ + int + main () + { +-FILE *f = fopen ("conftest.out", "w"); +- return ferror (f) || fclose (f) != 0; + + ; + return 0; + } + _ACEOF + ac_clean_files_save=$ac_clean_files +-ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out" ++ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out" + # Try to create an executable without -o first, disregard a.out. + # It will help us diagnose broken compilers, and finding out an intuition + # of exeext. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5 ++{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 + $as_echo_n "checking for C compiler default output file name... " >&6; } + ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` + +@@ -5196,17 +4473,17 @@ + done + rm -f $ac_rmfiles + +-if { { ac_try="$ac_link_default" ++if { (ac_try="$ac_link_default" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_link_default") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then : ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. + # So ignore a value of `no', otherwise this would lead to `EXEEXT = no' + # in a Makefile. We should not override ac_cv_exeext if it was cached, +@@ -5223,7 +4500,7 @@ + # certainly right. + break;; + *.* ) +- if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; ++ if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; + then :; else + ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` + fi +@@ -5242,75 +4519,84 @@ + else + ac_file='' + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5 ++ ++{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5 + $as_echo "$ac_file" >&6; } +-if test -z "$ac_file"; then : ++if test -z "$ac_file"; then + $as_echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ as_fn_set_status 77 +-as_fn_error "C compiler cannot create executables +-See \`config.log' for more details." "$LINENO" 5; }; } ++{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: C compiler cannot create executables ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } + fi ++ + ac_exeext=$ac_cv_exeext + + # Check that the compiler produces executables we can run. If not, either + # the compiler is broken, or we cross compile. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5 + $as_echo_n "checking whether the C compiler works... " >&6; } ++# FIXME: These cross compiler hacks should be removed for Autoconf 3.0 + # If not cross compiling, check that we can run a simple program. + if test "$cross_compiling" != yes; then + if { ac_try='./$ac_file' +- { { case "(($ac_try" in ++ { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + cross_compiling=no + else + if test "$cross_compiling" = maybe; then + cross_compiling=yes + else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run C compiled programs. ++{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs. + If you meant to cross compile, use \`--host'. +-See \`config.log' for more details." "$LINENO" 5; } ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot run C compiled programs. ++If you meant to cross compile, use \`--host'. ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + fi + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++{ $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + +-rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out ++rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out + ac_clean_files=$ac_clean_files_save + # Check that the compiler produces executables we can run. If not, either + # the compiler is broken, or we cross compile. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 + $as_echo_n "checking whether we are cross compiling... " >&6; } +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5 ++{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5 + $as_echo "$cross_compiling" >&6; } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5 ++{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5 + $as_echo_n "checking for suffix of executables... " >&6; } +-if { { ac_try="$ac_link" ++if { (ac_try="$ac_link" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_link") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then : ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + # If both `conftest.exe' and `conftest' are `present' (well, observable) + # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will + # work properly (i.e., refer to `conftest.exe'), while it won't with +@@ -5325,24 +4611,32 @@ + esac + done + else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot compute suffix of executables: cannot compile and link +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + fi ++ + rm -f conftest$ac_cv_exeext +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 + $as_echo "$ac_cv_exeext" >&6; } + + rm -f conftest.$ac_ext + EXEEXT=$ac_cv_exeext + ac_exeext=$EXEEXT +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5 ++{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5 + $as_echo_n "checking for suffix of object files... " >&6; } +-if test "${ac_cv_objext+set}" = set; then : ++if test "${ac_cv_objext+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -5354,17 +4648,17 @@ + } + _ACEOF + rm -f conftest.o conftest.obj +-if { { ac_try="$ac_compile" ++if { (ac_try="$ac_compile" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_compile") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then : ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + for ac_file in conftest.o conftest.obj conftest.*; do + test -f "$ac_file" || continue; + case $ac_file in +@@ -5377,23 +4671,31 @@ + $as_echo "$as_me: failed program was:" >&5 + sed 's/^/| /' conftest.$ac_ext >&5 + +-{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot compute suffix of object files: cannot compile +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + fi ++ + rm -f conftest.$ac_cv_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 + $as_echo "$ac_cv_objext" >&6; } + OBJEXT=$ac_cv_objext + ac_objext=$OBJEXT +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +-if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++if test "${ac_cv_c_compiler_gnu+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -5407,16 +4709,37 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes + else +- ac_compiler_gnu=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_compiler_gnu=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_c_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 + $as_echo "$ac_cv_c_compiler_gnu" >&6; } + if test $ac_compiler_gnu = yes; then + GCC=yes +@@ -5425,16 +4748,20 @@ + fi + ac_test_CFLAGS=${CFLAGS+set} + ac_save_CFLAGS=$CFLAGS +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 + $as_echo_n "checking whether $CC accepts -g... " >&6; } +-if test "${ac_cv_prog_cc_g+set}" = set; then : ++if test "${ac_cv_prog_cc_g+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -5445,27 +4772,35 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes + else +- CFLAGS="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- ; +- return 0; +-} ++ CFLAGS="" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- +-else +- ac_c_werror_flag=$ac_save_c_werror_flag +- CFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -5476,17 +4811,82 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ac_cv_prog_cc_g=yes ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_c_werror_flag=$ac_save_c_werror_flag ++ CFLAGS="-g" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++int ++main () ++{ ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_cv_prog_cc_g=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 + $as_echo "$ac_cv_prog_cc_g" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +@@ -5503,14 +4903,18 @@ + CFLAGS= + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if test "${ac_cv_prog_cc_c89+set}" = set; then : ++if test "${ac_cv_prog_cc_c89+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c89=no + ac_save_CC=$CC +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -5567,9 +4971,32 @@ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" + do + CC="$ac_save_CC $ac_arg" +- if ac_fn_c_try_compile "$LINENO"; then : ++ rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_c89=$ac_arg ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break + done +@@ -5580,19 +5007,17 @@ + # AC_CACHE_VAL + case "x$ac_cv_prog_cc_c89" in + x) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++ { $as_echo "$as_me:$LINENO: result: none needed" >&5 + $as_echo "none needed" >&6; } ;; + xno) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++ { $as_echo "$as_me:$LINENO: result: unsupported" >&5 + $as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 + $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; + esac +-if test "x$ac_cv_prog_cc_c89" != xno; then : + +-fi + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -5602,9 +5027,9 @@ + + depcc="$CC" am_compiler_list= + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -5693,7 +5118,7 @@ + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 + $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } + CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + +@@ -5708,9 +5133,9 @@ + fi + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 ++{ $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 + $as_echo_n "checking for a sed that does not truncate output... " >&6; } +-if test "${ac_cv_path_SED+set}" = set; then : ++if test "${ac_cv_path_SED+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ +@@ -5718,7 +5143,7 @@ + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed +- { ac_script=; unset ac_script;} ++ $as_unset ac_script || ac_script= + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST +@@ -5727,7 +5152,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in sed gsed; do ++ for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +@@ -5747,7 +5172,7 @@ + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- as_fn_arith $ac_count + 1 && ac_count=$as_val ++ ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" +@@ -5762,17 +5187,19 @@ + $ac_path_SED_found && break 3 + done + done +- done ++done + IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then +- as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 ++$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} ++ { (exit 1); exit 1; }; } + fi + else + ac_cv_path_SED=$SED + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 + $as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed +@@ -5790,9 +5217,9 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5 ++{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5 + $as_echo_n "checking for grep that handles long lines and -e... " >&6; } +-if test "${ac_cv_path_GREP+set}" = set; then : ++if test "${ac_cv_path_GREP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$GREP"; then +@@ -5803,7 +5230,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in grep ggrep; do ++ for ac_prog in grep ggrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue +@@ -5823,7 +5250,7 @@ + $as_echo 'GREP' >> "conftest.nl" + "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- as_fn_arith $ac_count + 1 && ac_count=$as_val ++ ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_GREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_GREP="$ac_path_GREP" +@@ -5838,24 +5265,26 @@ + $ac_path_GREP_found && break 3 + done + done +- done ++done + IFS=$as_save_IFS + if test -z "$ac_cv_path_GREP"; then +- as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 ++$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} ++ { (exit 1); exit 1; }; } + fi + else + ac_cv_path_GREP=$GREP + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5 + $as_echo "$ac_cv_path_GREP" >&6; } + GREP="$ac_cv_path_GREP" + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5 ++{ $as_echo "$as_me:$LINENO: checking for egrep" >&5 + $as_echo_n "checking for egrep... " >&6; } +-if test "${ac_cv_path_EGREP+set}" = set; then : ++if test "${ac_cv_path_EGREP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if echo a | $GREP -E '(a|b)' >/dev/null 2>&1 +@@ -5869,7 +5298,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in egrep; do ++ for ac_prog in egrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue +@@ -5889,7 +5318,7 @@ + $as_echo 'EGREP' >> "conftest.nl" + "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- as_fn_arith $ac_count + 1 && ac_count=$as_val ++ ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_EGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_EGREP="$ac_path_EGREP" +@@ -5904,10 +5333,12 @@ + $ac_path_EGREP_found && break 3 + done + done +- done ++done + IFS=$as_save_IFS + if test -z "$ac_cv_path_EGREP"; then +- as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 ++$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} ++ { (exit 1); exit 1; }; } + fi + else + ac_cv_path_EGREP=$EGREP +@@ -5915,14 +5346,14 @@ + + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5 + $as_echo "$ac_cv_path_EGREP" >&6; } + EGREP="$ac_cv_path_EGREP" + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5 ++{ $as_echo "$as_me:$LINENO: checking for fgrep" >&5 + $as_echo_n "checking for fgrep... " >&6; } +-if test "${ac_cv_path_FGREP+set}" = set; then : ++if test "${ac_cv_path_FGREP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1 +@@ -5936,7 +5367,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in fgrep; do ++ for ac_prog in fgrep; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue +@@ -5956,7 +5387,7 @@ + $as_echo 'FGREP' >> "conftest.nl" + "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- as_fn_arith $ac_count + 1 && ac_count=$as_val ++ ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_FGREP_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_FGREP="$ac_path_FGREP" +@@ -5971,10 +5402,12 @@ + $ac_path_FGREP_found && break 3 + done + done +- done ++done + IFS=$as_save_IFS + if test -z "$ac_cv_path_FGREP"; then +- as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5 ++$as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;} ++ { (exit 1); exit 1; }; } + fi + else + ac_cv_path_FGREP=$FGREP +@@ -5982,7 +5415,7 @@ + + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5 + $as_echo "$ac_cv_path_FGREP" >&6; } + FGREP="$ac_cv_path_FGREP" + +@@ -6008,7 +5441,7 @@ + + + # Check whether --with-gnu-ld was given. +-if test "${with_gnu_ld+set}" = set; then : ++if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes + else + with_gnu_ld=no +@@ -6017,7 +5450,7 @@ + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 ++ { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 + $as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) +@@ -6047,13 +5480,13 @@ + ;; + esac + elif test "$with_gnu_ld" = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 + $as_echo_n "checking for GNU ld... " >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 + $as_echo_n "checking for non-GNU ld... " >&6; } + fi +-if test "${lt_cv_path_LD+set}" = set; then : ++if test "${lt_cv_path_LD+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$LD"; then +@@ -6084,16 +5517,18 @@ + + LD="$lt_cv_path_LD" + if test -n "$LD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++ { $as_echo "$as_me:$LINENO: result: $LD" >&5 + $as_echo "$LD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi +-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 ++$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} ++ { (exit 1); exit 1; }; } ++{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 + $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +-if test "${lt_cv_prog_gnu_ld+set}" = set; then : ++if test "${lt_cv_prog_gnu_ld+set}" = set; then + $as_echo_n "(cached) " >&6 + else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +@@ -6106,7 +5541,7 @@ + ;; + esac + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 + $as_echo "$lt_cv_prog_gnu_ld" >&6; } + with_gnu_ld=$lt_cv_prog_gnu_ld + +@@ -6118,9 +5553,9 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5 ++{ $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5 + $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; } +-if test "${lt_cv_path_NM+set}" = set; then : ++if test "${lt_cv_path_NM+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$NM"; then +@@ -6167,7 +5602,7 @@ + : ${lt_cv_path_NM=no} + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5 + $as_echo "$lt_cv_path_NM" >&6; } + if test "$lt_cv_path_NM" != "no"; then + NM="$lt_cv_path_NM" +@@ -6178,9 +5613,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_DUMPBIN+set}" = set; then : ++if test "${ac_cv_prog_DUMPBIN+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$DUMPBIN"; then +@@ -6191,24 +5626,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + DUMPBIN=$ac_cv_prog_DUMPBIN + if test -n "$DUMPBIN"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5 ++ { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5 + $as_echo "$DUMPBIN" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -6222,9 +5657,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_DUMPBIN"; then +@@ -6235,24 +5670,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DUMPBIN="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN + if test -n "$ac_ct_DUMPBIN"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5 + $as_echo "$ac_ct_DUMPBIN" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -6265,7 +5700,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -6285,44 +5720,44 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5 ++{ $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5 + $as_echo_n "checking the name lister ($NM) interface... " >&6; } +-if test "${lt_cv_nm_interface+set}" = set; then : ++if test "${lt_cv_nm_interface+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_nm_interface="BSD nm" + echo "int some_variable = 0;" > conftest.$ac_ext +- (eval echo "\"\$as_me:6295: $ac_compile\"" >&5) ++ (eval echo "\"\$as_me:5730: $ac_compile\"" >&5) + (eval "$ac_compile" 2>conftest.err) + cat conftest.err >&5 +- (eval echo "\"\$as_me:6298: $NM \\\"conftest.$ac_objext\\\"\"" >&5) ++ (eval echo "\"\$as_me:5733: $NM \\\"conftest.$ac_objext\\\"\"" >&5) + (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) + cat conftest.err >&5 +- (eval echo "\"\$as_me:6301: output\"" >&5) ++ (eval echo "\"\$as_me:5736: output\"" >&5) + cat conftest.out >&5 + if $GREP 'External.*some_variable' conftest.out > /dev/null; then + lt_cv_nm_interface="MS dumpbin" + fi + rm -f conftest* + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5 + $as_echo "$lt_cv_nm_interface" >&6; } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5 + $as_echo_n "checking whether ln -s works... " >&6; } + LN_S=$as_ln_s + if test "$LN_S" = "ln -s"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5 ++ { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5 + $as_echo "no, using $LN_S" >&6; } + fi + + # find the maximum length of command line arguments +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5 ++{ $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5 + $as_echo_n "checking the maximum length of command line arguments... " >&6; } +-if test "${lt_cv_sys_max_cmd_len+set}" = set; then : ++if test "${lt_cv_sys_max_cmd_len+set}" = set; then + $as_echo_n "(cached) " >&6 + else + i=0 +@@ -6440,10 +5875,10 @@ + fi + + if test -n $lt_cv_sys_max_cmd_len ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5 ++ { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5 + $as_echo "$lt_cv_sys_max_cmd_len" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5 ++ { $as_echo "$as_me:$LINENO: result: none" >&5 + $as_echo "none" >&6; } + fi + max_cmd_len=$lt_cv_sys_max_cmd_len +@@ -6457,7 +5892,7 @@ + : ${MV="mv -f"} + : ${RM="rm -f"} + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5 + $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; } + # Try some XSI features + xsi_shell=no +@@ -6467,17 +5902,17 @@ + && eval 'test $(( 1 + 1 )) -eq 2 \ + && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \ + && xsi_shell=yes +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5 ++{ $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5 + $as_echo "$xsi_shell" >&6; } + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5 + $as_echo_n "checking whether the shell understands \"+=\"... " >&6; } + lt_shell_append=no + ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \ + >/dev/null 2>&1 \ + && lt_shell_append=yes +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5 + $as_echo "$lt_shell_append" >&6; } + + +@@ -6512,14 +5947,14 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5 + $as_echo_n "checking for $LD option to reload object files... " >&6; } +-if test "${lt_cv_ld_reload_flag+set}" = set; then : ++if test "${lt_cv_ld_reload_flag+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_ld_reload_flag='-r' + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5 + $as_echo "$lt_cv_ld_reload_flag" >&6; } + reload_flag=$lt_cv_ld_reload_flag + case $reload_flag in +@@ -6548,9 +5983,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args. + set dummy ${ac_tool_prefix}objdump; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OBJDUMP+set}" = set; then : ++if test "${ac_cv_prog_OBJDUMP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$OBJDUMP"; then +@@ -6561,24 +5996,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + OBJDUMP=$ac_cv_prog_OBJDUMP + if test -n "$OBJDUMP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5 + $as_echo "$OBJDUMP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -6588,9 +6023,9 @@ + ac_ct_OBJDUMP=$OBJDUMP + # Extract the first word of "objdump", so it can be a program name with args. + set dummy objdump; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OBJDUMP"; then +@@ -6601,24 +6036,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJDUMP="objdump" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP + if test -n "$ac_ct_OBJDUMP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5 + $as_echo "$ac_ct_OBJDUMP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -6627,7 +6062,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -6644,9 +6079,9 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5 ++{ $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5 + $as_echo_n "checking how to recognize dependent libraries... " >&6; } +-if test "${lt_cv_deplibs_check_method+set}" = set; then : ++if test "${lt_cv_deplibs_check_method+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_file_magic_cmd='$MAGIC_CMD' +@@ -6840,7 +6275,7 @@ + esac + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5 + $as_echo "$lt_cv_deplibs_check_method" >&6; } + file_magic_cmd=$lt_cv_file_magic_cmd + deplibs_check_method=$lt_cv_deplibs_check_method +@@ -6860,9 +6295,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. + set dummy ${ac_tool_prefix}ar; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_AR+set}" = set; then : ++if test "${ac_cv_prog_AR+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$AR"; then +@@ -6873,24 +6308,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_AR="${ac_tool_prefix}ar" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + AR=$ac_cv_prog_AR + if test -n "$AR"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5 ++ { $as_echo "$as_me:$LINENO: result: $AR" >&5 + $as_echo "$AR" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -6900,9 +6335,9 @@ + ac_ct_AR=$AR + # Extract the first word of "ar", so it can be a program name with args. + set dummy ar; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_AR+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_AR+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_AR"; then +@@ -6913,24 +6348,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_AR="ar" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_AR=$ac_cv_prog_ac_ct_AR + if test -n "$ac_ct_AR"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5 + $as_echo "$ac_ct_AR" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -6939,7 +6374,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -6965,9 +6400,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args. + set dummy ${ac_tool_prefix}strip; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_STRIP+set}" = set; then : ++if test "${ac_cv_prog_STRIP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$STRIP"; then +@@ -6978,24 +6413,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_STRIP="${ac_tool_prefix}strip" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + STRIP=$ac_cv_prog_STRIP + if test -n "$STRIP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $STRIP" >&5 + $as_echo "$STRIP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7005,9 +6440,9 @@ + ac_ct_STRIP=$STRIP + # Extract the first word of "strip", so it can be a program name with args. + set dummy strip; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_STRIP"; then +@@ -7018,24 +6453,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_STRIP="strip" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP + if test -n "$ac_ct_STRIP"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5 + $as_echo "$ac_ct_STRIP" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7044,7 +6479,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -7064,9 +6499,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args. + set dummy ${ac_tool_prefix}ranlib; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_RANLIB+set}" = set; then : ++if test "${ac_cv_prog_RANLIB+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$RANLIB"; then +@@ -7077,24 +6512,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + RANLIB=$ac_cv_prog_RANLIB + if test -n "$RANLIB"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5 ++ { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5 + $as_echo "$RANLIB" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7104,9 +6539,9 @@ + ac_ct_RANLIB=$RANLIB + # Extract the first word of "ranlib", so it can be a program name with args. + set dummy ranlib; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_RANLIB"; then +@@ -7117,24 +6552,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_RANLIB="ranlib" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB + if test -n "$ac_ct_RANLIB"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5 + $as_echo "$ac_ct_RANLIB" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7143,7 +6578,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -7221,9 +6656,9 @@ + + + # Check for command to grab the raw symbol name followed by C symbol from nm. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5 ++{ $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5 + $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; } +-if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then : ++if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +@@ -7339,18 +6774,18 @@ + int main(){nm_test_var='a';nm_test_func();return(0);} + _LT_EOF + +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + # Now try to grab the symbols. + nlist=conftest.nm +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5 + (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && test -s "$nlist"; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && test -s "$nlist"; then + # Try sorting and uniquifying the output. + if sort "$nlist" | uniq > "$nlist"T; then + mv -f "$nlist"T "$nlist" +@@ -7403,11 +6838,11 @@ + lt_save_CFLAGS="$CFLAGS" + LIBS="conftstm.$ac_objext" + CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag" +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && test -s conftest${ac_exeext}; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && test -s conftest${ac_exeext}; then + pipe_works=yes + fi + LIBS="$lt_save_LIBS" +@@ -7441,10 +6876,10 @@ + lt_cv_sys_global_symbol_to_cdecl= + fi + if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5 ++ { $as_echo "$as_me:$LINENO: result: failed" >&5 + $as_echo "failed" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: ok" >&5 + $as_echo "ok" >&6; } + fi + +@@ -7471,7 +6906,7 @@ + + + # Check whether --enable-libtool-lock was given. +-if test "${enable_libtool_lock+set}" = set; then : ++if test "${enable_libtool_lock+set}" = set; then + enableval=$enable_libtool_lock; + fi + +@@ -7483,11 +6918,11 @@ + ia64-*-hpux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + case `/usr/bin/file conftest.$ac_objext` in + *ELF-32*) + HPUX_IA64_MODE="32" +@@ -7501,12 +6936,12 @@ + ;; + *-*-irix6*) + # Find out which ABI we are using. +- echo '#line 7504 "configure"' > conftest.$ac_ext +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ echo '#line 6939 "configure"' > conftest.$ac_ext ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + if test "$lt_cv_prog_gnu_ld" = yes; then + case `/usr/bin/file conftest.$ac_objext` in + *32-bit*) +@@ -7540,11 +6975,11 @@ + s390*-*linux*|s390*-*tpf*|sparc*-*linux*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + case `/usr/bin/file conftest.o` in + *32-bit*) + case $host in +@@ -7593,9 +7028,9 @@ + # On SCO OpenServer 5, we need -belf to get full-featured binaries. + SAVE_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -belf" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5 + $as_echo_n "checking whether the C compiler needs -belf... " >&6; } +-if test "${lt_cv_cc_needs_belf+set}" = set; then : ++if test "${lt_cv_cc_needs_belf+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_ext=c +@@ -7604,7 +7039,11 @@ + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -7615,13 +7054,38 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + lt_cv_cc_needs_belf=yes + else +- lt_cv_cc_needs_belf=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ lt_cv_cc_needs_belf=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' +@@ -7629,7 +7093,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5 + $as_echo "$lt_cv_cc_needs_belf" >&6; } + if test x"$lt_cv_cc_needs_belf" != x"yes"; then + # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf +@@ -7639,11 +7103,11 @@ + sparc*-*solaris*) + # Find out which ABI we are using. + echo 'int i;' > conftest.$ac_ext +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + case `/usr/bin/file conftest.o` in + *64-bit*) + case $lt_cv_prog_gnu_ld in +@@ -7669,9 +7133,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args. + set dummy ${ac_tool_prefix}dsymutil; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_DSYMUTIL+set}" = set; then : ++if test "${ac_cv_prog_DSYMUTIL+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$DSYMUTIL"; then +@@ -7682,24 +7146,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + DSYMUTIL=$ac_cv_prog_DSYMUTIL + if test -n "$DSYMUTIL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5 + $as_echo "$DSYMUTIL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7709,9 +7173,9 @@ + ac_ct_DSYMUTIL=$DSYMUTIL + # Extract the first word of "dsymutil", so it can be a program name with args. + set dummy dsymutil; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_DSYMUTIL"; then +@@ -7722,24 +7186,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_DSYMUTIL="dsymutil" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL + if test -n "$ac_ct_DSYMUTIL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5 + $as_echo "$ac_ct_DSYMUTIL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7748,7 +7212,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -7761,9 +7225,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args. + set dummy ${ac_tool_prefix}nmedit; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_NMEDIT+set}" = set; then : ++if test "${ac_cv_prog_NMEDIT+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$NMEDIT"; then +@@ -7774,24 +7238,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + NMEDIT=$ac_cv_prog_NMEDIT + if test -n "$NMEDIT"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5 ++ { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5 + $as_echo "$NMEDIT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7801,9 +7265,9 @@ + ac_ct_NMEDIT=$NMEDIT + # Extract the first word of "nmedit", so it can be a program name with args. + set dummy nmedit; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_NMEDIT"; then +@@ -7814,24 +7278,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_NMEDIT="nmedit" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT + if test -n "$ac_ct_NMEDIT"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5 + $as_echo "$ac_ct_NMEDIT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7840,7 +7304,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -7853,9 +7317,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args. + set dummy ${ac_tool_prefix}lipo; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_LIPO+set}" = set; then : ++if test "${ac_cv_prog_LIPO+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$LIPO"; then +@@ -7866,24 +7330,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_LIPO="${ac_tool_prefix}lipo" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + LIPO=$ac_cv_prog_LIPO + if test -n "$LIPO"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5 ++ { $as_echo "$as_me:$LINENO: result: $LIPO" >&5 + $as_echo "$LIPO" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7893,9 +7357,9 @@ + ac_ct_LIPO=$LIPO + # Extract the first word of "lipo", so it can be a program name with args. + set dummy lipo; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_LIPO"; then +@@ -7906,24 +7370,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_LIPO="lipo" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO + if test -n "$ac_ct_LIPO"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5 + $as_echo "$ac_ct_LIPO" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7932,7 +7396,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -7945,9 +7409,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args. + set dummy ${ac_tool_prefix}otool; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OTOOL+set}" = set; then : ++if test "${ac_cv_prog_OTOOL+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$OTOOL"; then +@@ -7958,24 +7422,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL="${ac_tool_prefix}otool" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + OTOOL=$ac_cv_prog_OTOOL + if test -n "$OTOOL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5 + $as_echo "$OTOOL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -7985,9 +7449,9 @@ + ac_ct_OTOOL=$OTOOL + # Extract the first word of "otool", so it can be a program name with args. + set dummy otool; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OTOOL"; then +@@ -7998,24 +7462,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL="otool" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL + if test -n "$ac_ct_OTOOL"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5 + $as_echo "$ac_ct_OTOOL" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -8024,7 +7488,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -8037,9 +7501,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args. + set dummy ${ac_tool_prefix}otool64; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OTOOL64+set}" = set; then : ++if test "${ac_cv_prog_OTOOL64+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$OTOOL64"; then +@@ -8050,24 +7514,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + OTOOL64=$ac_cv_prog_OTOOL64 + if test -n "$OTOOL64"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5 ++ { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5 + $as_echo "$OTOOL64" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -8077,9 +7541,9 @@ + ac_ct_OTOOL64=$OTOOL64 + # Extract the first word of "otool64", so it can be a program name with args. + set dummy otool64; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OTOOL64"; then +@@ -8090,24 +7554,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OTOOL64="otool64" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64 + if test -n "$ac_ct_OTOOL64"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5 + $as_echo "$ac_ct_OTOOL64" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -8116,7 +7580,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -8152,9 +7616,9 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5 ++ { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5 + $as_echo_n "checking for -single_module linker flag... " >&6; } +-if test "${lt_cv_apple_cc_single_mod+set}" = set; then : ++if test "${lt_cv_apple_cc_single_mod+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_apple_cc_single_mod=no +@@ -8179,18 +7643,22 @@ + rm -f conftest.* + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5 + $as_echo "$lt_cv_apple_cc_single_mod" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5 ++ { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5 + $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; } +-if test "${lt_cv_ld_exported_symbols_list+set}" = set; then : ++if test "${lt_cv_ld_exported_symbols_list+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_ld_exported_symbols_list=no + save_LDFLAGS=$LDFLAGS + echo "_main" > conftest.sym + LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -8201,17 +7669,42 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + lt_cv_ld_exported_symbols_list=yes + else +- lt_cv_ld_exported_symbols_list=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ lt_cv_ld_exported_symbols_list=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5 + $as_echo "$lt_cv_ld_exported_symbols_list" >&6; } + case $host_os in + rhapsody* | darwin1.[012]) +@@ -8253,14 +7746,14 @@ + ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5 ++{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 + $as_echo_n "checking how to run the C preprocessor... " >&6; } + # On Suns, sometimes $CPP names a directory. + if test -n "$CPP" && test -d "$CPP"; then + CPP= + fi + if test -z "$CPP"; then +- if test "${ac_cv_prog_CPP+set}" = set; then : ++ if test "${ac_cv_prog_CPP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + # Double quotes because CPP needs to be expanded +@@ -8275,7 +7768,11 @@ + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #ifdef __STDC__ + # include +@@ -8284,34 +7781,78 @@ + #endif + Syntax error + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ : + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Broken: fails on valid input. + continue + fi ++ + rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then + # Broken: success on invalid input. + continue + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Passes both tests. + ac_preproc_ok=: + break + fi ++ + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : ++if $ac_preproc_ok; then + break + fi + +@@ -8323,7 +7864,7 @@ + else + ac_cv_prog_CPP=$CPP + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5 ++{ $as_echo "$as_me:$LINENO: result: $CPP" >&5 + $as_echo "$CPP" >&6; } + ac_preproc_ok=false + for ac_c_preproc_warn_flag in '' yes +@@ -8334,7 +7875,11 @@ + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #ifdef __STDC__ + # include +@@ -8343,40 +7888,87 @@ + #endif + Syntax error + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : +- ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ : + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Broken: fails on valid input. + continue + fi ++ + rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then + # Broken: success on invalid input. + continue + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Passes both tests. + ac_preproc_ok=: + break + fi ++ + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : +- ++if $ac_preproc_ok; then ++ : + else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "C preprocessor \"$CPP\" fails sanity check +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + fi + + ac_ext=c +@@ -8386,12 +7978,16 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5 + $as_echo_n "checking for ANSI C header files... " >&6; } +-if test "${ac_cv_header_stdc+set}" = set; then : ++if test "${ac_cv_header_stdc+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -8406,23 +8002,48 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_header_stdc=yes + else +- ac_cv_header_stdc=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_header_stdc=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + if test $ac_cv_header_stdc = yes; then + # SunOS 4.x string.h does not declare mem*, contrary to ANSI. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "memchr" >/dev/null 2>&1; then : +- ++ $EGREP "memchr" >/dev/null 2>&1; then ++ : + else + ac_cv_header_stdc=no + fi +@@ -8432,14 +8053,18 @@ + + if test $ac_cv_header_stdc = yes; then + # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "free" >/dev/null 2>&1; then : +- ++ $EGREP "free" >/dev/null 2>&1; then ++ : + else + ac_cv_header_stdc=no + fi +@@ -8449,10 +8074,14 @@ + + if test $ac_cv_header_stdc = yes; then + # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. +- if test "$cross_compiling" = yes; then : ++ if test "$cross_compiling" = yes; then + : + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -8479,34 +8108,118 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : +- ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ : + else +- ac_cv_header_stdc=no ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++ac_cv_header_stdc=no + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 + $as_echo "$ac_cv_header_stdc" >&6; } + if test $ac_cv_header_stdc = yes; then + +-$as_echo "#define STDC_HEADERS 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define STDC_HEADERS 1 ++_ACEOF + + fi + + # On IRIX 5.3, sys/types and inttypes.h are conflicting. ++ ++ ++ ++ ++ ++ ++ ++ ++ + for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ + inttypes.h stdint.h unistd.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default +-" +-eval as_val=\$$as_ac_Header +- if test "x$as_val" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++ ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ eval "$as_ac_Header=yes" ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ eval "$as_ac_Header=no" ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF +@@ -8516,13 +8229,62 @@ + done + + ++ + for ac_header in dlfcn.h +-do : +- ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default +-" +-if test "x$ac_cv_header_dlfcn_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++ ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ eval "$as_ac_Header=yes" ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ eval "$as_ac_Header=no" ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_DLFCN_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + + fi +@@ -8540,7 +8302,7 @@ + + + # Check whether --enable-shared was given. +-if test "${enable_shared+set}" = set; then : ++if test "${enable_shared+set}" = set; then + enableval=$enable_shared; p=${PACKAGE-default} + case $enableval in + yes) enable_shared=yes ;; +@@ -8571,7 +8333,7 @@ + + + # Check whether --enable-static was given. +-if test "${enable_static+set}" = set; then : ++if test "${enable_static+set}" = set; then + enableval=$enable_static; p=${PACKAGE-default} + case $enableval in + yes) enable_static=yes ;; +@@ -8603,7 +8365,7 @@ + + + # Check whether --with-pic was given. +-if test "${with_pic+set}" = set; then : ++if test "${with_pic+set}" = set; then + withval=$with_pic; pic_mode="$withval" + else + pic_mode=default +@@ -8619,7 +8381,7 @@ + + + # Check whether --enable-fast-install was given. +-if test "${enable_fast_install+set}" = set; then : ++if test "${enable_fast_install+set}" = set; then + enableval=$enable_fast_install; p=${PACKAGE-default} + case $enableval in + yes) enable_fast_install=yes ;; +@@ -8700,9 +8462,9 @@ + setopt NO_GLOB_SUBST + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5 ++{ $as_echo "$as_me:$LINENO: checking for objdir" >&5 + $as_echo_n "checking for objdir... " >&6; } +-if test "${lt_cv_objdir+set}" = set; then : ++if test "${lt_cv_objdir+set}" = set; then + $as_echo_n "(cached) " >&6 + else + rm -f .libs 2>/dev/null +@@ -8715,7 +8477,7 @@ + fi + rmdir .libs 2>/dev/null + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5 + $as_echo "$lt_cv_objdir" >&6; } + objdir=$lt_cv_objdir + +@@ -8808,9 +8570,9 @@ + case $deplibs_check_method in + file_magic*) + if test "$file_magic_cmd" = '$MAGIC_CMD'; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5 ++ { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5 + $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; } +-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $MAGIC_CMD in +@@ -8861,10 +8623,10 @@ + + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if test -n "$MAGIC_CMD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 ++ { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 + $as_echo "$MAGIC_CMD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -8874,9 +8636,9 @@ + + if test -z "$lt_cv_path_MAGIC_CMD"; then + if test -n "$ac_tool_prefix"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5 ++ { $as_echo "$as_me:$LINENO: checking for file" >&5 + $as_echo_n "checking for file... " >&6; } +-if test "${lt_cv_path_MAGIC_CMD+set}" = set; then : ++if test "${lt_cv_path_MAGIC_CMD+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $MAGIC_CMD in +@@ -8927,10 +8689,10 @@ + + MAGIC_CMD="$lt_cv_path_MAGIC_CMD" + if test -n "$MAGIC_CMD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5 ++ { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5 + $as_echo "$MAGIC_CMD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -9011,9 +8773,9 @@ + if test "$GCC" = yes; then + lt_prog_compiler_no_builtin_flag=' -fno-builtin' + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5 + $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; } +-if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then : ++if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_rtti_exceptions=no +@@ -9029,11 +8791,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9032: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:8794: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:9036: \$? = $ac_status" >&5 ++ echo "$as_me:8798: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -9046,7 +8808,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5 + $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; } + + if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then +@@ -9066,7 +8828,7 @@ + lt_prog_compiler_pic= + lt_prog_compiler_static= + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + if test "$GCC" = yes; then +@@ -9338,7 +9100,7 @@ + lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC" + ;; + esac +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5 + $as_echo "$lt_prog_compiler_pic" >&6; } + + +@@ -9350,9 +9112,9 @@ + # Check to make sure the PIC flag actually works. + # + if test -n "$lt_prog_compiler_pic"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5 + $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; } +-if test "${lt_cv_prog_compiler_pic_works+set}" = set; then : ++if test "${lt_cv_prog_compiler_pic_works+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_pic_works=no +@@ -9368,11 +9130,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9371: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9133: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:9375: \$? = $ac_status" >&5 ++ echo "$as_me:9137: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -9385,7 +9147,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5 + $as_echo "$lt_cv_prog_compiler_pic_works" >&6; } + + if test x"$lt_cv_prog_compiler_pic_works" = xyes; then +@@ -9409,9 +9171,9 @@ + # Check to make sure the static flag actually works. + # + wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\" +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +-if test "${lt_cv_prog_compiler_static_works+set}" = set; then : ++if test "${lt_cv_prog_compiler_static_works+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_static_works=no +@@ -9437,7 +9199,7 @@ + LDFLAGS="$save_LDFLAGS" + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5 + $as_echo "$lt_cv_prog_compiler_static_works" >&6; } + + if test x"$lt_cv_prog_compiler_static_works" = xyes; then +@@ -9452,9 +9214,9 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +-if test "${lt_cv_prog_compiler_c_o+set}" = set; then : ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_c_o=no +@@ -9473,11 +9235,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9476: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9238: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:9480: \$? = $ac_status" >&5 ++ echo "$as_me:9242: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -9499,7 +9261,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 + $as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + +@@ -9507,9 +9269,9 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +-if test "${lt_cv_prog_compiler_c_o+set}" = set; then : ++if test "${lt_cv_prog_compiler_c_o+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_c_o=no +@@ -9528,11 +9290,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:9531: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:9293: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:9535: \$? = $ac_status" >&5 ++ echo "$as_me:9297: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -9554,7 +9316,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5 + $as_echo "$lt_cv_prog_compiler_c_o" >&6; } + + +@@ -9563,7 +9325,7 @@ + hard_links="nottested" + if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 ++ { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 + $as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* +@@ -9571,10 +9333,10 @@ + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 ++ { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 + $as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 + $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +@@ -9587,7 +9349,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 + $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + runpath_var= +@@ -10033,7 +9795,11 @@ + allow_undefined_flag='-berok' + # Determine the default libpath from the value encoded in an + # empty executable. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -10044,7 +9810,27 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { +@@ -10058,9 +9844,16 @@ + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" +@@ -10073,7 +9866,11 @@ + else + # Determine the default libpath from the value encoded in an + # empty executable. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -10084,7 +9881,27 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { +@@ -10098,9 +9915,16 @@ + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath" +@@ -10312,16 +10136,42 @@ + # implicitly export all symbols. + save_LDFLAGS="$LDFLAGS" + LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ ++ cat >conftest.$ac_ext <<_ACEOF + int foo(void) {} + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib' + ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS="$save_LDFLAGS" + else + archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib' +@@ -10577,7 +10427,7 @@ + fi + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5 + $as_echo "$ld_shlibs" >&6; } + test "$ld_shlibs" = no && can_build_shared=no + +@@ -10614,16 +10464,16 @@ + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 + $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } 2>conftest.err; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext +@@ -10637,11 +10487,11 @@ + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag + allow_undefined_flag= +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } + then + archive_cmds_need_lc=no + else +@@ -10652,7 +10502,7 @@ + cat conftest.err 1>&5 + fi + $RM conftest* +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5 ++ { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5 + $as_echo "$archive_cmds_need_lc" >&6; } + ;; + esac +@@ -10816,7 +10666,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 ++ { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 + $as_echo_n "checking dynamic linker characteristics... " >&6; } + + if test "$GCC" = yes; then +@@ -11238,7 +11088,11 @@ + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\"" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -11249,13 +11103,41 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then + shlibpath_overrides_runpath=yes + fi ++ ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +@@ -11479,7 +11361,7 @@ + dynamic_linker=no + ;; + esac +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 ++{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 + $as_echo "$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + +@@ -11581,7 +11463,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 ++ { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 + $as_echo_n "checking how to hardcode library paths into programs... " >&6; } + hardcode_action= + if test -n "$hardcode_libdir_flag_spec" || +@@ -11606,7 +11488,7 @@ + # directories. + hardcode_action=unsupported + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5 ++{ $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5 + $as_echo "$hardcode_action" >&6; } + + if test "$hardcode_action" = relink || +@@ -11651,14 +11533,18 @@ + + darwin*) + # if libdl is installed we need to link against it +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 ++ { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 + $as_echo_n "checking for dlopen in -ldl... " >&6; } +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldl $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -11676,18 +11562,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_dl_dlopen=yes + else +- ac_cv_lib_dl_dlopen=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dl_dlopen=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 + $as_echo "$ac_cv_lib_dl_dlopen" >&6; } +-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" + else + +@@ -11700,19 +11611,33 @@ + ;; + + *) +- ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load" +-if test "x$ac_cv_func_shl_load" = x""yes; then : +- lt_cv_dlopen="shl_load" +-else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5 +-$as_echo_n "checking for shl_load in -ldld... " >&6; } +-if test "${ac_cv_lib_dld_shl_load+set}" = set; then : ++ { $as_echo "$as_me:$LINENO: checking for shl_load" >&5 ++$as_echo_n "checking for shl_load... " >&6; } ++if test "${ac_cv_func_shl_load+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldld $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++/* Define shl_load to an innocuous variant, in case declares shl_load. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define shl_load innocuous_shl_load ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char shl_load (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef shl_load + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC +@@ -11721,6 +11646,13 @@ + extern "C" + #endif + char shl_load (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_shl_load || defined __stub___shl_load ++choke me ++#endif ++ + int + main () + { +@@ -11729,32 +11661,56 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_dld_shl_load=yes ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_shl_load=yes + else +- ac_cv_lib_dld_shl_load=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_shl_load=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5 +-$as_echo "$ac_cv_lib_dld_shl_load" >&6; } +-if test "x$ac_cv_lib_dld_shl_load" = x""yes; then : +- lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" +-else +- ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen" +-if test "x$ac_cv_func_dlopen" = x""yes; then : +- lt_cv_dlopen="dlopen" ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5 ++$as_echo "$ac_cv_func_shl_load" >&6; } ++if test "x$ac_cv_func_shl_load" = x""yes; then ++ lt_cv_dlopen="shl_load" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5 +-$as_echo_n "checking for dlopen in -ldl... " >&6; } +-if test "${ac_cv_lib_dl_dlopen+set}" = set; then : ++ { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5 ++$as_echo_n "checking for shl_load in -ldld... " >&6; } ++if test "${ac_cv_lib_dld_shl_load+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS +-LIBS="-ldl $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++LIBS="-ldld $LIBS" ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -11763,38 +11719,81 @@ + #ifdef __cplusplus + extern "C" + #endif +-char dlopen (); ++char shl_load (); + int + main () + { +-return dlopen (); ++return shl_load (); + ; + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_dl_dlopen=yes ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_lib_dld_shl_load=yes + else +- ac_cv_lib_dl_dlopen=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dld_shl_load=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5 +-$as_echo "$ac_cv_lib_dl_dlopen" >&6; } +-if test "x$ac_cv_lib_dl_dlopen" = x""yes; then : +- lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5 ++$as_echo "$ac_cv_lib_dld_shl_load" >&6; } ++if test "x$ac_cv_lib_dld_shl_load" = x""yes; then ++ lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5 +-$as_echo_n "checking for dlopen in -lsvld... " >&6; } +-if test "${ac_cv_lib_svld_dlopen+set}" = set; then : ++ { $as_echo "$as_me:$LINENO: checking for dlopen" >&5 ++$as_echo_n "checking for dlopen... " >&6; } ++if test "${ac_cv_func_dlopen+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lsvld $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ ++/* Define dlopen to an innocuous variant, in case declares dlopen. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define dlopen innocuous_dlopen ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char dlopen (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef dlopen + + /* Override any GCC internal prototype to avoid an error. + Use char because int might match the return type of a GCC +@@ -11803,6 +11802,13 @@ + extern "C" + #endif + char dlopen (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_dlopen || defined __stub___dlopen ++choke me ++#endif ++ + int + main () + { +@@ -11811,28 +11817,192 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_svld_dlopen=yes +-else +- ac_cv_lib_svld_dlopen=no +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_dlopen=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_dlopen=no ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5 ++$as_echo "$ac_cv_func_dlopen" >&6; } ++if test "x$ac_cv_func_dlopen" = x""yes; then ++ lt_cv_dlopen="dlopen" ++else ++ { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5 ++$as_echo_n "checking for dlopen in -ldl... " >&6; } ++if test "${ac_cv_lib_dl_dlopen+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-ldl $LIBS" ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* 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 dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_lib_dl_dlopen=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dl_dlopen=no ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5 ++$as_echo "$ac_cv_lib_dl_dlopen" >&6; } ++if test "x$ac_cv_lib_dl_dlopen" = x""yes; then ++ lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl" ++else ++ { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5 ++$as_echo_n "checking for dlopen in -lsvld... " >&6; } ++if test "${ac_cv_lib_svld_dlopen+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lsvld $LIBS" ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* 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 dlopen (); ++int ++main () ++{ ++return dlopen (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_lib_svld_dlopen=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_svld_dlopen=no ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5 + $as_echo "$ac_cv_lib_svld_dlopen" >&6; } +-if test "x$ac_cv_lib_svld_dlopen" = x""yes; then : ++if test "x$ac_cv_lib_svld_dlopen" = x""yes; then + lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5 + $as_echo_n "checking for dld_link in -ldld... " >&6; } +-if test "${ac_cv_lib_dld_dld_link+set}" = set; then : ++if test "${ac_cv_lib_dld_dld_link+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldld $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -11850,18 +12020,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_dld_dld_link=yes + else +- ac_cv_lib_dld_dld_link=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dld_dld_link=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5 + $as_echo "$ac_cv_lib_dld_dld_link" >&6; } +-if test "x$ac_cv_lib_dld_dld_link" = x""yes; then : ++if test "x$ac_cv_lib_dld_dld_link" = x""yes; then + lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld" + fi + +@@ -11900,9 +12095,9 @@ + save_LIBS="$LIBS" + LIBS="$lt_cv_dlopen_libs $LIBS" + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5 + $as_echo_n "checking whether a program can dlopen itself... " >&6; } +-if test "${lt_cv_dlopen_self+set}" = set; then : ++if test "${lt_cv_dlopen_self+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -11911,7 +12106,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 11914 "configure" ++#line 12109 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -11970,11 +12165,11 @@ + return status; + } + _LT_EOF +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in +@@ -11991,14 +12186,14 @@ + + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5 + $as_echo "$lt_cv_dlopen_self" >&6; } + + if test "x$lt_cv_dlopen_self" = xyes; then + wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5 + $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; } +-if test "${lt_cv_dlopen_self_static+set}" = set; then : ++if test "${lt_cv_dlopen_self_static+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test "$cross_compiling" = yes; then : +@@ -12007,7 +12202,7 @@ + lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 + lt_status=$lt_dlunknown + cat > conftest.$ac_ext <<_LT_EOF +-#line 12010 "configure" ++#line 12205 "configure" + #include "confdefs.h" + + #if HAVE_DLFCN_H +@@ -12066,11 +12261,11 @@ + return status; + } + _LT_EOF +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 + (eval $ac_link) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then + (./conftest; exit; ) >&5 2>/dev/null + lt_status=$? + case x$lt_status in +@@ -12087,7 +12282,7 @@ + + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5 + $as_echo "$lt_cv_dlopen_self_static" >&6; } + fi + +@@ -12126,12 +12321,12 @@ + + striplib= + old_striplib= +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5 + $as_echo_n "checking whether stripping libraries is possible... " >&6; } + if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then + test -z "$old_striplib" && old_striplib="$STRIP --strip-debug" + test -z "$striplib" && striplib="$STRIP --strip-unneeded" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + else + # FIXME - insert some real tests, host_os isn't really good enough +@@ -12140,15 +12335,15 @@ + if test -n "$STRIP" ; then + striplib="$STRIP -x" + old_striplib="$STRIP -S" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + ;; + *) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + ;; + esac +@@ -12166,12 +12361,12 @@ + + + # Report which library types will actually be built +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5 ++ { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5 + $as_echo_n "checking if libtool supports shared libraries... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5 ++ { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5 + $as_echo "$can_build_shared" >&6; } + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5 + $as_echo_n "checking whether to build shared libraries... " >&6; } + test "$can_build_shared" = "no" && enable_shared=no + +@@ -12192,14 +12387,14 @@ + fi + ;; + esac +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5 ++ { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5 + $as_echo "$enable_shared" >&6; } + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5 + $as_echo_n "checking whether to build static libraries... " >&6; } + # Make sure either enable_shared or enable_static is yes. + test "$enable_shared" = yes || enable_static=yes +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5 ++ { $as_echo "$as_me:$LINENO: result: $enable_static" >&5 + $as_echo "$enable_static" >&6; } + + +@@ -12242,13 +12437,13 @@ + + + # Check whether --with-autoconf was given. +-if test "${with_autoconf+set}" = set; then : ++if test "${with_autoconf+set}" = set; then + withval=$with_autoconf; + unset AUTOCONF + + AUTOCONF=${AUTOCONF-"${am_missing_run}${withval}"} + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOCONF as autoconf" >&5 ++ { $as_echo "$as_me:$LINENO: Using $AUTOCONF as autoconf" >&5 + $as_echo "$as_me: Using $AUTOCONF as autoconf" >&6;} + + fi +@@ -12256,13 +12451,13 @@ + + + # Check whether --with-autoheader was given. +-if test "${with_autoheader+set}" = set; then : ++if test "${with_autoheader+set}" = set; then + withval=$with_autoheader; + unset AUTOHEADER + + AUTOHEADER=${AUTOHEADER-"${am_missing_run}${withval}"} + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOHEADER as autoheader" >&5 ++ { $as_echo "$as_me:$LINENO: Using $AUTOHEADER as autoheader" >&5 + $as_echo "$as_me: Using $AUTOHEADER as autoheader" >&6;} + + fi +@@ -12270,13 +12465,13 @@ + + + # Check whether --with-automake was given. +-if test "${with_automake+set}" = set; then : ++if test "${with_automake+set}" = set; then + withval=$with_automake; + unset AUTOMAKE + + AUTOMAKE=${AUTOMAKE-"${am_missing_run}${withval}"} + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $AUTOMAKE as automake" >&5 ++ { $as_echo "$as_me:$LINENO: Using $AUTOMAKE as automake" >&5 + $as_echo "$as_me: Using $AUTOMAKE as automake" >&6;} + + fi +@@ -12284,13 +12479,13 @@ + + + # Check whether --with-aclocal was given. +-if test "${with_aclocal+set}" = set; then : ++if test "${with_aclocal+set}" = set; then + withval=$with_aclocal; + unset ACLOCAL + + ACLOCAL=${ACLOCAL-"${am_missing_run}${withval}"} + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $ACLOCAL as aclocal" >&5 ++ { $as_echo "$as_me:$LINENO: Using $ACLOCAL as aclocal" >&5 + $as_echo "$as_me: Using $ACLOCAL as aclocal" >&6;} + + fi +@@ -12302,16 +12497,16 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether NLS is requested" >&5 + $as_echo_n "checking whether NLS is requested... " >&6; } + # Check whether --enable-nls was given. +-if test "${enable_nls+set}" = set; then : ++if test "${enable_nls+set}" = set; then + enableval=$enable_nls; USE_NLS=$enableval + else + USE_NLS=yes + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++ { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 + $as_echo "$USE_NLS" >&6; } + + +@@ -12352,9 +12547,9 @@ + + # Extract the first word of "msgfmt", so it can be a program name with args. + set dummy msgfmt; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_MSGFMT+set}" = set; then : ++if test "${ac_cv_path_MSGFMT+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case "$MSGFMT" in +@@ -12384,18 +12579,18 @@ + fi + MSGFMT="$ac_cv_path_MSGFMT" + if test "$MSGFMT" != ":"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5 ++ { $as_echo "$as_me:$LINENO: result: $MSGFMT" >&5 + $as_echo "$MSGFMT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + + # Extract the first word of "gmsgfmt", so it can be a program name with args. + set dummy gmsgfmt; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_GMSGFMT+set}" = set; then : ++if test "${ac_cv_path_GMSGFMT+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $GMSGFMT in +@@ -12408,14 +12603,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GMSGFMT="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + test -z "$ac_cv_path_GMSGFMT" && ac_cv_path_GMSGFMT="$MSGFMT" +@@ -12424,10 +12619,10 @@ + fi + GMSGFMT=$ac_cv_path_GMSGFMT + if test -n "$GMSGFMT"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GMSGFMT" >&5 ++ { $as_echo "$as_me:$LINENO: result: $GMSGFMT" >&5 + $as_echo "$GMSGFMT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -12475,9 +12670,9 @@ + + # Extract the first word of "xgettext", so it can be a program name with args. + set dummy xgettext; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_XGETTEXT+set}" = set; then : ++if test "${ac_cv_path_XGETTEXT+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case "$XGETTEXT" in +@@ -12507,10 +12702,10 @@ + fi + XGETTEXT="$ac_cv_path_XGETTEXT" + if test "$XGETTEXT" != ":"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5 ++ { $as_echo "$as_me:$LINENO: result: $XGETTEXT" >&5 + $as_echo "$XGETTEXT" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -12553,9 +12748,9 @@ + + # Extract the first word of "msgmerge", so it can be a program name with args. + set dummy msgmerge; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_MSGMERGE+set}" = set; then : ++if test "${ac_cv_path_MSGMERGE+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case "$MSGMERGE" in +@@ -12584,10 +12779,10 @@ + fi + MSGMERGE="$ac_cv_path_MSGMERGE" + if test "$MSGMERGE" != ":"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5 ++ { $as_echo "$as_me:$LINENO: result: $MSGMERGE" >&5 + $as_echo "$MSGMERGE" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -12619,7 +12814,7 @@ + + + # Check whether --with-gnu-ld was given. +-if test "${with_gnu_ld+set}" = set; then : ++if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes + else + with_gnu_ld=no +@@ -12641,7 +12836,7 @@ + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5 ++ { $as_echo "$as_me:$LINENO: checking for ld used by GCC" >&5 + $as_echo_n "checking for ld used by GCC... " >&6; } + case $host in + *-*-mingw*) +@@ -12671,13 +12866,13 @@ + ;; + esac + elif test "$with_gnu_ld" = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 + $as_echo_n "checking for GNU ld... " >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 + $as_echo_n "checking for non-GNU ld... " >&6; } + fi +-if test "${acl_cv_path_LD+set}" = set; then : ++if test "${acl_cv_path_LD+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$LD"; then +@@ -12705,16 +12900,18 @@ + + LD="$acl_cv_path_LD" + if test -n "$LD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++ { $as_echo "$as_me:$LINENO: result: $LD" >&5 + $as_echo "$LD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi +-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 ++$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} ++ { (exit 1); exit 1; }; } ++{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 + $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +-if test "${acl_cv_prog_gnu_ld+set}" = set; then : ++if test "${acl_cv_prog_gnu_ld+set}" = set; then + $as_echo_n "(cached) " >&6 + else + # I'd rather use --version here, but apparently some GNU ld's only accept -v. +@@ -12725,16 +12922,16 @@ + acl_cv_prog_gnu_ld=no ;; + esac + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5 ++{ $as_echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5 + $as_echo "$acl_cv_prog_gnu_ld" >&6; } + with_gnu_ld=$acl_cv_prog_gnu_ld + + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5 ++ { $as_echo "$as_me:$LINENO: checking for shared library run path origin" >&5 + $as_echo_n "checking for shared library run path origin... " >&6; } +-if test "${acl_cv_rpath+set}" = set; then : ++if test "${acl_cv_rpath+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +@@ -12745,7 +12942,7 @@ + acl_cv_rpath=done + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5 ++{ $as_echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5 + $as_echo "$acl_cv_rpath" >&6; } + wl="$acl_cv_wl" + acl_libext="$acl_cv_libext" +@@ -12757,7 +12954,7 @@ + acl_hardcode_direct="$acl_cv_hardcode_direct" + acl_hardcode_minus_L="$acl_cv_hardcode_minus_L" + # Check whether --enable-rpath was given. +-if test "${enable_rpath+set}" = set; then : ++if test "${enable_rpath+set}" = set; then + enableval=$enable_rpath; : + else + enable_rpath=yes +@@ -12806,7 +13003,7 @@ + + + # Check whether --with-libiconv-prefix was given. +-if test "${with_libiconv_prefix+set}" = set; then : ++if test "${with_libiconv_prefix+set}" = set; then + withval=$with_libiconv_prefix; + if test "X$withval" = "Xno"; then + use_additional=no +@@ -13246,14 +13443,18 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFPreferencesCopyAppValue" >&5 ++ { $as_echo "$as_me:$LINENO: checking for CFPreferencesCopyAppValue" >&5 + $as_echo_n "checking for CFPreferencesCopyAppValue... " >&6; } +-if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then : ++if test "${gt_cv_func_CFPreferencesCopyAppValue+set}" = set; then + $as_echo_n "(cached) " >&6 + else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + int +@@ -13264,30 +13465,61 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + gt_cv_func_CFPreferencesCopyAppValue=yes + else +- gt_cv_func_CFPreferencesCopyAppValue=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ gt_cv_func_CFPreferencesCopyAppValue=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 ++{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFPreferencesCopyAppValue" >&5 + $as_echo "$gt_cv_func_CFPreferencesCopyAppValue" >&6; } + if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then + +-$as_echo "#define HAVE_CFPREFERENCESCOPYAPPVALUE 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CFPREFERENCESCOPYAPPVALUE 1 ++_ACEOF + + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CFLocaleCopyCurrent" >&5 ++ { $as_echo "$as_me:$LINENO: checking for CFLocaleCopyCurrent" >&5 + $as_echo_n "checking for CFLocaleCopyCurrent... " >&6; } +-if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then : ++if test "${gt_cv_func_CFLocaleCopyCurrent+set}" = set; then + $as_echo_n "(cached) " >&6 + else + gt_save_LIBS="$LIBS" + LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + int +@@ -13298,20 +13530,47 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + gt_cv_func_CFLocaleCopyCurrent=yes + else +- gt_cv_func_CFLocaleCopyCurrent=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ gt_cv_func_CFLocaleCopyCurrent=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS="$gt_save_LIBS" + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 ++{ $as_echo "$as_me:$LINENO: result: $gt_cv_func_CFLocaleCopyCurrent" >&5 + $as_echo "$gt_cv_func_CFLocaleCopyCurrent" >&6; } + if test $gt_cv_func_CFLocaleCopyCurrent = yes; then + +-$as_echo "#define HAVE_CFLOCALECOPYCURRENT 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CFLOCALECOPYCURRENT 1 ++_ACEOF + + fi + INTL_MACOSX_LIBS= +@@ -13356,12 +13615,16 @@ + gt_expression_test_code= + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libc" >&5 ++ { $as_echo "$as_me:$LINENO: checking for GNU gettext in libc" >&5 + $as_echo_n "checking for GNU gettext in libc... " >&6; } +-if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then : ++if { as_var=$gt_func_gnugettext_libc; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + $gt_revision_test_code +@@ -13376,16 +13639,42 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + eval "$gt_func_gnugettext_libc=yes" + else +- eval "$gt_func_gnugettext_libc=no" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ eval "$gt_func_gnugettext_libc=no" + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-eval ac_res=\$$gt_func_gnugettext_libc +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++ac_res=`eval 'as_val=${'$gt_func_gnugettext_libc'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + + if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then +@@ -13419,15 +13708,19 @@ + done + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5 ++ { $as_echo "$as_me:$LINENO: checking for iconv" >&5 + $as_echo_n "checking for iconv... " >&6; } +-if test "${am_cv_func_iconv+set}" = set; then : ++if test "${am_cv_func_iconv+set}" = set; then + $as_echo_n "(cached) " >&6 + else + + am_cv_func_iconv="no, consider installing GNU libiconv" + am_cv_lib_iconv=no +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -13441,15 +13734,46 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + am_cv_func_iconv=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + if test "$am_cv_func_iconv" != yes; then + am_save_LIBS="$LIBS" + LIBS="$LIBS $LIBICONV" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -13463,22 +13787,49 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + am_cv_lib_iconv=yes + am_cv_func_iconv=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS="$am_save_LIBS" + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5 + $as_echo "$am_cv_func_iconv" >&6; } + if test "$am_cv_func_iconv" = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working iconv" >&5 ++ { $as_echo "$as_me:$LINENO: checking for working iconv" >&5 + $as_echo_n "checking for working iconv... " >&6; } +-if test "${am_cv_func_iconv_works+set}" = set; then : ++if test "${am_cv_func_iconv_works+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +@@ -13486,13 +13837,17 @@ + if test $am_cv_lib_iconv = yes; then + LIBS="$LIBS $LIBICONV" + fi +- if test "$cross_compiling" = yes; then : ++ if test "$cross_compiling" = yes; then + case "$host_os" in + aix* | hpux*) am_cv_func_iconv_works="guessing no" ;; + *) am_cv_func_iconv_works="guessing yes" ;; + esac + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -13552,19 +13907,46 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + am_cv_func_iconv_works=yes + else +- am_cv_func_iconv_works=no ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++am_cv_func_iconv_works=no + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + LIBS="$am_save_LIBS" + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv_works" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_func_iconv_works" >&5 + $as_echo "$am_cv_func_iconv_works" >&6; } + case "$am_cv_func_iconv_works" in + *no) am_func_iconv=no am_cv_lib_iconv=no ;; +@@ -13575,13 +13957,15 @@ + fi + if test "$am_func_iconv" = yes; then + +-$as_echo "#define HAVE_ICONV 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_ICONV 1 ++_ACEOF + + fi + if test "$am_cv_lib_iconv" = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5 ++ { $as_echo "$as_me:$LINENO: checking how to link with libiconv" >&5 + $as_echo_n "checking how to link with libiconv... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5 ++ { $as_echo "$as_me:$LINENO: result: $LIBICONV" >&5 + $as_echo "$LIBICONV" >&6; } + else + CPPFLAGS="$am_save_CPPFLAGS" +@@ -13611,7 +13995,7 @@ + + + # Check whether --with-libintl-prefix was given. +-if test "${with_libintl_prefix+set}" = set; then : ++if test "${with_libintl_prefix+set}" = set; then + withval=$with_libintl_prefix; + if test "X$withval" = "Xno"; then + use_additional=no +@@ -14027,16 +14411,20 @@ + done + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU gettext in libintl" >&5 ++ { $as_echo "$as_me:$LINENO: checking for GNU gettext in libintl" >&5 + $as_echo_n "checking for GNU gettext in libintl... " >&6; } +-if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then : ++if { as_var=$gt_func_gnugettext_libintl; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 + else + gt_save_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $INCINTL" + gt_save_LIBS="$LIBS" + LIBS="$LIBS $LIBINTL" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + $gt_revision_test_code +@@ -14055,16 +14443,45 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + eval "$gt_func_gnugettext_libintl=yes" + else +- eval "$gt_func_gnugettext_libintl=no" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ eval "$gt_func_gnugettext_libintl=no" + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then + LIBS="$LIBS $LIBICONV" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + $gt_revision_test_code +@@ -14083,20 +14500,48 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + LIBINTL="$LIBINTL $LIBICONV" + LTLIBINTL="$LTLIBINTL $LTLIBICONV" + eval "$gt_func_gnugettext_libintl=yes" + ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi + CPPFLAGS="$gt_save_CPPFLAGS" + LIBS="$gt_save_LIBS" + fi +-eval ac_res=\$$gt_func_gnugettext_libintl +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5 ++ac_res=`eval 'as_val=${'$gt_func_gnugettext_libintl'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 + $as_echo "$ac_res" >&6; } + fi + +@@ -14124,19 +14569,21 @@ + if test "$gt_use_preinstalled_gnugettext" = "yes" \ + || test "$nls_cv_use_gnu_gettext" = "yes"; then + +-$as_echo "#define ENABLE_NLS 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define ENABLE_NLS 1 ++_ACEOF + + else + USE_NLS=no + fi + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use NLS" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether to use NLS" >&5 + $as_echo_n "checking whether to use NLS... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_NLS" >&5 ++ { $as_echo "$as_me:$LINENO: result: $USE_NLS" >&5 + $as_echo "$USE_NLS" >&6; } + if test "$USE_NLS" = "yes"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking where the gettext function comes from" >&5 ++ { $as_echo "$as_me:$LINENO: checking where the gettext function comes from" >&5 + $as_echo_n "checking where the gettext function comes from... " >&6; } + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then +@@ -14147,7 +14594,7 @@ + else + gt_source="included intl directory" + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gt_source" >&5 ++ { $as_echo "$as_me:$LINENO: result: $gt_source" >&5 + $as_echo "$gt_source" >&6; } + fi + +@@ -14155,9 +14602,9 @@ + + if test "$gt_use_preinstalled_gnugettext" = "yes"; then + if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libintl" >&5 ++ { $as_echo "$as_me:$LINENO: checking how to link with libintl" >&5 + $as_echo_n "checking how to link with libintl... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBINTL" >&5 ++ { $as_echo "$as_me:$LINENO: result: $LIBINTL" >&5 + $as_echo "$LIBINTL" >&6; } + + for element in $INCINTL; do +@@ -14185,10 +14632,14 @@ + fi + + +-$as_echo "#define HAVE_GETTEXT 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_GETTEXT 1 ++_ACEOF + + +-$as_echo "#define HAVE_DCGETTEXT 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DCGETTEXT 1 ++_ACEOF + + fi + +@@ -14255,12 +14706,14 @@ + + + # Check whether --enable-debug was given. +-if test "${enable_debug+set}" = set; then : ++if test "${enable_debug+set}" = set; then + enableval=$enable_debug; + case "${enableval}" in + yes) USE_DEBUG=yes ;; + no) USE_DEBUG=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-debug" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debug" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-debug" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -14269,12 +14722,14 @@ + + + # Check whether --enable-profiling was given. +-if test "${enable_profiling+set}" = set; then : ++if test "${enable_profiling+set}" = set; then + enableval=$enable_profiling; + case "${enableval}" in + yes) USE_PROFILING=yes ;; + no) USE_PROFILING=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-profiling" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-profiling" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-profiling" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -14287,9 +14742,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args. + set dummy ${ac_tool_prefix}pkg-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then : ++if test "${ac_cv_path_PKG_CONFIG+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $PKG_CONFIG in +@@ -14302,14 +14757,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + ;; +@@ -14317,10 +14772,10 @@ + fi + PKG_CONFIG=$ac_cv_path_PKG_CONFIG + if test -n "$PKG_CONFIG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5 ++ { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5 + $as_echo "$PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -14330,9 +14785,9 @@ + ac_pt_PKG_CONFIG=$PKG_CONFIG + # Extract the first word of "pkg-config", so it can be a program name with args. + set dummy pkg-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then : ++if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $ac_pt_PKG_CONFIG in +@@ -14345,14 +14800,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + ;; +@@ -14360,10 +14815,10 @@ + fi + ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG + if test -n "$ac_pt_PKG_CONFIG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5 + $as_echo "$ac_pt_PKG_CONFIG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -14372,7 +14827,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -14385,13 +14840,13 @@ + fi + if test -n "$PKG_CONFIG"; then + _pkg_min_version=0.9.0 +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5 ++ { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5 + $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; } + if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + PKG_CONFIG="" + fi +@@ -14399,12 +14854,14 @@ + fi + + # Check whether --enable-valgrind was given. +-if test "${enable_valgrind+set}" = set; then : ++if test "${enable_valgrind+set}" = set; then + enableval=$enable_valgrind; + case "${enableval}" in + yes) USE_VALGRIND="$USE_DEBUG" ;; + no) USE_VALGRIND=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-valgrind" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-valgrind" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-valgrind" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -14414,7 +14871,7 @@ + if test "x$USE_VALGRIND" = xyes; then + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for VALGRIND" >&5 ++{ $as_echo "$as_me:$LINENO: checking for VALGRIND" >&5 + $as_echo_n "checking for VALGRIND... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -14422,11 +14879,11 @@ + pkg_cv_VALGRIND_CFLAGS="$VALGRIND_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\"") >&5 + ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_VALGRIND_CFLAGS=`$PKG_CONFIG --cflags "valgrind >= $VALGRIND_REQ" 2>/dev/null` + else + pkg_failed=yes +@@ -14440,11 +14897,11 @@ + pkg_cv_VALGRIND_LIBS="$VALGRIND_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"valgrind >= \$VALGRIND_REQ\"") >&5 + ($PKG_CONFIG --exists --print-errors "valgrind >= $VALGRIND_REQ") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_VALGRIND_LIBS=`$PKG_CONFIG --libs "valgrind >= $VALGRIND_REQ" 2>/dev/null` + else + pkg_failed=yes +@@ -14471,38 +14928,40 @@ + # Put the nasty error message in config.log where it belongs + echo "$VALGRIND_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + USE_VALGRIND="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + USE_VALGRIND="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + VALGRIND_CFLAGS=$pkg_cv_VALGRIND_CFLAGS + VALGRIND_LIBS=$pkg_cv_VALGRIND_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + USE_VALGRIND="yes" + fi + fi + if test "x$USE_VALGRIND" = xyes; then + +-$as_echo "#define HAVE_VALGRIND 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_VALGRIND 1 ++_ACEOF + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using extra code paths for valgrind" >&5 ++ { $as_echo "$as_me:$LINENO: Using extra code paths for valgrind" >&5 + $as_echo "$as_me: Using extra code paths for valgrind" >&6;} + fi + + + # Check whether --enable-gcov was given. +-if test "${enable_gcov+set}" = set; then : ++if test "${enable_gcov+set}" = set; then + enableval=$enable_gcov; enable_gcov=$enableval + else + enable_gcov=no +@@ -14511,17 +14970,23 @@ + if test x$enable_gcov = xyes ; then + if test "x$GCC" != "xyes" + then +- as_fn_error "gcov only works if gcc is used" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: gcov only works if gcc is used" >&5 ++$as_echo "$as_me: error: gcov only works if gcc is used" >&2;} ++ { (exit 1); exit 1; }; } + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-fprofile-arcs\"" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands \"-fprofile-arcs\"" >&5 + $as_echo_n "checking to see if compiler understands \"-fprofile-arcs\"... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS "-fprofile-arcs"" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -14532,11 +14997,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -14547,17 +15033,21 @@ + true + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands \"-ftest-coverage\"" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands \"-ftest-coverage\"" >&5 + $as_echo_n "checking to see if compiler understands \"-ftest-coverage\"... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS "-ftest-coverage"" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -14568,11 +15058,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -14583,7 +15094,7 @@ + true + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + GCOV_CFLAGS=`echo "$GCOV_CFLAGS" | sed -e 's/-O[0-9]*//g'` +@@ -14609,7 +15120,7 @@ + + CCASFLAGS="-O0" + +- { $as_echo "$as_me:${as_lineno-$LINENO}: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5 ++ { $as_echo "$as_me:$LINENO: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&5 + $as_echo "$as_me: gcov enabled, setting CFLAGS and friends to $CFLAGS" >&6;} + fi + fi +@@ -14625,12 +15136,14 @@ + + + # Check whether --enable-examples was given. +-if test "${enable_examples+set}" = set; then : ++if test "${enable_examples+set}" = set; then + enableval=$enable_examples; + case "${enableval}" in + yes) BUILD_EXAMPLES=yes ;; + no) BUILD_EXAMPLES=no ;; +- *) as_fn_error "bad value ${enableval} for --disable-examples" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --disable-examples" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --disable-examples" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -14649,10 +15162,10 @@ + + + # Check whether --with-pkg-config-path was given. +-if test "${with_pkg_config_path+set}" = set; then : ++if test "${with_pkg_config_path+set}" = set; then + withval=$with_pkg_config_path; + export PKG_CONFIG_PATH=${withval} +- { $as_echo "$as_me:${as_lineno-$LINENO}: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5 ++ { $as_echo "$as_me:$LINENO: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&5 + $as_echo "$as_me: Set PKG_CONFIG_PATH to $PKG_CONFIG_PATH" >&6;} + + fi +@@ -14661,11 +15174,15 @@ + + + # Check whether --with-package-name was given. +-if test "${with_package_name+set}" = set; then : ++if test "${with_package_name+set}" = set; then + withval=$with_package_name; + case "${withval}" in +- yes) as_fn_error "bad value ${withval} for --with-package-name" "$LINENO" 5 ;; +- no) as_fn_error "bad value ${withval} for --with-package-name" "$LINENO" 5 ;; ++ yes) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-package-name" >&5 ++$as_echo "$as_me: error: bad value ${withval} for --with-package-name" >&2;} ++ { (exit 1); exit 1; }; } ;; ++ no) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-package-name" >&5 ++$as_echo "$as_me: error: bad value ${withval} for --with-package-name" >&2;} ++ { (exit 1); exit 1; }; } ;; + *) GST_PACKAGE_NAME="${withval}" ;; + esac + +@@ -14687,7 +15204,7 @@ + + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_NAME as package name" >&5 ++ { $as_echo "$as_me:$LINENO: Using $GST_PACKAGE_NAME as package name" >&5 + $as_echo "$as_me: Using $GST_PACKAGE_NAME as package name" >&6;} + + cat >>confdefs.h <<_ACEOF +@@ -14699,11 +15216,15 @@ + + + # Check whether --with-package-origin was given. +-if test "${with_package_origin+set}" = set; then : ++if test "${with_package_origin+set}" = set; then + withval=$with_package_origin; + case "${withval}" in +- yes) as_fn_error "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;; +- no) as_fn_error "bad value ${withval} for --with-package-origin" "$LINENO" 5 ;; ++ yes) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-package-origin" >&5 ++$as_echo "$as_me: error: bad value ${withval} for --with-package-origin" >&2;} ++ { (exit 1); exit 1; }; } ;; ++ no) { { $as_echo "$as_me:$LINENO: error: bad value ${withval} for --with-package-origin" >&5 ++$as_echo "$as_me: error: bad value ${withval} for --with-package-origin" >&2;} ++ { (exit 1); exit 1; }; } ;; + *) GST_PACKAGE_ORIGIN="${withval}" ;; + esac + +@@ -14711,7 +15232,7 @@ + GST_PACKAGE_ORIGIN="Unknown package origin" + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $GST_PACKAGE_ORIGIN as package origin" >&5 ++ { $as_echo "$as_me:$LINENO: Using $GST_PACKAGE_ORIGIN as package origin" >&5 + $as_echo "$as_me: Using $GST_PACKAGE_ORIGIN as package origin" >&6;} + + cat >>confdefs.h <<_ACEOF +@@ -14724,7 +15245,7 @@ + + + # Check whether --with-plugins was given. +-if test "${with_plugins+set}" = set; then : ++if test "${with_plugins+set}" = set; then + withval=$with_plugins; WITH_PLUGINS=$withval + else + WITH_PLUGINS= +@@ -14740,11 +15261,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of plug-ins with external deps ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: building of plug-ins with external deps ***" >&5 + $as_echo "$as_me: *** checking feature: building of plug-ins with external deps ***" >&6;} + if test "x" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: ***" >&5 + $as_echo "$as_me: *** for plug-ins: ***" >&6;} + fi + NOUSE= +@@ -14752,11 +15273,13 @@ + NOUSE="yes" + fi + # Check whether --enable-external was given. +-if test "${enable_external+set}" = set; then : ++if test "${enable_external+set}" = set; then + enableval=$enable_external; case "${enableval}" in + yes) USE_EXTERNAL=yes;; + no) USE_EXTERNAL=no;; +- *) as_fn_error "bad value ${enableval} for --enable-external" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-external" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-external" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_EXTERNAL=yes +@@ -14764,7 +15287,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_EXTERNAL="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -14795,7 +15318,7 @@ + fi + if test x$USE_EXTERNAL = xyes; then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: building external plug-ins" >&5 ++ { $as_echo "$as_me:$LINENO: building external plug-ins" >&5 + $as_echo "$as_me: building external plug-ins" >&6;} + BUILD_EXTERNAL="yes" + +@@ -14803,7 +15326,9 @@ + GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_EXTERNAL /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_EXTERNAL /**/ ++_ACEOF + + else + : +@@ -14811,7 +15336,7 @@ + GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: all plug-ins with external dependencies will not be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: all plug-ins with external dependencies will not be built" >&5 + $as_echo "$as_me: WARNING: all plug-ins with external dependencies will not be built" >&2;} + BUILD_EXTERNAL="no" + +@@ -14838,11 +15363,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: building of experimental plug-ins ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: building of experimental plug-ins ***" >&5 + $as_echo "$as_me: *** checking feature: building of experimental plug-ins ***" >&6;} + if test "x" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: ***" >&5 + $as_echo "$as_me: *** for plug-ins: ***" >&6;} + fi + NOUSE= +@@ -14850,11 +15375,13 @@ + NOUSE="yes" + fi + # Check whether --enable-experimental was given. +-if test "${enable_experimental+set}" = set; then : ++if test "${enable_experimental+set}" = set; then + enableval=$enable_experimental; case "${enableval}" in + yes) USE_EXPERIMENTAL=yes;; + no) USE_EXPERIMENTAL=no;; +- *) as_fn_error "bad value ${enableval} for --enable-experimental" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-experimental" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-experimental" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_EXPERIMENTAL=no +@@ -14862,7 +15389,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_EXPERIMENTAL="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -14893,7 +15420,7 @@ + fi + if test x$USE_EXPERIMENTAL = xyes; then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: building experimental plug-ins" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: building experimental plug-ins" >&5 + $as_echo "$as_me: WARNING: building experimental plug-ins" >&2;} + BUILD_EXPERIMENTAL="yes" + +@@ -14901,7 +15428,9 @@ + GST_PLUGINS_YES="\t\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_EXPERIMENTAL /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_EXPERIMENTAL /**/ ++_ACEOF + + else + : +@@ -14909,7 +15438,7 @@ + GST_PLUGINS_NO="\t\n$GST_PLUGINS_NO" + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: not building experimental plug-ins" >&5 ++ { $as_echo "$as_me:$LINENO: not building experimental plug-ins" >&5 + $as_echo "$as_me: not building experimental plug-ins" >&6;} + BUILD_EXPERIMENTAL="no" + +@@ -14942,91 +15471,126 @@ + xi?86 | xk? | xi?86_64) + HAVE_CPU_I386=yes + +-$as_echo "#define HAVE_CPU_I386 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_I386 1 ++_ACEOF + + + case "x${host_cpu}" in + xi386 | xi486) ;; + *) + +-$as_echo "#define HAVE_RDTSC 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_RDTSC 1 ++_ACEOF + ;; + esac ;; + xpowerpc) + HAVE_CPU_PPC=yes + +-$as_echo "#define HAVE_CPU_PPC 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_PPC 1 ++_ACEOF + ;; + xpowerpc64) + HAVE_CPU_PPC64=yes + +-$as_echo "#define HAVE_CPU_PPC64 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_PPC64 1 ++_ACEOF + ;; + xalpha*) + HAVE_CPU_ALPHA=yes + +-$as_echo "#define HAVE_CPU_ALPHA 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_ALPHA 1 ++_ACEOF + ;; + xarm*) + HAVE_CPU_ARM=yes + +-$as_echo "#define HAVE_CPU_ARM 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_ARM 1 ++_ACEOF + ;; + xsparc*) + HAVE_CPU_SPARC=yes + +-$as_echo "#define HAVE_CPU_SPARC 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_SPARC 1 ++_ACEOF + ;; + xmips*) + HAVE_CPU_MIPS=yes + +-$as_echo "#define HAVE_CPU_MIPS 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_MIPS 1 ++_ACEOF + ;; + xhppa*) + HAVE_CPU_HPPA=yes + +-$as_echo "#define HAVE_CPU_HPPA 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_HPPA 1 ++_ACEOF + ;; + xs390*) + HAVE_CPU_S390=yes + +-$as_echo "#define HAVE_CPU_S390 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_S390 1 ++_ACEOF + ;; + xia64*) + HAVE_CPU_IA64=yes + +-$as_echo "#define HAVE_CPU_IA64 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_IA64 1 ++_ACEOF + ;; + xm68k*) + HAVE_CPU_M68K=yes + +-$as_echo "#define HAVE_CPU_M68K 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_M68K 1 ++_ACEOF + ;; + xx86_64) + HAVE_CPU_X86_64=yes + +-$as_echo "#define HAVE_CPU_X86_64 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_X86_64 1 ++_ACEOF + ;; + xcris) + HAVE_CPU_CRIS=yes + +-$as_echo "#define HAVE_CPU_CRIS 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_CRIS 1 ++_ACEOF + ;; + xcrisv32) + HAVE_CPU_CRISV32=yes + +-$as_echo "#define HAVE_CPU_CRISV32 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CPU_CRISV32 1 ++_ACEOF + ;; + esac + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 ++ ++ { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 + $as_echo_n "checking whether byte ordering is bigendian... " >&6; } +-if test "${ac_cv_c_bigendian+set}" = set; then : ++if test "${ac_cv_c_bigendian+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #ifndef __APPLE_CC__ + not a universal capable compiler +@@ -15034,34 +15598,46 @@ + typedef int dummy; + + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + + # Check for potential -arch flags. It is not universal unless +- # there are at least two -arch flags with different values. +- ac_arch= +- ac_prev= +- for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do +- if test -n "$ac_prev"; then +- case $ac_word in +- i?86 | x86_64 | ppc | ppc64) +- if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then +- ac_arch=$ac_word +- else +- ac_cv_c_bigendian=universal +- break +- fi +- ;; +- esac +- ac_prev= +- elif test "x$ac_word" = "x-arch"; then +- ac_prev=arch +- fi +- done ++ # there are some -arch flags. Note that *ppc* also matches ++ # ppc64. This check is also rather less than ideal. ++ case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( ++ *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; ++ esac ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -15079,9 +15655,30 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + # It does; now see whether it defined to BIG_ENDIAN or not. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -15097,18 +15694,49 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_c_bigendian=yes + else +- ac_cv_c_bigendian=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_c_bigendian=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + +@@ -15123,9 +15751,30 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + # It does; now see whether it defined to _BIG_ENDIAN or not. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + +@@ -15140,20 +15789,51 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_c_bigendian=yes + else +- ac_cv_c_bigendian=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_c_bigendian=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. +- if test "$cross_compiling" = yes; then : ++ if test "$cross_compiling" = yes; then + # Try to guess by grepping values from an object file. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; +@@ -15179,7 +15859,24 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then + ac_cv_c_bigendian=yes + fi +@@ -15191,10 +15888,20 @@ + ac_cv_c_bigendian=unknown + fi + fi ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default + int +@@ -15214,33 +15921,67 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + ac_cv_c_bigendian=no + else +- ac_cv_c_bigendian=yes ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++ac_cv_c_bigendian=yes + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 + $as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) +- $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ++ cat >>confdefs.h <<\_ACEOF ++#define WORDS_BIGENDIAN 1 ++_ACEOF + ;; #( + no) + ;; #( + universal) + +-$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define AC_APPLE_UNIVERSAL_BUILD 1 ++_ACEOF + + ;; #( + *) +- as_fn_error "unknown endianness +- presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; ++ { { $as_echo "$as_me:$LINENO: error: unknown endianness ++ presetting ac_cv_c_bigendian=no (or yes) will help" >&5 ++$as_echo "$as_me: error: unknown endianness ++ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + +@@ -15364,14 +16105,19 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5 ++ ++ { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5 + $as_echo_n "checking whether byte ordering is bigendian... " >&6; } +-if test "${ac_cv_c_bigendian+set}" = set; then : ++if test "${ac_cv_c_bigendian+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_cv_c_bigendian=unknown + # See if we're dealing with a universal compiler. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #ifndef __APPLE_CC__ + not a universal capable compiler +@@ -15379,34 +16125,46 @@ + typedef int dummy; + + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + + # Check for potential -arch flags. It is not universal unless +- # there are at least two -arch flags with different values. +- ac_arch= +- ac_prev= +- for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do +- if test -n "$ac_prev"; then +- case $ac_word in +- i?86 | x86_64 | ppc | ppc64) +- if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then +- ac_arch=$ac_word +- else +- ac_cv_c_bigendian=universal +- break +- fi +- ;; +- esac +- ac_prev= +- elif test "x$ac_word" = "x-arch"; then +- ac_prev=arch +- fi +- done ++ # there are some -arch flags. Note that *ppc* also matches ++ # ppc64. This check is also rather less than ideal. ++ case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #( ++ *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;; ++ esac ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test $ac_cv_c_bigendian = unknown; then + # See if sys/param.h defines the BYTE_ORDER macro. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -15424,9 +16182,30 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + # It does; now see whether it defined to BIG_ENDIAN or not. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -15442,18 +16221,49 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_c_bigendian=yes + else +- ac_cv_c_bigendian=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_c_bigendian=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # See if defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris). +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + +@@ -15468,9 +16278,30 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + # It does; now see whether it defined to _BIG_ENDIAN or not. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + +@@ -15485,20 +16316,51 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_c_bigendian=yes + else +- ac_cv_c_bigendian=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_c_bigendian=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + if test $ac_cv_c_bigendian = unknown; then + # Compile a test program. +- if test "$cross_compiling" = yes; then : ++ if test "$cross_compiling" = yes; then + # Try to guess by grepping values from an object file. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + short int ascii_mm[] = + { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 }; +@@ -15524,22 +16386,49 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then +- ac_cv_c_bigendian=yes +- fi +- if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then +- if test "$ac_cv_c_bigendian" = unknown; then ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then ++ ac_cv_c_bigendian=yes ++ fi ++ if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then ++ if test "$ac_cv_c_bigendian" = unknown; then + ac_cv_c_bigendian=no + else + # finding both strings is unlikely to happen, but who knows? + ac_cv_c_bigendian=unknown + fi + fi ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default + int +@@ -15559,33 +16448,67 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + ac_cv_c_bigendian=no + else +- ac_cv_c_bigendian=yes ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++ac_cv_c_bigendian=yes + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5 + $as_echo "$ac_cv_c_bigendian" >&6; } + case $ac_cv_c_bigendian in #( + yes) +- $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h ++ cat >>confdefs.h <<\_ACEOF ++#define WORDS_BIGENDIAN 1 ++_ACEOF + ;; #( + no) + ;; #( + universal) + +-$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define AC_APPLE_UNIVERSAL_BUILD 1 ++_ACEOF + + ;; #( + *) +- as_fn_error "unknown endianness +- presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;; ++ { { $as_echo "$as_me:$LINENO: error: unknown endianness ++ presetting ac_cv_c_bigendian=no (or yes) will help" >&5 ++$as_echo "$as_me: error: unknown endianness ++ presetting ac_cv_c_bigendian=no (or yes) will help" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + +@@ -15598,9 +16521,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. + set dummy ${ac_tool_prefix}gcc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -15611,24 +16534,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}gcc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -15638,9 +16561,9 @@ + ac_ct_CC=$CC + # Extract the first word of "gcc", so it can be a program name with args. + set dummy gcc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -15651,24 +16574,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="gcc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -15677,7 +16600,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -15691,9 +16614,9 @@ + if test -n "$ac_tool_prefix"; then + # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. + set dummy ${ac_tool_prefix}cc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -15704,24 +16627,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="${ac_tool_prefix}cc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -15731,9 +16654,9 @@ + if test -z "$CC"; then + # Extract the first word of "cc", so it can be a program name with args. + set dummy cc; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -15745,18 +16668,18 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then + ac_prog_rejected=yes + continue + fi + ac_cv_prog_CC="cc" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + if test $ac_prog_rejected = yes; then +@@ -15775,10 +16698,10 @@ + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -15790,9 +16713,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CC+set}" = set; then : ++if test "${ac_cv_prog_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CC"; then +@@ -15803,24 +16726,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CC="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CC=$ac_cv_prog_CC + if test -n "$CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CC" >&5 + $as_echo "$CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -15834,9 +16757,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CC+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_CC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CC"; then +@@ -15847,24 +16770,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CC="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_CC=$ac_cv_prog_ac_ct_CC + if test -n "$ac_ct_CC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 + $as_echo "$ac_ct_CC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -15877,7 +16800,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -15888,42 +16811,62 @@ + fi + + +-test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "no acceptable C compiler found in \$PATH +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: no acceptable C compiler found in \$PATH ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + + # Provide some information about the compiler. +-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5 ++$as_echo "$as_me:$LINENO: checking for C compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-for ac_option in --version -v -V -qversion; do +- { { ac_try="$ac_compiler $ac_option >&5" ++{ (ac_try="$ac_compiler --version >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler --version >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -v >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -v >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -V >&5" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? +- if test -s conftest.err; then +- sed '10a\ +-... rest of stderr output deleted ... +- 10q' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- rm -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +-done ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 + $as_echo_n "checking whether we are using the GNU C compiler... " >&6; } +-if test "${ac_cv_c_compiler_gnu+set}" = set; then : ++if test "${ac_cv_c_compiler_gnu+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -15937,16 +16880,37 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes + else +- ac_compiler_gnu=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_compiler_gnu=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_c_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 + $as_echo "$ac_cv_c_compiler_gnu" >&6; } + if test $ac_compiler_gnu = yes; then + GCC=yes +@@ -15955,16 +16919,20 @@ + fi + ac_test_CFLAGS=${CFLAGS+set} + ac_save_CFLAGS=$CFLAGS +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 + $as_echo_n "checking whether $CC accepts -g... " >&6; } +-if test "${ac_cv_prog_cc_g+set}" = set; then : ++if test "${ac_cv_prog_cc_g+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_save_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes + ac_cv_prog_cc_g=no + CFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -15975,11 +16943,35 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes + else +- CFLAGS="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ CFLAGS="" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -15990,12 +16982,36 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : + else +- ac_c_werror_flag=$ac_save_c_werror_flag ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_c_werror_flag=$ac_save_c_werror_flag + CFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16006,17 +17022,42 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_g=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_c_werror_flag=$ac_save_c_werror_flag + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 + $as_echo "$ac_cv_prog_cc_g" >&6; } + if test "$ac_test_CFLAGS" = set; then + CFLAGS=$ac_save_CFLAGS +@@ -16033,14 +17074,18 @@ + CFLAGS= + fi + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 + $as_echo_n "checking for $CC option to accept ISO C89... " >&6; } +-if test "${ac_cv_prog_cc_c89+set}" = set; then : ++if test "${ac_cv_prog_cc_c89+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_cv_prog_cc_c89=no + ac_save_CC=$CC +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + #include +@@ -16097,9 +17142,32 @@ + -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" + do + CC="$ac_save_CC $ac_arg" +- if ac_fn_c_try_compile "$LINENO"; then : ++ rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cc_c89=$ac_arg ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext + test "x$ac_cv_prog_cc_c89" != "xno" && break + done +@@ -16110,19 +17178,17 @@ + # AC_CACHE_VAL + case "x$ac_cv_prog_cc_c89" in + x) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5 ++ { $as_echo "$as_me:$LINENO: result: none needed" >&5 + $as_echo "none needed" >&6; } ;; + xno) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5 ++ { $as_echo "$as_me:$LINENO: result: unsupported" >&5 + $as_echo "unsupported" >&6; } ;; + *) + CC="$CC $ac_cv_prog_cc_c89" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 + $as_echo "$ac_cv_prog_cc_c89" >&6; } ;; + esac +-if test "x$ac_cv_prog_cc_c89" != xno; then : + +-fi + + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -16132,9 +17198,9 @@ + + depcc="$CC" am_compiler_list= + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then : ++if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -16223,7 +17289,7 @@ + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5 + $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; } + CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type + +@@ -16253,9 +17319,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CXX+set}" = set; then : ++if test "${ac_cv_prog_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CXX"; then +@@ -16266,24 +17332,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CXX=$ac_cv_prog_CXX + if test -n "$CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CXX" >&5 + $as_echo "$CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -16297,9 +17363,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CXX"; then +@@ -16310,24 +17376,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CXX="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX + if test -n "$ac_ct_CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 + $as_echo "$ac_ct_CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -16340,7 +17406,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -16351,36 +17417,53 @@ + fi + fi + # Provide some information about the compiler. +-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ++$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-for ac_option in --version -v -V -qversion; do +- { { ac_try="$ac_compiler $ac_option >&5" ++{ (ac_try="$ac_compiler --version >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler --version >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -v >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -v >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -V >&5" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? +- if test -s conftest.err; then +- sed '10a\ +-... rest of stderr output deleted ... +- 10q' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- rm -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +-done ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 + $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : ++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16394,16 +17477,37 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes + else +- ac_compiler_gnu=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_compiler_gnu=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 + $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } + if test $ac_compiler_gnu = yes; then + GXX=yes +@@ -16412,16 +17516,20 @@ + fi + ac_test_CXXFLAGS=${CXXFLAGS+set} + ac_save_CXXFLAGS=$CXXFLAGS +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 + $as_echo_n "checking whether $CXX accepts -g... " >&6; } +-if test "${ac_cv_prog_cxx_g+set}" = set; then : ++if test "${ac_cv_prog_cxx_g+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16432,11 +17540,35 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes + else +- CXXFLAGS="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ CXXFLAGS="" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16447,12 +17579,36 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : +- ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : + else +- ac_cxx_werror_flag=$ac_save_cxx_werror_flag ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16463,17 +17619,42 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 + $as_echo "$ac_cv_prog_cxx_g" >&6; } + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +@@ -16498,9 +17679,9 @@ + + depcc="$CXX" am_compiler_list= + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : ++if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -16589,7 +17770,7 @@ + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 + $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } + CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + +@@ -16619,9 +17800,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_CXX+set}" = set; then : ++if test "${ac_cv_prog_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$CXX"; then +@@ -16632,24 +17813,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + CXX=$ac_cv_prog_CXX + if test -n "$CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CXX" >&5 + $as_echo "$CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -16663,9 +17844,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_CXX"; then +@@ -16676,24 +17857,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_CXX="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_CXX=$ac_cv_prog_ac_ct_CXX + if test -n "$ac_ct_CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 + $as_echo "$ac_ct_CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -16706,7 +17887,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -16717,36 +17898,53 @@ + fi + fi + # Provide some information about the compiler. +-$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5 ++$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5 + set X $ac_compile + ac_compiler=$2 +-for ac_option in --version -v -V -qversion; do +- { { ac_try="$ac_compiler $ac_option >&5" ++{ (ac_try="$ac_compiler --version >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler --version >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -v >&5" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -v >&5") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } ++{ (ac_try="$ac_compiler -V >&5" + case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 +- (eval "$ac_compiler $ac_option >&5") 2>conftest.err ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compiler -V >&5") 2>&5 + ac_status=$? +- if test -s conftest.err; then +- sed '10a\ +-... rest of stderr output deleted ... +- 10q' conftest.err >conftest.er1 +- cat conftest.er1 >&5 +- rm -f conftest.er1 conftest.err +- fi +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } +-done ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 + $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; } +-if test "${ac_cv_cxx_compiler_gnu+set}" = set; then : ++if test "${ac_cv_cxx_compiler_gnu+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16760,16 +17958,37 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_compiler_gnu=yes + else +- ac_compiler_gnu=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_compiler_gnu=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cv_cxx_compiler_gnu=$ac_compiler_gnu + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 + $as_echo "$ac_cv_cxx_compiler_gnu" >&6; } + if test $ac_compiler_gnu = yes; then + GXX=yes +@@ -16778,16 +17997,20 @@ + fi + ac_test_CXXFLAGS=${CXXFLAGS+set} + ac_save_CXXFLAGS=$CXXFLAGS +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5 ++{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 + $as_echo_n "checking whether $CXX accepts -g... " >&6; } +-if test "${ac_cv_prog_cxx_g+set}" = set; then : ++if test "${ac_cv_prog_cxx_g+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_save_cxx_werror_flag=$ac_cxx_werror_flag + ac_cxx_werror_flag=yes + ac_cv_prog_cxx_g=no + CXXFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16798,11 +18021,35 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes + else +- CXXFLAGS="" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ CXXFLAGS="" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16813,12 +18060,36 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : +- ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : + else +- ac_cxx_werror_flag=$ac_save_cxx_werror_flag ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cxx_werror_flag=$ac_save_cxx_werror_flag + CXXFLAGS="-g" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -16829,17 +18100,42 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_prog_cxx_g=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_cxx_werror_flag=$ac_save_cxx_werror_flag + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 + $as_echo "$ac_cv_prog_cxx_g" >&6; } + if test "$ac_test_CXXFLAGS" = set; then + CXXFLAGS=$ac_save_CXXFLAGS +@@ -16864,9 +18160,9 @@ + + depcc="$CXX" am_compiler_list= + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then : ++if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -16955,7 +18251,7 @@ + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5 + $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; } + CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type + +@@ -16978,10 +18274,10 @@ + ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' + ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5 ++{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 + $as_echo_n "checking how to run the C++ preprocessor... " >&6; } + if test -z "$CXXCPP"; then +- if test "${ac_cv_prog_CXXCPP+set}" = set; then : ++ if test "${ac_cv_prog_CXXCPP+set}" = set; then + $as_echo_n "(cached) " >&6 + else + # Double quotes because CXXCPP needs to be expanded +@@ -16996,7 +18292,11 @@ + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #ifdef __STDC__ + # include +@@ -17005,34 +18305,78 @@ + #endif + Syntax error + _ACEOF +-if ac_fn_cxx_try_cpp "$LINENO"; then : +- ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ : + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Broken: fails on valid input. + continue + fi ++ + rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_cxx_try_cpp "$LINENO"; then : ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then + # Broken: success on invalid input. + continue + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Passes both tests. + ac_preproc_ok=: + break + fi ++ + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : ++if $ac_preproc_ok; then + break + fi + +@@ -17044,7 +18388,7 @@ + else + ac_cv_prog_CXXCPP=$CXXCPP + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5 ++{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5 + $as_echo "$CXXCPP" >&6; } + ac_preproc_ok=false + for ac_cxx_preproc_warn_flag in '' yes +@@ -17055,7 +18399,11 @@ + # exists even on freestanding compilers. + # On the NeXT, cc -E runs the code through the compiler's parser, + # not just through cpp. "Syntax error" is here to catch this case. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #ifdef __STDC__ + # include +@@ -17064,37 +18412,81 @@ + #endif + Syntax error + _ACEOF +-if ac_fn_cxx_try_cpp "$LINENO"; then : +- ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ : + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Broken: fails on valid input. + continue + fi ++ + rm -f conftest.err conftest.$ac_ext + + # OK, works on sane cases. Now check whether nonexistent headers + # can be detected and how. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_cxx_try_cpp "$LINENO"; then : ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then + # Broken: success on invalid input. + continue + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + # Passes both tests. + ac_preproc_ok=: + break + fi ++ + rm -f conftest.err conftest.$ac_ext + + done + # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. + rm -f conftest.err conftest.$ac_ext +-if $ac_preproc_ok; then : +- ++if $ac_preproc_ok; then ++ : + else +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} + _lt_caught_CXX_error=yes; } + fi +@@ -17237,7 +18629,7 @@ + + + # Check whether --with-gnu-ld was given. +-if test "${with_gnu_ld+set}" = set; then : ++if test "${with_gnu_ld+set}" = set; then + withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes + else + with_gnu_ld=no +@@ -17246,7 +18638,7 @@ + ac_prog=ld + if test "$GCC" = yes; then + # Check if gcc -print-prog-name=ld gives a path. +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5 ++ { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5 + $as_echo_n "checking for ld used by $CC... " >&6; } + case $host in + *-*-mingw*) +@@ -17276,13 +18668,13 @@ + ;; + esac + elif test "$with_gnu_ld" = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5 + $as_echo_n "checking for GNU ld... " >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5 ++ { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5 + $as_echo_n "checking for non-GNU ld... " >&6; } + fi +-if test "${lt_cv_path_LD+set}" = set; then : ++if test "${lt_cv_path_LD+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$LD"; then +@@ -17313,16 +18705,18 @@ + + LD="$lt_cv_path_LD" + if test -n "$LD"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5 ++ { $as_echo "$as_me:$LINENO: result: $LD" >&5 + $as_echo "$LD" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi +-test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5 ++test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5 ++$as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;} ++ { (exit 1); exit 1; }; } ++{ $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5 + $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; } +-if test "${lt_cv_prog_gnu_ld+set}" = set; then : ++if test "${lt_cv_prog_gnu_ld+set}" = set; then + $as_echo_n "(cached) " >&6 + else + # I'd rather use --version here, but apparently some GNU lds only accept -v. +@@ -17335,7 +18729,7 @@ + ;; + esac + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5 + $as_echo "$lt_cv_prog_gnu_ld" >&6; } + with_gnu_ld=$lt_cv_prog_gnu_ld + +@@ -17390,7 +18784,7 @@ + fi + + # PORTME: fill in a description of your system's C++ link characteristics +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 + $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + ld_shlibs_CXX=yes + case $host_os in +@@ -17491,7 +18885,11 @@ + allow_undefined_flag_CXX='-berok' + # Determine the default libpath from the value encoded in an empty + # executable. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -17502,7 +18900,27 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { +@@ -17516,9 +18934,16 @@ + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" +@@ -17532,7 +18957,11 @@ + else + # Determine the default libpath from the value encoded in an + # empty executable. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -17543,7 +18972,27 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + + lt_aix_libpath_sed=' + /Import File Strings/,/^$/ { +@@ -17557,9 +19006,16 @@ + if test -z "$aix_libpath"; then + aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"` + fi ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi + + hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath" +@@ -18303,7 +19759,7 @@ + ;; + esac + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 + $as_echo "$ld_shlibs_CXX" >&6; } + test "$ld_shlibs_CXX" = no && can_build_shared=no + +@@ -18331,11 +19787,11 @@ + }; + _LT_EOF + +-if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + # Parse the compiler output and extract the necessary + # objects, libraries and library flags. + +@@ -18516,7 +19972,7 @@ + lt_prog_compiler_pic_CXX= + lt_prog_compiler_static_CXX= + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5 + $as_echo_n "checking for $compiler option to produce PIC... " >&6; } + + # C++ specific cases for pic, static, wl, etc. +@@ -18833,7 +20289,7 @@ + lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC" + ;; + esac +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5 + $as_echo "$lt_prog_compiler_pic_CXX" >&6; } + + +@@ -18842,9 +20298,9 @@ + # Check to make sure the PIC flag actually works. + # + if test -n "$lt_prog_compiler_pic_CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5 + $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; } +-if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then : ++if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_pic_works_CXX=no +@@ -18860,11 +20316,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18863: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:20319: $lt_compile\"" >&5) + (eval "$lt_compile" 2>conftest.err) + ac_status=$? + cat conftest.err >&5 +- echo "$as_me:18867: \$? = $ac_status" >&5 ++ echo "$as_me:20323: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s "$ac_outfile"; then + # The compiler can only warn and ignore the option if not recognized + # So say no if there are warnings other than the usual output. +@@ -18877,7 +20333,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5 + $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; } + + if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then +@@ -18898,9 +20354,9 @@ + # Check to make sure the static flag actually works. + # + wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\" +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5 ++{ $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5 + $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; } +-if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then : ++if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_static_works_CXX=no +@@ -18926,7 +20382,7 @@ + LDFLAGS="$save_LDFLAGS" + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5 + $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; } + + if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then +@@ -18938,9 +20394,9 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : ++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_c_o_CXX=no +@@ -18959,11 +20415,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:18962: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:20418: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:18966: \$? = $ac_status" >&5 ++ echo "$as_me:20422: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -18985,14 +20441,14 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 + $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5 ++ { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5 + $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; } +-if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then : ++if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + lt_cv_prog_compiler_c_o_CXX=no +@@ -19011,11 +20467,11 @@ + -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ + -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ + -e 's:$: $lt_compiler_flag:'` +- (eval echo "\"\$as_me:19014: $lt_compile\"" >&5) ++ (eval echo "\"\$as_me:20470: $lt_compile\"" >&5) + (eval "$lt_compile" 2>out/conftest.err) + ac_status=$? + cat out/conftest.err >&5 +- echo "$as_me:19018: \$? = $ac_status" >&5 ++ echo "$as_me:20474: \$? = $ac_status" >&5 + if (exit $ac_status) && test -s out/conftest2.$ac_objext + then + # The compiler can only warn and ignore the option if not recognized +@@ -19037,7 +20493,7 @@ + $RM conftest* + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5 + $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; } + + +@@ -19046,7 +20502,7 @@ + hard_links="nottested" + if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then + # do not overwrite the value of need_locks provided by the user +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5 ++ { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5 + $as_echo_n "checking if we can lock with hard links... " >&6; } + hard_links=yes + $RM conftest* +@@ -19054,10 +20510,10 @@ + touch conftest.a + ln conftest.a conftest.b 2>&5 || hard_links=no + ln conftest.a conftest.b 2>/dev/null && hard_links=no +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5 ++ { $as_echo "$as_me:$LINENO: result: $hard_links" >&5 + $as_echo "$hard_links" >&6; } + if test "$hard_links" = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5 + $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;} + need_locks=warn + fi +@@ -19067,7 +20523,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5 + $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; } + + export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' +@@ -19096,7 +20552,7 @@ + esac + exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*' + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5 + $as_echo "$ld_shlibs_CXX" >&6; } + test "$ld_shlibs_CXX" = no && can_build_shared=no + +@@ -19124,16 +20580,16 @@ + # Test whether the compiler implicitly links with -lc since on some + # systems, -lgcc has to come before -lc. If gcc already passes -lc + # to ld, don't add -lc before -lgcc. +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5 + $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; } + $RM conftest* + echo "$lt_simple_compile_test_code" > conftest.$ac_ext + +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 + (eval $ac_compile) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } 2>conftest.err; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } 2>conftest.err; then + soname=conftest + lib=conftest + libobjs=conftest.$ac_objext +@@ -19147,11 +20603,11 @@ + libname=conftest + lt_save_allow_undefined_flag=$allow_undefined_flag_CXX + allow_undefined_flag_CXX= +- if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5 ++ if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5 + (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } + then + archive_cmds_need_lc_CXX=no + else +@@ -19162,7 +20618,7 @@ + cat conftest.err 1>&5 + fi + $RM conftest* +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5 + $as_echo "$archive_cmds_need_lc_CXX" >&6; } + ;; + esac +@@ -19233,7 +20689,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5 ++ { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5 + $as_echo_n "checking dynamic linker characteristics... " >&6; } + + library_names_spec= +@@ -19603,7 +21059,11 @@ + save_libdir=$libdir + eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \ + LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\"" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -19614,13 +21074,41 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_link "$LINENO"; then : +- if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then + shlibpath_overrides_runpath=yes + fi ++ ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LDFLAGS=$save_LDFLAGS + libdir=$save_libdir + +@@ -19844,7 +21332,7 @@ + dynamic_linker=no + ;; + esac +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5 ++{ $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5 + $as_echo "$dynamic_linker" >&6; } + test "$dynamic_linker" = no && can_build_shared=no + +@@ -19895,7 +21383,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5 ++ { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5 + $as_echo_n "checking how to hardcode library paths into programs... " >&6; } + hardcode_action_CXX= + if test -n "$hardcode_libdir_flag_spec_CXX" || +@@ -19920,7 +21408,7 @@ + # directories. + hardcode_action_CXX=unsupported + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5 ++{ $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5 + $as_echo "$hardcode_action_CXX" >&6; } + + if test "$hardcode_action_CXX" = relink || +@@ -19961,9 +21449,9 @@ + + # Extract the first word of "$CXX", so it can be a program name with args. + set dummy $CXX; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_HAVE_CXX+set}" = set; then : ++if test "${ac_cv_prog_HAVE_CXX+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$HAVE_CXX"; then +@@ -19974,14 +21462,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_HAVE_CXX="yes" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + test -z "$ac_cv_prog_HAVE_CXX" && ac_cv_prog_HAVE_CXX="no" +@@ -19989,10 +21477,10 @@ + fi + HAVE_CXX=$ac_cv_prog_HAVE_CXX + if test -n "$HAVE_CXX"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_CXX" >&5 ++ { $as_echo "$as_me:$LINENO: result: $HAVE_CXX" >&5 + $as_echo "$HAVE_CXX" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -20004,9 +21492,9 @@ + do + # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. + set dummy $ac_tool_prefix$ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_OBJC+set}" = set; then : ++if test "${ac_cv_prog_OBJC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$OBJC"; then +@@ -20017,24 +21505,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + OBJC=$ac_cv_prog_OBJC + if test -n "$OBJC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $OBJC" >&5 + $as_echo "$OBJC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -20048,9 +21536,9 @@ + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then : ++if test "${ac_cv_prog_ac_ct_OBJC+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -n "$ac_ct_OBJC"; then +@@ -20061,24 +21549,24 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_prog_ac_ct_OBJC="$ac_prog" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + fi + fi + ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC + if test -n "$ac_ct_OBJC"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJC" >&5 + $as_echo "$ac_ct_OBJC" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -20091,7 +21579,7 @@ + else + case $cross_compiling:$ac_tool_warned in + yes:) +-{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5 ++{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5 + $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;} + ac_tool_warned=yes ;; + esac +@@ -20106,9 +21594,9 @@ + + depcc="$OBJC" am_compiler_list='gcc3 gcc' + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then : ++if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -20197,7 +21685,7 @@ + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5 + $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; } + OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type + +@@ -20212,7 +21700,7 @@ + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking if Objective C compiler works" >&5 ++ { $as_echo "$as_me:$LINENO: checking if Objective C compiler works" >&5 + $as_echo_n "checking if Objective C compiler works... " >&6; } + cat >>conftest.m < +@@ -20247,15 +21735,15 @@ + cat conftest.m >&5 + fi + rm -f conftest.m a.out a.exe +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5 ++ { $as_echo "$as_me:$LINENO: result: $result" >&5 + $as_echo "$result" >&6; } + else + + depcc="$OBJC" am_compiler_list='gcc3 gcc' + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5 ++{ $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5 + $as_echo_n "checking dependency style of $depcc... " >&6; } +-if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then : ++if test "${am_cv_OBJC_dependencies_compiler_type+set}" = set; then + $as_echo_n "(cached) " >&6 + else + if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then +@@ -20344,7 +21832,7 @@ + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_OBJC_dependencies_compiler_type" >&5 ++{ $as_echo "$as_me:$LINENO: result: $am_cv_OBJC_dependencies_compiler_type" >&5 + $as_echo "$am_cv_OBJC_dependencies_compiler_type" >&6; } + OBJCDEPMODE=depmode=$am_cv_OBJC_dependencies_compiler_type + +@@ -20364,18 +21852,22 @@ + + + if test "x$CC" != xcc; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5 + $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5 + $as_echo_n "checking whether cc understands -c and -o together... " >&6; } + fi + set dummy $CC; ac_cc=`$as_echo "$2" | + sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'` +-if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then : ++if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then + $as_echo_n "(cached) " >&6 + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -20391,63 +21883,63 @@ + # existing .o file with -o, though they will create one. + ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* +-if { { case "(($ac_try" in ++if { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && +- test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ test -f conftest2.$ac_objext && { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; + then + eval ac_cv_prog_cc_${ac_cc}_c_o=yes + if test "x$CC" != xcc; then + # Test first that cc exists at all. + if { ac_try='cc -c conftest.$ac_ext >&5' +- { { case "(($ac_try" in ++ { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5' + rm -f conftest2.* +- if { { case "(($ac_try" in ++ if { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; } && +- test -f conftest2.$ac_objext && { { case "(($ac_try" in ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ test -f conftest2.$ac_objext && { (case "(($ac_try" in + *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; + *) ac_try_echo=$ac_try;; + esac +-eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\"" +-$as_echo "$ac_try_echo"; } >&5 ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 + (eval "$ac_try") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; + then + # cc works too. + : +@@ -20464,13 +21956,15 @@ + + fi + if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + +-$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define NO_MINUS_C_MINUS_O 1 ++_ACEOF + + fi + +@@ -20492,13 +21986,17 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working do while(0) macros" >&5 ++{ $as_echo "$as_me:$LINENO: checking for working do while(0) macros" >&5 + $as_echo_n "checking for working do while(0) macros... " >&6; } +-if test "${_cv_g_support_dowhile_macros+set}" = set; then : ++if test "${_cv_g_support_dowhile_macros+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -20513,28 +22011,51 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + _cv_g_support_dowhile_macros=yes + else +- _cv_g_support_dowhile_macros=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ _cv_g_support_dowhile_macros=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_g_support_dowhile_macros" >&5 ++{ $as_echo "$as_me:$LINENO: result: $_cv_g_support_dowhile_macros" >&5 + $as_echo "$_cv_g_support_dowhile_macros" >&6; } + if test x$_cv_g_support_dowhile_macros = xyes; then + +-$as_echo "#define HAVE_DOWHILE_MACROS 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DOWHILE_MACROS 1 ++_ACEOF + + fi + + + # Extract the first word of "valgrind", so it can be a program name with args. + set dummy valgrind; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then : ++if test "${ac_cv_path_VALGRIND_PATH+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $VALGRIND_PATH in +@@ -20547,14 +22068,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_VALGRIND_PATH="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + test -z "$ac_cv_path_VALGRIND_PATH" && ac_cv_path_VALGRIND_PATH="no" +@@ -20563,10 +22084,10 @@ + fi + VALGRIND_PATH=$ac_cv_path_VALGRIND_PATH + if test -n "$VALGRIND_PATH"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $VALGRIND_PATH" >&5 ++ { $as_echo "$as_me:$LINENO: result: $VALGRIND_PATH" >&5 + $as_echo "$VALGRIND_PATH" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -20583,7 +22104,7 @@ + + + # Check whether --with-html-dir was given. +-if test "${with_html_dir+set}" = set; then : ++if test "${with_html_dir+set}" = set; then + withval=$with_html_dir; + else + with_html_dir='${datadir}/gtk-doc/html' +@@ -20593,7 +22114,7 @@ + + + # Check whether --enable-gtk-doc was given. +-if test "${enable_gtk_doc+set}" = set; then : ++if test "${enable_gtk_doc+set}" = set; then + enableval=$enable_gtk_doc; + else + enable_gtk_doc=no +@@ -20602,19 +22123,21 @@ + + if test x$enable_gtk_doc = xyes; then + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk-doc >= 1.3\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk-doc >= 1.3") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + : + else +- as_fn_error "You need to have gtk-doc >= 1.3 installed to build gtk-doc" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: You need to have gtk-doc >= 1.3 installed to build gtk-doc" >&5 ++$as_echo "$as_me: error: You need to have gtk-doc >= 1.3 installed to build gtk-doc" >&2;} ++ { (exit 1); exit 1; }; } + fi + if test -z "$SED"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5 ++ { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5 + $as_echo_n "checking for a sed that does not truncate output... " >&6; } +-if test "${ac_cv_path_SED+set}" = set; then : ++if test "${ac_cv_path_SED+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/ +@@ -20622,7 +22145,7 @@ + ac_script="$ac_script$as_nl$ac_script" + done + echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed +- { ac_script=; unset ac_script;} ++ $as_unset ac_script || ac_script= + if test -z "$SED"; then + ac_path_SED_found=false + # Loop through the user's path and test for each of PROGNAME-LIST +@@ -20631,7 +22154,7 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_prog in sed gsed; do ++ for ac_prog in sed gsed; do + for ac_exec_ext in '' $ac_executable_extensions; do + ac_path_SED="$as_dir/$ac_prog$ac_exec_ext" + { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue +@@ -20651,7 +22174,7 @@ + $as_echo '' >> "conftest.nl" + "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break + diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break +- as_fn_arith $ac_count + 1 && ac_count=$as_val ++ ac_count=`expr $ac_count + 1` + if test $ac_count -gt ${ac_path_SED_max-0}; then + # Best one so far, save it but keep looking for a better one + ac_cv_path_SED="$ac_path_SED" +@@ -20666,17 +22189,19 @@ + $ac_path_SED_found && break 3 + done + done +- done ++done + IFS=$as_save_IFS + if test -z "$ac_cv_path_SED"; then +- as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5 ++$as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;} ++ { (exit 1); exit 1; }; } + fi + else + ac_cv_path_SED=$SED + fi + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5 + $as_echo "$ac_cv_path_SED" >&6; } + SED="$ac_cv_path_SED" + rm -f conftest.sed +@@ -20684,18 +22209,18 @@ + fi + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build gtk-doc documentation" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether to build gtk-doc documentation" >&5 + $as_echo_n "checking whether to build gtk-doc documentation... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_gtk_doc" >&5 ++ { $as_echo "$as_me:$LINENO: result: $enable_gtk_doc" >&5 + $as_echo "$enable_gtk_doc" >&6; } + + for ac_prog in gtkdoc-check + do + # Extract the first word of "$ac_prog", so it can be a program name with args. + set dummy $ac_prog; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then : ++if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $GTKDOC_CHECK in +@@ -20708,14 +22233,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_GTKDOC_CHECK="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + ;; +@@ -20723,10 +22248,10 @@ + fi + GTKDOC_CHECK=$ac_cv_path_GTKDOC_CHECK + if test -n "$GTKDOC_CHECK"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTKDOC_CHECK" >&5 ++ { $as_echo "$as_me:$LINENO: result: $GTKDOC_CHECK" >&5 + $as_echo "$GTKDOC_CHECK" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -20757,7 +22282,7 @@ + PYTHON_CANDIDATES="python python2.2 python2.1 python2.0 python2 \ + python1.6 python1.5" + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Looking for Python version >= 2.1" >&5 ++ { $as_echo "$as_me:$LINENO: Looking for Python version >= 2.1" >&5 + $as_echo "$as_me: Looking for Python version >= 2.1" >&6;} + prog=" + import sys, string +@@ -20775,9 +22300,9 @@ + unset PYTHON + # Extract the first word of "$python_candidate", so it can be a program name with args. + set dummy $python_candidate; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_PYTHON+set}" = set; then : ++if test "${ac_cv_path_PYTHON+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $PYTHON in +@@ -20790,14 +22315,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + ;; +@@ -20805,10 +22330,10 @@ + fi + PYTHON=$ac_cv_path_PYTHON + if test -n "$PYTHON"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5 ++ { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5 + $as_echo "$PYTHON" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -20817,9 +22342,9 @@ + if test "x$PYTHON" = "x"; then continue; fi + + if $PYTHON -c "$prog" 1>&5 2>&5; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking \"$PYTHON\":" >&5 ++ { $as_echo "$as_me:$LINENO: checking \"$PYTHON\":" >&5 + $as_echo_n "checking \"$PYTHON\":... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5 ++ { $as_echo "$as_me:$LINENO: result: okay" >&5 + $as_echo "okay" >&6; } + python_good=true + break; +@@ -20830,12 +22355,12 @@ + + + if test "$python_good" != "true"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No suitable version of python found" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: No suitable version of python found" >&5 + $as_echo "$as_me: WARNING: No suitable version of python found" >&2;} + PYTHON= + else + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking local Python configuration" >&5 ++ { $as_echo "$as_me:$LINENO: checking local Python configuration" >&5 + $as_echo_n "checking local Python configuration... " >&6; } + + +@@ -20872,7 +22397,7 @@ + + pkgpyexecdir=\${pyexecdir}/$PACKAGE + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: looks good" >&5 ++ { $as_echo "$as_me:$LINENO: result: looks good" >&5 + $as_echo "looks good" >&6; } + + fi +@@ -20880,14 +22405,14 @@ + + + build_plugin_docs=no +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build plugin documentation" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether to build plugin documentation" >&5 + $as_echo_n "checking whether to build plugin documentation... " >&6; } + if test x$enable_gtk_doc = xyes; then + build_plugin_docs=yes +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (gtk-doc disabled or not available)" >&5 ++ { $as_echo "$as_me:$LINENO: result: no (gtk-doc disabled or not available)" >&5 + $as_echo "no (gtk-doc disabled or not available)" >&6; } + fi + +@@ -20908,14 +22433,18 @@ + # These system don't have libm, or don't need it + ;; + *-ncr-sysv4.3*) +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _mwvalidcheckl in -lmw" >&5 ++ { $as_echo "$as_me:$LINENO: checking for _mwvalidcheckl in -lmw" >&5 + $as_echo_n "checking for _mwvalidcheckl in -lmw... " >&6; } +-if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then : ++if test "${ac_cv_lib_mw__mwvalidcheckl+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lmw $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -20933,29 +22462,58 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_mw__mwvalidcheckl=yes + else +- ac_cv_lib_mw__mwvalidcheckl=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_mw__mwvalidcheckl=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_mw__mwvalidcheckl" >&5 + $as_echo "$ac_cv_lib_mw__mwvalidcheckl" >&6; } +-if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then : ++if test "x$ac_cv_lib_mw__mwvalidcheckl" = x""yes; then + LIBM="-lmw" + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 ++ { $as_echo "$as_me:$LINENO: checking for cos in -lm" >&5 + $as_echo_n "checking for cos in -lm... " >&6; } +-if test "${ac_cv_lib_m_cos+set}" = set; then : ++if test "${ac_cv_lib_m_cos+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -20973,31 +22531,60 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_m_cos=yes + else +- ac_cv_lib_m_cos=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_m_cos=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5 + $as_echo "$ac_cv_lib_m_cos" >&6; } +-if test "x$ac_cv_lib_m_cos" = x""yes; then : ++if test "x$ac_cv_lib_m_cos" = x""yes; then + LIBM="$LIBM -lm" + fi + + ;; + *) +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cos in -lm" >&5 ++ { $as_echo "$as_me:$LINENO: checking for cos in -lm" >&5 + $as_echo_n "checking for cos in -lm... " >&6; } +-if test "${ac_cv_lib_m_cos+set}" = set; then : ++if test "${ac_cv_lib_m_cos+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -21015,18 +22602,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_m_cos=yes + else +- ac_cv_lib_m_cos=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_m_cos=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_cos" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_cos" >&5 + $as_echo "$ac_cv_lib_m_cos" >&6; } +-if test "x$ac_cv_lib_m_cos" = x""yes; then : ++if test "x$ac_cv_lib_m_cos" = x""yes; then + LIBM="-lm" + fi + +@@ -21036,40 +22648,272 @@ + + + ++ ++ + for ac_header in stdlib.h unistd.h +-do : +- as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` +-ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default" +-eval as_val=\$$as_ac_Header +- if test "x$as_val" = x""yes; then : +- cat >>confdefs.h <<_ACEOF +-#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> + _ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_header_compiler=no + fi + +-done ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } + +-for ac_func in getpagesize +-do : +- ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize" +-if test "x$ac_cv_func_getpagesize" = x""yes; then : +- cat >>confdefs.h <<_ACEOF +-#define HAVE_GETPAGESIZE 1 ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ + _ACEOF +- ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 ++_ACEOF ++ ++fi ++ ++done ++ ++ ++for ac_func in getpagesize ++do ++as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 ++$as_echo_n "checking for $ac_func... " >&6; } ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define $ac_func to an innocuous variant, in case declares $ac_func. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $ac_func innocuous_$ac_func ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $ac_func (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $ac_func ++ ++/* 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 $ac_func (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$ac_func || defined __stub___$ac_func ++choke me ++#endif ++ ++int ++main () ++{ ++return $ac_func (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ eval "$as_ac_var=yes" ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ eval "$as_ac_var=no" ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++ac_res=`eval 'as_val=${'$as_ac_var'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++as_val=`eval 'as_val=${'$as_ac_var'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then ++ cat >>confdefs.h <<_ACEOF ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 ++_ACEOF ++ + fi + done + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working mmap" >&5 ++{ $as_echo "$as_me:$LINENO: checking for working mmap" >&5 + $as_echo_n "checking for working mmap... " >&6; } +-if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then : ++if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- if test "$cross_compiling" = yes; then : ++ if test "$cross_compiling" = yes; then + ac_cv_func_mmap_fixed_mapped=no + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + $ac_includes_default + /* malloc might have been renamed as rpl_malloc. */ +@@ -21198,33 +23042,201 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_run "$LINENO"; then : ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + ac_cv_func_mmap_fixed_mapped=yes + else +- ac_cv_func_mmap_fixed_mapped=no ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++ac_cv_func_mmap_fixed_mapped=no + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_mmap_fixed_mapped" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5 + $as_echo "$ac_cv_func_mmap_fixed_mapped" >&6; } + if test $ac_cv_func_mmap_fixed_mapped = yes; then + +-$as_echo "#define HAVE_MMAP 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MMAP 1 ++_ACEOF + + fi + rm -f conftest.mmap + + + ++ + for ac_header in unistd.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default" +-if test "x$ac_cv_header_unistd_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_UNISTD_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + HAVE_UNISTD_H=yes + fi +@@ -21244,12 +23256,151 @@ + GST_PLUGINS_SELECTED=`echo $GST_PLUGINS_SELECTED | $SED -e s/festival//` + fi + ++ + for ac_header in sys/time.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_time_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_SYS_TIME_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + + fi +@@ -21258,19 +23409,23 @@ + + + # ------ AX CREATE STDINT H ------------------------------------- +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint types" >&5 ++{ $as_echo "$as_me:$LINENO: checking for stdint types" >&5 + $as_echo_n "checking for stdint types... " >&6; } + ac_stdint_h=`echo _stdint.h` + # try to shortcircuit - if the default include path of the compiler + # can find a "stdint.h" header then we assume that all compilers can. +-if test "${ac_cv_header_stdint_t+set}" = set; then : ++if test "${ac_cv_header_stdint_t+set}" = set; then + $as_echo_n "(cached) " >&6 + else + + old_CXXFLAGS="$CXXFLAGS" ; CXXFLAGS="" + old_CPPFLAGS="$CPPFLAGS" ; CPPFLAGS="" + old_CFLAGS="$CFLAGS" ; CFLAGS="" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + int +@@ -21281,16 +23436,41 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + ac_cv_stdint_result="(assuming C99 compatible system)" + ac_cv_header_stdint_t="stdint.h"; + else +- ac_cv_header_stdint_t="" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_header_stdint_t="" + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + if test "$GCC" = "yes" && test ".$ac_cv_header_stdint_t" = "."; then + CFLAGS="-std=c99" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + int +@@ -21301,10 +23481,33 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5 ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ { $as_echo "$as_me:$LINENO: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&5 + $as_echo "$as_me: WARNING: your GCC compiler has a defunct stdint.h for its default-mode" >&2;} ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + CXXFLAGS="$old_CXXFLAGS" +@@ -21315,17 +23518,17 @@ + + v="... $ac_cv_header_stdint_h" + if test "$ac_stdint_h" = "stdint.h" ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./stdint.h?)" >&5 ++ { $as_echo "$as_me:$LINENO: result: (are you sure you want them in ./stdint.h?)" >&5 + $as_echo "(are you sure you want them in ./stdint.h?)" >&6; } + elif test "$ac_stdint_h" = "inttypes.h" ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (are you sure you want them in ./inttypes.h?)" >&5 ++ { $as_echo "$as_me:$LINENO: result: (are you sure you want them in ./inttypes.h?)" >&5 + $as_echo "(are you sure you want them in ./inttypes.h?)" >&6; } + elif test "_$ac_cv_header_stdint_t" = "_" ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (putting them into $ac_stdint_h)$v" >&5 ++ { $as_echo "$as_me:$LINENO: result: (putting them into $ac_stdint_h)$v" >&5 + $as_echo "(putting them into $ac_stdint_h)$v" >&6; } + else + ac_cv_header_stdint="$ac_cv_header_stdint_t" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint (shortcircuit)" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint (shortcircuit)" >&5 + $as_echo "$ac_cv_header_stdint (shortcircuit)" >&6; } + fi + +@@ -21336,30 +23539,218 @@ + + ac_cv_stdint_result="(no helpful system typedefs seen)" + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5 ++{ $as_echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5 + $as_echo_n "checking for stdint uintptr_t... " >&6; } +-if test "${ac_cv_header_stdint_x+set}" = set; then : ++if test "${ac_cv_header_stdint_x+set}" = set; then + $as_echo_n "(cached) " >&6 + else + + ac_cv_header_stdint_x="" # the 1997 typedefs (inttypes.h) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 ++ { $as_echo "$as_me:$LINENO: result: (..)" >&5 + $as_echo "(..)" >&6; } + for i in stdint.h inttypes.h sys/inttypes.h $inttype_headers + do + unset ac_cv_type_uintptr_t + unset ac_cv_type_uint64_t +- ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <$i> +-" +-if test "x$ac_cv_type_uintptr_t" = x""yes; then : ++ { $as_echo "$as_me:$LINENO: checking for uintptr_t" >&5 ++$as_echo_n "checking for uintptr_t... " >&6; } ++if test "${ac_cv_type_uintptr_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_uintptr_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$i> ++ ++int ++main () ++{ ++if (sizeof (uintptr_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$i> ++ ++int ++main () ++{ ++if (sizeof ((uintptr_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_uintptr_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5 ++$as_echo "$ac_cv_type_uintptr_t" >&6; } ++if test "x$ac_cv_type_uintptr_t" = x""yes; then + ac_cv_header_stdint_x=$i + else + continue + fi + +- ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i> +-" +-if test "x$ac_cv_type_uint64_t" = x""yes; then : ++ { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 ++$as_echo_n "checking for uint64_t... " >&6; } ++if test "${ac_cv_type_uint64_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_uint64_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$i> ++ ++int ++main () ++{ ++if (sizeof (uint64_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$i> ++ ++int ++main () ++{ ++if (sizeof ((uint64_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_uint64_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 ++$as_echo "$ac_cv_type_uint64_t" >&6; } ++if test "x$ac_cv_type_uint64_t" = x""yes; then + and64="/uint64_t" + else + and64="" +@@ -21368,173 +23759,1917 @@ + ac_cv_stdint_result="(seen uintptr_t$and64 in $i)" + break + done +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uintptr_t" >&5 ++ { $as_echo "$as_me:$LINENO: checking for stdint uintptr_t" >&5 + $as_echo_n "checking for stdint uintptr_t... " >&6; } + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_x" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_x" >&5 + $as_echo "$ac_cv_header_stdint_x" >&6; } + + + if test "_$ac_cv_header_stdint_x" = "_" ; then + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5 ++{ $as_echo "$as_me:$LINENO: checking for stdint uint32_t" >&5 + $as_echo_n "checking for stdint uint32_t... " >&6; } +-if test "${ac_cv_header_stdint_o+set}" = set; then : ++if test "${ac_cv_header_stdint_o+set}" = set; then + $as_echo_n "(cached) " >&6 + else + + ac_cv_header_stdint_o="" # the 1995 typedefs (sys/inttypes.h) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 ++ { $as_echo "$as_me:$LINENO: result: (..)" >&5 + $as_echo "(..)" >&6; } + for i in inttypes.h sys/inttypes.h stdint.h $inttype_headers + do + unset ac_cv_type_uint32_t + unset ac_cv_type_uint64_t +- ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <$i> +-" +-if test "x$ac_cv_type_uint32_t" = x""yes; then : +- ac_cv_header_stdint_o=$i +-else +- continue +-fi +- +- ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include<$i> +-" +-if test "x$ac_cv_type_uint64_t" = x""yes; then : +- and64="/uint64_t" ++ { $as_echo "$as_me:$LINENO: checking for uint32_t" >&5 ++$as_echo_n "checking for uint32_t... " >&6; } ++if test "${ac_cv_type_uint32_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 + else +- and64="" +-fi +- +- ac_cv_stdint_result="(seen uint32_t$and64 in $i)" +- break +- break; +- done +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint uint32_t" >&5 +-$as_echo_n "checking for stdint uint32_t... " >&6; } +- +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_o" >&5 +-$as_echo "$ac_cv_header_stdint_o" >&6; } +- +-fi ++ ac_cv_type_uint32_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$i> + +-if test "_$ac_cv_header_stdint_x" = "_" ; then +-if test "_$ac_cv_header_stdint_o" = "_" ; then ++int ++main () ++{ ++if (sizeof (uint32_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$i> + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5 +-$as_echo_n "checking for stdint u_int32_t... " >&6; } +-if test "${ac_cv_header_stdint_u+set}" = set; then : +- $as_echo_n "(cached) " >&6 ++int ++main () ++{ ++if (sizeof ((uint32_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h) +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 +-$as_echo "(..)" >&6; } +- for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do +- unset ac_cv_type_u_int32_t +- unset ac_cv_type_u_int64_t +- ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <$i> +-" +-if test "x$ac_cv_type_u_int32_t" = x""yes; then : +- ac_cv_header_stdint_u=$i +-else +- continue ++ ac_cv_type_uint32_t=yes + fi + +- ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include<$i> +-" +-if test "x$ac_cv_type_u_int64_t" = x""yes; then : +- and64="/u_int64_t" ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + else +- and64="" +-fi ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- ac_cv_stdint_result="(seen u_int32_t$and64 in $i)" +- break +- break; +- done +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint u_int32_t" >&5 +-$as_echo_n "checking for stdint u_int32_t... " >&6; } + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdint_u" >&5 +-$as_echo "$ac_cv_header_stdint_u" >&6; } +- +-fi fi + +-if test "_$ac_cv_header_stdint_x" = "_" ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint datatype model" >&5 +-$as_echo_n "checking for stdint datatype model... " >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: (..)" >&5 +-$as_echo "(..)" >&6; } ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5 ++$as_echo "$ac_cv_type_uint32_t" >&6; } ++if test "x$ac_cv_type_uint32_t" = x""yes; then ++ ac_cv_header_stdint_o=$i ++else ++ continue ++fi + +- # The cast to long int works around a bug in the HP C Compiler +-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +-# This bug is HP SR number 8606223364. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5 +-$as_echo_n "checking size of char... " >&6; } +-if test "${ac_cv_sizeof_char+set}" = set; then : ++ { $as_echo "$as_me:$LINENO: checking for uint64_t" >&5 ++$as_echo_n "checking for uint64_t... " >&6; } ++if test "${ac_cv_type_uint64_t+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then : ++ ac_cv_type_uint64_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$i> + +-else +- if test "$ac_cv_type_char" = yes; then +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ as_fn_set_status 77 +-as_fn_error "cannot compute sizeof (char) +-See \`config.log' for more details." "$LINENO" 5; }; } +- else ++int ++main () ++{ ++if (sizeof (uint64_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$i> ++ ++int ++main () ++{ ++if (sizeof ((uint64_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_uint64_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5 ++$as_echo "$ac_cv_type_uint64_t" >&6; } ++if test "x$ac_cv_type_uint64_t" = x""yes; then ++ and64="/uint64_t" ++else ++ and64="" ++fi ++ ++ ac_cv_stdint_result="(seen uint32_t$and64 in $i)" ++ break ++ break; ++ done ++ { $as_echo "$as_me:$LINENO: checking for stdint uint32_t" >&5 ++$as_echo_n "checking for stdint uint32_t... " >&6; } ++ ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_o" >&5 ++$as_echo "$ac_cv_header_stdint_o" >&6; } ++ ++fi ++ ++if test "_$ac_cv_header_stdint_x" = "_" ; then ++if test "_$ac_cv_header_stdint_o" = "_" ; then ++ ++{ $as_echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5 ++$as_echo_n "checking for stdint u_int32_t... " >&6; } ++if test "${ac_cv_header_stdint_u+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ++ ac_cv_header_stdint_u="" # the BSD typedefs (sys/types.h) ++ { $as_echo "$as_me:$LINENO: result: (..)" >&5 ++$as_echo "(..)" >&6; } ++ for i in sys/types.h inttypes.h sys/inttypes.h $inttype_headers ; do ++ unset ac_cv_type_u_int32_t ++ unset ac_cv_type_u_int64_t ++ { $as_echo "$as_me:$LINENO: checking for u_int32_t" >&5 ++$as_echo_n "checking for u_int32_t... " >&6; } ++if test "${ac_cv_type_u_int32_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_u_int32_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$i> ++ ++int ++main () ++{ ++if (sizeof (u_int32_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$i> ++ ++int ++main () ++{ ++if (sizeof ((u_int32_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_u_int32_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5 ++$as_echo "$ac_cv_type_u_int32_t" >&6; } ++if test "x$ac_cv_type_u_int32_t" = x""yes; then ++ ac_cv_header_stdint_u=$i ++else ++ continue ++fi ++ ++ { $as_echo "$as_me:$LINENO: checking for u_int64_t" >&5 ++$as_echo_n "checking for u_int64_t... " >&6; } ++if test "${ac_cv_type_u_int64_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_u_int64_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$i> ++ ++int ++main () ++{ ++if (sizeof (u_int64_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$i> ++ ++int ++main () ++{ ++if (sizeof ((u_int64_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_u_int64_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5 ++$as_echo "$ac_cv_type_u_int64_t" >&6; } ++if test "x$ac_cv_type_u_int64_t" = x""yes; then ++ and64="/u_int64_t" ++else ++ and64="" ++fi ++ ++ ac_cv_stdint_result="(seen u_int32_t$and64 in $i)" ++ break ++ break; ++ done ++ { $as_echo "$as_me:$LINENO: checking for stdint u_int32_t" >&5 ++$as_echo_n "checking for stdint u_int32_t... " >&6; } ++ ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdint_u" >&5 ++$as_echo "$ac_cv_header_stdint_u" >&6; } ++ ++fi fi ++ ++if test "_$ac_cv_header_stdint_x" = "_" ; then ++ { $as_echo "$as_me:$LINENO: checking for stdint datatype model" >&5 ++$as_echo_n "checking for stdint datatype model... " >&6; } ++ { $as_echo "$as_me:$LINENO: result: (..)" >&5 ++$as_echo "(..)" >&6; } ++ ++ # The cast to long int works around a bug in the HP C Compiler ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. ++# This bug is HP SR number 8606223364. ++{ $as_echo "$as_me:$LINENO: checking size of char" >&5 ++$as_echo_n "checking size of char... " >&6; } ++if test "${ac_cv_sizeof_char+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr $ac_mid + 1` ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (char))) < 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (char))) >= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_hi=`expr '(' $ac_mid ')' - 1` ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo= ac_hi= ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (char))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr '(' $ac_mid ')' + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in ++?*) ac_cv_sizeof_char=$ac_lo;; ++'') if test "$ac_cv_type_char" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (char) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_char=0 ++ fi ;; ++esac ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++static long int longval () { return (long int) (sizeof (char)); } ++static unsigned long int ulongval () { return (long int) (sizeof (char)); } ++#include ++#include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (((long int) (sizeof (char))) < 0) ++ { ++ long int i = longval (); ++ if (i != ((long int) (sizeof (char)))) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ((long int) (sizeof (char)))) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ac_cv_sizeof_char=`cat conftest.val` ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++if test "$ac_cv_type_char" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (char) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (char) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else + ac_cv_sizeof_char=0 + fi + fi ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f conftest.val ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5 ++$as_echo "$ac_cv_sizeof_char" >&6; } ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++#define SIZEOF_CHAR $ac_cv_sizeof_char ++_ACEOF ++ ++ ++ # The cast to long int works around a bug in the HP C Compiler ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. ++# This bug is HP SR number 8606223364. ++{ $as_echo "$as_me:$LINENO: checking size of short" >&5 ++$as_echo_n "checking size of short... " >&6; } ++if test "${ac_cv_sizeof_short+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr $ac_mid + 1` ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (short))) < 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (short))) >= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_hi=`expr '(' $ac_mid ')' - 1` ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo= ac_hi= ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (short))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr '(' $ac_mid ')' + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in ++?*) ac_cv_sizeof_short=$ac_lo;; ++'') if test "$ac_cv_type_short" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (short) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_short=0 ++ fi ;; ++esac ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++static long int longval () { return (long int) (sizeof (short)); } ++static unsigned long int ulongval () { return (long int) (sizeof (short)); } ++#include ++#include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (((long int) (sizeof (short))) < 0) ++ { ++ long int i = longval (); ++ if (i != ((long int) (sizeof (short)))) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ((long int) (sizeof (short)))) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ac_cv_sizeof_short=`cat conftest.val` ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++if test "$ac_cv_type_short" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (short) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (short) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_short=0 ++ fi ++fi ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f conftest.val ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 ++$as_echo "$ac_cv_sizeof_short" >&6; } ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++#define SIZEOF_SHORT $ac_cv_sizeof_short ++_ACEOF ++ ++ ++ # The cast to long int works around a bug in the HP C Compiler ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. ++# This bug is HP SR number 8606223364. ++{ $as_echo "$as_me:$LINENO: checking size of int" >&5 ++$as_echo_n "checking size of int... " >&6; } ++if test "${ac_cv_sizeof_int+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr $ac_mid + 1` ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_hi=`expr '(' $ac_mid ')' - 1` ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo= ac_hi= ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr '(' $ac_mid ')' + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in ++?*) ac_cv_sizeof_int=$ac_lo;; ++'') if test "$ac_cv_type_int" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (int) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_int=0 ++ fi ;; ++esac ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++static long int longval () { return (long int) (sizeof (int)); } ++static unsigned long int ulongval () { return (long int) (sizeof (int)); } ++#include ++#include ++int ++main () ++{ ++ ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (((long int) (sizeof (int))) < 0) ++ { ++ long int i = longval (); ++ if (i != ((long int) (sizeof (int)))) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ((long int) (sizeof (int)))) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ac_cv_sizeof_int=`cat conftest.val` ++else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++if test "$ac_cv_type_int" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (int) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_int=0 ++ fi ++fi ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f conftest.val ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 ++$as_echo "$ac_cv_sizeof_int" >&6; } ++ ++ ++ ++cat >>confdefs.h <<_ACEOF ++#define SIZEOF_INT $ac_cv_sizeof_int ++_ACEOF ++ ++ ++ # The cast to long int works around a bug in the HP C Compiler ++# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects ++# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. ++# This bug is HP SR number 8606223364. ++{ $as_echo "$as_me:$LINENO: checking size of long" >&5 ++$as_echo_n "checking size of long... " >&6; } ++if test "${ac_cv_sizeof_long+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo=`expr $ac_mid + 1` ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid + 1` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=$ac_mid; break ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_hi=`expr '(' $ac_mid ')' - 1` ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid` ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_lo= ac_hi= + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5 +-$as_echo "$ac_cv_sizeof_char" >&6; } + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)]; ++test_array [0] = 0 + +-cat >>confdefs.h <<_ACEOF +-#define SIZEOF_CHAR $ac_cv_sizeof_char ++ ; ++ return 0; ++} + _ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_lo=`expr '(' $ac_mid ')' + 1` ++fi + +- # The cast to long int works around a bug in the HP C Compiler +-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +-# This bug is HP SR number 8606223364. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5 +-$as_echo_n "checking size of short... " >&6; } +-if test "${ac_cv_sizeof_short+set}" = set; then : +- $as_echo_n "(cached) " >&6 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in ++?*) ac_cv_sizeof_long=$ac_lo;; ++'') if test "$ac_cv_type_long" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (long) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_long=0 ++ fi ;; ++esac + else +- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then : ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++static long int longval () { return (long int) (sizeof (long)); } ++static unsigned long int ulongval () { return (long int) (sizeof (long)); } ++#include ++#include ++int ++main () ++{ + ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (((long int) (sizeof (long))) < 0) ++ { ++ long int i = longval (); ++ if (i != ((long int) (sizeof (long)))) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ((long int) (sizeof (long)))) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ac_cv_sizeof_long=`cat conftest.val` + else +- if test "$ac_cv_type_short" = yes; then +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++if test "$ac_cv_type_long" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ as_fn_set_status 77 +-as_fn_error "cannot compute sizeof (short) +-See \`config.log' for more details." "$LINENO" 5; }; } ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (long) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } + else +- ac_cv_sizeof_short=0 ++ ac_cv_sizeof_long=0 + fi + fi +- ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5 +-$as_echo "$ac_cv_sizeof_short" >&6; } ++rm -f conftest.val ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5 ++$as_echo "$ac_cv_sizeof_long" >&6; } + + + + cat >>confdefs.h <<_ACEOF +-#define SIZEOF_SHORT $ac_cv_sizeof_short ++#define SIZEOF_LONG $ac_cv_sizeof_long + _ACEOF + + +@@ -21542,95 +25677,352 @@ + # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects + # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. + # This bug is HP SR number 8606223364. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5 +-$as_echo_n "checking size of int... " >&6; } +-if test "${ac_cv_sizeof_int+set}" = set; then : ++{ $as_echo "$as_me:$LINENO: checking size of void*" >&5 ++$as_echo_n "checking size of void*... " >&6; } ++if test "${ac_cv_sizeof_voidp+set}" = set; then + $as_echo_n "(cached) " >&6 + else +- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then : ++ if test "$cross_compiling" = yes; then ++ # Depending upon the size, compute the lo and hi bounds. ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= 0)]; ++test_array [0] = 0 ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=0 ac_mid=0 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)]; ++test_array [0] = 0 + ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid; break + else +- if test "$ac_cv_type_int" = yes; then +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ as_fn_set_status 77 +-as_fn_error "cannot compute sizeof (int) +-See \`config.log' for more details." "$LINENO" 5; }; } +- else +- ac_cv_sizeof_int=0 +- fi +-fi ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_lo=`expr $ac_mid + 1` ++ if test $ac_lo -le $ac_mid; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid + 1` + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5 +-$as_echo "$ac_cv_sizeof_int" >&6; } +- + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +-cat >>confdefs.h <<_ACEOF +-#define SIZEOF_INT $ac_cv_sizeof_int ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ + _ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (void*))) < 0)]; ++test_array [0] = 0 + ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=-1 ac_mid=-1 ++ while :; do ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (void*))) >= $ac_mid)]; ++test_array [0] = 0 + +- # The cast to long int works around a bug in the HP C Compiler +-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +-# This bug is HP SR number 8606223364. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5 +-$as_echo_n "checking size of long... " >&6; } +-if test "${ac_cv_sizeof_long+set}" = set; then : +- $as_echo_n "(cached) " >&6 ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_lo=$ac_mid; break + else +- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then : ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +-else +- if test "$ac_cv_type_long" = yes; then +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 +-$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ as_fn_set_status 77 +-as_fn_error "cannot compute sizeof (long) +-See \`config.log' for more details." "$LINENO" 5; }; } +- else +- ac_cv_sizeof_long=0 +- fi ++ ac_hi=`expr '(' $ac_mid ')' - 1` ++ if test $ac_mid -le $ac_hi; then ++ ac_lo= ac_hi= ++ break ++ fi ++ ac_mid=`expr 2 '*' $ac_mid` + fi + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ done ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_lo= ac_hi= + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5 +-$as_echo "$ac_cv_sizeof_long" >&6; } + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++# Binary search between lo and hi bounds. ++while test "x$ac_lo" != "x$ac_hi"; do ++ ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++int ++main () ++{ ++static int test_array [1 - 2 * !(((long int) (sizeof (void*))) <= $ac_mid)]; ++test_array [0] = 0 + +-cat >>confdefs.h <<_ACEOF +-#define SIZEOF_LONG $ac_cv_sizeof_long ++ ; ++ return 0; ++} + _ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_hi=$ac_mid ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_lo=`expr '(' $ac_mid ')' + 1` ++fi + +- # The cast to long int works around a bug in the HP C Compiler +-# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects +-# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. +-# This bug is HP SR number 8606223364. +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void*" >&5 +-$as_echo_n "checking size of void*... " >&6; } +-if test "${ac_cv_sizeof_voidp+set}" = set; then : +- $as_echo_n "(cached) " >&6 ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++done ++case $ac_lo in ++?*) ac_cv_sizeof_voidp=$ac_lo;; ++'') if test "$ac_cv_type_voidp" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 ++$as_echo "$as_me: error: in \`$ac_pwd':" >&2;} ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (void*) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } ++ else ++ ac_cv_sizeof_voidp=0 ++ fi ;; ++esac + else +- if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void*))" "ac_cv_sizeof_voidp" "$ac_includes_default"; then : ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++static long int longval () { return (long int) (sizeof (void*)); } ++static unsigned long int ulongval () { return (long int) (sizeof (void*)); } ++#include ++#include ++int ++main () ++{ + ++ FILE *f = fopen ("conftest.val", "w"); ++ if (! f) ++ return 1; ++ if (((long int) (sizeof (void*))) < 0) ++ { ++ long int i = longval (); ++ if (i != ((long int) (sizeof (void*)))) ++ return 1; ++ fprintf (f, "%ld", i); ++ } ++ else ++ { ++ unsigned long int i = ulongval (); ++ if (i != ((long int) (sizeof (void*)))) ++ return 1; ++ fprintf (f, "%lu", i); ++ } ++ /* Do not output a trailing newline, as this causes \r\n confusion ++ on some platforms. */ ++ return ferror (f) || fclose (f) != 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ac_cv_sizeof_voidp=`cat conftest.val` + else +- if test "$ac_cv_type_voidp" = yes; then +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++if test "$ac_cv_type_voidp" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-{ as_fn_set_status 77 +-as_fn_error "cannot compute sizeof (void*) +-See \`config.log' for more details." "$LINENO" 5; }; } ++{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void*) ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot compute sizeof (void*) ++See \`config.log' for more details." >&2;} ++ { (exit 77); exit 77; }; }; } + else + ac_cv_sizeof_voidp=0 + fi + fi +- ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext ++fi ++rm -f conftest.val + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_voidp" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_voidp" >&5 + $as_echo "$ac_cv_sizeof_voidp" >&6; } + + +@@ -21648,7 +26040,7 @@ + ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_int" + ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_long" + ac_cv_long_data_model="$ac_cv_long_data_model$ac_cv_sizeof_voidp" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking data model" >&5 ++ { $as_echo "$as_me:$LINENO: checking data model" >&5 + $as_echo_n "checking data model... " >&6; } + case "$ac_cv_char_data_model/$ac_cv_long_data_model" in + 122/242) ac_cv_data_model="IP16" ; n="standard 16bit machine" ;; +@@ -21669,7 +26061,7 @@ + ac_cv_data_model="iDSP" ; n="unusual dsptype" ;; + *) ac_cv_data_model="none" ; n="very unusual model" ;; + esac +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5 ++ { $as_echo "$as_me:$LINENO: result: $ac_cv_data_model ($ac_cv_long_data_model, $n)" >&5 + $as_echo "$ac_cv_data_model ($ac_cv_long_data_model, $n)" >&6; } + + fi +@@ -21684,29 +26076,302 @@ + ac_cv_header_stdint="stddef.h" + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra inttypes in chosen header" >&5 ++{ $as_echo "$as_me:$LINENO: checking for extra inttypes in chosen header" >&5 + $as_echo_n "checking for extra inttypes in chosen header... " >&6; } +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ($ac_cv_header_stdint)" >&5 ++{ $as_echo "$as_me:$LINENO: result: ($ac_cv_header_stdint)" >&5 + $as_echo "($ac_cv_header_stdint)" >&6; } + unset ac_cv_type_int_least32_t + unset ac_cv_type_int_fast32_t +-ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <$ac_cv_header_stdint> +-" +-if test "x$ac_cv_type_int_least32_t" = x""yes; then : ++{ $as_echo "$as_me:$LINENO: checking for int_least32_t" >&5 ++$as_echo_n "checking for int_least32_t... " >&6; } ++if test "${ac_cv_type_int_least32_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_int_least32_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_cv_header_stdint> ++ ++int ++main () ++{ ++if (sizeof (int_least32_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_cv_header_stdint> ++ ++int ++main () ++{ ++if (sizeof ((int_least32_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_int_least32_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5 ++$as_echo "$ac_cv_type_int_least32_t" >&6; } ++ ++{ $as_echo "$as_me:$LINENO: checking for int_fast32_t" >&5 ++$as_echo_n "checking for int_fast32_t... " >&6; } ++if test "${ac_cv_type_int_fast32_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_int_fast32_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$ac_cv_header_stdint> ++ ++int ++main () ++{ ++if (sizeof (int_fast32_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include<$ac_cv_header_stdint> ++ ++int ++main () ++{ ++if (sizeof ((int_fast32_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_type_int_fast32_t=yes ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5 ++$as_echo "$ac_cv_type_int_fast32_t" >&6; } ++ ++{ $as_echo "$as_me:$LINENO: checking for intmax_t" >&5 ++$as_echo_n "checking for intmax_t... " >&6; } ++if test "${ac_cv_type_intmax_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_type_intmax_t=no ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_cv_header_stdint> ++ ++int ++main () ++{ ++if (sizeof (intmax_t)) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_cv_header_stdint> ++ ++int ++main () ++{ ++if (sizeof ((intmax_t))) ++ return 0; ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ : ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + ++ ac_cv_type_intmax_t=yes + fi + +-ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include<$ac_cv_header_stdint> +-" +-if test "x$ac_cv_type_int_fast32_t" = x""yes; then : ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +-fi + +-ac_fn_c_check_type "$LINENO" "intmax_t" "ac_cv_type_intmax_t" "#include <$ac_cv_header_stdint> +-" +-if test "x$ac_cv_type_intmax_t" = x""yes; then : ++fi + ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_type_intmax_t" >&5 ++$as_echo "$ac_cv_type_intmax_t" >&6; } + + + fi # shortcircut to system "stdint.h" +@@ -21717,7 +26382,7 @@ + ac_cv_stdint_message="using $CC" + fi + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5 ++{ $as_echo "$as_me:$LINENO: result: make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&5 + $as_echo "make use of $ac_cv_header_stdint in $ac_stdint_h $ac_cv_stdint_result" >&6; } + + # ----------------- DONE inttypes.h checks START header ------------- +@@ -21725,12 +26390,151 @@ + + + ++ + for ac_header in pthread.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default" +-if test "x$ac_cv_header_pthread_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_PTHREAD_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + HAVE_PTHREAD_H=yes + fi +@@ -21753,13 +26557,17 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/ioctl.h" >&5 ++ { $as_echo "$as_me:$LINENO: checking for FIONREAD in sys/ioctl.h" >&5 + $as_echo_n "checking for FIONREAD in sys/ioctl.h... " >&6; } +- if test "${_cv_gst_fionread_in_sys_ioctl+set}" = set; then : ++ if test "${_cv_gst_fionread_in_sys_ioctl+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -21777,33 +26585,60 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + _cv_gst_fionread_in_sys_ioctl="yes" + else +- _cv_gst_fionread_in_sys_ioctl="no" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ _cv_gst_fionread_in_sys_ioctl="no" + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_ioctl" >&5 ++ { $as_echo "$as_me:$LINENO: result: $_cv_gst_fionread_in_sys_ioctl" >&5 + $as_echo "$_cv_gst_fionread_in_sys_ioctl" >&6; } + + if test "$_cv_gst_fionread_in_sys_ioctl" = "yes"; then + +-$as_echo "#define HAVE_FIONREAD_IN_SYS_IOCTL 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FIONREAD_IN_SYS_IOCTL 1 ++_ACEOF + + + else + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FIONREAD in sys/filio.h" >&5 ++ { $as_echo "$as_me:$LINENO: checking for FIONREAD in sys/filio.h" >&5 + $as_echo_n "checking for FIONREAD in sys/filio.h... " >&6; } +- if test "${_cv_gst_fionread_in_sys_filio+set}" = set; then : ++ if test "${_cv_gst_fionread_in_sys_filio+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -21821,22 +26656,45 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + _cv_gst_fionread_in_sys_filio="yes" + else +- _cv_gst_fionread_in_sys_filio="no" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ _cv_gst_fionread_in_sys_filio="no" + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_cv_gst_fionread_in_sys_filio" >&5 ++ { $as_echo "$as_me:$LINENO: result: $_cv_gst_fionread_in_sys_filio" >&5 + $as_echo "$_cv_gst_fionread_in_sys_filio" >&6; } + + if test "$_cv_gst_fionread_in_sys_filio" = "yes"; then + +-$as_echo "#define HAVE_FIONREAD_IN_SYS_FILIO 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FIONREAD_IN_SYS_FILIO 1 ++_ACEOF + + fi + +@@ -21846,24 +26704,253 @@ + + + ++ + for ac_func in gmtime_r +-do : +- ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r" +-if test "x$ac_cv_func_gmtime_r" = x""yes; then : ++do ++as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh` ++{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5 ++$as_echo_n "checking for $ac_func... " >&6; } ++if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define $ac_func to an innocuous variant, in case declares $ac_func. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define $ac_func innocuous_$ac_func ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char $ac_func (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef $ac_func ++ ++/* 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 $ac_func (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_$ac_func || defined __stub___$ac_func ++choke me ++#endif ++ ++int ++main () ++{ ++return $ac_func (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ eval "$as_ac_var=yes" ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ eval "$as_ac_var=no" ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++ac_res=`eval 'as_val=${'$as_ac_var'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++as_val=`eval 'as_val=${'$as_ac_var'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_GMTIME_R 1 ++#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1 + _ACEOF + + fi + done + + ++ + for ac_header in sys/utsname.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_utsname_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_SYS_UTSNAME_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + + fi +@@ -21872,18 +26959,107 @@ + + + +-ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket" +-if test "x$ac_cv_func_socket" = x""yes; then : ++{ $as_echo "$as_me:$LINENO: checking for socket" >&5 ++$as_echo_n "checking for socket... " >&6; } ++if test "${ac_cv_func_socket+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define socket to an innocuous variant, in case declares socket. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define socket innocuous_socket ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char socket (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef socket ++ ++/* 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 socket (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_socket || defined __stub___socket ++choke me ++#endif ++ ++int ++main () ++{ ++return socket (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_socket=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_socket=no ++fi + ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5 ++$as_echo "$ac_cv_func_socket" >&6; } ++if test "x$ac_cv_func_socket" = x""yes; then ++ : + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5 ++ ++{ $as_echo "$as_me:$LINENO: checking for socket in -lsocket" >&5 + $as_echo_n "checking for socket in -lsocket... " >&6; } +-if test "${ac_cv_lib_socket_socket+set}" = set; then : ++if test "${ac_cv_lib_socket_socket+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsocket $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -21901,18 +27077,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_socket_socket=yes + else +- ac_cv_lib_socket_socket=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_socket_socket=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5 + $as_echo "$ac_cv_lib_socket_socket" >&6; } +-if test "x$ac_cv_lib_socket_socket" = x""yes; then : ++if test "x$ac_cv_lib_socket_socket" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBSOCKET 1 + _ACEOF +@@ -21923,18 +27124,107 @@ + + fi + +-ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +-if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++{ $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 ++$as_echo_n "checking for gethostbyname... " >&6; } ++if test "${ac_cv_func_gethostbyname+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define gethostbyname to an innocuous variant, in case declares gethostbyname. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define gethostbyname innocuous_gethostbyname ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char gethostbyname (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef gethostbyname ++ ++/* 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 gethostbyname (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_gethostbyname || defined __stub___gethostbyname ++choke me ++#endif ++ ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_gethostbyname=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_gethostbyname=no ++fi + ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 ++$as_echo "$ac_cv_func_gethostbyname" >&6; } ++if test "x$ac_cv_func_gethostbyname" = x""yes; then ++ : + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 ++ ++{ $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 + $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : ++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnsl $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -21952,18 +27242,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_nsl_gethostbyname=yes + else +- ac_cv_lib_nsl_gethostbyname=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_nsl_gethostbyname=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 + $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +-if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : ++if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBNSL 1 + _ACEOF +@@ -21979,7 +27294,9 @@ + GLIB_REQ=2.16 + if test "x$GLIB_REQ" = "x" + then +- as_fn_error "Please specify a required version for GLib 2.0" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: Please specify a required version for GLib 2.0" >&5 ++$as_echo "$as_me: error: Please specify a required version for GLib 2.0" >&2;} ++ { (exit 1); exit 1; }; } + fi + + +@@ -21989,7 +27306,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLIB" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GLIB" >&5 + $as_echo_n "checking for GLIB... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -21997,11 +27314,11 @@ + pkg_cv_GLIB_CFLAGS="$GLIB_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5 ++ { ($as_echo "$as_me:$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 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GLIB_CFLAGS=`$PKG_CONFIG --cflags "$which" 2>/dev/null` + else + pkg_failed=yes +@@ -22015,11 +27332,11 @@ + pkg_cv_GLIB_LIBS="$GLIB_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$which\""; } >&5 ++ { ($as_echo "$as_me:$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 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GLIB_LIBS=`$PKG_CONFIG --libs "$which" 2>/dev/null` + else + pkg_failed=yes +@@ -22046,35 +27363,39 @@ + # Put the nasty error message in config.log where it belongs + echo "$GLIB_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GLIB="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + if test "x$required" = "xyes"; then +- as_fn_error "$GLIB_PKG_ERRORS" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: $GLIB_PKG_ERRORS" >&5 ++$as_echo "$as_me: error: $GLIB_PKG_ERRORS" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GLIB_PKG_ERRORS" >&5 + $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GLIB="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + if test "x$required" = "xyes"; then +- as_fn_error "$GLIB_PKG_ERRORS" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: $GLIB_PKG_ERRORS" >&5 ++$as_echo "$as_me: error: $GLIB_PKG_ERRORS" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GLIB_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GLIB_PKG_ERRORS" >&5 + $as_echo "$as_me: $GLIB_PKG_ERRORS" >&6;} + fi + + else + GLIB_CFLAGS=$pkg_cv_GLIB_CFLAGS + GLIB_LIBS=$pkg_cv_GLIB_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GLIB="yes" +@@ -22084,7 +27405,9 @@ + + + if test "x$HAVE_GLIB" = "xno"; then +- as_fn_error "This package requires GLib >= $GLIB_REQ to compile." "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: This package requires GLib >= $GLIB_REQ to compile." >&5 ++$as_echo "$as_me: error: This package requires GLib >= $GLIB_REQ to compile." >&2;} ++ { (exit 1); exit 1; }; } + fi + + +@@ -22101,7 +27424,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBOIL" >&5 ++{ $as_echo "$as_me:$LINENO: checking for LIBOIL" >&5 + $as_echo_n "checking for LIBOIL... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22109,11 +27432,11 @@ + pkg_cv_LIBOIL_CFLAGS="$LIBOIL_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.8\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.8\"") >&5 + ($PKG_CONFIG --exists --print-errors "liboil-0.3 >= 0.3.8") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LIBOIL_CFLAGS=`$PKG_CONFIG --cflags "liboil-0.3 >= 0.3.8" 2>/dev/null` + else + pkg_failed=yes +@@ -22127,11 +27450,11 @@ + pkg_cv_LIBOIL_LIBS="$LIBOIL_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.8\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"liboil-0.3 >= 0.3.8\"") >&5 + ($PKG_CONFIG --exists --print-errors "liboil-0.3 >= 0.3.8") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LIBOIL_LIBS=`$PKG_CONFIG --libs "liboil-0.3 >= 0.3.8" 2>/dev/null` + else + pkg_failed=yes +@@ -22158,7 +27481,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$LIBOIL_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_LIBOIL=no + elif test $pkg_failed = untried; then +@@ -22166,12 +27489,14 @@ + else + LIBOIL_CFLAGS=$pkg_cv_LIBOIL_CFLAGS + LIBOIL_LIBS=$pkg_cv_LIBOIL_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_LIBOIL=yes + fi + if test "x$HAVE_LIBOIL" != "xyes"; then +- as_fn_error "liboil-0.3.8 or later is required" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: liboil-0.3.8 or later is required" >&5 ++$as_echo "$as_me: error: liboil-0.3.8 or later is required" >&2;} ++ { (exit 1); exit 1; }; } + fi + + +@@ -22182,7 +27507,7 @@ + required=yes + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GST" >&5 + $as_echo_n "checking for GST... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22190,11 +27515,11 @@ + pkg_cv_GST_CFLAGS="$GST_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22208,11 +27533,11 @@ + pkg_cv_GST_LIBS="$GST_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22239,39 +27564,43 @@ + # Put the nasty error message in config.log where it belongs + echo "$GST_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GST="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GST="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + else + GST_CFLAGS=$pkg_cv_GST_CFLAGS + GST_LIBS=$pkg_cv_GST_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GST="yes" +@@ -22282,20 +27611,24 @@ + if test -z $GST_TOOLS_DIR; then + GST_TOOLS_DIR=`$PKG_CONFIG --variable=toolsdir gstreamer-$GST_MAJORMINOR` + if test -z $GST_TOOLS_DIR; then +- as_fn_error "no tools dir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no tools dir set in GStreamer pkg-config file, core upgrade needed." >&5 ++$as_echo "$as_me: error: no tools dir set in GStreamer pkg-config file, core upgrade needed." >&2;} ++ { (exit 1); exit 1; }; } + fi + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer tools in $GST_TOOLS_DIR" >&5 ++ { $as_echo "$as_me:$LINENO: using GStreamer tools in $GST_TOOLS_DIR" >&5 + $as_echo "$as_me: using GStreamer tools in $GST_TOOLS_DIR" >&6;} + + + if test -z $GST_PLUGINS_DIR; then + GST_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-$GST_MAJORMINOR` + if test -z $GST_PLUGINS_DIR; then +- as_fn_error "no pluginsdir set in GStreamer pkg-config file, core upgrade needed." "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no pluginsdir set in GStreamer pkg-config file, core upgrade needed." >&5 ++$as_echo "$as_me: error: no pluginsdir set in GStreamer pkg-config file, core upgrade needed." >&2;} ++ { (exit 1); exit 1; }; } + fi + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5 ++ { $as_echo "$as_me:$LINENO: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&5 + $as_echo "$as_me: using GStreamer plug-ins in $GST_PLUGINS_DIR" >&6;} + + +@@ -22307,7 +27640,7 @@ + required=yes + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_BASE" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GST_BASE" >&5 + $as_echo_n "checking for GST_BASE... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22315,11 +27648,11 @@ + pkg_cv_GST_BASE_CFLAGS="$GST_BASE_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22333,11 +27666,11 @@ + pkg_cv_GST_BASE_LIBS="$GST_BASE_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22364,39 +27697,43 @@ + # Put the nasty error message in config.log where it belongs + echo "$GST_BASE_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GST_BASE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_BASE_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GST_BASE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_BASE_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_BASE_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_BASE_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + else + GST_BASE_CFLAGS=$pkg_cv_GST_BASE_CFLAGS + GST_BASE_LIBS=$pkg_cv_GST_BASE_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GST_BASE="yes" +@@ -22413,7 +27750,7 @@ + required=yes + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_GDP" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GST_GDP" >&5 + $as_echo_n "checking for GST_GDP... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22421,11 +27758,11 @@ + pkg_cv_GST_GDP_CFLAGS="$GST_GDP_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_GDP_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22439,11 +27776,11 @@ + pkg_cv_GST_GDP_LIBS="$GST_GDP_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_GDP_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22470,39 +27807,43 @@ + # Put the nasty error message in config.log where it belongs + echo "$GST_GDP_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GST_GDP="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_GDP_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GST_GDP="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_GDP_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_GDP_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_GDP_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + else + GST_GDP_CFLAGS=$pkg_cv_GST_GDP_CFLAGS + GST_GDP_LIBS=$pkg_cv_GST_GDP_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GST_GDP="yes" +@@ -22519,7 +27860,7 @@ + required=no + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CHECK" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GST_CHECK" >&5 + $as_echo_n "checking for GST_CHECK... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22527,11 +27868,11 @@ + pkg_cv_GST_CHECK_CFLAGS="$GST_CHECK_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_CHECK_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22545,11 +27886,11 @@ + pkg_cv_GST_CHECK_LIBS="$GST_CHECK_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_CHECK_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22576,39 +27917,43 @@ + # Put the nasty error message in config.log where it belongs + echo "$GST_CHECK_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GST_CHECK="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_CHECK_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GST_CHECK="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CHECK_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_CHECK_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_CHECK_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + else + GST_CHECK_CFLAGS=$pkg_cv_GST_CHECK_CFLAGS + GST_CHECK_LIBS=$pkg_cv_GST_CHECK_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GST_CHECK="yes" +@@ -22625,7 +27970,7 @@ + required=yes + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_CONTROLLER" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GST_CONTROLLER" >&5 + $as_echo_n "checking for GST_CONTROLLER... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22633,11 +27978,11 @@ + pkg_cv_GST_CONTROLLER_CFLAGS="$GST_CONTROLLER_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_CONTROLLER_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22651,11 +27996,11 @@ + pkg_cv_GST_CONTROLLER_LIBS="$GST_CONTROLLER_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_CONTROLLER_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22682,39 +28027,43 @@ + # Put the nasty error message in config.log where it belongs + echo "$GST_CONTROLLER_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GST_CONTROLLER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_CONTROLLER_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GST_CONTROLLER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_CONTROLLER_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_CONTROLLER_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_CONTROLLER_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + else + GST_CONTROLLER_CFLAGS=$pkg_cv_GST_CONTROLLER_CFLAGS + GST_CONTROLLER_LIBS=$pkg_cv_GST_CONTROLLER_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GST_CONTROLLER="yes" +@@ -22731,7 +28080,7 @@ + required=yes + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST_PLUGINS_BASE" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GST_PLUGINS_BASE" >&5 + $as_echo_n "checking for GST_PLUGINS_BASE... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22739,11 +28088,11 @@ + pkg_cv_GST_PLUGINS_BASE_CFLAGS="$GST_PLUGINS_BASE_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_PLUGINS_BASE_CFLAGS=`$PKG_CONFIG --cflags "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22757,11 +28106,11 @@ + pkg_cv_GST_PLUGINS_BASE_LIBS="$GST_PLUGINS_BASE_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$module >= \$minver\"") >&5 + ($PKG_CONFIG --exists --print-errors "$module >= $minver") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GST_PLUGINS_BASE_LIBS=`$PKG_CONFIG --libs "$module >= $minver" 2>/dev/null` + else + pkg_failed=yes +@@ -22788,39 +28137,43 @@ + # Put the nasty error message in config.log where it belongs + echo "$GST_PLUGINS_BASE_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_GST_PLUGINS_BASE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + elif test $pkg_failed = untried; then + + HAVE_GST_PLUGINS_BASE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 ++ { $as_echo "$as_me:$LINENO: $GST_PLUGINS_BASE_PKG_ERRORS" >&5 + $as_echo "$as_me: $GST_PLUGINS_BASE_PKG_ERRORS" >&6;} + if test "x$required" = "xyes"; then +- as_fn_error "no $module >= $minver ($name) found" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no $module >= $minver ($name) found" >&5 ++$as_echo "$as_me: error: no $module >= $minver ($name) found" >&2;} ++ { (exit 1); exit 1; }; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: no $module >= $minver ($name) found" >&5 ++ { $as_echo "$as_me:$LINENO: no $module >= $minver ($name) found" >&5 + $as_echo "$as_me: no $module >= $minver ($name) found" >&6;} + fi + + else + GST_PLUGINS_BASE_CFLAGS=$pkg_cv_GST_PLUGINS_BASE_CFLAGS + GST_PLUGINS_BASE_LIBS=$pkg_cv_GST_PLUGINS_BASE_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_GST_PLUGINS_BASE="yes" +@@ -22832,10 +28185,12 @@ + if test -z $GSTPB_PLUGINS_DIR; then + GSTPB_PLUGINS_DIR=`$PKG_CONFIG --variable=pluginsdir gstreamer-plugins-base-$GST_MAJORMINOR` + if test -z $GSTPB_PLUGINS_DIR; then +- as_fn_error "no pluginsdir set in GStreamer Base Plug-ins pkg-config file" "$LINENO" 5 ++ { { $as_echo "$as_me:$LINENO: error: no pluginsdir set in GStreamer Base Plug-ins pkg-config file" >&5 ++$as_echo "$as_me: error: no pluginsdir set in GStreamer Base Plug-ins pkg-config file" >&2;} ++ { (exit 1); exit 1; }; } + fi + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&5 ++ { $as_echo "$as_me:$LINENO: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&5 + $as_echo "$as_me: using GStreamer Base Plug-ins in $GSTPB_PLUGINS_DIR" >&6;} + + +@@ -22850,7 +28205,7 @@ + + GSTPB_PLUGINS_DIR=`$PKG_CONFIG gstreamer-plugins-base-$GST_MAJORMINOR --variable pluginsdir` + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5 ++{ $as_echo "$as_me:$LINENO: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&5 + $as_echo "$as_me: Using GStreamer Base Plugins in $GSTPB_PLUGINS_DIR" >&6;} + + GLIB_PREFIX="`$PKG_CONFIG --variable=prefix glib-2.0`" +@@ -22863,7 +28218,7 @@ + HAVE_GTK=NO + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GTK" >&5 + $as_echo_n "checking for GTK... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22871,11 +28226,11 @@ + pkg_cv_GTK_CFLAGS="$GTK_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GTK_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= 2.8.0" 2>/dev/null` + else + pkg_failed=yes +@@ -22889,11 +28244,11 @@ + pkg_cv_GTK_LIBS="$GTK_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= 2.8.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= 2.8.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GTK_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= 2.8.0" 2>/dev/null` + else + pkg_failed=yes +@@ -22920,7 +28275,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$GTK_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_GTK=no + elif test $pkg_failed = untried; then +@@ -22928,7 +28283,7 @@ + else + GTK_CFLAGS=$pkg_cv_GTK_CFLAGS + GTK_LIBS=$pkg_cv_GTK_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_GTK=yes + fi +@@ -22944,7 +28299,7 @@ + HAVE_GLADE=NO + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLADE" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GLADE" >&5 + $as_echo_n "checking for GLADE... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -22952,11 +28307,11 @@ + pkg_cv_GLADE_CFLAGS="$GLADE_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GLADE_CFLAGS=`$PKG_CONFIG --cflags "libglade-2.0 >= 2.6.0" 2>/dev/null` + else + pkg_failed=yes +@@ -22970,11 +28325,11 @@ + pkg_cv_GLADE_LIBS="$GLADE_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libglade-2.0 >= 2.6.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libglade-2.0 >= 2.6.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GLADE_LIBS=`$PKG_CONFIG --libs "libglade-2.0 >= 2.6.0" 2>/dev/null` + else + pkg_failed=yes +@@ -23001,7 +28356,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$GLADE_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_GLADE=no + elif test $pkg_failed = untried; then +@@ -23009,7 +28364,7 @@ + else + GLADE_CFLAGS=$pkg_cv_GLADE_CFLAGS + GLADE_LIBS=$pkg_cv_GLADE_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_GLADE=yes + fi +@@ -23028,7 +28383,7 @@ + HAVE_X11=NO + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11" >&5 ++{ $as_echo "$as_me:$LINENO: checking for X11" >&5 + $as_echo_n "checking for X11... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -23036,11 +28391,11 @@ + pkg_cv_X11_CFLAGS="$X11_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 + ($PKG_CONFIG --exists --print-errors "x11") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_X11_CFLAGS=`$PKG_CONFIG --cflags "x11" 2>/dev/null` + else + pkg_failed=yes +@@ -23054,11 +28409,11 @@ + pkg_cv_X11_LIBS="$X11_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"x11\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"x11\"") >&5 + ($PKG_CONFIG --exists --print-errors "x11") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_X11_LIBS=`$PKG_CONFIG --libs "x11" 2>/dev/null` + else + pkg_failed=yes +@@ -23085,7 +28440,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$X11_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_X11=no + elif test $pkg_failed = untried; then +@@ -23093,7 +28448,7 @@ + else + X11_CFLAGS=$pkg_cv_X11_CFLAGS + X11_LIBS=$pkg_cv_X11_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_X11=yes + fi +@@ -23110,7 +28465,9 @@ + + if test "x$HAVE_X11" = "xyes"; then + +-$as_echo "#define HAVE_X11 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_X11 1 ++_ACEOF + + fi + +@@ -23190,7 +28547,7 @@ + #define PLUGINDIR "$PLUGINDIR" + _ACEOF + +- { $as_echo "$as_me:${as_lineno-$LINENO}: Using $PLUGINDIR as the plugin install location" >&5 ++ { $as_echo "$as_me:$LINENO: Using $PLUGINDIR as the plugin install location" >&5 + $as_echo "$as_me: Using $PLUGINDIR as the plugin install location" >&6;} + + plugindir="\$(libdir)/gstreamer-$GST_MAJORMINOR" +@@ -23203,13 +28560,17 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wall" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Wall" >&5 + $as_echo_n "checking to see if compiler understands -Wall... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Wall" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23220,11 +28581,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23235,18 +28617,22 @@ + ERROR_CFLAGS="" + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wdeclaration-after-statement" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Wdeclaration-after-statement" >&5 + $as_echo_n "checking to see if compiler understands -Wdeclaration-after-statement... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Wdeclaration-after-statement" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23257,11 +28643,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23272,18 +28679,22 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wvla" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Wvla" >&5 + $as_echo_n "checking to see if compiler understands -Wvla... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Wvla" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23294,11 +28705,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23309,18 +28741,22 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Wpointer-arith" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Wpointer-arith" >&5 + $as_echo_n "checking to see if compiler understands -Wpointer-arith... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Wpointer-arith" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23331,11 +28767,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23346,20 +28803,24 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + + if test "x$GST_CVS" != "xno" + then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -Werror" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -Werror" >&5 + $as_echo_n "checking to see if compiler understands -Werror... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -Werror" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23370,11 +28831,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23385,20 +28867,24 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + + if test "x$ERROR_CFLAGS" == "x" + then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -errwarn=%all" >&5 + $as_echo_n "checking to see if compiler understands -errwarn=%all... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -errwarn=%all" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23409,11 +28895,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23427,13 +28934,17 @@ + 'no%E_LOOP_NOT_ENTERED_AT_TOP' + do + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -errwarn=%all,$f" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -errwarn=%all,$f" >&5 + $as_echo_n "checking to see if compiler understands -errwarn=%all,$f... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -errwarn=%all,$f" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23444,11 +28955,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23461,7 +28993,7 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + done +@@ -23471,25 +29003,29 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\"") >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if compiler understands -fno-strict-aliasing" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if compiler understands -fno-strict-aliasing" >&5 + $as_echo_n "checking to see if compiler understands -fno-strict-aliasing... " >&6; } + + save_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS -fno-strict-aliasing" + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23500,11 +29036,32 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CFLAGS="$save_CFLAGS" + +@@ -23515,7 +29072,7 @@ + + true + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + +@@ -23524,14 +29081,14 @@ + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5 ++ { $as_echo "$as_me:$LINENO: set ERROR_CFLAGS to $ERROR_CFLAGS" >&5 + $as_echo "$as_me: set ERROR_CFLAGS to $ERROR_CFLAGS" >&6;} + + + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands " >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands " >&5 + $as_echo_n "checking to see if c++ compiler understands ... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23544,7 +29101,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23555,11 +29116,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23578,7 +29160,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + +@@ -23589,7 +29171,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wall" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands -Wall" >&5 + $as_echo_n "checking to see if c++ compiler understands -Wall... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23602,7 +29184,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23613,11 +29199,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23640,7 +29247,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + +@@ -23649,7 +29256,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Werror" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands -Werror" >&5 + $as_echo_n "checking to see if c++ compiler understands -Werror... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23662,7 +29269,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23673,11 +29284,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23696,7 +29328,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + +@@ -23706,7 +29338,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands -Wno-non-virtual-dtor" >&5 + $as_echo_n "checking to see if c++ compiler understands -Wno-non-virtual-dtor... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23719,7 +29351,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23730,11 +29366,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23753,21 +29410,21 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"glib-2.0 < 2.19.8\"") >&5 + ($PKG_CONFIG --exists --print-errors "glib-2.0 < 2.19.8") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -fno-strict-aliasing" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands -fno-strict-aliasing" >&5 + $as_echo_n "checking to see if c++ compiler understands -fno-strict-aliasing... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23780,7 +29437,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23791,11 +29452,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23814,7 +29496,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + +@@ -23823,7 +29505,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands -errwarn=%all" >&5 + $as_echo_n "checking to see if c++ compiler understands -errwarn=%all... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23836,7 +29518,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23847,11 +29533,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23870,7 +29577,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + if test "x$errwarnall" = "xyes"; then +@@ -23884,7 +29591,7 @@ + + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking to see if c++ compiler understands -errwarn=%all,$f" >&5 ++ { $as_echo "$as_me:$LINENO: checking to see if c++ compiler understands -errwarn=%all,$f" >&5 + $as_echo_n "checking to see if c++ compiler understands -errwarn=%all,$f... " >&6; } + + save_CPPFLAGS="$CPPFLAGS" +@@ -23897,7 +29604,11 @@ + ac_compiler_gnu=$ac_cv_cxx_compiler_gnu + + +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -23908,11 +29619,32 @@ + return 0; + } + _ACEOF +-if ac_fn_cxx_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + flag_ok=yes + else +- flag_ok=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ flag_ok=no + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + CPPFLAGS="$save_CPPFLAGS" + +@@ -23933,7 +29665,7 @@ + ac_compiler_gnu=$ac_cv_c_compiler_gnu + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $flag_ok" >&5 ++ { $as_echo "$as_me:$LINENO: result: $flag_ok" >&5 + $as_echo "$flag_ok" >&6; } + + done +@@ -23942,7 +29674,7 @@ + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5 ++ { $as_echo "$as_me:$LINENO: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&5 + $as_echo "$as_me: set ERROR_CXXFLAGS to $ERROR_CXXFLAGS" >&6;} + + +@@ -23967,12 +29699,14 @@ + + + # Check whether --enable-aacparse was given. +-if test "${enable_aacparse+set}" = set; then : ++if test "${enable_aacparse+set}" = set; then + enableval=$enable_aacparse; + case "${enableval}" in + yes) gst_use_aacparse=yes ;; + no) gst_use_aacparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-aacparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-aacparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-aacparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -23980,7 +29714,7 @@ + fi + + if test x$gst_use_aacparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin aacparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin aacparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin aacparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS aacparse" + fi +@@ -24007,12 +29741,14 @@ + + + # Check whether --enable-adpcmdec was given. +-if test "${enable_adpcmdec+set}" = set; then : ++if test "${enable_adpcmdec+set}" = set; then + enableval=$enable_adpcmdec; + case "${enableval}" in + yes) gst_use_adpcmdec=yes ;; + no) gst_use_adpcmdec=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-adpcmdec" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-adpcmdec" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-adpcmdec" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24020,7 +29756,7 @@ + fi + + if test x$gst_use_adpcmdec = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin adpcmdec" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin adpcmdec" >&5 + $as_echo "$as_me: disabling dependency-less plugin adpcmdec" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS adpcmdec" + fi +@@ -24047,12 +29783,14 @@ + + + # Check whether --enable-aiffparse was given. +-if test "${enable_aiffparse+set}" = set; then : ++if test "${enable_aiffparse+set}" = set; then + enableval=$enable_aiffparse; + case "${enableval}" in + yes) gst_use_aiffparse=yes ;; + no) gst_use_aiffparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-aiffparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-aiffparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-aiffparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24060,7 +29798,7 @@ + fi + + if test x$gst_use_aiffparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin aiffparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin aiffparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin aiffparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS aiffparse" + fi +@@ -24087,12 +29825,14 @@ + + + # Check whether --enable-amrparse was given. +-if test "${enable_amrparse+set}" = set; then : ++if test "${enable_amrparse+set}" = set; then + enableval=$enable_amrparse; + case "${enableval}" in + yes) gst_use_amrparse=yes ;; + no) gst_use_amrparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-amrparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-amrparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-amrparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24100,7 +29840,7 @@ + fi + + if test x$gst_use_amrparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin amrparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin amrparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin amrparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS amrparse" + fi +@@ -24127,12 +29867,14 @@ + + + # Check whether --enable-asfmux was given. +-if test "${enable_asfmux+set}" = set; then : ++if test "${enable_asfmux+set}" = set; then + enableval=$enable_asfmux; + case "${enableval}" in + yes) gst_use_asfmux=yes ;; + no) gst_use_asfmux=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-asfmux" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-asfmux" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-asfmux" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24140,7 +29882,7 @@ + fi + + if test x$gst_use_asfmux = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin asfmux" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin asfmux" >&5 + $as_echo "$as_me: disabling dependency-less plugin asfmux" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS asfmux" + fi +@@ -24167,12 +29909,14 @@ + + + # Check whether --enable-autoconvert was given. +-if test "${enable_autoconvert+set}" = set; then : ++if test "${enable_autoconvert+set}" = set; then + enableval=$enable_autoconvert; + case "${enableval}" in + yes) gst_use_autoconvert=yes ;; + no) gst_use_autoconvert=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-autoconvert" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-autoconvert" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-autoconvert" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24180,7 +29924,7 @@ + fi + + if test x$gst_use_autoconvert = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin autoconvert" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin autoconvert" >&5 + $as_echo "$as_me: disabling dependency-less plugin autoconvert" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS autoconvert" + fi +@@ -24207,12 +29951,14 @@ + + + # Check whether --enable-camerabin was given. +-if test "${enable_camerabin+set}" = set; then : ++if test "${enable_camerabin+set}" = set; then + enableval=$enable_camerabin; + case "${enableval}" in + yes) gst_use_camerabin=yes ;; + no) gst_use_camerabin=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-camerabin" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-camerabin" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-camerabin" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24220,7 +29966,7 @@ + fi + + if test x$gst_use_camerabin = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin camerabin" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin camerabin" >&5 + $as_echo "$as_me: disabling dependency-less plugin camerabin" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS camerabin" + fi +@@ -24247,12 +29993,14 @@ + + + # Check whether --enable-legacyresample was given. +-if test "${enable_legacyresample+set}" = set; then : ++if test "${enable_legacyresample+set}" = set; then + enableval=$enable_legacyresample; + case "${enableval}" in + yes) gst_use_legacyresample=yes ;; + no) gst_use_legacyresample=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-legacyresample" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-legacyresample" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-legacyresample" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24260,7 +30008,7 @@ + fi + + if test x$gst_use_legacyresample = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin legacyresample" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin legacyresample" >&5 + $as_echo "$as_me: disabling dependency-less plugin legacyresample" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS legacyresample" + fi +@@ -24287,12 +30035,14 @@ + + + # Check whether --enable-bayer was given. +-if test "${enable_bayer+set}" = set; then : ++if test "${enable_bayer+set}" = set; then + enableval=$enable_bayer; + case "${enableval}" in + yes) gst_use_bayer=yes ;; + no) gst_use_bayer=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-bayer" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-bayer" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-bayer" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24300,7 +30050,7 @@ + fi + + if test x$gst_use_bayer = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin bayer" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin bayer" >&5 + $as_echo "$as_me: disabling dependency-less plugin bayer" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS bayer" + fi +@@ -24327,12 +30077,14 @@ + + + # Check whether --enable-cdxaparse was given. +-if test "${enable_cdxaparse+set}" = set; then : ++if test "${enable_cdxaparse+set}" = set; then + enableval=$enable_cdxaparse; + case "${enableval}" in + yes) gst_use_cdxaparse=yes ;; + no) gst_use_cdxaparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-cdxaparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cdxaparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-cdxaparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24340,7 +30092,7 @@ + fi + + if test x$gst_use_cdxaparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin cdxaparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin cdxaparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin cdxaparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS cdxaparse" + fi +@@ -24367,12 +30119,14 @@ + + + # Check whether --enable-dccp was given. +-if test "${enable_dccp+set}" = set; then : ++if test "${enable_dccp+set}" = set; then + enableval=$enable_dccp; + case "${enableval}" in + yes) gst_use_dccp=yes ;; + no) gst_use_dccp=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-dccp" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dccp" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dccp" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24380,7 +30134,7 @@ + fi + + if test x$gst_use_dccp = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dccp" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin dccp" >&5 + $as_echo "$as_me: disabling dependency-less plugin dccp" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS dccp" + fi +@@ -24407,12 +30161,14 @@ + + + # Check whether --enable-debugutils was given. +-if test "${enable_debugutils+set}" = set; then : ++if test "${enable_debugutils+set}" = set; then + enableval=$enable_debugutils; + case "${enableval}" in + yes) gst_use_debugutils=yes ;; + no) gst_use_debugutils=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-debugutils" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-debugutils" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-debugutils" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24420,7 +30176,7 @@ + fi + + if test x$gst_use_debugutils = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin debugutils" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin debugutils" >&5 + $as_echo "$as_me: disabling dependency-less plugin debugutils" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS debugutils" + fi +@@ -24447,12 +30203,14 @@ + + + # Check whether --enable-dtmf was given. +-if test "${enable_dtmf+set}" = set; then : ++if test "${enable_dtmf+set}" = set; then + enableval=$enable_dtmf; + case "${enableval}" in + yes) gst_use_dtmf=yes ;; + no) gst_use_dtmf=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-dtmf" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dtmf" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dtmf" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24460,7 +30218,7 @@ + fi + + if test x$gst_use_dtmf = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dtmf" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin dtmf" >&5 + $as_echo "$as_me: disabling dependency-less plugin dtmf" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS dtmf" + fi +@@ -24487,12 +30245,14 @@ + + + # Check whether --enable-dvdspu was given. +-if test "${enable_dvdspu+set}" = set; then : ++if test "${enable_dvdspu+set}" = set; then + enableval=$enable_dvdspu; + case "${enableval}" in + yes) gst_use_dvdspu=yes ;; + no) gst_use_dvdspu=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-dvdspu" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dvdspu" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dvdspu" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24500,7 +30260,7 @@ + fi + + if test x$gst_use_dvdspu = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin dvdspu" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin dvdspu" >&5 + $as_echo "$as_me: disabling dependency-less plugin dvdspu" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS dvdspu" + fi +@@ -24527,12 +30287,14 @@ + + + # Check whether --enable-festival was given. +-if test "${enable_festival+set}" = set; then : ++if test "${enable_festival+set}" = set; then + enableval=$enable_festival; + case "${enableval}" in + yes) gst_use_festival=yes ;; + no) gst_use_festival=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-festival" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-festival" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-festival" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24540,7 +30302,7 @@ + fi + + if test x$gst_use_festival = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin festival" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin festival" >&5 + $as_echo "$as_me: disabling dependency-less plugin festival" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS festival" + fi +@@ -24567,12 +30329,14 @@ + + + # Check whether --enable-freeze was given. +-if test "${enable_freeze+set}" = set; then : ++if test "${enable_freeze+set}" = set; then + enableval=$enable_freeze; + case "${enableval}" in + yes) gst_use_freeze=yes ;; + no) gst_use_freeze=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-freeze" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-freeze" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-freeze" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24580,7 +30344,7 @@ + fi + + if test x$gst_use_freeze = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin freeze" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin freeze" >&5 + $as_echo "$as_me: disabling dependency-less plugin freeze" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS freeze" + fi +@@ -24607,12 +30371,14 @@ + + + # Check whether --enable-frei0r was given. +-if test "${enable_frei0r+set}" = set; then : ++if test "${enable_frei0r+set}" = set; then + enableval=$enable_frei0r; + case "${enableval}" in + yes) gst_use_frei0r=yes ;; + no) gst_use_frei0r=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-frei0r" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-frei0r" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-frei0r" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24620,7 +30386,7 @@ + fi + + if test x$gst_use_frei0r = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin frei0r" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin frei0r" >&5 + $as_echo "$as_me: disabling dependency-less plugin frei0r" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS frei0r" + fi +@@ -24647,12 +30413,14 @@ + + + # Check whether --enable-h264parse was given. +-if test "${enable_h264parse+set}" = set; then : ++if test "${enable_h264parse+set}" = set; then + enableval=$enable_h264parse; + case "${enableval}" in + yes) gst_use_h264parse=yes ;; + no) gst_use_h264parse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-h264parse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-h264parse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-h264parse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24660,7 +30428,7 @@ + fi + + if test x$gst_use_h264parse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin h264parse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin h264parse" >&5 + $as_echo "$as_me: disabling dependency-less plugin h264parse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS h264parse" + fi +@@ -24687,12 +30455,14 @@ + + + # Check whether --enable-hdvparse was given. +-if test "${enable_hdvparse+set}" = set; then : ++if test "${enable_hdvparse+set}" = set; then + enableval=$enable_hdvparse; + case "${enableval}" in + yes) gst_use_hdvparse=yes ;; + no) gst_use_hdvparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-hdvparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-hdvparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-hdvparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24700,7 +30470,7 @@ + fi + + if test x$gst_use_hdvparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin hdvparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin hdvparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin hdvparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS hdvparse" + fi +@@ -24727,12 +30497,14 @@ + + + # Check whether --enable-id3tag was given. +-if test "${enable_id3tag+set}" = set; then : ++if test "${enable_id3tag+set}" = set; then + enableval=$enable_id3tag; + case "${enableval}" in + yes) gst_use_id3tag=yes ;; + no) gst_use_id3tag=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-id3tag" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-id3tag" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-id3tag" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24740,7 +30512,7 @@ + fi + + if test x$gst_use_id3tag = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin id3tag" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin id3tag" >&5 + $as_echo "$as_me: disabling dependency-less plugin id3tag" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS id3tag" + fi +@@ -24767,12 +30539,14 @@ + + + # Check whether --enable-librfb was given. +-if test "${enable_librfb+set}" = set; then : ++if test "${enable_librfb+set}" = set; then + enableval=$enable_librfb; + case "${enableval}" in + yes) gst_use_librfb=yes ;; + no) gst_use_librfb=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-librfb" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-librfb" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-librfb" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24780,7 +30554,7 @@ + fi + + if test x$gst_use_librfb = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin librfb" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin librfb" >&5 + $as_echo "$as_me: disabling dependency-less plugin librfb" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS librfb" + fi +@@ -24807,12 +30581,14 @@ + + + # Check whether --enable-liveadder was given. +-if test "${enable_liveadder+set}" = set; then : ++if test "${enable_liveadder+set}" = set; then + enableval=$enable_liveadder; + case "${enableval}" in + yes) gst_use_liveadder=yes ;; + no) gst_use_liveadder=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-liveadder" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-liveadder" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-liveadder" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24820,7 +30596,7 @@ + fi + + if test x$gst_use_liveadder = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin liveadder" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin liveadder" >&5 + $as_echo "$as_me: disabling dependency-less plugin liveadder" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS liveadder" + fi +@@ -24847,12 +30623,14 @@ + + + # Check whether --enable-mpegdemux was given. +-if test "${enable_mpegdemux+set}" = set; then : ++if test "${enable_mpegdemux+set}" = set; then + enableval=$enable_mpegdemux; + case "${enableval}" in + yes) gst_use_mpegdemux=yes ;; + no) gst_use_mpegdemux=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-mpegdemux" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpegdemux" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mpegdemux" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24860,7 +30638,7 @@ + fi + + if test x$gst_use_mpegdemux = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegdemux" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin mpegdemux" >&5 + $as_echo "$as_me: disabling dependency-less plugin mpegdemux" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegdemux" + fi +@@ -24887,12 +30665,14 @@ + + + # Check whether --enable-mpegtsmux was given. +-if test "${enable_mpegtsmux+set}" = set; then : ++if test "${enable_mpegtsmux+set}" = set; then + enableval=$enable_mpegtsmux; + case "${enableval}" in + yes) gst_use_mpegtsmux=yes ;; + no) gst_use_mpegtsmux=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-mpegtsmux" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpegtsmux" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mpegtsmux" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24900,7 +30680,7 @@ + fi + + if test x$gst_use_mpegtsmux = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegtsmux" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin mpegtsmux" >&5 + $as_echo "$as_me: disabling dependency-less plugin mpegtsmux" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegtsmux" + fi +@@ -24927,12 +30707,14 @@ + + + # Check whether --enable-mpeg4videoparse was given. +-if test "${enable_mpeg4videoparse+set}" = set; then : ++if test "${enable_mpeg4videoparse+set}" = set; then + enableval=$enable_mpeg4videoparse; + case "${enableval}" in + yes) gst_use_mpeg4videoparse=yes ;; + no) gst_use_mpeg4videoparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-mpeg4videoparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpeg4videoparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mpeg4videoparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24940,7 +30722,7 @@ + fi + + if test x$gst_use_mpeg4videoparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpeg4videoparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin mpeg4videoparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin mpeg4videoparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpeg4videoparse" + fi +@@ -24967,12 +30749,14 @@ + + + # Check whether --enable-mpegvideoparse was given. +-if test "${enable_mpegvideoparse+set}" = set; then : ++if test "${enable_mpegvideoparse+set}" = set; then + enableval=$enable_mpegvideoparse; + case "${enableval}" in + yes) gst_use_mpegvideoparse=yes ;; + no) gst_use_mpegvideoparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-mpegvideoparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpegvideoparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mpegvideoparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -24980,7 +30764,7 @@ + fi + + if test x$gst_use_mpegvideoparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mpegvideoparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin mpegvideoparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin mpegvideoparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS mpegvideoparse" + fi +@@ -25007,12 +30791,14 @@ + + + # Check whether --enable-mve was given. +-if test "${enable_mve+set}" = set; then : ++if test "${enable_mve+set}" = set; then + enableval=$enable_mve; + case "${enableval}" in + yes) gst_use_mve=yes ;; + no) gst_use_mve=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-mve" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mve" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mve" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25020,7 +30806,7 @@ + fi + + if test x$gst_use_mve = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mve" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin mve" >&5 + $as_echo "$as_me: disabling dependency-less plugin mve" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS mve" + fi +@@ -25047,12 +30833,14 @@ + + + # Check whether --enable-mxf was given. +-if test "${enable_mxf+set}" = set; then : ++if test "${enable_mxf+set}" = set; then + enableval=$enable_mxf; + case "${enableval}" in + yes) gst_use_mxf=yes ;; + no) gst_use_mxf=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-mxf" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mxf" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mxf" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25060,7 +30848,7 @@ + fi + + if test x$gst_use_mxf = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin mxf" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin mxf" >&5 + $as_echo "$as_me: disabling dependency-less plugin mxf" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS mxf" + fi +@@ -25087,12 +30875,14 @@ + + + # Check whether --enable-nsf was given. +-if test "${enable_nsf+set}" = set; then : ++if test "${enable_nsf+set}" = set; then + enableval=$enable_nsf; + case "${enableval}" in + yes) gst_use_nsf=yes ;; + no) gst_use_nsf=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-nsf" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-nsf" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-nsf" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25100,7 +30890,7 @@ + fi + + if test x$gst_use_nsf = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin nsf" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin nsf" >&5 + $as_echo "$as_me: disabling dependency-less plugin nsf" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS nsf" + fi +@@ -25127,12 +30917,14 @@ + + + # Check whether --enable-nuvdemux was given. +-if test "${enable_nuvdemux+set}" = set; then : ++if test "${enable_nuvdemux+set}" = set; then + enableval=$enable_nuvdemux; + case "${enableval}" in + yes) gst_use_nuvdemux=yes ;; + no) gst_use_nuvdemux=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-nuvdemux" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-nuvdemux" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-nuvdemux" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25140,7 +30932,7 @@ + fi + + if test x$gst_use_nuvdemux = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin nuvdemux" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin nuvdemux" >&5 + $as_echo "$as_me: disabling dependency-less plugin nuvdemux" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS nuvdemux" + fi +@@ -25167,12 +30959,14 @@ + + + # Check whether --enable-pcapparse was given. +-if test "${enable_pcapparse+set}" = set; then : ++if test "${enable_pcapparse+set}" = set; then + enableval=$enable_pcapparse; + case "${enableval}" in + yes) gst_use_pcapparse=yes ;; + no) gst_use_pcapparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-pcapparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-pcapparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-pcapparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25180,7 +30974,7 @@ + fi + + if test x$gst_use_pcapparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin pcapparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin pcapparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin pcapparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS pcapparse" + fi +@@ -25207,12 +31001,14 @@ + + + # Check whether --enable-qtmux was given. +-if test "${enable_qtmux+set}" = set; then : ++if test "${enable_qtmux+set}" = set; then + enableval=$enable_qtmux; + case "${enableval}" in + yes) gst_use_qtmux=yes ;; + no) gst_use_qtmux=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-qtmux" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-qtmux" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-qtmux" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25220,7 +31016,7 @@ + fi + + if test x$gst_use_qtmux = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin qtmux" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin qtmux" >&5 + $as_echo "$as_me: disabling dependency-less plugin qtmux" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS qtmux" + fi +@@ -25247,12 +31043,14 @@ + + + # Check whether --enable-rawparse was given. +-if test "${enable_rawparse+set}" = set; then : ++if test "${enable_rawparse+set}" = set; then + enableval=$enable_rawparse; + case "${enableval}" in + yes) gst_use_rawparse=yes ;; + no) gst_use_rawparse=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-rawparse" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rawparse" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-rawparse" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25260,7 +31058,7 @@ + fi + + if test x$gst_use_rawparse = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rawparse" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin rawparse" >&5 + $as_echo "$as_me: disabling dependency-less plugin rawparse" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS rawparse" + fi +@@ -25287,12 +31085,14 @@ + + + # Check whether --enable-real was given. +-if test "${enable_real+set}" = set; then : ++if test "${enable_real+set}" = set; then + enableval=$enable_real; + case "${enableval}" in + yes) gst_use_real=yes ;; + no) gst_use_real=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-real" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-real" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-real" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25300,7 +31100,7 @@ + fi + + if test x$gst_use_real = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin real" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin real" >&5 + $as_echo "$as_me: disabling dependency-less plugin real" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS real" + fi +@@ -25327,12 +31127,14 @@ + + + # Check whether --enable-rtpmux was given. +-if test "${enable_rtpmux+set}" = set; then : ++if test "${enable_rtpmux+set}" = set; then + enableval=$enable_rtpmux; + case "${enableval}" in + yes) gst_use_rtpmux=yes ;; + no) gst_use_rtpmux=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-rtpmux" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-rtpmux" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-rtpmux" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25340,7 +31142,7 @@ + fi + + if test x$gst_use_rtpmux = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin rtpmux" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin rtpmux" >&5 + $as_echo "$as_me: disabling dependency-less plugin rtpmux" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS rtpmux" + fi +@@ -25367,12 +31169,14 @@ + + + # Check whether --enable-scaletempo was given. +-if test "${enable_scaletempo+set}" = set; then : ++if test "${enable_scaletempo+set}" = set; then + enableval=$enable_scaletempo; + case "${enableval}" in + yes) gst_use_scaletempo=yes ;; + no) gst_use_scaletempo=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-scaletempo" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-scaletempo" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-scaletempo" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25380,7 +31184,7 @@ + fi + + if test x$gst_use_scaletempo = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin scaletempo" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin scaletempo" >&5 + $as_echo "$as_me: disabling dependency-less plugin scaletempo" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS scaletempo" + fi +@@ -25407,12 +31211,14 @@ + + + # Check whether --enable-sdp was given. +-if test "${enable_sdp+set}" = set; then : ++if test "${enable_sdp+set}" = set; then + enableval=$enable_sdp; + case "${enableval}" in + yes) gst_use_sdp=yes ;; + no) gst_use_sdp=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-sdp" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-sdp" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-sdp" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25420,7 +31226,7 @@ + fi + + if test x$gst_use_sdp = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin sdp" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin sdp" >&5 + $as_echo "$as_me: disabling dependency-less plugin sdp" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS sdp" + fi +@@ -25447,12 +31253,14 @@ + + + # Check whether --enable-selector was given. +-if test "${enable_selector+set}" = set; then : ++if test "${enable_selector+set}" = set; then + enableval=$enable_selector; + case "${enableval}" in + yes) gst_use_selector=yes ;; + no) gst_use_selector=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-selector" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-selector" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-selector" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25460,7 +31268,7 @@ + fi + + if test x$gst_use_selector = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin selector" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin selector" >&5 + $as_echo "$as_me: disabling dependency-less plugin selector" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS selector" + fi +@@ -25487,12 +31295,14 @@ + + + # Check whether --enable-shapewipe was given. +-if test "${enable_shapewipe+set}" = set; then : ++if test "${enable_shapewipe+set}" = set; then + enableval=$enable_shapewipe; + case "${enableval}" in + yes) gst_use_shapewipe=yes ;; + no) gst_use_shapewipe=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-shapewipe" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-shapewipe" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-shapewipe" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25500,7 +31310,7 @@ + fi + + if test x$gst_use_shapewipe = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin shapewipe" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin shapewipe" >&5 + $as_echo "$as_me: disabling dependency-less plugin shapewipe" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS shapewipe" + fi +@@ -25527,12 +31337,14 @@ + + + # Check whether --enable-siren was given. +-if test "${enable_siren+set}" = set; then : ++if test "${enable_siren+set}" = set; then + enableval=$enable_siren; + case "${enableval}" in + yes) gst_use_siren=yes ;; + no) gst_use_siren=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-siren" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-siren" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-siren" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25540,7 +31352,7 @@ + fi + + if test x$gst_use_siren = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin siren" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin siren" >&5 + $as_echo "$as_me: disabling dependency-less plugin siren" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS siren" + fi +@@ -25567,12 +31379,14 @@ + + + # Check whether --enable-speed was given. +-if test "${enable_speed+set}" = set; then : ++if test "${enable_speed+set}" = set; then + enableval=$enable_speed; + case "${enableval}" in + yes) gst_use_speed=yes ;; + no) gst_use_speed=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-speed" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-speed" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-speed" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25580,7 +31394,7 @@ + fi + + if test x$gst_use_speed = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin speed" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin speed" >&5 + $as_echo "$as_me: disabling dependency-less plugin speed" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS speed" + fi +@@ -25607,12 +31421,14 @@ + + + # Check whether --enable-subenc was given. +-if test "${enable_subenc+set}" = set; then : ++if test "${enable_subenc+set}" = set; then + enableval=$enable_subenc; + case "${enableval}" in + yes) gst_use_subenc=yes ;; + no) gst_use_subenc=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-subenc" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-subenc" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-subenc" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25620,7 +31436,7 @@ + fi + + if test x$gst_use_subenc = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin subenc" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin subenc" >&5 + $as_echo "$as_me: disabling dependency-less plugin subenc" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS subenc" + fi +@@ -25647,12 +31463,14 @@ + + + # Check whether --enable-stereo was given. +-if test "${enable_stereo+set}" = set; then : ++if test "${enable_stereo+set}" = set; then + enableval=$enable_stereo; + case "${enableval}" in + yes) gst_use_stereo=yes ;; + no) gst_use_stereo=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-stereo" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-stereo" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-stereo" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25660,7 +31478,7 @@ + fi + + if test x$gst_use_stereo = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin stereo" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin stereo" >&5 + $as_echo "$as_me: disabling dependency-less plugin stereo" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS stereo" + fi +@@ -25687,12 +31505,14 @@ + + + # Check whether --enable-tta was given. +-if test "${enable_tta+set}" = set; then : ++if test "${enable_tta+set}" = set; then + enableval=$enable_tta; + case "${enableval}" in + yes) gst_use_tta=yes ;; + no) gst_use_tta=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-tta" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-tta" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-tta" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25700,7 +31520,7 @@ + fi + + if test x$gst_use_tta = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin tta" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin tta" >&5 + $as_echo "$as_me: disabling dependency-less plugin tta" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS tta" + fi +@@ -25727,12 +31547,14 @@ + + + # Check whether --enable-valve was given. +-if test "${enable_valve+set}" = set; then : ++if test "${enable_valve+set}" = set; then + enableval=$enable_valve; + case "${enableval}" in + yes) gst_use_valve=yes ;; + no) gst_use_valve=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-valve" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-valve" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-valve" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25740,7 +31562,7 @@ + fi + + if test x$gst_use_valve = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin valve" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin valve" >&5 + $as_echo "$as_me: disabling dependency-less plugin valve" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS valve" + fi +@@ -25767,12 +31589,14 @@ + + + # Check whether --enable-videosignal was given. +-if test "${enable_videosignal+set}" = set; then : ++if test "${enable_videosignal+set}" = set; then + enableval=$enable_videosignal; + case "${enableval}" in + yes) gst_use_videosignal=yes ;; + no) gst_use_videosignal=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-videosignal" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-videosignal" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-videosignal" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25780,7 +31604,7 @@ + fi + + if test x$gst_use_videosignal = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin videosignal" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin videosignal" >&5 + $as_echo "$as_me: disabling dependency-less plugin videosignal" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS videosignal" + fi +@@ -25807,12 +31631,14 @@ + + + # Check whether --enable-vmnc was given. +-if test "${enable_vmnc+set}" = set; then : ++if test "${enable_vmnc+set}" = set; then + enableval=$enable_vmnc; + case "${enableval}" in + yes) gst_use_vmnc=yes ;; + no) gst_use_vmnc=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-vmnc" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-vmnc" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-vmnc" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25820,7 +31646,7 @@ + fi + + if test x$gst_use_vmnc = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin vmnc" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin vmnc" >&5 + $as_echo "$as_me: disabling dependency-less plugin vmnc" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS vmnc" + fi +@@ -25847,12 +31673,14 @@ + + + # Check whether --enable-xdgmime was given. +-if test "${enable_xdgmime+set}" = set; then : ++if test "${enable_xdgmime+set}" = set; then + enableval=$enable_xdgmime; + case "${enableval}" in + yes) gst_use_xdgmime=yes ;; + no) gst_use_xdgmime=no ;; +- *) as_fn_error "bad value ${enableval} for --enable-xdgmime" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-xdgmime" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-xdgmime" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + + else +@@ -25860,7 +31688,7 @@ + fi + + if test x$gst_use_xdgmime = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: disabling dependency-less plugin xdgmime" >&5 ++ { $as_echo "$as_me:$LINENO: disabling dependency-less plugin xdgmime" >&5 + $as_echo "$as_me: disabling dependency-less plugin xdgmime" >&6;} + WITHOUT_PLUGINS="$WITHOUT_PLUGINS xdgmime" + fi +@@ -25884,7 +31712,7 @@ + + + if test "x$HAVE_CPU_I386" != "xyes" && test "x$HAVE_CPU_X86_64" != "xyes"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&5 + $as_echo "$as_me: WARNING: Not building real plugin, only works on 32bit and 64bit x86 platforms" >&2;} + + GST_PLUGINS_SELECTED=`echo " $GST_PLUGINS_SELECTED " | $SED -e 's/ real / /'` +@@ -25905,7 +31733,7 @@ + # For xdgmime, to use g_content_type_guess() + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GIO" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GIO" >&5 + $as_echo_n "checking for GIO... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -25913,11 +31741,11 @@ + pkg_cv_GIO_CFLAGS="$GIO_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\"") >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GIO_CFLAGS=`$PKG_CONFIG --cflags "gio-2.0 >= 2.16" 2>/dev/null` + else + pkg_failed=yes +@@ -25931,11 +31759,11 @@ + pkg_cv_GIO_LIBS="$GIO_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gio-2.0 >= 2.16\"") >&5 + ($PKG_CONFIG --exists --print-errors "gio-2.0 >= 2.16") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GIO_LIBS=`$PKG_CONFIG --libs "gio-2.0 >= 2.16" 2>/dev/null` + else + pkg_failed=yes +@@ -25962,7 +31790,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$GIO_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_GIO=no + elif test $pkg_failed = untried; then +@@ -25970,7 +31798,7 @@ + else + GIO_CFLAGS=$pkg_cv_GIO_CFLAGS + GIO_LIBS=$pkg_cv_GIO_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_GIO=yes + fi +@@ -25985,24 +31813,302 @@ + + + ++ + for ac_header in sys/socket.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default" +-if test "x$ac_cv_header_sys_socket_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_SYS_SOCKET_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + HAVE_SYS_SOCKET_H=yes + fi + + done + ++ + for ac_header in winsock2.h +-do : +- ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default" +-if test "x$ac_cv_header_winsock2_h" = x""yes; then : ++do ++as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5 ++$as_echo_n "checking $ac_header usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include <$ac_header> ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5 ++$as_echo_n "checking $ac_header presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include <$ac_header> ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 ++$as_echo_n "checking for $ac_header... " >&6; } ++if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then ++ $as_echo_n "(cached) " >&6 ++else ++ eval "$as_ac_Header=\$ac_header_preproc" ++fi ++ac_res=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ { $as_echo "$as_me:$LINENO: result: $ac_res" >&5 ++$as_echo "$ac_res" >&6; } ++ ++fi ++as_val=`eval 'as_val=${'$as_ac_Header'} ++ $as_echo "$as_val"'` ++ if test "x$as_val" = x""yes; then + cat >>confdefs.h <<_ACEOF +-#define HAVE_WINSOCK2_H 1 ++#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1 + _ACEOF + HAVE_WINSOCK2_H=yes + fi +@@ -26066,11 +32172,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectSound ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: DirectSound ***" >&5 + $as_echo "$as_me: *** checking feature: DirectSound ***" >&6;} + if test "xdirectsoundsrc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directsoundsrc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: directsoundsrc ***" >&5 + $as_echo "$as_me: *** for plug-ins: directsoundsrc ***" >&6;} + fi + NOUSE= +@@ -26078,11 +32184,13 @@ + NOUSE="yes" + fi + # Check whether --enable-directsound was given. +-if test "${enable_directsound+set}" = set; then : ++if test "${enable_directsound+set}" = set; then + enableval=$enable_directsound; case "${enableval}" in + yes) USE_DIRECTSOUND=yes;; + no) USE_DIRECTSOUND=no;; +- *) as_fn_error "bad value ${enableval} for --enable-directsound" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-directsound" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-directsound" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DIRECTSOUND=yes +@@ -26090,7 +32198,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DIRECTSOUND="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directsoundsrc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** directsoundsrc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** directsoundsrc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -26113,10 +32221,9 @@ + CFLAGS="$CFLAGS $DIRECTX_CFLAGS" + LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS" + LIBS="$LIBS -ldsound -ldxerr9 -luser32" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectSound LDFLAGS" >&5 ++ { $as_echo "$as_me:$LINENO: checking for DirectSound LDFLAGS" >&5 + $as_echo_n "checking for DirectSound LDFLAGS... " >&6; } +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ ++ cat >conftest.$ac_ext <<_ACEOF + + #include + #include +@@ -26131,14 +32238,39 @@ + } + + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + HAVE_DIRECTSOUND="yes" + else +- HAVE_DIRECTSOUND="no" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ HAVE_DIRECTSOUND="no" + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTSOUND" >&5 ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++ { $as_echo "$as_me:$LINENO: result: $HAVE_DIRECTSOUND" >&5 + $as_echo "$HAVE_DIRECTSOUND" >&6; } + CFLAGS=$save_CFLAGS + LDFLAGS=$save_LDFLAGS +@@ -26162,7 +32294,7 @@ + if test x$HAVE_DIRECTSOUND = xno; then + USE_DIRECTSOUND=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directsoundsrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: directsoundsrc" >&5 + $as_echo "$as_me: *** These plugins will be built: directsoundsrc" >&6;} + fi + fi +@@ -26172,10 +32304,12 @@ + GST_PLUGINS_YES="\tdirectsoundsrc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DIRECTSOUND /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DIRECTSOUND /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directsoundsrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: directsoundsrc" >&5 + $as_echo "$as_me: *** These plugins will not be built: directsoundsrc" >&6;} + if test "xdirectsoundsrc" != "x"; then + GST_PLUGINS_NO="\tdirectsoundsrc\n$GST_PLUGINS_NO" +@@ -26193,11 +32327,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: DirectDraw plug-in ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: DirectDraw plug-in ***" >&5 + $as_echo "$as_me: *** checking feature: DirectDraw plug-in ***" >&6;} + if test "xdirectdrawsink" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: directdrawsink ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: directdrawsink ***" >&5 + $as_echo "$as_me: *** for plug-ins: directdrawsink ***" >&6;} + fi + NOUSE= +@@ -26205,11 +32339,13 @@ + NOUSE="yes" + fi + # Check whether --enable-directdraw was given. +-if test "${enable_directdraw+set}" = set; then : ++if test "${enable_directdraw+set}" = set; then + enableval=$enable_directdraw; case "${enableval}" in + yes) USE_DIRECTDRAW=yes;; + no) USE_DIRECTDRAW=no;; +- *) as_fn_error "bad value ${enableval} for --enable-directdraw" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-directdraw" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-directdraw" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DIRECTDRAW=yes +@@ -26217,7 +32353,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DIRECTDRAW="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** directdrawsink pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** directdrawsink pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** directdrawsink pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -26240,10 +32376,9 @@ + CFLAGS="$CFLAGS $DIRECTX_CFLAGS" + LDFLAGS="$LDFLAGS $DIRECTX_LDFLAGS" + LIBS="$LIBS -lddraw -lgdi32" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DirectDraw LDFLAGS" >&5 ++ { $as_echo "$as_me:$LINENO: checking for DirectDraw LDFLAGS" >&5 + $as_echo_n "checking for DirectDraw LDFLAGS... " >&6; } +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ ++ cat >conftest.$ac_ext <<_ACEOF + + #include + #include +@@ -26257,14 +32392,39 @@ + } + + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + HAVE_DIRECTDRAW="yes" + else +- HAVE_DIRECTDRAW="no" ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ HAVE_DIRECTDRAW="no" + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $HAVE_DIRECTDRAW" >&5 ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++ { $as_echo "$as_me:$LINENO: result: $HAVE_DIRECTDRAW" >&5 + $as_echo "$HAVE_DIRECTDRAW" >&6; } + CFLAGS=$save_CFLAGS + LDFLAGS=$save_LDFLAGS +@@ -26288,7 +32448,7 @@ + if test x$HAVE_DIRECTDRAW = xno; then + USE_DIRECTDRAW=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: directdrawsink" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: directdrawsink" >&5 + $as_echo "$as_me: *** These plugins will be built: directdrawsink" >&6;} + fi + fi +@@ -26298,10 +32458,12 @@ + GST_PLUGINS_YES="\tdirectdrawsink\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DIRECTDRAW /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DIRECTDRAW /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: directdrawsink" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: directdrawsink" >&5 + $as_echo "$as_me: *** These plugins will not be built: directdrawsink" >&6;} + if test "xdirectdrawsink" != "x"; then + GST_PLUGINS_NO="\tdirectdrawsink\n$GST_PLUGINS_NO" +@@ -26320,11 +32482,11 @@ + + HAVE_OSX_VIDEO="no" + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: OSX video ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: OSX video ***" >&5 + $as_echo "$as_me: *** checking feature: OSX video ***" >&6;} + if test "xosxvideosrc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: osxvideosrc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: osxvideosrc ***" >&5 + $as_echo "$as_me: *** for plug-ins: osxvideosrc ***" >&6;} + fi + NOUSE= +@@ -26332,11 +32494,13 @@ + NOUSE="yes" + fi + # Check whether --enable-osx_video was given. +-if test "${enable_osx_video+set}" = set; then : ++if test "${enable_osx_video+set}" = set; then + enableval=$enable_osx_video; case "${enableval}" in + yes) USE_OSX_VIDEO=yes;; + no) USE_OSX_VIDEO=no;; +- *) as_fn_error "bad value ${enableval} for --enable-osx_video" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-osx_video" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-osx_video" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_OSX_VIDEO=yes +@@ -26344,7 +32508,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_OSX_VIDEO="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** osxvideosrc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** osxvideosrc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** osxvideosrc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -26360,8 +32524,139 @@ + + HAVE_OSX_VIDEO=no + +- ac_fn_c_check_header_mongrel "$LINENO" "Quicktime/Quicktime.h" "ac_cv_header_Quicktime_Quicktime_h" "$ac_includes_default" +-if test "x$ac_cv_header_Quicktime_Quicktime_h" = x""yes; then : ++ if test "${ac_cv_header_Quicktime_Quicktime_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for Quicktime/Quicktime.h" >&5 ++$as_echo_n "checking for Quicktime/Quicktime.h... " >&6; } ++if test "${ac_cv_header_Quicktime_Quicktime_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Quicktime_Quicktime_h" >&5 ++$as_echo "$ac_cv_header_Quicktime_Quicktime_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking Quicktime/Quicktime.h usability" >&5 ++$as_echo_n "checking Quicktime/Quicktime.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking Quicktime/Quicktime.h presence" >&5 ++$as_echo_n "checking Quicktime/Quicktime.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: Quicktime/Quicktime.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: Quicktime/Quicktime.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for Quicktime/Quicktime.h" >&5 ++$as_echo_n "checking for Quicktime/Quicktime.h... " >&6; } ++if test "${ac_cv_header_Quicktime_Quicktime_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_Quicktime_Quicktime_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Quicktime_Quicktime_h" >&5 ++$as_echo "$ac_cv_header_Quicktime_Quicktime_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_Quicktime_Quicktime_h" = x""yes; then + HAVE_OSX_VIDEO="yes" + else + HAVE_OSX_VIDEO="no" +@@ -26379,7 +32674,7 @@ + if test x$HAVE_OSX_VIDEO = xno; then + USE_OSX_VIDEO=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: osxvideosrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: osxvideosrc" >&5 + $as_echo "$as_me: *** These plugins will be built: osxvideosrc" >&6;} + fi + fi +@@ -26389,10 +32684,12 @@ + GST_PLUGINS_YES="\tosxvideosrc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_OSX_VIDEO /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_OSX_VIDEO /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: osxvideosrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: osxvideosrc" >&5 + $as_echo "$as_me: *** These plugins will not be built: osxvideosrc" >&6;} + if test "xosxvideosrc" != "x"; then + GST_PLUGINS_NO="\tosxvideosrc\n$GST_PLUGINS_NO" +@@ -26417,11 +32714,11 @@ + esac + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: QuickTime wrapper ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: QuickTime wrapper ***" >&5 + $as_echo "$as_me: *** checking feature: QuickTime wrapper ***" >&6;} + if test "xqtwrapper" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: qtwrapper ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: qtwrapper ***" >&5 + $as_echo "$as_me: *** for plug-ins: qtwrapper ***" >&6;} + fi + NOUSE= +@@ -26429,11 +32726,13 @@ + NOUSE="yes" + fi + # Check whether --enable-quicktime was given. +-if test "${enable_quicktime+set}" = set; then : ++if test "${enable_quicktime+set}" = set; then + enableval=$enable_quicktime; case "${enableval}" in + yes) USE_QUICKTIME=yes;; + no) USE_QUICKTIME=no;; +- *) as_fn_error "bad value ${enableval} for --enable-quicktime" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-quicktime" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-quicktime" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_QUICKTIME=yes +@@ -26441,7 +32740,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_QUICKTIME="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** qtwrapper pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** qtwrapper pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** qtwrapper pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -26457,8 +32756,139 @@ + + HAVE_QUICKTIME=no + +- ac_fn_c_check_header_mongrel "$LINENO" "QuickTime/Movies.h" "ac_cv_header_QuickTime_Movies_h" "$ac_includes_default" +-if test "x$ac_cv_header_QuickTime_Movies_h" = x""yes; then : ++ if test "${ac_cv_header_QuickTime_Movies_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for QuickTime/Movies.h" >&5 ++$as_echo_n "checking for QuickTime/Movies.h... " >&6; } ++if test "${ac_cv_header_QuickTime_Movies_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_QuickTime_Movies_h" >&5 ++$as_echo "$ac_cv_header_QuickTime_Movies_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking QuickTime/Movies.h usability" >&5 ++$as_echo_n "checking QuickTime/Movies.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking QuickTime/Movies.h presence" >&5 ++$as_echo_n "checking QuickTime/Movies.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: QuickTime/Movies.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: QuickTime/Movies.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for QuickTime/Movies.h" >&5 ++$as_echo_n "checking for QuickTime/Movies.h... " >&6; } ++if test "${ac_cv_header_QuickTime_Movies_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_QuickTime_Movies_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_QuickTime_Movies_h" >&5 ++$as_echo "$ac_cv_header_QuickTime_Movies_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_QuickTime_Movies_h" = x""yes; then + HAVE_QUICKTIME="yes" + else + HAVE_QUICKTIME="no" +@@ -26476,7 +32906,7 @@ + if test x$HAVE_QUICKTIME = xno; then + USE_QUICKTIME=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: qtwrapper" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: qtwrapper" >&5 + $as_echo "$as_me: *** These plugins will be built: qtwrapper" >&6;} + fi + fi +@@ -26486,10 +32916,12 @@ + GST_PLUGINS_YES="\tqtwrapper\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_QUICKTIME /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_QUICKTIME /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: qtwrapper" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: qtwrapper" >&5 + $as_echo "$as_me: *** These plugins will not be built: qtwrapper" >&6;} + if test "xqtwrapper" != "x"; then + GST_PLUGINS_NO="\tqtwrapper\n$GST_PLUGINS_NO" +@@ -26507,11 +32939,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Video CD ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: Video CD ***" >&5 + $as_echo "$as_me: *** checking feature: Video CD ***" >&6;} + if test "xvcdsrc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: vcdsrc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: vcdsrc ***" >&5 + $as_echo "$as_me: *** for plug-ins: vcdsrc ***" >&6;} + fi + NOUSE= +@@ -26519,11 +32951,13 @@ + NOUSE="yes" + fi + # Check whether --enable-vcd was given. +-if test "${enable_vcd+set}" = set; then : ++if test "${enable_vcd+set}" = set; then + enableval=$enable_vcd; case "${enableval}" in + yes) USE_VCD=yes;; + no) USE_VCD=no;; +- *) as_fn_error "bad value ${enableval} for --enable-vcd" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-vcd" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-vcd" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_VCD=yes +@@ -26531,7 +32965,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_VCD="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** vcdsrc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** vcdsrc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** vcdsrc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -26547,8 +32981,139 @@ + + HAVE_VCD=no + +- ac_fn_c_check_header_mongrel "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default" +-if test "x$ac_cv_header_linux_cdrom_h" = x""yes; then : ++ if test "${ac_cv_header_linux_cdrom_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5 ++$as_echo_n "checking for linux/cdrom.h... " >&6; } ++if test "${ac_cv_header_linux_cdrom_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5 ++$as_echo "$ac_cv_header_linux_cdrom_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking linux/cdrom.h usability" >&5 ++$as_echo_n "checking linux/cdrom.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking linux/cdrom.h presence" >&5 ++$as_echo_n "checking linux/cdrom.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: linux/cdrom.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for linux/cdrom.h" >&5 ++$as_echo_n "checking for linux/cdrom.h... " >&6; } ++if test "${ac_cv_header_linux_cdrom_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_linux_cdrom_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_cdrom_h" >&5 ++$as_echo "$ac_cv_header_linux_cdrom_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_linux_cdrom_h" = x""yes; then + HAVE_VCD="yes" + else + HAVE_VCD="no" +@@ -26566,7 +33131,7 @@ + if test x$HAVE_VCD = xno; then + USE_VCD=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: vcdsrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: vcdsrc" >&5 + $as_echo "$as_me: *** These plugins will be built: vcdsrc" >&6;} + fi + fi +@@ -26576,10 +33141,12 @@ + GST_PLUGINS_YES="\tvcdsrc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_VCD /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_VCD /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: vcdsrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: vcdsrc" >&5 + $as_echo "$as_me: *** These plugins will not be built: vcdsrc" >&6;} + if test "xvcdsrc" != "x"; then + GST_PLUGINS_NO="\tvcdsrc\n$GST_PLUGINS_NO" +@@ -26600,11 +33167,11 @@ + if test "x$BUILD_EXTERNAL" = "xyes"; then + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: alsa plug-ins ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: alsa plug-ins ***" >&5 + $as_echo "$as_me: *** checking feature: alsa plug-ins ***" >&6;} + if test "xgstalsa" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gstalsa ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: gstalsa ***" >&5 + $as_echo "$as_me: *** for plug-ins: gstalsa ***" >&6;} + fi + NOUSE= +@@ -26612,11 +33179,13 @@ + NOUSE="yes" + fi + # Check whether --enable-alsa was given. +-if test "${enable_alsa+set}" = set; then : ++if test "${enable_alsa+set}" = set; then + enableval=$enable_alsa; case "${enableval}" in + yes) USE_ALSA=yes;; + no) USE_ALSA=no;; +- *) as_fn_error "bad value ${enableval} for --enable-alsa" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-alsa" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-alsa" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_ALSA=yes +@@ -26624,7 +33193,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_ALSA="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gstalsa pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** gstalsa pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** gstalsa pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -26642,7 +33211,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ALSA" >&5 + $as_echo_n "checking for ALSA... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -26650,11 +33219,11 @@ + pkg_cv_ALSA_CFLAGS="$ALSA_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\"") >&5 + ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_ALSA_CFLAGS=`$PKG_CONFIG --cflags "alsa >= 0.9.1" 2>/dev/null` + else + pkg_failed=yes +@@ -26668,11 +33237,11 @@ + pkg_cv_ALSA_LIBS="$ALSA_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"alsa >= 0.9.1\"") >&5 + ($PKG_CONFIG --exists --print-errors "alsa >= 0.9.1") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_ALSA_LIBS=`$PKG_CONFIG --libs "alsa >= 0.9.1" 2>/dev/null` + else + pkg_failed=yes +@@ -26699,7 +33268,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$ALSA_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + alsa_save_CFLAGS="$CFLAGS" +@@ -26709,7 +33278,7 @@ + + + # Check whether --with-alsa-prefix was given. +-if test "${with_alsa_prefix+set}" = set; then : ++if test "${with_alsa_prefix+set}" = set; then + withval=$with_alsa_prefix; alsa_prefix="$withval" + else + alsa_prefix="" +@@ -26718,7 +33287,7 @@ + + + # Check whether --with-alsa-inc-prefix was given. +-if test "${with_alsa_inc_prefix+set}" = set; then : ++if test "${with_alsa_inc_prefix+set}" = set; then + withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval" + else + alsa_inc_prefix="" +@@ -26726,16 +33295,16 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5 + $as_echo_n "checking for ALSA CFLAGS... " >&6; } + if test "$alsa_inc_prefix" != "" ; then + ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" + CFLAGS="$CFLAGS -I$alsa_inc_prefix" + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 + $as_echo "$ALSA_CFLAGS" >&6; } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5 + $as_echo_n "checking for ALSA LDFLAGS... " >&6; } + if test "$alsa_prefix" != "" ; then + ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" +@@ -26748,11 +33317,11 @@ + LIBS=`echo $LIBS | sed 's/-lpthread//'` + LIBS=`echo $LIBS | sed 's/ //'` + LIBS="$ALSA_LIBS $LIBS" +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 + $as_echo "$ALSA_LIBS" >&6; } + + min_alsa_version=0.9.1 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5 ++{ $as_echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5 + $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; } + no_alsa="" + alsa_min_major_version=`echo $min_alsa_version | \ +@@ -26769,7 +33338,11 @@ + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu + +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -26817,16 +33390,37 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5 ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ { $as_echo "$as_me:$LINENO: result: found." >&5 + $as_echo "found." >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ { $as_echo "$as_me:$LINENO: result: not present." >&5 + $as_echo "not present." >&6; } + + alsa_found=no + + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -26836,14 +33430,19 @@ + + + if test "x$enable_alsatest" = "xyes"; then +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5 ++ ++{ $as_echo "$as_me:$LINENO: checking for snd_ctl_open in -lasound" >&5 + $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; } +-if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then : ++if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lasound $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -26861,18 +33460,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_asound_snd_ctl_open=yes + else +- ac_cv_lib_asound_snd_ctl_open=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_asound_snd_ctl_open=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_ctl_open" >&5 + $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; } +-if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then : ++if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBASOUND 1 + _ACEOF +@@ -26915,7 +33539,7 @@ + + + # Check whether --with-alsa-prefix was given. +-if test "${with_alsa_prefix+set}" = set; then : ++if test "${with_alsa_prefix+set}" = set; then + withval=$with_alsa_prefix; alsa_prefix="$withval" + else + alsa_prefix="" +@@ -26924,7 +33548,7 @@ + + + # Check whether --with-alsa-inc-prefix was given. +-if test "${with_alsa_inc_prefix+set}" = set; then : ++if test "${with_alsa_inc_prefix+set}" = set; then + withval=$with_alsa_inc_prefix; alsa_inc_prefix="$withval" + else + alsa_inc_prefix="" +@@ -26932,16 +33556,16 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA CFLAGS" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ALSA CFLAGS" >&5 + $as_echo_n "checking for ALSA CFLAGS... " >&6; } + if test "$alsa_inc_prefix" != "" ; then + ALSA_CFLAGS="$ALSA_CFLAGS -I$alsa_inc_prefix" + CFLAGS="$CFLAGS -I$alsa_inc_prefix" + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_CFLAGS" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ALSA_CFLAGS" >&5 + $as_echo "$ALSA_CFLAGS" >&6; } + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ALSA LDFLAGS" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ALSA LDFLAGS" >&5 + $as_echo_n "checking for ALSA LDFLAGS... " >&6; } + if test "$alsa_prefix" != "" ; then + ALSA_LIBS="$ALSA_LIBS -L$alsa_prefix" +@@ -26954,11 +33578,11 @@ + LIBS=`echo $LIBS | sed 's/-lpthread//'` + LIBS=`echo $LIBS | sed 's/ //'` + LIBS="$ALSA_LIBS $LIBS" +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ALSA_LIBS" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ALSA_LIBS" >&5 + $as_echo "$ALSA_LIBS" >&6; } + + min_alsa_version=0.9.1 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libasound headers version >= $min_alsa_version" >&5 ++{ $as_echo "$as_me:$LINENO: checking for libasound headers version >= $min_alsa_version" >&5 + $as_echo_n "checking for libasound headers version >= $min_alsa_version... " >&6; } + no_alsa="" + alsa_min_major_version=`echo $min_alsa_version | \ +@@ -26975,7 +33599,11 @@ + ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' + ac_compiler_gnu=$ac_cv_c_compiler_gnu + +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -27023,16 +33651,37 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: found." >&5 ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ { $as_echo "$as_me:$LINENO: result: found." >&5 + $as_echo "found." >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: not present." >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ { $as_echo "$as_me:$LINENO: result: not present." >&5 + $as_echo "not present." >&6; } + + alsa_found=no + + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + ac_ext=c + ac_cpp='$CPP $CPPFLAGS' +@@ -27042,14 +33691,19 @@ + + + if test "x$enable_alsatest" = "xyes"; then +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_ctl_open in -lasound" >&5 ++ ++{ $as_echo "$as_me:$LINENO: checking for snd_ctl_open in -lasound" >&5 + $as_echo_n "checking for snd_ctl_open in -lasound... " >&6; } +-if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then : ++if test "${ac_cv_lib_asound_snd_ctl_open+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lasound $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -27067,18 +33721,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_asound_snd_ctl_open=yes + else +- ac_cv_lib_asound_snd_ctl_open=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_asound_snd_ctl_open=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_ctl_open" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_asound_snd_ctl_open" >&5 + $as_echo "$ac_cv_lib_asound_snd_ctl_open" >&6; } +-if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then : ++if test "x$ac_cv_lib_asound_snd_ctl_open" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBASOUND 1 + _ACEOF +@@ -27115,7 +33794,7 @@ + else + ALSA_CFLAGS=$pkg_cv_ALSA_CFLAGS + ALSA_LIBS=$pkg_cv_ALSA_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_ALSA="yes" +@@ -27134,7 +33813,7 @@ + if test x$HAVE_ALSA = xno; then + USE_ALSA=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gstalsa" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: gstalsa" >&5 + $as_echo "$as_me: *** These plugins will be built: gstalsa" >&6;} + fi + fi +@@ -27144,10 +33823,12 @@ + GST_PLUGINS_YES="\tgstalsa\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_ALSA /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_ALSA /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gstalsa" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: gstalsa" >&5 + $as_echo "$as_me: *** These plugins will not be built: gstalsa" >&6;} + if test "xgstalsa" != "x"; then + GST_PLUGINS_NO="\tgstalsa\n$GST_PLUGINS_NO" +@@ -27165,11 +33846,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ASS/SSA renderer ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: ASS/SSA renderer ***" >&5 + $as_echo "$as_me: *** checking feature: ASS/SSA renderer ***" >&6;} + if test "xassrender" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: assrender ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: assrender ***" >&5 + $as_echo "$as_me: *** for plug-ins: assrender ***" >&6;} + fi + NOUSE= +@@ -27177,11 +33858,13 @@ + NOUSE="yes" + fi + # Check whether --enable-assrender was given. +-if test "${enable_assrender+set}" = set; then : ++if test "${enable_assrender+set}" = set; then + enableval=$enable_assrender; case "${enableval}" in + yes) USE_ASSRENDER=yes;; + no) USE_ASSRENDER=no;; +- *) as_fn_error "bad value ${enableval} for --enable-assrender" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-assrender" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-assrender" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_ASSRENDER=yes +@@ -27189,7 +33872,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_ASSRENDER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** assrender pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** assrender pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** assrender pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -27207,7 +33890,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ASSRENDER" >&5 ++{ $as_echo "$as_me:$LINENO: checking for ASSRENDER" >&5 + $as_echo_n "checking for ASSRENDER... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -27215,11 +33898,11 @@ + pkg_cv_ASSRENDER_CFLAGS="$ASSRENDER_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4 libass < 0.9.7\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4 libass < 0.9.7\"") >&5 + ($PKG_CONFIG --exists --print-errors "libass >= 0.9.4 libass < 0.9.7") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_ASSRENDER_CFLAGS=`$PKG_CONFIG --cflags "libass >= 0.9.4 libass < 0.9.7" 2>/dev/null` + else + pkg_failed=yes +@@ -27233,11 +33916,11 @@ + pkg_cv_ASSRENDER_LIBS="$ASSRENDER_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4 libass < 0.9.7\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libass >= 0.9.4 libass < 0.9.7\"") >&5 + ($PKG_CONFIG --exists --print-errors "libass >= 0.9.4 libass < 0.9.7") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_ASSRENDER_LIBS=`$PKG_CONFIG --libs "libass >= 0.9.4 libass < 0.9.7" 2>/dev/null` + else + pkg_failed=yes +@@ -27264,23 +33947,23 @@ + # Put the nasty error message in config.log where it belongs + echo "$ASSRENDER_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_ASSRENDER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_ASSRENDER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + ASSRENDER_CFLAGS=$pkg_cv_ASSRENDER_CFLAGS + ASSRENDER_LIBS=$pkg_cv_ASSRENDER_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_ASSRENDER="yes" +@@ -27296,7 +33979,7 @@ + if test x$HAVE_ASSRENDER = xno; then + USE_ASSRENDER=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: assrender" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: assrender" >&5 + $as_echo "$as_me: *** These plugins will be built: assrender" >&6;} + fi + fi +@@ -27306,10 +33989,12 @@ + GST_PLUGINS_YES="\tassrender\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_ASSRENDER /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_ASSRENDER /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: assrender" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: assrender" >&5 + $as_echo "$as_me: *** These plugins will not be built: assrender" >&6;} + if test "xassrender" != "x"; then + GST_PLUGINS_NO="\tassrender\n$GST_PLUGINS_NO" +@@ -27329,11 +34014,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: amrwb library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: amrwb library ***" >&5 + $as_echo "$as_me: *** checking feature: amrwb library ***" >&6;} + if test "xamrwbenc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: amrwbenc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: amrwbenc ***" >&5 + $as_echo "$as_me: *** for plug-ins: amrwbenc ***" >&6;} + fi + NOUSE= +@@ -27341,11 +34026,13 @@ + NOUSE="yes" + fi + # Check whether --enable-amrwb was given. +-if test "${enable_amrwb+set}" = set; then : ++if test "${enable_amrwb+set}" = set; then + enableval=$enable_amrwb; case "${enableval}" in + yes) USE_AMRWB=yes;; + no) USE_AMRWB=no;; +- *) as_fn_error "bad value ${enableval} for --enable-amrwb" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-amrwb" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-amrwb" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_AMRWB=yes +@@ -27353,7 +34040,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_AMRWB="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** amrwbenc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** amrwbenc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** amrwbenc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -27370,14 +34057,18 @@ + HAVE_AMRWB=no + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GP3E_IF_encode in -lamrwb" >&5 ++ { $as_echo "$as_me:$LINENO: checking for GP3E_IF_encode in -lamrwb" >&5 + $as_echo_n "checking for GP3E_IF_encode in -lamrwb... " >&6; } +-if test "${ac_cv_lib_amrwb_GP3E_IF_encode+set}" = set; then : ++if test "${ac_cv_lib_amrwb_GP3E_IF_encode+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lamrwb $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -27395,26 +34086,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_amrwb_GP3E_IF_encode=yes + else +- ac_cv_lib_amrwb_GP3E_IF_encode=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_amrwb_GP3E_IF_encode=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_amrwb_GP3E_IF_encode" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_amrwb_GP3E_IF_encode" >&5 + $as_echo "$ac_cv_lib_amrwb_GP3E_IF_encode" >&6; } +-if test "x$ac_cv_lib_amrwb_GP3E_IF_encode" = x""yes; then : ++if test "x$ac_cv_lib_amrwb_GP3E_IF_encode" = x""yes; then + HAVE_AMRWB=yes + else + HAVE_AMRWB=no + fi + + if test "x$HAVE_AMRWB" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "amrwb/enc.h" "ac_cv_header_amrwb_enc_h" "$ac_includes_default" +-if test "x$ac_cv_header_amrwb_enc_h" = x""yes; then : ++ if test "${ac_cv_header_amrwb_enc_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for amrwb/enc.h" >&5 ++$as_echo_n "checking for amrwb/enc.h... " >&6; } ++if test "${ac_cv_header_amrwb_enc_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_amrwb_enc_h" >&5 ++$as_echo "$ac_cv_header_amrwb_enc_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking amrwb/enc.h usability" >&5 ++$as_echo_n "checking amrwb/enc.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking amrwb/enc.h presence" >&5 ++$as_echo_n "checking amrwb/enc.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: amrwb/enc.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: amrwb/enc.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for amrwb/enc.h" >&5 ++$as_echo_n "checking for amrwb/enc.h... " >&6; } ++if test "${ac_cv_header_amrwb_enc_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_amrwb_enc_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_amrwb_enc_h" >&5 ++$as_echo "$ac_cv_header_amrwb_enc_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_amrwb_enc_h" = x""yes; then + : + else + HAVE_AMRWB=no +@@ -27444,7 +34291,7 @@ + if test x$HAVE_AMRWB = xno; then + USE_AMRWB=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: amrwbenc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: amrwbenc" >&5 + $as_echo "$as_me: *** These plugins will be built: amrwbenc" >&6;} + fi + fi +@@ -27454,10 +34301,12 @@ + GST_PLUGINS_YES="\tamrwbenc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_AMRWB /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_AMRWB /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: amrwbenc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: amrwbenc" >&5 + $as_echo "$as_me: *** These plugins will not be built: amrwbenc" >&6;} + if test "xamrwbenc" != "x"; then + GST_PLUGINS_NO="\tamrwbenc\n$GST_PLUGINS_NO" +@@ -27475,11 +34324,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AirPort Express Wireless sink ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: AirPort Express Wireless sink ***" >&5 + $as_echo "$as_me: *** checking feature: AirPort Express Wireless sink ***" >&6;} + if test "xapexsink" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: apexsink ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: apexsink ***" >&5 + $as_echo "$as_me: *** for plug-ins: apexsink ***" >&6;} + fi + NOUSE= +@@ -27487,11 +34336,13 @@ + NOUSE="yes" + fi + # Check whether --enable-apexsink was given. +-if test "${enable_apexsink+set}" = set; then : ++if test "${enable_apexsink+set}" = set; then + enableval=$enable_apexsink; case "${enableval}" in + yes) USE_APEXSINK=yes;; + no) USE_APEXSINK=no;; +- *) as_fn_error "bad value ${enableval} for --enable-apexsink" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-apexsink" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-apexsink" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_APEXSINK=yes +@@ -27499,7 +34350,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_APEXSINK="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** apexsink pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** apexsink pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** apexsink pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -27521,7 +34372,7 @@ + # copied from openssh's configure.ac + + # Check whether --with-ssl-dir was given. +-if test "${with_ssl_dir+set}" = set; then : ++if test "${with_ssl_dir+set}" = set; then + withval=$with_ssl_dir; + if test "x$withval" != "xno" ; then + tryssldir=$withval +@@ -27531,13 +34382,17 @@ + fi + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5 ++ { $as_echo "$as_me:$LINENO: checking for library containing socket" >&5 + $as_echo_n "checking for library containing socket... " >&6; } +-if test "${ac_cv_search_socket+set}" = set; then : ++if test "${ac_cv_search_socket+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -27562,38 +34417,69 @@ + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi +- if ac_fn_c_try_link "$LINENO"; then : ++ rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_search_socket=$ac_res ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext +- if test "${ac_cv_search_socket+set}" = set; then : ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_socket+set}" = set; then + break + fi + done +-if test "${ac_cv_search_socket+set}" = set; then : +- ++if test "${ac_cv_search_socket+set}" = set; then ++ : + else + ac_cv_search_socket=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5 + $as_echo "$ac_cv_search_socket" >&6; } + ac_res=$ac_cv_search_socket +-if test "$ac_res" != no; then : ++if test "$ac_res" != no; then + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5 ++ { $as_echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5 + $as_echo_n "checking for library containing gethostbyname... " >&6; } +-if test "${ac_cv_search_gethostbyname+set}" = set; then : ++if test "${ac_cv_search_gethostbyname+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_func_search_save_LIBS=$LIBS +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -27618,27 +34504,54 @@ + ac_res=-l$ac_lib + LIBS="-l$ac_lib $ac_func_search_save_LIBS" + fi +- if ac_fn_c_try_link "$LINENO"; then : ++ rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_search_gethostbyname=$ac_res ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext +- if test "${ac_cv_search_gethostbyname+set}" = set; then : ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext ++ if test "${ac_cv_search_gethostbyname+set}" = set; then + break + fi + done +-if test "${ac_cv_search_gethostbyname+set}" = set; then : +- ++if test "${ac_cv_search_gethostbyname+set}" = set; then ++ : + else + ac_cv_search_gethostbyname=no + fi + rm conftest.$ac_ext + LIBS=$ac_func_search_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5 + $as_echo "$ac_cv_search_gethostbyname" >&6; } + ac_res=$ac_cv_search_gethostbyname +-if test "$ac_res" != no; then : ++if test "$ac_res" != no; then + test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" + + fi +@@ -27650,9 +34563,9 @@ + if test "x$prefix" != "xNONE" ; then + tryssldir="$tryssldir $prefix" + fi +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenSSL directory" >&5 ++ { $as_echo "$as_me:$LINENO: checking for OpenSSL directory" >&5 + $as_echo_n "checking for OpenSSL directory... " >&6; } +-if test "${ac_cv_openssldir+set}" = set; then : ++if test "${ac_cv_openssldir+set}" = set; then + $as_echo_n "(cached) " >&6 + else + +@@ -27690,7 +34603,11 @@ + + # Basic test to check for compatible version and correct linking + # *does not* test for RSA - that comes later. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -27712,12 +34629,36 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + + found_crypto=1 + break; + ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++ + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + + if test ! -z "$found_crypto" ; then +@@ -27735,7 +34676,7 @@ + ac_cv_openssldir=$ssldir + + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_openssldir" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_openssldir" >&5 + $as_echo "$ac_cv_openssldir" >&6; } + if (test ! -z "$ac_cv_openssldir" && test "x$ac_cv_openssldir" != "x(system)") ; + then +@@ -27780,7 +34721,7 @@ + if test x$HAVE_APEXSINK = xno; then + USE_APEXSINK=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: apexsink" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: apexsink" >&5 + $as_echo "$as_me: *** These plugins will be built: apexsink" >&6;} + fi + fi +@@ -27790,10 +34731,12 @@ + GST_PLUGINS_YES="\tapexsink\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_APEXSINK /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_APEXSINK /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: apexsink" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: apexsink" >&5 + $as_echo "$as_me: *** These plugins will not be built: apexsink" >&6;} + if test "xapexsink" != "x"; then + GST_PLUGINS_NO="\tapexsink\n$GST_PLUGINS_NO" +@@ -27811,11 +34754,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: bz2 library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: bz2 library ***" >&5 + $as_echo "$as_me: *** checking feature: bz2 library ***" >&6;} + if test "xbz2" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: bz2 ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: bz2 ***" >&5 + $as_echo "$as_me: *** for plug-ins: bz2 ***" >&6;} + fi + NOUSE= +@@ -27823,11 +34766,13 @@ + NOUSE="yes" + fi + # Check whether --enable-bz2 was given. +-if test "${enable_bz2+set}" = set; then : ++if test "${enable_bz2+set}" = set; then + enableval=$enable_bz2; case "${enableval}" in + yes) USE_BZ2=yes;; + no) USE_BZ2=no;; +- *) as_fn_error "bad value ${enableval} for --enable-bz2" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-bz2" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-bz2" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_BZ2=yes +@@ -27835,7 +34780,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_BZ2="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** bz2 pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** bz2 pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** bz2 pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -27852,14 +34797,18 @@ + HAVE_BZ2=no + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BZ2_bzCompress in -lbz2" >&5 ++ { $as_echo "$as_me:$LINENO: checking for BZ2_bzCompress in -lbz2" >&5 + $as_echo_n "checking for BZ2_bzCompress in -lbz2... " >&6; } +-if test "${ac_cv_lib_bz2_BZ2_bzCompress+set}" = set; then : ++if test "${ac_cv_lib_bz2_BZ2_bzCompress+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbz2 $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -27877,26 +34826,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_bz2_BZ2_bzCompress=yes + else +- ac_cv_lib_bz2_BZ2_bzCompress=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_bz2_BZ2_bzCompress=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bz2_BZ2_bzCompress" >&5 + $as_echo "$ac_cv_lib_bz2_BZ2_bzCompress" >&6; } +-if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = x""yes; then : ++if test "x$ac_cv_lib_bz2_BZ2_bzCompress" = x""yes; then + HAVE_BZ2=yes + else + HAVE_BZ2=no + fi + + if test "x$HAVE_BZ2" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "bzlib.h" "ac_cv_header_bzlib_h" "$ac_includes_default" +-if test "x$ac_cv_header_bzlib_h" = x""yes; then : ++ if test "${ac_cv_header_bzlib_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for bzlib.h" >&5 ++$as_echo_n "checking for bzlib.h... " >&6; } ++if test "${ac_cv_header_bzlib_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5 ++$as_echo "$ac_cv_header_bzlib_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking bzlib.h usability" >&5 ++$as_echo_n "checking bzlib.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking bzlib.h presence" >&5 ++$as_echo_n "checking bzlib.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: bzlib.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: bzlib.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for bzlib.h" >&5 ++$as_echo_n "checking for bzlib.h... " >&6; } ++if test "${ac_cv_header_bzlib_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_bzlib_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_bzlib_h" >&5 ++$as_echo "$ac_cv_header_bzlib_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_bzlib_h" = x""yes; then + : + else + HAVE_BZ2=no +@@ -27926,7 +35031,7 @@ + if test x$HAVE_BZ2 = xno; then + USE_BZ2=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: bz2" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: bz2" >&5 + $as_echo "$as_me: *** These plugins will be built: bz2" >&6;} + fi + fi +@@ -27936,10 +35041,12 @@ + GST_PLUGINS_YES="\tbz2\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_BZ2 /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_BZ2 /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: bz2" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: bz2" >&5 + $as_echo "$as_me: *** These plugins will not be built: bz2" >&6;} + if test "xbz2" != "x"; then + GST_PLUGINS_NO="\tbz2\n$GST_PLUGINS_NO" +@@ -27968,11 +35075,11 @@ + #]) + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: cdaudio ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: cdaudio ***" >&5 + $as_echo "$as_me: *** checking feature: cdaudio ***" >&6;} + if test "xcdaudio" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: cdaudio ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: cdaudio ***" >&5 + $as_echo "$as_me: *** for plug-ins: cdaudio ***" >&6;} + fi + NOUSE= +@@ -27980,11 +35087,13 @@ + NOUSE="yes" + fi + # Check whether --enable-cdaudio was given. +-if test "${enable_cdaudio+set}" = set; then : ++if test "${enable_cdaudio+set}" = set; then + enableval=$enable_cdaudio; case "${enableval}" in + yes) USE_CDAUDIO=yes;; + no) USE_CDAUDIO=no;; +- *) as_fn_error "bad value ${enableval} for --enable-cdaudio" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-cdaudio" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-cdaudio" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_CDAUDIO=yes +@@ -27992,7 +35101,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_CDAUDIO="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** cdaudio pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** cdaudio pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** cdaudio pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -28011,9 +35120,9 @@ + + # Extract the first word of "libcdaudio-config", so it can be a program name with args. + set dummy libcdaudio-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_CDAUDIO_CONFIG+set}" = set; then : ++if test "${ac_cv_path_CDAUDIO_CONFIG+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $CDAUDIO_CONFIG in +@@ -28026,14 +35135,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_CDAUDIO_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + test -z "$ac_cv_path_CDAUDIO_CONFIG" && ac_cv_path_CDAUDIO_CONFIG="no" +@@ -28042,10 +35151,10 @@ + fi + CDAUDIO_CONFIG=$ac_cv_path_CDAUDIO_CONFIG + if test -n "$CDAUDIO_CONFIG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CDAUDIO_CONFIG" >&5 ++ { $as_echo "$as_me:$LINENO: result: $CDAUDIO_CONFIG" >&5 + $as_echo "$CDAUDIO_CONFIG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -28079,7 +35188,7 @@ + if test x$HAVE_CDAUDIO = xno; then + USE_CDAUDIO=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: cdaudio" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: cdaudio" >&5 + $as_echo "$as_me: *** These plugins will be built: cdaudio" >&6;} + fi + fi +@@ -28089,10 +35198,12 @@ + GST_PLUGINS_YES="\tcdaudio\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_CDAUDIO /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CDAUDIO /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: cdaudio" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: cdaudio" >&5 + $as_echo "$as_me: *** These plugins will not be built: cdaudio" >&6;} + if test "xcdaudio" != "x"; then + GST_PLUGINS_NO="\tcdaudio\n$GST_PLUGINS_NO" +@@ -28110,11 +35221,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: celt ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: celt ***" >&5 + $as_echo "$as_me: *** checking feature: celt ***" >&6;} + if test "xcelt" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: celt ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: celt ***" >&5 + $as_echo "$as_me: *** for plug-ins: celt ***" >&6;} + fi + NOUSE= +@@ -28122,11 +35233,13 @@ + NOUSE="yes" + fi + # Check whether --enable-celt was given. +-if test "${enable_celt+set}" = set; then : ++if test "${enable_celt+set}" = set; then + enableval=$enable_celt; case "${enableval}" in + yes) USE_CELT=yes;; + no) USE_CELT=no;; +- *) as_fn_error "bad value ${enableval} for --enable-celt" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-celt" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-celt" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_CELT=yes +@@ -28134,7 +35247,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_CELT="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** celt pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** celt pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** celt pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -28152,7 +35265,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5 ++{ $as_echo "$as_me:$LINENO: checking for CELT" >&5 + $as_echo_n "checking for CELT... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -28160,11 +35273,11 @@ + pkg_cv_CELT_CFLAGS="$CELT_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "celt >= 0.5.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.5.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28178,11 +35291,11 @@ + pkg_cv_CELT_LIBS="$CELT_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"celt >= 0.5.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "celt >= 0.5.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.5.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28209,12 +35322,12 @@ + # Put the nasty error message in config.log where it belongs + echo "$CELT_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5 ++{ $as_echo "$as_me:$LINENO: checking for CELT" >&5 + $as_echo_n "checking for CELT... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -28222,11 +35335,11 @@ + pkg_cv_CELT_CFLAGS="$CELT_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "celt >= 0.4.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.4.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28240,11 +35353,11 @@ + pkg_cv_CELT_LIBS="$CELT_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "celt >= 0.4.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.4.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28271,28 +35384,30 @@ + # Put the nasty error message in config.log where it belongs + echo "$CELT_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_CELT="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_CELT="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + CELT_CFLAGS=$pkg_cv_CELT_CFLAGS + CELT_LIBS=$pkg_cv_CELT_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_CELT="yes" + +-$as_echo "#define HAVE_CELT_0_4 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CELT_0_4 1 ++_ACEOF + + + fi +@@ -28301,7 +35416,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for CELT" >&5 ++{ $as_echo "$as_me:$LINENO: checking for CELT" >&5 + $as_echo_n "checking for CELT... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -28309,11 +35424,11 @@ + pkg_cv_CELT_CFLAGS="$CELT_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "celt >= 0.4.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_CELT_CFLAGS=`$PKG_CONFIG --cflags "celt >= 0.4.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28327,11 +35442,11 @@ + pkg_cv_CELT_LIBS="$CELT_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"celt >= 0.4.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "celt >= 0.4.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_CELT_LIBS=`$PKG_CONFIG --libs "celt >= 0.4.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28358,28 +35473,30 @@ + # Put the nasty error message in config.log where it belongs + echo "$CELT_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_CELT="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_CELT="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + CELT_CFLAGS=$pkg_cv_CELT_CFLAGS + CELT_LIBS=$pkg_cv_CELT_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_CELT="yes" + +-$as_echo "#define HAVE_CELT_0_4 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CELT_0_4 1 ++_ACEOF + + + fi +@@ -28387,7 +35504,7 @@ + else + CELT_CFLAGS=$pkg_cv_CELT_CFLAGS + CELT_LIBS=$pkg_cv_CELT_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_CELT="yes" +@@ -28405,7 +35522,7 @@ + if test x$HAVE_CELT = xno; then + USE_CELT=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: celt" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: celt" >&5 + $as_echo "$as_me: *** These plugins will be built: celt" >&6;} + fi + fi +@@ -28415,10 +35532,12 @@ + GST_PLUGINS_YES="\tcelt\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_CELT /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_CELT /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: celt" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: celt" >&5 + $as_echo "$as_me: *** These plugins will not be built: celt" >&6;} + if test "xcelt" != "x"; then + GST_PLUGINS_NO="\tcelt\n$GST_PLUGINS_NO" +@@ -28436,11 +35555,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libdc1394 ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: libdc1394 ***" >&5 + $as_echo "$as_me: *** checking feature: libdc1394 ***" >&6;} + if test "xdc1394" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dc1394 ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: dc1394 ***" >&5 + $as_echo "$as_me: *** for plug-ins: dc1394 ***" >&6;} + fi + NOUSE= +@@ -28448,11 +35567,13 @@ + NOUSE="yes" + fi + # Check whether --enable-dc1394 was given. +-if test "${enable_dc1394+set}" = set; then : ++if test "${enable_dc1394+set}" = set; then + enableval=$enable_dc1394; case "${enableval}" in + yes) USE_DC1394=yes;; + no) USE_DC1394=no;; +- *) as_fn_error "bad value ${enableval} for --enable-dc1394" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dc1394" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dc1394" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DC1394=yes +@@ -28460,7 +35581,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DC1394="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dc1394 pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** dc1394 pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** dc1394 pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -28478,7 +35599,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBDC1394" >&5 ++{ $as_echo "$as_me:$LINENO: checking for LIBDC1394" >&5 + $as_echo_n "checking for LIBDC1394... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -28486,11 +35607,11 @@ + pkg_cv_LIBDC1394_CFLAGS="$LIBDC1394_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.0.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LIBDC1394_CFLAGS=`$PKG_CONFIG --cflags "libdc1394-2 >= 2.0.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28504,11 +35625,11 @@ + pkg_cv_LIBDC1394_LIBS="$LIBDC1394_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libdc1394-2 >= 2.0.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libdc1394-2 >= 2.0.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LIBDC1394_LIBS=`$PKG_CONFIG --libs "libdc1394-2 >= 2.0.0" 2>/dev/null` + else + pkg_failed=yes +@@ -28535,30 +35656,30 @@ + # Put the nasty error message in config.log where it belongs + echo "$LIBDC1394_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_DC1394="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_DC1394="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + LIBDC1394_CFLAGS=$pkg_cv_LIBDC1394_CFLAGS + LIBDC1394_LIBS=$pkg_cv_LIBDC1394_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + if test -z "`pkg-config --modversion libdc1394-2 | grep 2.0.0-rc`"; then + HAVE_DC1394="yes" + else + HAVE_DC1394="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -28576,7 +35697,7 @@ + if test x$HAVE_DC1394 = xno; then + USE_DC1394=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dc1394" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: dc1394" >&5 + $as_echo "$as_me: *** These plugins will be built: dc1394" >&6;} + fi + fi +@@ -28586,10 +35707,12 @@ + GST_PLUGINS_YES="\tdc1394\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DC1394 /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DC1394 /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dc1394" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: dc1394" >&5 + $as_echo "$as_me: *** These plugins will not be built: dc1394" >&6;} + if test "xdc1394" != "x"; then + GST_PLUGINS_NO="\tdc1394\n$GST_PLUGINS_NO" +@@ -28608,11 +35731,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: directfb ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: directfb ***" >&5 + $as_echo "$as_me: *** checking feature: directfb ***" >&6;} + if test "xdfbvideosink " != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dfbvideosink ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: dfbvideosink ***" >&5 + $as_echo "$as_me: *** for plug-ins: dfbvideosink ***" >&6;} + fi + NOUSE= +@@ -28620,11 +35743,13 @@ + NOUSE="yes" + fi + # Check whether --enable-directfb was given. +-if test "${enable_directfb+set}" = set; then : ++if test "${enable_directfb+set}" = set; then + enableval=$enable_directfb; case "${enableval}" in + yes) USE_DIRECTFB=yes;; + no) USE_DIRECTFB=no;; +- *) as_fn_error "bad value ${enableval} for --enable-directfb" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-directfb" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-directfb" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DIRECTFB=yes +@@ -28632,7 +35757,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DIRECTFB="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dfbvideosink pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** dfbvideosink pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** dfbvideosink pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -28650,7 +35775,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5 ++{ $as_echo "$as_me:$LINENO: checking for DIRECTFB" >&5 + $as_echo_n "checking for DIRECTFB... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -28658,11 +35783,11 @@ + pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\"") >&5 + ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.24") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.24" 2>/dev/null` + else + pkg_failed=yes +@@ -28676,11 +35801,11 @@ + pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.24\"") >&5 + ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.24") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.24" 2>/dev/null` + else + pkg_failed=yes +@@ -28707,23 +35832,23 @@ + # Put the nasty error message in config.log where it belongs + echo "$DIRECTFB_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_DIRECTFB="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_DIRECTFB="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS + DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_DIRECTFB="yes" + fi +@@ -28738,7 +35863,7 @@ + if test x$HAVE_DIRECTFB = xno; then + USE_DIRECTFB=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dfbvideosink " >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: dfbvideosink " >&5 + $as_echo "$as_me: *** These plugins will be built: dfbvideosink " >&6;} + fi + fi +@@ -28748,10 +35873,12 @@ + GST_PLUGINS_YES="\tdfbvideosink \n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DIRECTFB /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DIRECTFB /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dfbvideosink " >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: dfbvideosink " >&5 + $as_echo "$as_me: *** These plugins will not be built: dfbvideosink " >&6;} + if test "xdfbvideosink " != "x"; then + GST_PLUGINS_NO="\tdfbvideosink \n$GST_PLUGINS_NO" +@@ -28769,11 +35896,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dirac ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: dirac ***" >&5 + $as_echo "$as_me: *** checking feature: dirac ***" >&6;} + if test "xdirac" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dirac ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: dirac ***" >&5 + $as_echo "$as_me: *** for plug-ins: dirac ***" >&6;} + fi + NOUSE= +@@ -28781,11 +35908,13 @@ + NOUSE="yes" + fi + # Check whether --enable-dirac was given. +-if test "${enable_dirac+set}" = set; then : ++if test "${enable_dirac+set}" = set; then + enableval=$enable_dirac; case "${enableval}" in + yes) USE_DIRAC=yes;; + no) USE_DIRAC=no;; +- *) as_fn_error "bad value ${enableval} for --enable-dirac" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dirac" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dirac" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DIRAC=yes +@@ -28793,7 +35922,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DIRAC="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dirac pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** dirac pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** dirac pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -28811,7 +35940,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRAC" >&5 ++{ $as_echo "$as_me:$LINENO: checking for DIRAC" >&5 + $as_echo_n "checking for DIRAC... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -28819,11 +35948,11 @@ + pkg_cv_DIRAC_CFLAGS="$DIRAC_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\"") >&5 + ($PKG_CONFIG --exists --print-errors "dirac >= 0.10") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_DIRAC_CFLAGS=`$PKG_CONFIG --cflags "dirac >= 0.10" 2>/dev/null` + else + pkg_failed=yes +@@ -28837,11 +35966,11 @@ + pkg_cv_DIRAC_LIBS="$DIRAC_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"dirac >= 0.10\"") >&5 + ($PKG_CONFIG --exists --print-errors "dirac >= 0.10") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_DIRAC_LIBS=`$PKG_CONFIG --libs "dirac >= 0.10" 2>/dev/null` + else + pkg_failed=yes +@@ -28868,23 +35997,23 @@ + # Put the nasty error message in config.log where it belongs + echo "$DIRAC_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_DIRAC="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_DIRAC="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + DIRAC_CFLAGS=$pkg_cv_DIRAC_CFLAGS + DIRAC_LIBS=$pkg_cv_DIRAC_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_DIRAC="yes" + fi +@@ -28899,7 +36028,7 @@ + if test x$HAVE_DIRAC = xno; then + USE_DIRAC=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dirac" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: dirac" >&5 + $as_echo "$as_me: *** These plugins will be built: dirac" >&6;} + fi + fi +@@ -28909,10 +36038,12 @@ + GST_PLUGINS_YES="\tdirac\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DIRAC /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DIRAC /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dirac" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: dirac" >&5 + $as_echo "$as_me: *** These plugins will not be built: dirac" >&6;} + if test "xdirac" != "x"; then + GST_PLUGINS_NO="\tdirac\n$GST_PLUGINS_NO" +@@ -28930,11 +36061,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dts library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: dts library ***" >&5 + $as_echo "$as_me: *** checking feature: dts library ***" >&6;} + if test "xdtsdec" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: dtsdec ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: dtsdec ***" >&5 + $as_echo "$as_me: *** for plug-ins: dtsdec ***" >&6;} + fi + NOUSE= +@@ -28942,11 +36073,13 @@ + NOUSE="yes" + fi + # Check whether --enable-dts was given. +-if test "${enable_dts+set}" = set; then : ++if test "${enable_dts+set}" = set; then + enableval=$enable_dts; case "${enableval}" in + yes) USE_DTS=yes;; + no) USE_DTS=no;; +- *) as_fn_error "bad value ${enableval} for --enable-dts" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dts" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dts" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DTS=yes +@@ -28954,7 +36087,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DTS="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** dtsdec pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** dtsdec pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** dtsdec pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -28972,14 +36105,18 @@ + + HAVE_DTS="yes" + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dca_init in -ldca" >&5 ++ { $as_echo "$as_me:$LINENO: checking for dca_init in -ldca" >&5 + $as_echo_n "checking for dca_init in -ldca... " >&6; } +-if test "${ac_cv_lib_dca_dca_init+set}" = set; then : ++if test "${ac_cv_lib_dca_dca_init+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldca -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -28997,26 +36134,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_dca_dca_init=yes + else +- ac_cv_lib_dca_dca_init=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dca_dca_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dca_dca_init" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dca_dca_init" >&5 + $as_echo "$ac_cv_lib_dca_dca_init" >&6; } +-if test "x$ac_cv_lib_dca_dca_init" = x""yes; then : ++if test "x$ac_cv_lib_dca_dca_init" = x""yes; then + HAVE_DTS=yes + else + HAVE_DTS=no + fi + + if test "x$HAVE_DTS" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "dca.h" "ac_cv_header_dca_h" "$ac_includes_default" +-if test "x$ac_cv_header_dca_h" = x""yes; then : ++ if test "${ac_cv_header_dca_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for dca.h" >&5 ++$as_echo_n "checking for dca.h... " >&6; } ++if test "${ac_cv_header_dca_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dca_h" >&5 ++$as_echo "$ac_cv_header_dca_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking dca.h usability" >&5 ++$as_echo_n "checking dca.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking dca.h presence" >&5 ++$as_echo_n "checking dca.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: dca.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: dca.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: dca.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: dca.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: dca.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: dca.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: dca.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dca.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: dca.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for dca.h" >&5 ++$as_echo_n "checking for dca.h... " >&6; } ++if test "${ac_cv_header_dca_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_dca_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dca_h" >&5 ++$as_echo "$ac_cv_header_dca_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_dca_h" = x""yes; then + : + else + HAVE_DTS=no +@@ -29036,14 +36329,18 @@ + + if test $HAVE_DTS = "no"; then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dts_init in -ldts_pic" >&5 ++ { $as_echo "$as_me:$LINENO: checking for dts_init in -ldts_pic" >&5 + $as_echo_n "checking for dts_init in -ldts_pic... " >&6; } +-if test "${ac_cv_lib_dts_pic_dts_init+set}" = set; then : ++if test "${ac_cv_lib_dts_pic_dts_init+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldts_pic -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -29061,26 +36358,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_dts_pic_dts_init=yes + else +- ac_cv_lib_dts_pic_dts_init=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dts_pic_dts_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dts_pic_dts_init" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dts_pic_dts_init" >&5 + $as_echo "$ac_cv_lib_dts_pic_dts_init" >&6; } +-if test "x$ac_cv_lib_dts_pic_dts_init" = x""yes; then : ++if test "x$ac_cv_lib_dts_pic_dts_init" = x""yes; then + HAVE_DTS=yes + else + HAVE_DTS=no + fi + + if test "x$HAVE_DTS" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "dts.h" "ac_cv_header_dts_h" "$ac_includes_default" +-if test "x$ac_cv_header_dts_h" = x""yes; then : ++ if test "${ac_cv_header_dts_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for dts.h" >&5 ++$as_echo_n "checking for dts.h... " >&6; } ++if test "${ac_cv_header_dts_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dts_h" >&5 ++$as_echo "$ac_cv_header_dts_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking dts.h usability" >&5 ++$as_echo_n "checking dts.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking dts.h presence" >&5 ++$as_echo_n "checking dts.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: dts.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: dts.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: dts.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: dts.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: dts.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: dts.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: dts.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: dts.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: dts.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for dts.h" >&5 ++$as_echo_n "checking for dts.h... " >&6; } ++if test "${ac_cv_header_dts_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_dts_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dts_h" >&5 ++$as_echo "$ac_cv_header_dts_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_dts_h" = x""yes; then + : + else + HAVE_DTS=no +@@ -29090,7 +36543,9 @@ + if test "x$HAVE_DTS" = "xyes"; then + DTS_LIBS="-ldts_pic -lm" + +-$as_echo "#define DTS_OLD 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define DTS_OLD 1 ++_ACEOF + + + else +@@ -29115,7 +36570,7 @@ + if test x$HAVE_DTS = xno; then + USE_DTS=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: dtsdec" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: dtsdec" >&5 + $as_echo "$as_me: *** These plugins will be built: dtsdec" >&6;} + fi + fi +@@ -29125,10 +36580,12 @@ + GST_PLUGINS_YES="\tdtsdec\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DTS /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DTS /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: dtsdec" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: dtsdec" >&5 + $as_echo "$as_me: *** These plugins will not be built: dtsdec" >&6;} + if test "xdtsdec" != "x"; then + GST_PLUGINS_NO="\tdtsdec\n$GST_PLUGINS_NO" +@@ -29146,11 +36603,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: divx plugins ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: divx plugins ***" >&5 + $as_echo "$as_me: *** checking feature: divx plugins ***" >&6;} + if test "xdivx" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: divx ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: divx ***" >&5 + $as_echo "$as_me: *** for plug-ins: divx ***" >&6;} + fi + NOUSE= +@@ -29158,11 +36615,13 @@ + NOUSE="yes" + fi + # Check whether --enable-divx was given. +-if test "${enable_divx+set}" = set; then : ++if test "${enable_divx+set}" = set; then + enableval=$enable_divx; case "${enableval}" in + yes) USE_DIVX=yes;; + no) USE_DIVX=no;; +- *) as_fn_error "bad value ${enableval} for --enable-divx" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-divx" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-divx" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DIVX=yes +@@ -29170,7 +36629,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DIVX="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** divx pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** divx pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** divx pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -29187,12 +36646,143 @@ + HAVE_DIVX=no + + HAVE_DIVX=yes +- ac_fn_c_check_header_mongrel "$LINENO" "encore2.h" "ac_cv_header_encore2_h" "$ac_includes_default" +-if test "x$ac_cv_header_encore2_h" = x""yes; then : ++ if test "${ac_cv_header_encore2_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for encore2.h" >&5 ++$as_echo_n "checking for encore2.h... " >&6; } ++if test "${ac_cv_header_encore2_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_encore2_h" >&5 ++$as_echo "$ac_cv_header_encore2_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking encore2.h usability" >&5 ++$as_echo_n "checking encore2.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking encore2.h presence" >&5 ++$as_echo_n "checking encore2.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: encore2.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: encore2.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: encore2.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: encore2.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: encore2.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: encore2.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: encore2.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: encore2.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: encore2.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for encore2.h" >&5 ++$as_echo_n "checking for encore2.h... " >&6; } ++if test "${ac_cv_header_encore2_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_encore2_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_encore2_h" >&5 ++$as_echo "$ac_cv_header_encore2_h" >&6; } + ++fi ++if test "x$ac_cv_header_encore2_h" = x""yes; then ++ : + else + +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux encore headers not found" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Divx4linux encore headers not found" >&5 + $as_echo "$as_me: WARNING: Divx4linux encore headers not found" >&2;} + HAVE_DIVX=no + +@@ -29200,9 +36790,13 @@ + + + if test x$HAVE_DIVX = xyes ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for valid divx4linux encore version" >&5 ++ { $as_echo "$as_me:$LINENO: checking Checking for valid divx4linux encore version" >&5 + $as_echo_n "checking Checking for valid divx4linux encore version... " >&6; } +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -29210,40 +36804,192 @@ + #error Wrong version of divx encore libraries + #endif + +-int +-main () +-{ ++int ++main () ++{ ++ ++return 0; ++ ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ++ HAVE_DIVX=yes ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 ++$as_echo "yes" >&6; } ++ ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ++ HAVE_DIVX=no ++ { $as_echo "$as_me:$LINENO: result: no" >&5 ++$as_echo "no" >&6; } ++ { $as_echo "$as_me:$LINENO: WARNING: Wrong version of divx4linux installed" >&5 ++$as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;} ++ ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++ fi ++ if test x$HAVE_DIVX = xyes ; then ++ if test "${ac_cv_header_decore_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for decore.h" >&5 ++$as_echo_n "checking for decore.h... " >&6; } ++if test "${ac_cv_header_decore_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_decore_h" >&5 ++$as_echo "$ac_cv_header_decore_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking decore.h usability" >&5 ++$as_echo_n "checking decore.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi + +-return 0; ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } + +- ; +- return 0; +-} ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking decore.h presence" >&5 ++$as_echo_n "checking decore.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- +- HAVE_DIVX=yes +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- HAVE_DIVX=no +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 +-$as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Wrong version of divx4linux installed" >&5 +-$as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;} ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } + ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: decore.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: decore.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: decore.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: decore.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: decore.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: decore.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: decore.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: decore.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: decore.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for decore.h" >&5 ++$as_echo_n "checking for decore.h... " >&6; } ++if test "${ac_cv_header_decore_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_decore_h=$ac_header_preproc + fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- fi +- if test x$HAVE_DIVX = xyes ; then +- ac_fn_c_check_header_mongrel "$LINENO" "decore.h" "ac_cv_header_decore_h" "$ac_includes_default" +-if test "x$ac_cv_header_decore_h" = x""yes; then : ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_decore_h" >&5 ++$as_echo "$ac_cv_header_decore_h" >&6; } + ++fi ++if test "x$ac_cv_header_decore_h" = x""yes; then ++ : + else + +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux decoder headers not found" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Divx4linux decoder headers not found" >&5 + $as_echo "$as_me: WARNING: Divx4linux decoder headers not found" >&2;} + HAVE_DIVX=no + +@@ -29252,9 +36998,13 @@ + + fi + if test x$HAVE_DIVX = xyes ; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for valid divx4linux decore version" >&5 ++ { $as_echo "$as_me:$LINENO: checking Checking for valid divx4linux decore version" >&5 + $as_echo_n "checking Checking for valid divx4linux decore version... " >&6; } +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include +@@ -29272,33 +37022,59 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + + HAVE_DIVX=yes +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + + HAVE_DIVX=no +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Wrong version of divx4linux installed" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Wrong version of divx4linux installed" >&5 + $as_echo "$as_me: WARNING: Wrong version of divx4linux installed" >&2;} + + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + LIBS="-lm" + if test x$HAVE_DIVX = xyes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for encore in -ldivxencore" >&5 ++ ++{ $as_echo "$as_me:$LINENO: checking for encore in -ldivxencore" >&5 + $as_echo_n "checking for encore in -ldivxencore... " >&6; } +-if test "${ac_cv_lib_divxencore_encore+set}" = set; then : ++if test "${ac_cv_lib_divxencore_encore+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldivxencore $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -29316,18 +37092,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_divxencore_encore=yes + else +- ac_cv_lib_divxencore_encore=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_divxencore_encore=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_divxencore_encore" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_divxencore_encore" >&5 + $as_echo "$ac_cv_lib_divxencore_encore" >&6; } +-if test "x$ac_cv_lib_divxencore_encore" = x""yes; then : ++if test "x$ac_cv_lib_divxencore_encore" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBDIVXENCORE 1 + _ACEOF +@@ -29336,7 +37137,7 @@ + + else + +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux encore libs not found" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Divx4linux encore libs not found" >&5 + $as_echo "$as_me: WARNING: Divx4linux encore libs not found" >&2;} + HAVE_DIVX=no + +@@ -29344,14 +37145,19 @@ + + fi + if test x$HAVE_DIVX = xyes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for decore in -ldivxdecore" >&5 ++ ++{ $as_echo "$as_me:$LINENO: checking for decore in -ldivxdecore" >&5 + $as_echo_n "checking for decore in -ldivxdecore... " >&6; } +-if test "${ac_cv_lib_divxdecore_decore+set}" = set; then : ++if test "${ac_cv_lib_divxdecore_decore+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldivxdecore $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -29369,18 +37175,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_divxdecore_decore=yes + else +- ac_cv_lib_divxdecore_decore=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_divxdecore_decore=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_divxdecore_decore" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_divxdecore_decore" >&5 + $as_echo "$ac_cv_lib_divxdecore_decore" >&6; } +-if test "x$ac_cv_lib_divxdecore_decore" = x""yes; then : ++if test "x$ac_cv_lib_divxdecore_decore" = x""yes; then + cat >>confdefs.h <<_ACEOF + #define HAVE_LIBDIVXDECORE 1 + _ACEOF +@@ -29389,7 +37220,7 @@ + + else + +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Divx4linux decore libs not found" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Divx4linux decore libs not found" >&5 + $as_echo "$as_me: WARNING: Divx4linux decore libs not found" >&2;} + HAVE_DIVX=no + +@@ -29413,7 +37244,7 @@ + if test x$HAVE_DIVX = xno; then + USE_DIVX=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: divx" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: divx" >&5 + $as_echo "$as_me: *** These plugins will be built: divx" >&6;} + fi + fi +@@ -29423,10 +37254,12 @@ + GST_PLUGINS_YES="\tdivx\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DIVX /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DIVX /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: divx" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: divx" >&5 + $as_echo "$as_me: *** These plugins will not be built: divx" >&6;} + if test "xdivx" != "x"; then + GST_PLUGINS_NO="\tdivx\n$GST_PLUGINS_NO" +@@ -29444,11 +37277,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: dvdnav library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: dvdnav library ***" >&5 + $as_echo "$as_me: *** checking feature: dvdnav library ***" >&6;} + if test "xresindvd" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: resindvd ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: resindvd ***" >&5 + $as_echo "$as_me: *** for plug-ins: resindvd ***" >&6;} + fi + NOUSE= +@@ -29456,11 +37289,13 @@ + NOUSE="yes" + fi + # Check whether --enable-dvdnav was given. +-if test "${enable_dvdnav+set}" = set; then : ++if test "${enable_dvdnav+set}" = set; then + enableval=$enable_dvdnav; case "${enableval}" in + yes) USE_DVDNAV=yes;; + no) USE_DVDNAV=no;; +- *) as_fn_error "bad value ${enableval} for --enable-dvdnav" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-dvdnav" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-dvdnav" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_DVDNAV=yes +@@ -29468,7 +37303,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_DVDNAV="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** resindvd pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** resindvd pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** resindvd pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -29487,9 +37322,9 @@ + + # Extract the first word of "dvdnav-config", so it can be a program name with args. + set dummy dvdnav-config; ac_word=$2 +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 ++{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5 + $as_echo_n "checking for $ac_word... " >&6; } +-if test "${ac_cv_path_DVDNAV_CONFIG+set}" = set; then : ++if test "${ac_cv_path_DVDNAV_CONFIG+set}" = set; then + $as_echo_n "(cached) " >&6 + else + case $DVDNAV_CONFIG in +@@ -29502,14 +37337,14 @@ + do + IFS=$as_save_IFS + test -z "$as_dir" && as_dir=. +- for ac_exec_ext in '' $ac_executable_extensions; do ++ for ac_exec_ext in '' $ac_executable_extensions; do + if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then + ac_cv_path_DVDNAV_CONFIG="$as_dir/$ac_word$ac_exec_ext" +- $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5 ++ $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 + break 2 + fi + done +- done ++done + IFS=$as_save_IFS + + test -z "$ac_cv_path_DVDNAV_CONFIG" && ac_cv_path_DVDNAV_CONFIG="no" +@@ -29518,10 +37353,10 @@ + fi + DVDNAV_CONFIG=$ac_cv_path_DVDNAV_CONFIG + if test -n "$DVDNAV_CONFIG"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DVDNAV_CONFIG" >&5 ++ { $as_echo "$as_me:$LINENO: result: $DVDNAV_CONFIG" >&5 + $as_echo "$DVDNAV_CONFIG" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi + +@@ -29548,18 +37383,18 @@ + DVDNAV_MINOR=`echo $DVDNAV_VERSION | cut -d. -f2 | sed s/a-zA-Z\-.*//g` + DVDNAV_MICRO=`echo $DVDNAV_VERSION | cut -d. -f3 | sed s/a-zA-Z\-.*//g` + if [ "$DVDNAV_MAJOR" -lt "4" ]; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&5 + $as_echo "$as_me: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&2;} + HAVE_DVDNAV="no" + elif [ "$DVDNAV_MAJOR" -eq "4" ] && \ + [ "$DVDNAV_MINOR" -lt "1" ]; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&5 + $as_echo "$as_me: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&2;} + HAVE_DVDNAV="no" + elif [ "$DVDNAV_MAJOR" -eq "4" ] && \ + [ "$DVDNAV_MINOR" -eq "1" ] && \ + [ "$DVDNAV_MICRO" -lt "2" ]; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&5 + $as_echo "$as_me: WARNING: libdvdnav >= 4.1.2 is required, you have $DVDNAV_VERSION" >&2;} + HAVE_DVDNAV="no" + fi +@@ -29585,7 +37420,7 @@ + if test x$HAVE_DVDNAV = xno; then + USE_DVDNAV=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: resindvd" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: resindvd" >&5 + $as_echo "$as_me: *** These plugins will be built: resindvd" >&6;} + fi + fi +@@ -29595,10 +37430,12 @@ + GST_PLUGINS_YES="\tresindvd\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_DVDNAV /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_DVDNAV /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: resindvd" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: resindvd" >&5 + $as_echo "$as_me: *** These plugins will not be built: resindvd" >&6;} + if test "xresindvd" != "x"; then + GST_PLUGINS_NO="\tresindvd\n$GST_PLUGINS_NO" +@@ -29616,11 +37453,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: METADATA muxer and demuxer ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: METADATA muxer and demuxer ***" >&5 + $as_echo "$as_me: *** checking feature: METADATA muxer and demuxer ***" >&6;} + if test "xmetadata" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: metadata ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: metadata ***" >&5 + $as_echo "$as_me: *** for plug-ins: metadata ***" >&6;} + fi + NOUSE= +@@ -29628,11 +37465,13 @@ + NOUSE="yes" + fi + # Check whether --enable-metadata was given. +-if test "${enable_metadata+set}" = set; then : ++if test "${enable_metadata+set}" = set; then + enableval=$enable_metadata; case "${enableval}" in + yes) USE_METADATA=yes;; + no) USE_METADATA=no;; +- *) as_fn_error "bad value ${enableval} for --enable-metadata" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-metadata" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-metadata" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_METADATA=yes +@@ -29640,7 +37479,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_METADATA="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** metadata pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** metadata pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** metadata pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -29659,7 +37498,7 @@ + HAVE_METADATA="no" + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for EXIF" >&5 ++{ $as_echo "$as_me:$LINENO: checking for EXIF" >&5 + $as_echo_n "checking for EXIF... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -29667,11 +37506,11 @@ + pkg_cv_EXIF_CFLAGS="$EXIF_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\"") >&5 + ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.16") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_EXIF_CFLAGS=`$PKG_CONFIG --cflags "libexif >= 0.6.16" 2>/dev/null` + else + pkg_failed=yes +@@ -29685,11 +37524,11 @@ + pkg_cv_EXIF_LIBS="$EXIF_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libexif >= 0.6.16\"") >&5 + ($PKG_CONFIG --exists --print-errors "libexif >= 0.6.16") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_EXIF_LIBS=`$PKG_CONFIG --libs "libexif >= 0.6.16" 2>/dev/null` + else + pkg_failed=yes +@@ -29716,7 +37555,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$EXIF_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_EXIF="no" +@@ -29728,13 +37567,13 @@ + else + EXIF_CFLAGS=$pkg_cv_EXIF_CFLAGS + EXIF_LIBS=$pkg_cv_EXIF_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_EXIF="yes" + fi + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPTC" >&5 ++{ $as_echo "$as_me:$LINENO: checking for IPTC" >&5 + $as_echo_n "checking for IPTC... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -29742,11 +37581,11 @@ + pkg_cv_IPTC_CFLAGS="$IPTC_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiptcdata >= 1.0.2\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libiptcdata >= 1.0.2\"") >&5 + ($PKG_CONFIG --exists --print-errors "libiptcdata >= 1.0.2") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_IPTC_CFLAGS=`$PKG_CONFIG --cflags "libiptcdata >= 1.0.2" 2>/dev/null` + else + pkg_failed=yes +@@ -29760,11 +37599,11 @@ + pkg_cv_IPTC_LIBS="$IPTC_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libiptcdata >= 1.0.2\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libiptcdata >= 1.0.2\"") >&5 + ($PKG_CONFIG --exists --print-errors "libiptcdata >= 1.0.2") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_IPTC_LIBS=`$PKG_CONFIG --libs "libiptcdata >= 1.0.2" 2>/dev/null` + else + pkg_failed=yes +@@ -29791,7 +37630,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$IPTC_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_IPTC="no" +@@ -29803,13 +37642,13 @@ + else + IPTC_CFLAGS=$pkg_cv_IPTC_CFLAGS + IPTC_LIBS=$pkg_cv_IPTC_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_IPTC="yes" + fi + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMP" >&5 ++{ $as_echo "$as_me:$LINENO: checking for XMP" >&5 + $as_echo_n "checking for XMP... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -29817,11 +37656,11 @@ + pkg_cv_XMP_CFLAGS="$XMP_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exempi-2.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"exempi-2.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "exempi-2.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_XMP_CFLAGS=`$PKG_CONFIG --cflags "exempi-2.0" 2>/dev/null` + else + pkg_failed=yes +@@ -29835,11 +37674,11 @@ + pkg_cv_XMP_LIBS="$XMP_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exempi-2.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"exempi-2.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "exempi-2.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_XMP_LIBS=`$PKG_CONFIG --libs "exempi-2.0" 2>/dev/null` + else + pkg_failed=yes +@@ -29866,7 +37705,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$XMP_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_XMP="no" +@@ -29878,13 +37717,13 @@ + else + XMP_CFLAGS=$pkg_cv_XMP_CFLAGS + XMP_LIBS=$pkg_cv_XMP_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_XMP="yes" + fi + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XMP_1_99_5" >&5 ++{ $as_echo "$as_me:$LINENO: checking for XMP_1_99_5" >&5 + $as_echo_n "checking for XMP_1_99_5... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -29892,11 +37731,11 @@ + pkg_cv_XMP_1_99_5_CFLAGS="$XMP_1_99_5_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exempi-2.0 >= 1.99.5\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"exempi-2.0 >= 1.99.5\"") >&5 + ($PKG_CONFIG --exists --print-errors "exempi-2.0 >= 1.99.5") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_XMP_1_99_5_CFLAGS=`$PKG_CONFIG --cflags "exempi-2.0 >= 1.99.5" 2>/dev/null` + else + pkg_failed=yes +@@ -29910,11 +37749,11 @@ + pkg_cv_XMP_1_99_5_LIBS="$XMP_1_99_5_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"exempi-2.0 >= 1.99.5\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"exempi-2.0 >= 1.99.5\"") >&5 + ($PKG_CONFIG --exists --print-errors "exempi-2.0 >= 1.99.5") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_XMP_1_99_5_LIBS=`$PKG_CONFIG --libs "exempi-2.0 >= 1.99.5" 2>/dev/null` + else + pkg_failed=yes +@@ -29941,17 +37780,17 @@ + # Put the nasty error message in config.log where it belongs + echo "$XMP_1_99_5_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + elif test $pkg_failed = untried; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + else + XMP_1_99_5_CFLAGS=$pkg_cv_XMP_1_99_5_CFLAGS + XMP_1_99_5_LIBS=$pkg_cv_XMP_1_99_5_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + XMP_CFLAGS="-DXMP_1_99_5 $XMP_CFLAGS" + fi +@@ -29971,7 +37810,7 @@ + HAVE_METADATA="yes" + fi + if test x$HAVE_METADATA = xno; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no of metadata libraries (exif, iptc or xmp) found" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: no of metadata libraries (exif, iptc or xmp) found" >&5 + $as_echo "$as_me: WARNING: no of metadata libraries (exif, iptc or xmp) found" >&2;} + else + HAVE_METADATA="yes" +@@ -29989,7 +37828,7 @@ + if test x$HAVE_METADATA = xno; then + USE_METADATA=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: metadata" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: metadata" >&5 + $as_echo "$as_me: *** These plugins will be built: metadata" >&6;} + fi + fi +@@ -29999,10 +37838,12 @@ + GST_PLUGINS_YES="\tmetadata\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_METADATA /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_METADATA /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: metadata" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: metadata" >&5 + $as_echo "$as_me: *** These plugins will not be built: metadata" >&6;} + if test "xmetadata" != "x"; then + GST_PLUGINS_NO="\tmetadata\n$GST_PLUGINS_NO" +@@ -30020,11 +37861,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AAC encoder plug-in ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: AAC encoder plug-in ***" >&5 + $as_echo "$as_me: *** checking feature: AAC encoder plug-in ***" >&6;} + if test "xfaac" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: faac ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: faac ***" >&5 + $as_echo "$as_me: *** for plug-ins: faac ***" >&6;} + fi + NOUSE= +@@ -30032,11 +37873,13 @@ + NOUSE="yes" + fi + # Check whether --enable-faac was given. +-if test "${enable_faac+set}" = set; then : ++if test "${enable_faac+set}" = set; then + enableval=$enable_faac; case "${enableval}" in + yes) USE_FAAC=yes;; + no) USE_FAAC=no;; +- *) as_fn_error "bad value ${enableval} for --enable-faac" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-faac" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-faac" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_FAAC=yes +@@ -30044,7 +37887,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_FAAC="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** faac pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** faac pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** faac pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -30061,14 +37904,18 @@ + HAVE_FAAC=no + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for faacEncOpen in -lfaac" >&5 ++ { $as_echo "$as_me:$LINENO: checking for faacEncOpen in -lfaac" >&5 + $as_echo_n "checking for faacEncOpen in -lfaac... " >&6; } +-if test "${ac_cv_lib_faac_faacEncOpen+set}" = set; then : ++if test "${ac_cv_lib_faac_faacEncOpen+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lfaac -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -30086,26 +37933,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_faac_faacEncOpen=yes + else +- ac_cv_lib_faac_faacEncOpen=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_faac_faacEncOpen=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faac_faacEncOpen" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_faac_faacEncOpen" >&5 + $as_echo "$ac_cv_lib_faac_faacEncOpen" >&6; } +-if test "x$ac_cv_lib_faac_faacEncOpen" = x""yes; then : ++if test "x$ac_cv_lib_faac_faacEncOpen" = x""yes; then + HAVE_FAAC=yes + else + HAVE_FAAC=no + fi + + if test "x$HAVE_FAAC" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "faac.h" "ac_cv_header_faac_h" "$ac_includes_default" +-if test "x$ac_cv_header_faac_h" = x""yes; then : ++ if test "${ac_cv_header_faac_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for faac.h" >&5 ++$as_echo_n "checking for faac.h... " >&6; } ++if test "${ac_cv_header_faac_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_faac_h" >&5 ++$as_echo "$ac_cv_header_faac_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking faac.h usability" >&5 ++$as_echo_n "checking faac.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking faac.h presence" >&5 ++$as_echo_n "checking faac.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: faac.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: faac.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: faac.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: faac.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: faac.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: faac.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: faac.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faac.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: faac.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for faac.h" >&5 ++$as_echo_n "checking for faac.h... " >&6; } ++if test "${ac_cv_header_faac_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_faac_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_faac_h" >&5 ++$as_echo "$ac_cv_header_faac_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_faac_h" = x""yes; then + : + else + HAVE_FAAC=no +@@ -30145,7 +38148,7 @@ + if test x$HAVE_FAAC = xno; then + USE_FAAC=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: faac" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: faac" >&5 + $as_echo "$as_me: *** These plugins will be built: faac" >&6;} + fi + fi +@@ -30155,10 +38158,12 @@ + GST_PLUGINS_YES="\tfaac\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_FAAC /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FAAC /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: faac" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: faac" >&5 + $as_echo "$as_me: *** These plugins will not be built: faac" >&6;} + if test "xfaac" != "x"; then + GST_PLUGINS_NO="\tfaac\n$GST_PLUGINS_NO" +@@ -30176,11 +38181,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: AAC decoder plug-in ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: AAC decoder plug-in ***" >&5 + $as_echo "$as_me: *** checking feature: AAC decoder plug-in ***" >&6;} + if test "xfaad" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: faad ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: faad ***" >&5 + $as_echo "$as_me: *** for plug-ins: faad ***" >&6;} + fi + NOUSE= +@@ -30188,11 +38193,13 @@ + NOUSE="yes" + fi + # Check whether --enable-faad was given. +-if test "${enable_faad+set}" = set; then : ++if test "${enable_faad+set}" = set; then + enableval=$enable_faad; case "${enableval}" in + yes) USE_FAAD=yes;; + no) USE_FAAD=no;; +- *) as_fn_error "bad value ${enableval} for --enable-faad" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-faad" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-faad" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_FAAD=yes +@@ -30200,7 +38207,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_FAAD="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** faad pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** faad pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** faad pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -30219,14 +38226,18 @@ + HAVE_FAAD="yes" + faad_hdr="" + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for faacDecOpen in -lfaad" >&5 ++ { $as_echo "$as_me:$LINENO: checking for faacDecOpen in -lfaad" >&5 + $as_echo_n "checking for faacDecOpen in -lfaad... " >&6; } +-if test "${ac_cv_lib_faad_faacDecOpen+set}" = set; then : ++if test "${ac_cv_lib_faad_faacDecOpen+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lfaad -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -30244,26 +38255,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_faad_faacDecOpen=yes + else +- ac_cv_lib_faad_faacDecOpen=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_faad_faacDecOpen=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_faacDecOpen" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_faad_faacDecOpen" >&5 + $as_echo "$ac_cv_lib_faad_faacDecOpen" >&6; } +-if test "x$ac_cv_lib_faad_faacDecOpen" = x""yes; then : ++if test "x$ac_cv_lib_faad_faacDecOpen" = x""yes; then + HAVE_FAAD=yes + else + HAVE_FAAD=no + fi + + if test "x$HAVE_FAAD" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "faad.h" "ac_cv_header_faad_h" "$ac_includes_default" +-if test "x$ac_cv_header_faad_h" = x""yes; then : ++ if test "${ac_cv_header_faad_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for faad.h" >&5 ++$as_echo_n "checking for faad.h... " >&6; } ++if test "${ac_cv_header_faad_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_faad_h" >&5 ++$as_echo "$ac_cv_header_faad_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking faad.h usability" >&5 ++$as_echo_n "checking faad.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking faad.h presence" >&5 ++$as_echo_n "checking faad.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: faad.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: faad.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: faad.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: faad.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: faad.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: faad.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: faad.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: faad.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: faad.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for faad.h" >&5 ++$as_echo_n "checking for faad.h... " >&6; } ++if test "${ac_cv_header_faad_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_faad_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_faad_h" >&5 ++$as_echo "$ac_cv_header_faad_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_faad_h" = x""yes; then + : + else + HAVE_FAAD=no +@@ -30283,14 +38450,18 @@ + + if test $HAVE_FAAD = "no"; then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for NeAACDecOpen in -lfaad" >&5 ++ { $as_echo "$as_me:$LINENO: checking for NeAACDecOpen in -lfaad" >&5 + $as_echo_n "checking for NeAACDecOpen in -lfaad... " >&6; } +-if test "${ac_cv_lib_faad_NeAACDecOpen+set}" = set; then : ++if test "${ac_cv_lib_faad_NeAACDecOpen+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lfaad -lm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -30308,26 +38479,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_faad_NeAACDecOpen=yes + else +- ac_cv_lib_faad_NeAACDecOpen=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_faad_NeAACDecOpen=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_faad_NeAACDecOpen" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_faad_NeAACDecOpen" >&5 + $as_echo "$ac_cv_lib_faad_NeAACDecOpen" >&6; } +-if test "x$ac_cv_lib_faad_NeAACDecOpen" = x""yes; then : ++if test "x$ac_cv_lib_faad_NeAACDecOpen" = x""yes; then + HAVE_FAAD=yes + else + HAVE_FAAD=no + fi + + if test "x$HAVE_FAAD" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "neaacdec.h" "ac_cv_header_neaacdec_h" "$ac_includes_default" +-if test "x$ac_cv_header_neaacdec_h" = x""yes; then : ++ if test "${ac_cv_header_neaacdec_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for neaacdec.h" >&5 ++$as_echo_n "checking for neaacdec.h... " >&6; } ++if test "${ac_cv_header_neaacdec_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_neaacdec_h" >&5 ++$as_echo "$ac_cv_header_neaacdec_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking neaacdec.h usability" >&5 ++$as_echo_n "checking neaacdec.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking neaacdec.h presence" >&5 ++$as_echo_n "checking neaacdec.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: neaacdec.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: neaacdec.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for neaacdec.h" >&5 ++$as_echo_n "checking for neaacdec.h... " >&6; } ++if test "${ac_cv_header_neaacdec_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_neaacdec_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_neaacdec_h" >&5 ++$as_echo "$ac_cv_header_neaacdec_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_neaacdec_h" = x""yes; then + : + else + HAVE_FAAD=no +@@ -30337,7 +38664,9 @@ + if test "x$HAVE_FAAD" = "xyes"; then + FAAD_LIBS="-lfaad -lm" + +-$as_echo "#define FAAD_IS_NEAAC 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define FAAD_IS_NEAAC 1 ++_ACEOF + + faad_hdr="neaacdec.h" + +@@ -30358,9 +38687,13 @@ + faad_hdr="faad.h" + fi + if test $HAVE_FAAD = "yes"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking for FAAD >= 2.0" >&5 ++ { $as_echo "$as_me:$LINENO: checking Checking for FAAD >= 2.0" >&5 + $as_echo_n "checking Checking for FAAD >= 2.0... " >&6; } +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + int +@@ -30379,17 +38712,38 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then + + HAVE_FAAD="yes" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking Checking FAAD2 version in $faad_hdr" >&5 ++ { $as_echo "$as_me:$LINENO: checking Checking FAAD2 version in $faad_hdr" >&5 + $as_echo_n "checking Checking FAAD2 version in $faad_hdr... " >&6; } + for minor in 10 9 8 7 6 5 0; do + if test x$faad2_minor_version = "x"; then +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + #include <$faad_hdr> +@@ -30397,7 +38751,7 @@ + + _ACEOF + if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | +- $EGREP "GST_CHECK_FAAD_VERSION \"2\.$minor\"" >/dev/null 2>&1; then : ++ $EGREP "GST_CHECK_FAAD_VERSION \"2\.$minor\"" >/dev/null 2>&1; then + + faad2_minor_version=$minor + +@@ -30407,10 +38761,10 @@ + fi + done + if test x$faad2_minor_version = "x"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no idea" >&5 ++ { $as_echo "$as_me:$LINENO: result: no idea" >&5 + $as_echo "no idea" >&6; } + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: 2.$faad2_minor_version" >&5 ++ { $as_echo "$as_me:$LINENO: result: 2.$faad2_minor_version" >&5 + $as_echo "2.$faad2_minor_version" >&6; } + + cat >>confdefs.h <<_ACEOF +@@ -30420,12 +38774,16 @@ + fi + + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + + HAVE_FAAD="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + fi ++ + rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext + fi + +@@ -30451,7 +38809,7 @@ + if test x$HAVE_FAAD = xno; then + USE_FAAD=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: faad" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: faad" >&5 + $as_echo "$as_me: *** These plugins will be built: faad" >&6;} + fi + fi +@@ -30461,10 +38819,12 @@ + GST_PLUGINS_YES="\tfaad\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_FAAD /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FAAD /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: faad" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: faad" >&5 + $as_echo "$as_me: *** These plugins will not be built: faad" >&6;} + if test "xfaad" != "x"; then + GST_PLUGINS_NO="\tfaad\n$GST_PLUGINS_NO" +@@ -30482,11 +38842,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: linux framebuffer ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: linux framebuffer ***" >&5 + $as_echo "$as_me: *** checking feature: linux framebuffer ***" >&6;} + if test "xfbdevsink" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: fbdevsink ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: fbdevsink ***" >&5 + $as_echo "$as_me: *** for plug-ins: fbdevsink ***" >&6;} + fi + NOUSE= +@@ -30494,11 +38854,13 @@ + NOUSE="yes" + fi + # Check whether --enable-fbdev was given. +-if test "${enable_fbdev+set}" = set; then : ++if test "${enable_fbdev+set}" = set; then + enableval=$enable_fbdev; case "${enableval}" in + yes) USE_FBDEV=yes;; + no) USE_FBDEV=no;; +- *) as_fn_error "bad value ${enableval} for --enable-fbdev" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-fbdev" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-fbdev" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_FBDEV=yes +@@ -30506,7 +38868,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_FBDEV="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** fbdevsink pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** fbdevsink pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** fbdevsink pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -30523,8 +38885,139 @@ + HAVE_FBDEV=no + + if test "x$HAVE_FBDEV" != "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "linux/fb.h" "ac_cv_header_linux_fb_h" "$ac_includes_default" +-if test "x$ac_cv_header_linux_fb_h" = x""yes; then : ++ if test "${ac_cv_header_linux_fb_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for linux/fb.h" >&5 ++$as_echo_n "checking for linux/fb.h... " >&6; } ++if test "${ac_cv_header_linux_fb_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_fb_h" >&5 ++$as_echo "$ac_cv_header_linux_fb_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking linux/fb.h usability" >&5 ++$as_echo_n "checking linux/fb.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking linux/fb.h presence" >&5 ++$as_echo_n "checking linux/fb.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: linux/fb.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: linux/fb.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for linux/fb.h" >&5 ++$as_echo_n "checking for linux/fb.h... " >&6; } ++if test "${ac_cv_header_linux_fb_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_linux_fb_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_linux_fb_h" >&5 ++$as_echo "$ac_cv_header_linux_fb_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_linux_fb_h" = x""yes; then + HAVE_FBDEV=yes + else + HAVE_FBDEV=no +@@ -30543,7 +39036,7 @@ + if test x$HAVE_FBDEV = xno; then + USE_FBDEV=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: fbdevsink" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: fbdevsink" >&5 + $as_echo "$as_me: *** These plugins will be built: fbdevsink" >&6;} + fi + fi +@@ -30553,10 +39046,12 @@ + GST_PLUGINS_YES="\tfbdevsink\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_FBDEV /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_FBDEV /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: fbdevsink" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: fbdevsink" >&5 + $as_echo "$as_me: *** These plugins will not be built: fbdevsink" >&6;} + if test "xfbdevsink" != "x"; then + GST_PLUGINS_NO="\tfbdevsink\n$GST_PLUGINS_NO" +@@ -30574,11 +39069,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: GSM library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: GSM library ***" >&5 + $as_echo "$as_me: *** checking feature: GSM library ***" >&6;} + if test "xgsmenc gsmdec" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: gsmenc gsmdec ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: gsmenc gsmdec ***" >&5 + $as_echo "$as_me: *** for plug-ins: gsmenc gsmdec ***" >&6;} + fi + NOUSE= +@@ -30586,11 +39081,13 @@ + NOUSE="yes" + fi + # Check whether --enable-gsm was given. +-if test "${enable_gsm+set}" = set; then : ++if test "${enable_gsm+set}" = set; then + enableval=$enable_gsm; case "${enableval}" in + yes) USE_GSM=yes;; + no) USE_GSM=no;; +- *) as_fn_error "bad value ${enableval} for --enable-gsm" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-gsm" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-gsm" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_GSM=yes +@@ -30598,7 +39095,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_GSM="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** gsmenc gsmdec pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -30615,51 +39112,211 @@ + HAVE_GSM=no + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5 +-$as_echo_n "checking for gsm_create in -lgsm... " >&6; } +-if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then : +- $as_echo_n "(cached) " >&6 +-else +- ac_check_lib_save_LIBS=$LIBS +-LIBS="-lgsm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ { $as_echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5 ++$as_echo_n "checking for gsm_create in -lgsm... " >&6; } ++if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_check_lib_save_LIBS=$LIBS ++LIBS="-lgsm $LIBS" ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* 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 gsm_create (); ++int ++main () ++{ ++return gsm_create (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_lib_gsm_gsm_create=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_gsm_gsm_create=no ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++LIBS=$ac_check_lib_save_LIBS ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5 ++$as_echo "$ac_cv_lib_gsm_gsm_create" >&6; } ++if test "x$ac_cv_lib_gsm_gsm_create" = x""yes; then ++ HAVE_GSM=yes ++else ++ HAVE_GSM=no ++fi ++ ++ if test "x$HAVE_GSM" = "xyes"; then ++ if test "${ac_cv_header_gsm_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for gsm.h" >&5 ++$as_echo_n "checking for gsm.h... " >&6; } ++if test "${ac_cv_header_gsm_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5 ++$as_echo "$ac_cv_header_gsm_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking gsm.h usability" >&5 ++$as_echo_n "checking gsm.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking gsm.h presence" >&5 ++$as_echo_n "checking gsm.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* 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 gsm_create (); +-int +-main () +-{ +-return gsm_create (); +- ; +- return 0; +-} ++#include + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- ac_cv_lib_gsm_gsm_create=yes ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes + else +- ac_cv_lib_gsm_gsm_create=no +-fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext +-LIBS=$ac_check_lib_save_LIBS ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5 +-$as_echo "$ac_cv_lib_gsm_gsm_create" >&6; } +-if test "x$ac_cv_lib_gsm_gsm_create" = x""yes; then : +- HAVE_GSM=yes ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: gsm.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: gsm.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: gsm.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: gsm.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: gsm.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: gsm.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: gsm.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for gsm.h" >&5 ++$as_echo_n "checking for gsm.h... " >&6; } ++if test "${ac_cv_header_gsm_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 + else +- HAVE_GSM=no ++ ac_cv_header_gsm_h=$ac_header_preproc + fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gsm_h" >&5 ++$as_echo "$ac_cv_header_gsm_h" >&6; } + +- if test "x$HAVE_GSM" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "gsm.h" "ac_cv_header_gsm_h" "$ac_includes_default" +-if test "x$ac_cv_header_gsm_h" = x""yes; then : ++fi ++if test "x$ac_cv_header_gsm_h" = x""yes; then + : + else + HAVE_GSM=no +@@ -30679,14 +39336,18 @@ + + if test $HAVE_GSM != "yes"; then + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gsm_create in -lgsm" >&5 ++ { $as_echo "$as_me:$LINENO: checking for gsm_create in -lgsm" >&5 + $as_echo_n "checking for gsm_create in -lgsm... " >&6; } +-if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then : ++if test "${ac_cv_lib_gsm_gsm_create+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lgsm $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -30704,26 +39365,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_gsm_gsm_create=yes + else +- ac_cv_lib_gsm_gsm_create=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_gsm_gsm_create=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gsm_gsm_create" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_gsm_gsm_create" >&5 + $as_echo "$ac_cv_lib_gsm_gsm_create" >&6; } +-if test "x$ac_cv_lib_gsm_gsm_create" = x""yes; then : ++if test "x$ac_cv_lib_gsm_gsm_create" = x""yes; then + HAVE_GSM=yes + else + HAVE_GSM=no + fi + + if test "x$HAVE_GSM" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "gsm/gsm.h" "ac_cv_header_gsm_gsm_h" "$ac_includes_default" +-if test "x$ac_cv_header_gsm_gsm_h" = x""yes; then : ++ if test "${ac_cv_header_gsm_gsm_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5 ++$as_echo_n "checking for gsm/gsm.h... " >&6; } ++if test "${ac_cv_header_gsm_gsm_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5 ++$as_echo "$ac_cv_header_gsm_gsm_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking gsm/gsm.h usability" >&5 ++$as_echo_n "checking gsm/gsm.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking gsm/gsm.h presence" >&5 ++$as_echo_n "checking gsm/gsm.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: gsm/gsm.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for gsm/gsm.h" >&5 ++$as_echo_n "checking for gsm/gsm.h... " >&6; } ++if test "${ac_cv_header_gsm_gsm_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_gsm_gsm_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_gsm_gsm_h" >&5 ++$as_echo "$ac_cv_header_gsm_gsm_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_gsm_gsm_h" = x""yes; then + : + else + HAVE_GSM=no +@@ -30743,7 +39560,9 @@ + + if test $HAVE_GSM = "yes"; then + +-$as_echo "#define GSM_HEADER_IN_SUBDIR 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define GSM_HEADER_IN_SUBDIR 1 ++_ACEOF + + fi + fi +@@ -30759,7 +39578,7 @@ + if test x$HAVE_GSM = xno; then + USE_GSM=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: gsmenc gsmdec" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: gsmenc gsmdec" >&5 + $as_echo "$as_me: *** These plugins will be built: gsmenc gsmdec" >&6;} + fi + fi +@@ -30769,10 +39588,12 @@ + GST_PLUGINS_YES="\tgsmenc gsmdec\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_GSM /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_GSM /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: gsmenc gsmdec" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: gsmenc gsmdec" >&5 + $as_echo "$as_me: *** These plugins will not be built: gsmenc gsmdec" >&6;} + if test "xgsmenc gsmdec" != "x"; then + GST_PLUGINS_NO="\tgsmenc gsmdec\n$GST_PLUGINS_NO" +@@ -30790,11 +39611,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: integer vorbis plug-in ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: integer vorbis plug-in ***" >&5 + $as_echo "$as_me: *** checking feature: integer vorbis plug-in ***" >&6;} + if test "xivorbisdec" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ivorbisdec ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: ivorbisdec ***" >&5 + $as_echo "$as_me: *** for plug-ins: ivorbisdec ***" >&6;} + fi + NOUSE= +@@ -30802,11 +39623,13 @@ + NOUSE="yes" + fi + # Check whether --enable-ivorbis was given. +-if test "${enable_ivorbis+set}" = set; then : ++if test "${enable_ivorbis+set}" = set; then + enableval=$enable_ivorbis; case "${enableval}" in + yes) USE_IVORBIS=yes;; + no) USE_IVORBIS=no;; +- *) as_fn_error "bad value ${enableval} for --enable-ivorbis" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ivorbis" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-ivorbis" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_IVORBIS=yes +@@ -30814,7 +39637,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_IVORBIS="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ivorbisdec pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** ivorbisdec pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** ivorbisdec pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -30832,14 +39655,18 @@ + + IVORBIS_LIBS= + IVORBIS_CFLAGS= +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vorbis_block_init in -lvorbisidec" >&5 ++ { $as_echo "$as_me:$LINENO: checking for vorbis_block_init in -lvorbisidec" >&5 + $as_echo_n "checking for vorbis_block_init in -lvorbisidec... " >&6; } +-if test "${ac_cv_lib_vorbisidec_vorbis_block_init+set}" = set; then : ++if test "${ac_cv_lib_vorbisidec_vorbis_block_init+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lvorbisidec $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -30857,18 +39684,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_vorbisidec_vorbis_block_init=yes + else +- ac_cv_lib_vorbisidec_vorbis_block_init=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_vorbisidec_vorbis_block_init=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_vorbisidec_vorbis_block_init" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_vorbisidec_vorbis_block_init" >&5 + $as_echo "$ac_cv_lib_vorbisidec_vorbis_block_init" >&6; } +-if test "x$ac_cv_lib_vorbisidec_vorbis_block_init" = x""yes; then : ++if test "x$ac_cv_lib_vorbisidec_vorbis_block_init" = x""yes; then + IVORBIS_LIBS=-lvorbisidec + HAVE_IVORBIS=yes + case $host in +@@ -30893,7 +39745,7 @@ + if test x$HAVE_IVORBIS = xno; then + USE_IVORBIS=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ivorbisdec" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: ivorbisdec" >&5 + $as_echo "$as_me: *** These plugins will be built: ivorbisdec" >&6;} + fi + fi +@@ -30903,10 +39755,12 @@ + GST_PLUGINS_YES="\tivorbisdec\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_IVORBIS /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_IVORBIS /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ivorbisdec" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: ivorbisdec" >&5 + $as_echo "$as_me: *** These plugins will not be built: ivorbisdec" >&6;} + if test "xivorbisdec" != "x"; then + GST_PLUGINS_NO="\tivorbisdec\n$GST_PLUGINS_NO" +@@ -30924,11 +39778,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Jack ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: Jack ***" >&5 + $as_echo "$as_me: *** checking feature: Jack ***" >&6;} + if test "xjack" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jack ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: jack ***" >&5 + $as_echo "$as_me: *** for plug-ins: jack ***" >&6;} + fi + NOUSE= +@@ -30936,11 +39790,13 @@ + NOUSE="yes" + fi + # Check whether --enable-jack was given. +-if test "${enable_jack+set}" = set; then : ++if test "${enable_jack+set}" = set; then + enableval=$enable_jack; case "${enableval}" in + yes) USE_JACK=yes;; + no) USE_JACK=no;; +- *) as_fn_error "bad value ${enableval} for --enable-jack" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-jack" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-jack" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_JACK=yes +@@ -30948,7 +39804,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_JACK="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jack pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** jack pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** jack pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -30966,7 +39822,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for JACK" >&5 ++{ $as_echo "$as_me:$LINENO: checking for JACK" >&5 + $as_echo_n "checking for JACK... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -30974,11 +39830,11 @@ + pkg_cv_JACK_CFLAGS="$JACK_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\"") >&5 + ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_JACK_CFLAGS=`$PKG_CONFIG --cflags "jack >= 0.99.10" 2>/dev/null` + else + pkg_failed=yes +@@ -30992,11 +39848,11 @@ + pkg_cv_JACK_LIBS="$JACK_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"jack >= 0.99.10\"") >&5 + ($PKG_CONFIG --exists --print-errors "jack >= 0.99.10") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_JACK_LIBS=`$PKG_CONFIG --libs "jack >= 0.99.10" 2>/dev/null` + else + pkg_failed=yes +@@ -31023,7 +39879,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$JACK_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_JACK="no" + elif test $pkg_failed = untried; then +@@ -31031,7 +39887,7 @@ + else + JACK_CFLAGS=$pkg_cv_JACK_CFLAGS + JACK_LIBS=$pkg_cv_JACK_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_JACK="yes" + fi +@@ -31048,7 +39904,7 @@ + if test x$HAVE_JACK = xno; then + USE_JACK=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jack" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: jack" >&5 + $as_echo "$as_me: *** These plugins will be built: jack" >&6;} + fi + fi +@@ -31058,10 +39914,12 @@ + GST_PLUGINS_YES="\tjack\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_JACK /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_JACK /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jack" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: jack" >&5 + $as_echo "$as_me: *** These plugins will not be built: jack" >&6;} + if test "xjack" != "x"; then + GST_PLUGINS_NO="\tjack\n$GST_PLUGINS_NO" +@@ -31079,11 +39937,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: jp2k ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: jp2k ***" >&5 + $as_echo "$as_me: *** checking feature: jp2k ***" >&6;} + if test "xjp2kdec jp2kenc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: jp2kdec jp2kenc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: jp2kdec jp2kenc ***" >&5 + $as_echo "$as_me: *** for plug-ins: jp2kdec jp2kenc ***" >&6;} + fi + NOUSE= +@@ -31091,11 +39949,13 @@ + NOUSE="yes" + fi + # Check whether --enable-jp2k was given. +-if test "${enable_jp2k+set}" = set; then : ++if test "${enable_jp2k+set}" = set; then + enableval=$enable_jp2k; case "${enableval}" in + yes) USE_JP2K=yes;; + no) USE_JP2K=no;; +- *) as_fn_error "bad value ${enableval} for --enable-jp2k" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-jp2k" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-jp2k" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_JP2K=yes +@@ -31103,7 +39963,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_JP2K="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** jp2kdec jp2kenc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -31120,14 +39980,18 @@ + HAVE_JP2K=no + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jas_stream_fopen in -ljasper" >&5 ++ { $as_echo "$as_me:$LINENO: checking for jas_stream_fopen in -ljasper" >&5 + $as_echo_n "checking for jas_stream_fopen in -ljasper... " >&6; } +-if test "${ac_cv_lib_jasper_jas_stream_fopen+set}" = set; then : ++if test "${ac_cv_lib_jasper_jas_stream_fopen+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ljasper $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -31145,26 +40009,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_jasper_jas_stream_fopen=yes + else +- ac_cv_lib_jasper_jas_stream_fopen=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_jasper_jas_stream_fopen=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jasper_jas_stream_fopen" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_jasper_jas_stream_fopen" >&5 + $as_echo "$ac_cv_lib_jasper_jas_stream_fopen" >&6; } +-if test "x$ac_cv_lib_jasper_jas_stream_fopen" = x""yes; then : ++if test "x$ac_cv_lib_jasper_jas_stream_fopen" = x""yes; then + HAVE_JP2K=yes + else + HAVE_JP2K=no + fi + + if test "x$HAVE_JP2K" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "jasper/jasper.h" "ac_cv_header_jasper_jasper_h" "$ac_includes_default" +-if test "x$ac_cv_header_jasper_jasper_h" = x""yes; then : ++ if test "${ac_cv_header_jasper_jasper_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for jasper/jasper.h" >&5 ++$as_echo_n "checking for jasper/jasper.h... " >&6; } ++if test "${ac_cv_header_jasper_jasper_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jasper_jasper_h" >&5 ++$as_echo "$ac_cv_header_jasper_jasper_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking jasper/jasper.h usability" >&5 ++$as_echo_n "checking jasper/jasper.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking jasper/jasper.h presence" >&5 ++$as_echo_n "checking jasper/jasper.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: jasper/jasper.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: jasper/jasper.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for jasper/jasper.h" >&5 ++$as_echo_n "checking for jasper/jasper.h... " >&6; } ++if test "${ac_cv_header_jasper_jasper_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_jasper_jasper_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_jasper_jasper_h" >&5 ++$as_echo "$ac_cv_header_jasper_jasper_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_jasper_jasper_h" = x""yes; then + : + else + HAVE_JP2K=no +@@ -31194,7 +40214,7 @@ + if test x$HAVE_JP2K = xno; then + USE_JP2K=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: jp2kdec jp2kenc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: jp2kdec jp2kenc" >&5 + $as_echo "$as_me: *** These plugins will be built: jp2kdec jp2kenc" >&6;} + fi + fi +@@ -31204,10 +40224,12 @@ + GST_PLUGINS_YES="\tjp2kdec jp2kenc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_JP2K /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_JP2K /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: jp2kdec jp2kenc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: jp2kdec jp2kenc" >&5 + $as_echo "$as_me: *** These plugins will not be built: jp2kdec jp2kenc" >&6;} + if test "xjp2kdec jp2kenc" != "x"; then + GST_PLUGINS_NO="\tjp2kdec jp2kenc\n$GST_PLUGINS_NO" +@@ -31225,11 +40247,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: Kate ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: Kate ***" >&5 + $as_echo "$as_me: *** checking feature: Kate ***" >&6;} + if test "xkate" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: kate ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: kate ***" >&5 + $as_echo "$as_me: *** for plug-ins: kate ***" >&6;} + fi + NOUSE= +@@ -31237,11 +40259,13 @@ + NOUSE="yes" + fi + # Check whether --enable-kate was given. +-if test "${enable_kate+set}" = set; then : ++if test "${enable_kate+set}" = set; then + enableval=$enable_kate; case "${enableval}" in + yes) USE_KATE=yes;; + no) USE_KATE=no;; +- *) as_fn_error "bad value ${enableval} for --enable-kate" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-kate" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-kate" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_KATE=yes +@@ -31249,7 +40273,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_KATE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** kate pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** kate pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** kate pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -31267,7 +40291,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for KATE" >&5 ++{ $as_echo "$as_me:$LINENO: checking for KATE" >&5 + $as_echo_n "checking for KATE... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -31275,11 +40299,11 @@ + pkg_cv_KATE_CFLAGS="$KATE_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\"") >&5 + ($PKG_CONFIG --exists --print-errors "kate >= 0.1.7") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_KATE_CFLAGS=`$PKG_CONFIG --cflags "kate >= 0.1.7" 2>/dev/null` + else + pkg_failed=yes +@@ -31293,11 +40317,11 @@ + pkg_cv_KATE_LIBS="$KATE_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"kate >= 0.1.7\"") >&5 + ($PKG_CONFIG --exists --print-errors "kate >= 0.1.7") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_KATE_LIBS=`$PKG_CONFIG --libs "kate >= 0.1.7" 2>/dev/null` + else + pkg_failed=yes +@@ -31324,23 +40348,23 @@ + # Put the nasty error message in config.log where it belongs + echo "$KATE_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_KATE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_KATE="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + KATE_CFLAGS=$pkg_cv_KATE_CFLAGS + KATE_LIBS=$pkg_cv_KATE_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_KATE="yes" + fi +@@ -31348,7 +40372,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIGER" >&5 ++{ $as_echo "$as_me:$LINENO: checking for TIGER" >&5 + $as_echo_n "checking for TIGER... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -31356,11 +40380,11 @@ + pkg_cv_TIGER_CFLAGS="$TIGER_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\"") >&5 + ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.2") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_TIGER_CFLAGS=`$PKG_CONFIG --cflags "tiger >= 0.3.2" 2>/dev/null` + else + pkg_failed=yes +@@ -31374,11 +40398,11 @@ + pkg_cv_TIGER_LIBS="$TIGER_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"tiger >= 0.3.2\"") >&5 + ($PKG_CONFIG --exists --print-errors "tiger >= 0.3.2") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_TIGER_LIBS=`$PKG_CONFIG --libs "tiger >= 0.3.2" 2>/dev/null` + else + pkg_failed=yes +@@ -31405,30 +40429,32 @@ + # Put the nasty error message in config.log where it belongs + echo "$TIGER_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_TIGER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + + elif test $pkg_failed = untried; then + + HAVE_TIGER="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + + else + TIGER_CFLAGS=$pkg_cv_TIGER_CFLAGS + TIGER_LIBS=$pkg_cv_TIGER_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + HAVE_TIGER="yes" + +-$as_echo "#define HAVE_TIGER 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_TIGER 1 ++_ACEOF + + + fi +@@ -31453,7 +40479,7 @@ + if test x$HAVE_KATE = xno; then + USE_KATE=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: kate" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: kate" >&5 + $as_echo "$as_me: *** These plugins will be built: kate" >&6;} + fi + fi +@@ -31463,15 +40489,24 @@ + GST_PLUGINS_YES="\tkate\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_KATE /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_KATE /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: kate" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: kate" >&5 + $as_echo "$as_me: *** These plugins will not be built: kate" >&6;} + if test "xkate" != "x"; then + GST_PLUGINS_NO="\tkate\n$GST_PLUGINS_NO" + fi +- : ++ if false; then ++ USE_TIGER_TRUE= ++ USE_TIGER_FALSE='#' ++else ++ USE_TIGER_TRUE='#' ++ USE_TIGER_FALSE= ++fi ++ + fi + if test x$USE_KATE = xyes; then + USE_KATE_TRUE= +@@ -31484,11 +40519,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: ladspa ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: ladspa ***" >&5 + $as_echo "$as_me: *** checking feature: ladspa ***" >&6;} + if test "xladspa" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: ladspa ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: ladspa ***" >&5 + $as_echo "$as_me: *** for plug-ins: ladspa ***" >&6;} + fi + NOUSE= +@@ -31496,11 +40531,13 @@ + NOUSE="yes" + fi + # Check whether --enable-ladspa was given. +-if test "${enable_ladspa+set}" = set; then : ++if test "${enable_ladspa+set}" = set; then + enableval=$enable_ladspa; case "${enableval}" in + yes) USE_LADSPA=yes;; + no) USE_LADSPA=no;; +- *) as_fn_error "bad value ${enableval} for --enable-ladspa" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-ladspa" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-ladspa" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_LADSPA=yes +@@ -31508,7 +40545,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_LADSPA="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** ladspa pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** ladspa pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** ladspa pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -31524,8 +40561,139 @@ + + HAVE_LADSPA=no + +- ac_fn_c_check_header_mongrel "$LINENO" "ladspa.h" "ac_cv_header_ladspa_h" "$ac_includes_default" +-if test "x$ac_cv_header_ladspa_h" = x""yes; then : ++ if test "${ac_cv_header_ladspa_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for ladspa.h" >&5 ++$as_echo_n "checking for ladspa.h... " >&6; } ++if test "${ac_cv_header_ladspa_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ladspa_h" >&5 ++$as_echo "$ac_cv_header_ladspa_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking ladspa.h usability" >&5 ++$as_echo_n "checking ladspa.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking ladspa.h presence" >&5 ++$as_echo_n "checking ladspa.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: ladspa.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: ladspa.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for ladspa.h" >&5 ++$as_echo_n "checking for ladspa.h... " >&6; } ++if test "${ac_cv_header_ladspa_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_ladspa_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_ladspa_h" >&5 ++$as_echo "$ac_cv_header_ladspa_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_ladspa_h" = x""yes; then + HAVE_LADSPA="yes" + else + HAVE_LADSPA="no" +@@ -31535,7 +40703,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LRDF" >&5 ++{ $as_echo "$as_me:$LINENO: checking for LRDF" >&5 + $as_echo_n "checking for LRDF... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -31543,11 +40711,11 @@ + pkg_cv_LRDF_CFLAGS="$LRDF_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lrdf\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lrdf\"") >&5 + ($PKG_CONFIG --exists --print-errors "lrdf") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LRDF_CFLAGS=`$PKG_CONFIG --cflags "lrdf" 2>/dev/null` + else + pkg_failed=yes +@@ -31561,11 +40729,11 @@ + pkg_cv_LRDF_LIBS="$LRDF_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"lrdf\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"lrdf\"") >&5 + ($PKG_CONFIG --exists --print-errors "lrdf") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LRDF_LIBS=`$PKG_CONFIG --libs "lrdf" 2>/dev/null` + else + pkg_failed=yes +@@ -31592,7 +40760,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$LRDF_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_LRDF=no + elif test $pkg_failed = untried; then +@@ -31600,13 +40768,15 @@ + else + LRDF_CFLAGS=$pkg_cv_LRDF_CFLAGS + LRDF_LIBS=$pkg_cv_LRDF_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_LRDF=yes + fi + if test $HAVE_LRDF = "yes"; then + +-$as_echo "#define HAVE_LRDF 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_LRDF 1 ++_ACEOF + + fi + +@@ -31622,7 +40792,7 @@ + if test x$HAVE_LADSPA = xno; then + USE_LADSPA=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: ladspa" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: ladspa" >&5 + $as_echo "$as_me: *** These plugins will be built: ladspa" >&6;} + fi + fi +@@ -31632,10 +40802,12 @@ + GST_PLUGINS_YES="\tladspa\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_LADSPA /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_LADSPA /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: ladspa" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: ladspa" >&5 + $as_echo "$as_me: *** These plugins will not be built: ladspa" >&6;} + if test "xladspa" != "x"; then + GST_PLUGINS_NO="\tladspa\n$GST_PLUGINS_NO" +@@ -31653,11 +40825,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: lv2 ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: lv2 ***" >&5 + $as_echo "$as_me: *** checking feature: lv2 ***" >&6;} + if test "xlv2" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: lv2 ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: lv2 ***" >&5 + $as_echo "$as_me: *** for plug-ins: lv2 ***" >&6;} + fi + NOUSE= +@@ -31665,11 +40837,13 @@ + NOUSE="yes" + fi + # Check whether --enable-lv2 was given. +-if test "${enable_lv2+set}" = set; then : ++if test "${enable_lv2+set}" = set; then + enableval=$enable_lv2; case "${enableval}" in + yes) USE_LV2=yes;; + no) USE_LV2=no;; +- *) as_fn_error "bad value ${enableval} for --enable-lv2" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-lv2" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-lv2" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_LV2=yes +@@ -31677,7 +40851,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_LV2="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** lv2 pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** lv2 pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** lv2 pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -31695,7 +40869,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SLV2" >&5 ++{ $as_echo "$as_me:$LINENO: checking for SLV2" >&5 + $as_echo_n "checking for SLV2... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -31703,11 +40877,11 @@ + pkg_cv_SLV2_CFLAGS="$SLV2_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "slv2 >= 0.6.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_SLV2_CFLAGS=`$PKG_CONFIG --cflags "slv2 >= 0.6.0" 2>/dev/null` + else + pkg_failed=yes +@@ -31721,11 +40895,11 @@ + pkg_cv_SLV2_LIBS="$SLV2_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"slv2 >= 0.6.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "slv2 >= 0.6.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_SLV2_LIBS=`$PKG_CONFIG --libs "slv2 >= 0.6.0" 2>/dev/null` + else + pkg_failed=yes +@@ -31752,7 +40926,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$SLV2_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_LV2="no" + elif test $pkg_failed = untried; then +@@ -31760,7 +40934,7 @@ + else + SLV2_CFLAGS=$pkg_cv_SLV2_CFLAGS + SLV2_LIBS=$pkg_cv_SLV2_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_LV2="yes" + fi +@@ -31777,7 +40951,7 @@ + if test x$HAVE_LV2 = xno; then + USE_LV2=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: lv2" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: lv2" >&5 + $as_echo "$as_me: *** These plugins will be built: lv2" >&6;} + fi + fi +@@ -31787,10 +40961,12 @@ + GST_PLUGINS_YES="\tlv2\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_LV2 /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_LV2 /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: lv2" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: lv2" >&5 + $as_echo "$as_me: *** These plugins will not be built: lv2" >&6;} + if test "xlv2" != "x"; then + GST_PLUGINS_NO="\tlv2\n$GST_PLUGINS_NO" +@@ -31808,11 +40984,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mms protocol library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: mms protocol library ***" >&5 + $as_echo "$as_me: *** checking feature: mms protocol library ***" >&6;} + if test "xlibmms" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: libmms ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: libmms ***" >&5 + $as_echo "$as_me: *** for plug-ins: libmms ***" >&6;} + fi + NOUSE= +@@ -31820,11 +40996,13 @@ + NOUSE="yes" + fi + # Check whether --enable-libmms was given. +-if test "${enable_libmms+set}" = set; then : ++if test "${enable_libmms+set}" = set; then + enableval=$enable_libmms; case "${enableval}" in + yes) USE_LIBMMS=yes;; + no) USE_LIBMMS=no;; +- *) as_fn_error "bad value ${enableval} for --enable-libmms" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-libmms" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-libmms" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_LIBMMS=yes +@@ -31832,7 +41010,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_LIBMMS="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** libmms pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** libmms pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** libmms pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -31850,7 +41028,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBMMS" >&5 ++{ $as_echo "$as_me:$LINENO: checking for LIBMMS" >&5 + $as_echo_n "checking for LIBMMS... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -31858,11 +41036,11 @@ + pkg_cv_LIBMMS_CFLAGS="$LIBMMS_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmms >= 0.4") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LIBMMS_CFLAGS=`$PKG_CONFIG --cflags "libmms >= 0.4" 2>/dev/null` + else + pkg_failed=yes +@@ -31876,11 +41054,11 @@ + pkg_cv_LIBMMS_LIBS="$LIBMMS_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmms >= 0.4\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmms >= 0.4") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_LIBMMS_LIBS=`$PKG_CONFIG --libs "libmms >= 0.4" 2>/dev/null` + else + pkg_failed=yes +@@ -31907,23 +41085,23 @@ + # Put the nasty error message in config.log where it belongs + echo "$LIBMMS_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_LIBMMS="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_LIBMMS="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + LIBMMS_CFLAGS=$pkg_cv_LIBMMS_CFLAGS + LIBMMS_LIBS=$pkg_cv_LIBMMS_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_LIBMMS="yes" + fi +@@ -31938,7 +41116,7 @@ + if test x$HAVE_LIBMMS = xno; then + USE_LIBMMS=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: libmms" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: libmms" >&5 + $as_echo "$as_me: *** These plugins will be built: libmms" >&6;} + fi + fi +@@ -31948,10 +41126,12 @@ + GST_PLUGINS_YES="\tlibmms\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_LIBMMS /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_LIBMMS /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: libmms" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: libmms" >&5 + $as_echo "$as_me: *** These plugins will not be built: libmms" >&6;} + if test "xlibmms" != "x"; then + GST_PLUGINS_NO="\tlibmms\n$GST_PLUGINS_NO" +@@ -31970,11 +41150,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: modplug ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: modplug ***" >&5 + $as_echo "$as_me: *** checking feature: modplug ***" >&6;} + if test "xmodplug" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: modplug ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: modplug ***" >&5 + $as_echo "$as_me: *** for plug-ins: modplug ***" >&6;} + fi + NOUSE= +@@ -31982,11 +41162,13 @@ + NOUSE="yes" + fi + # Check whether --enable-modplug was given. +-if test "${enable_modplug+set}" = set; then : ++if test "${enable_modplug+set}" = set; then + enableval=$enable_modplug; case "${enableval}" in + yes) USE_MODPLUG=yes;; + no) USE_MODPLUG=no;; +- *) as_fn_error "bad value ${enableval} for --enable-modplug" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-modplug" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-modplug" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MODPLUG=yes +@@ -31994,7 +41176,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MODPLUG="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** modplug pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** modplug pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** modplug pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -32011,13 +41193,13 @@ + HAVE_MODPLUG=no + + if test "x$HAVE_CXX" != "xyes"; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&5 + $as_echo "$as_me: WARNING: Not compiling modplug plugin as it requires a C++ compiler" >&2;} + HAVE_MODPLUG="no" + else + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MODPLUG" >&5 ++{ $as_echo "$as_me:$LINENO: checking for MODPLUG" >&5 + $as_echo_n "checking for MODPLUG... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -32025,11 +41207,11 @@ + pkg_cv_MODPLUG_CFLAGS="$MODPLUG_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmodplug\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MODPLUG_CFLAGS=`$PKG_CONFIG --cflags "libmodplug" 2>/dev/null` + else + pkg_failed=yes +@@ -32043,11 +41225,11 @@ + pkg_cv_MODPLUG_LIBS="$MODPLUG_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmodplug\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmodplug\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmodplug") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MODPLUG_LIBS=`$PKG_CONFIG --libs "libmodplug" 2>/dev/null` + else + pkg_failed=yes +@@ -32074,7 +41256,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MODPLUG_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_MODPLUG="no" + elif test $pkg_failed = untried; then +@@ -32082,7 +41264,7 @@ + else + MODPLUG_CFLAGS=$pkg_cv_MODPLUG_CFLAGS + MODPLUG_LIBS=$pkg_cv_MODPLUG_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_MODPLUG="yes" + fi +@@ -32100,7 +41282,7 @@ + if test x$HAVE_MODPLUG = xno; then + USE_MODPLUG=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: modplug" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: modplug" >&5 + $as_echo "$as_me: *** These plugins will be built: modplug" >&6;} + fi + fi +@@ -32110,10 +41292,12 @@ + GST_PLUGINS_YES="\tmodplug\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MODPLUG /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MODPLUG /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: modplug" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: modplug" >&5 + $as_echo "$as_me: *** These plugins will not be built: modplug" >&6;} + if test "xmodplug" != "x"; then + GST_PLUGINS_NO="\tmodplug\n$GST_PLUGINS_NO" +@@ -32131,11 +41315,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: libmimic library ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: libmimic library ***" >&5 + $as_echo "$as_me: *** checking feature: libmimic library ***" >&6;} + if test "xmimic" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mimic ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: mimic ***" >&5 + $as_echo "$as_me: *** for plug-ins: mimic ***" >&6;} + fi + NOUSE= +@@ -32143,11 +41327,13 @@ + NOUSE="yes" + fi + # Check whether --enable-mimic was given. +-if test "${enable_mimic+set}" = set; then : ++if test "${enable_mimic+set}" = set; then + enableval=$enable_mimic; case "${enableval}" in + yes) USE_MIMIC=yes;; + no) USE_MIMIC=no;; +- *) as_fn_error "bad value ${enableval} for --enable-mimic" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mimic" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mimic" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MIMIC=yes +@@ -32155,7 +41341,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MIMIC="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mimic pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** mimic pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** mimic pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -32174,7 +41360,7 @@ + MIMDEC_REQUIRED=1.0 + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MIMIC" >&5 ++{ $as_echo "$as_me:$LINENO: checking for MIMIC" >&5 + $as_echo_n "checking for MIMIC... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -32182,11 +41368,11 @@ + pkg_cv_MIMIC_CFLAGS="$MIMIC_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmimic >= $MIMDEC_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MIMIC_CFLAGS=`$PKG_CONFIG --cflags "libmimic >= $MIMDEC_REQUIRED" 2>/dev/null` + else + pkg_failed=yes +@@ -32200,11 +41386,11 @@ + pkg_cv_MIMIC_LIBS="$MIMIC_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmimic >= \$MIMDEC_REQUIRED\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmimic >= $MIMDEC_REQUIRED") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MIMIC_LIBS=`$PKG_CONFIG --libs "libmimic >= $MIMDEC_REQUIRED" 2>/dev/null` + else + pkg_failed=yes +@@ -32231,7 +41417,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MIMIC_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_MIMIC=no + elif test $pkg_failed = untried; then +@@ -32239,7 +41425,7 @@ + else + MIMIC_CFLAGS=$pkg_cv_MIMIC_CFLAGS + MIMIC_LIBS=$pkg_cv_MIMIC_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_MIMIC=yes + fi +@@ -32256,7 +41442,7 @@ + if test x$HAVE_MIMIC = xno; then + USE_MIMIC=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mimic" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: mimic" >&5 + $as_echo "$as_me: *** These plugins will be built: mimic" >&6;} + fi + fi +@@ -32266,10 +41452,12 @@ + GST_PLUGINS_YES="\tmimic\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MIMIC /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MIMIC /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mimic" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: mimic" >&5 + $as_echo "$as_me: *** These plugins will not be built: mimic" >&6;} + if test "xmimic" != "x"; then + GST_PLUGINS_NO="\tmimic\n$GST_PLUGINS_NO" +@@ -32288,22 +41476,22 @@ + + echo + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93 mjpegtools < 1.8.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + + mjpegtools_api=10601 + + else + + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.8.0 mjpegtools < 1.9.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.8.0 mjpegtools < 1.9.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.8.0 mjpegtools < 1.9.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + + mjpegtools_api=10800 + +@@ -32311,7 +41499,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MJPEG" >&5 ++{ $as_echo "$as_me:$LINENO: checking for MJPEG" >&5 + $as_echo_n "checking for MJPEG... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -32319,11 +41507,11 @@ + pkg_cv_MJPEG_CFLAGS="$MJPEG_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MJPEG_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.9.0" 2>/dev/null` + else + pkg_failed=yes +@@ -32337,11 +41525,11 @@ + pkg_cv_MJPEG_LIBS="$MJPEG_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MJPEG_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.9.0" 2>/dev/null` + else + pkg_failed=yes +@@ -32368,7 +41556,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MJPEG_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + mjpegtools_api=0 +@@ -32380,15 +41568,99 @@ + else + MJPEG_CFLAGS=$pkg_cv_MJPEG_CFLAGS + MJPEG_LIBS=$pkg_cv_MJPEG_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + OLD_CFLAGS="$CFLAGS" + OLD_LIBS="$LIBS" + CFLAGS="$MJPEG_CFLAGS" + LIBS="$LIBS $MJPEG_LIBS -lmjpegutils -lm -lpthread" +- ac_fn_c_check_func "$LINENO" "mjpeg_loglev_t" "ac_cv_func_mjpeg_loglev_t" +-if test "x$ac_cv_func_mjpeg_loglev_t" = x""yes; then : ++ { $as_echo "$as_me:$LINENO: checking for mjpeg_loglev_t" >&5 ++$as_echo_n "checking for mjpeg_loglev_t... " >&6; } ++if test "${ac_cv_func_mjpeg_loglev_t+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define mjpeg_loglev_t to an innocuous variant, in case declares mjpeg_loglev_t. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define mjpeg_loglev_t innocuous_mjpeg_loglev_t ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char mjpeg_loglev_t (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef mjpeg_loglev_t ++ ++/* 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 mjpeg_loglev_t (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_mjpeg_loglev_t || defined __stub___mjpeg_loglev_t ++choke me ++#endif ++ ++int ++main () ++{ ++return mjpeg_loglev_t (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_mjpeg_loglev_t=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_mjpeg_loglev_t=no ++fi ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_mjpeg_loglev_t" >&5 ++$as_echo "$ac_cv_func_mjpeg_loglev_t" >&6; } ++if test "x$ac_cv_func_mjpeg_loglev_t" = x""yes; then + + mjpegtools_api=10903 + +@@ -32414,11 +41686,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mpeg2enc ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: mpeg2enc ***" >&5 + $as_echo "$as_me: *** checking feature: mpeg2enc ***" >&6;} + if test "xmpeg2enc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mpeg2enc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: mpeg2enc ***" >&5 + $as_echo "$as_me: *** for plug-ins: mpeg2enc ***" >&6;} + fi + NOUSE= +@@ -32426,11 +41698,13 @@ + NOUSE="yes" + fi + # Check whether --enable-mpeg2enc was given. +-if test "${enable_mpeg2enc+set}" = set; then : ++if test "${enable_mpeg2enc+set}" = set; then + enableval=$enable_mpeg2enc; case "${enableval}" in + yes) USE_MPEG2ENC=yes;; + no) USE_MPEG2ENC=no;; +- *) as_fn_error "bad value ${enableval} for --enable-mpeg2enc" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mpeg2enc" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mpeg2enc" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MPEG2ENC=yes +@@ -32438,7 +41712,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MPEG2ENC="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mpeg2enc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** mpeg2enc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** mpeg2enc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -32458,7 +41732,7 @@ + if test x$HAVE_CXX = xyes ; then + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPEG2ENC" >&5 ++{ $as_echo "$as_me:$LINENO: checking for MPEG2ENC" >&5 + $as_echo_n "checking for MPEG2ENC... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -32466,11 +41740,11 @@ + pkg_cv_MPEG2ENC_CFLAGS="$MPEG2ENC_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MPEG2ENC_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.6.1.93" 2>/dev/null` + else + pkg_failed=yes +@@ -32484,11 +41758,11 @@ + pkg_cv_MPEG2ENC_LIBS="$MPEG2ENC_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.6.1.93\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.6.1.93") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MPEG2ENC_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.6.1.93" 2>/dev/null` + else + pkg_failed=yes +@@ -32515,7 +41789,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MPEG2ENC_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_MPEG2ENC="no" +@@ -32527,7 +41801,7 @@ + else + MPEG2ENC_CFLAGS=$pkg_cv_MPEG2ENC_CFLAGS + MPEG2ENC_LIBS=$pkg_cv_MPEG2ENC_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + touch config.h +@@ -32541,43 +41815,333 @@ + CPPFLAGS_GOOD="$CPPFLAGS $MPEG2ENC_CFLAGS" + CPPFLAGS="$CPPFLAGS_GOOD -I." + mpeg2enc_headers_ok=no +- ac_fn_cxx_check_header_mongrel "$LINENO" "mpeg2encoder.hh" "ac_cv_header_mpeg2encoder_hh" "$ac_includes_default" +-if test "x$ac_cv_header_mpeg2encoder_hh" = x""yes; then : ++ if test "${ac_cv_header_mpeg2encoder_hh+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for mpeg2encoder.hh" >&5 ++$as_echo_n "checking for mpeg2encoder.hh... " >&6; } ++if test "${ac_cv_header_mpeg2encoder_hh+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpeg2encoder_hh" >&5 ++$as_echo "$ac_cv_header_mpeg2encoder_hh" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking mpeg2encoder.hh usability" >&5 ++$as_echo_n "checking mpeg2encoder.hh usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking mpeg2encoder.hh presence" >&5 ++$as_echo_n "checking mpeg2encoder.hh presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2encoder.hh: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: mpeg2encoder.hh: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for mpeg2encoder.hh" >&5 ++$as_echo_n "checking for mpeg2encoder.hh... " >&6; } ++if test "${ac_cv_header_mpeg2encoder_hh+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_mpeg2encoder_hh=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpeg2encoder_hh" >&5 ++$as_echo "$ac_cv_header_mpeg2encoder_hh" >&6; } ++ ++fi ++if test "x$ac_cv_header_mpeg2encoder_hh" = x""yes; then + + MPEG2ENC_LIBS="$MPEG2ENC_LIBS -lmpeg2encpp -lm -lpthread" + OLD_LIBS="$LIBS" + LIBS="$LIBS $MPEG2ENC_LIBS" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid mpeg2enc objects" >&5 ++ { $as_echo "$as_me:$LINENO: checking for valid mpeg2enc objects" >&5 + $as_echo_n "checking for valid mpeg2enc objects... " >&6; } +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ if test "$cross_compiling" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot run test program while cross compiling ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++ ++ #include ++ #include ++ ++ int ++ main (int argc, ++ char *argv[]) ++ { ++ MPEG2EncOptions *options = new MPEG2EncOptions (); ++ MPEG2Encoder *encoder = new MPEG2Encoder (*options); ++ return 0; ++ } ++ ++_ACEOF ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 ++$as_echo "yes" >&6; } ++ if test "$mjpegtools_api" -ge "10800"; then ++ if test "${ac_cv_header_mpeg2syntaxcodes_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for mpeg2syntaxcodes.h" >&5 ++$as_echo_n "checking for mpeg2syntaxcodes.h... " >&6; } ++if test "${ac_cv_header_mpeg2syntaxcodes_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpeg2syntaxcodes_h" >&5 ++$as_echo "$ac_cv_header_mpeg2syntaxcodes_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking mpeg2syntaxcodes.h usability" >&5 ++$as_echo_n "checking mpeg2syntaxcodes.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking mpeg2syntaxcodes.h presence" >&5 ++$as_echo_n "checking mpeg2syntaxcodes.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 + +- #include +- #include ++ ac_header_preproc=no ++fi + +- int +- main (int argc, +- char *argv[]) +- { +- MPEG2EncOptions *options = new MPEG2EncOptions (); +- MPEG2Encoder *encoder = new MPEG2Encoder (*options); +- return 0; +- } ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } + +-_ACEOF +-if ac_fn_cxx_try_run "$LINENO"; then : ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpeg2syntaxcodes.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: mpeg2syntaxcodes.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for mpeg2syntaxcodes.h" >&5 ++$as_echo_n "checking for mpeg2syntaxcodes.h... " >&6; } ++if test "${ac_cv_header_mpeg2syntaxcodes_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_mpeg2syntaxcodes_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpeg2syntaxcodes_h" >&5 ++$as_echo "$ac_cv_header_mpeg2syntaxcodes_h" >&6; } + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 +-$as_echo "yes" >&6; } +- if test "$mjpegtools_api" -ge "10800"; then +- ac_fn_cxx_check_header_mongrel "$LINENO" "mpeg2syntaxcodes.h" "ac_cv_header_mpeg2syntaxcodes_h" "$ac_includes_default" +-if test "x$ac_cv_header_mpeg2syntaxcodes_h" = x""yes; then : ++fi ++if test "x$ac_cv_header_mpeg2syntaxcodes_h" = x""yes; then + + mpeg2enc_headers_ok=yes + +@@ -32599,15 +42163,21 @@ + + + else ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + LIBS="$OLD_LIBS" + + fi +@@ -32635,7 +42205,7 @@ + if test x$HAVE_MPEG2ENC = xno; then + USE_MPEG2ENC=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mpeg2enc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: mpeg2enc" >&5 + $as_echo "$as_me: *** These plugins will be built: mpeg2enc" >&6;} + fi + fi +@@ -32645,10 +42215,12 @@ + GST_PLUGINS_YES="\tmpeg2enc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MPEG2ENC /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MPEG2ENC /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mpeg2enc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: mpeg2enc" >&5 + $as_echo "$as_me: *** These plugins will not be built: mpeg2enc" >&6;} + if test "xmpeg2enc" != "x"; then + GST_PLUGINS_NO="\tmpeg2enc\n$GST_PLUGINS_NO" +@@ -32666,11 +42238,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: mplex ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: mplex ***" >&5 + $as_echo "$as_me: *** checking feature: mplex ***" >&6;} + if test "xmplex" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mplex ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: mplex ***" >&5 + $as_echo "$as_me: *** for plug-ins: mplex ***" >&6;} + fi + NOUSE= +@@ -32678,11 +42250,13 @@ + NOUSE="yes" + fi + # Check whether --enable-mplex was given. +-if test "${enable_mplex+set}" = set; then : ++if test "${enable_mplex+set}" = set; then + enableval=$enable_mplex; case "${enableval}" in + yes) USE_MPLEX=yes;; + no) USE_MPLEX=no;; +- *) as_fn_error "bad value ${enableval} for --enable-mplex" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mplex" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mplex" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MPLEX=yes +@@ -32690,7 +42264,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MPLEX="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mplex pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** mplex pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** mplex pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -32710,7 +42284,7 @@ + if test x$HAVE_CXX = xyes ; then + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPLEX" >&5 ++{ $as_echo "$as_me:$LINENO: checking for MPLEX" >&5 + $as_echo_n "checking for MPLEX... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -32718,11 +42292,11 @@ + pkg_cv_MPLEX_CFLAGS="$MPLEX_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MPLEX_CFLAGS=`$PKG_CONFIG --cflags "mjpegtools >= 1.9.0" 2>/dev/null` + else + pkg_failed=yes +@@ -32736,11 +42310,11 @@ + pkg_cv_MPLEX_LIBS="$MPLEX_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"mjpegtools >= 1.9.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "mjpegtools >= 1.9.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MPLEX_LIBS=`$PKG_CONFIG --libs "mjpegtools >= 1.9.0" 2>/dev/null` + else + pkg_failed=yes +@@ -32767,7 +42341,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MPLEX_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_MPLEX="no" + elif test $pkg_failed = untried; then +@@ -32775,7 +42349,7 @@ + else + MPLEX_CFLAGS=$pkg_cv_MPLEX_CFLAGS + MPLEX_LIBS=$pkg_cv_MPLEX_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + ac_ext=cpp +@@ -32786,21 +42360,159 @@ + + OLD_CPPFLAGS="$CPPFLAGS" + CPPFLAGS="$CPPFLAGS $MPLEX_CFLAGS" +- ac_fn_cxx_check_header_mongrel "$LINENO" "interact.hpp" "ac_cv_header_interact_hpp" "$ac_includes_default" +-if test "x$ac_cv_header_interact_hpp" = x""yes; then : ++ if test "${ac_cv_header_interact_hpp+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for interact.hpp" >&5 ++$as_echo_n "checking for interact.hpp... " >&6; } ++if test "${ac_cv_header_interact_hpp+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_interact_hpp" >&5 ++$as_echo "$ac_cv_header_interact_hpp" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking interact.hpp usability" >&5 ++$as_echo_n "checking interact.hpp usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking interact.hpp presence" >&5 ++$as_echo_n "checking interact.hpp presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: interact.hpp: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: interact.hpp: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for interact.hpp" >&5 ++$as_echo_n "checking for interact.hpp... " >&6; } ++if test "${ac_cv_header_interact_hpp+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_interact_hpp=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_interact_hpp" >&5 ++$as_echo "$ac_cv_header_interact_hpp" >&6; } ++ ++fi ++if test "x$ac_cv_header_interact_hpp" = x""yes; then + + MPLEX_LIBS="$MPLEX_LIBS -lmplex2 -lm" + OLD_LIBS="$LIBS" + LIBS="$LIBS $MPLEX_LIBS" +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for valid mplex objects" >&5 ++ { $as_echo "$as_me:$LINENO: checking for valid mplex objects" >&5 + $as_echo_n "checking for valid mplex objects... " >&6; } +- if test "$cross_compiling" = yes; then : +- { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5 ++ if test "$cross_compiling" = yes; then ++ { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5 + $as_echo "$as_me: error: in \`$ac_pwd':" >&2;} +-as_fn_error "cannot run test program while cross compiling +-See \`config.log' for more details." "$LINENO" 5; } ++{ { $as_echo "$as_me:$LINENO: error: cannot run test program while cross compiling ++See \`config.log' for more details." >&5 ++$as_echo "$as_me: error: cannot run test program while cross compiling ++See \`config.log' for more details." >&2;} ++ { (exit 1); exit 1; }; }; } + else +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + +@@ -32829,22 +42541,49 @@ + } + + _ACEOF +-if ac_fn_cxx_try_run "$LINENO"; then : ++rm -f conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ac_try='./conftest$ac_exeext' ++ { (case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_try") 2>&5 ++ ac_status=$? ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then + + HAVE_MPLEX="yes" + + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ $as_echo "$as_me: program exited with status $ac_status" >&5 ++$as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++( exit $ac_status ) ++{ $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + fi +-rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \ +- conftest.$ac_objext conftest.beam conftest.$ac_ext ++rm -rf conftest.dSYM ++rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext + fi + ++ + LIBS="$OLD_LIBS" + + fi +@@ -32871,7 +42610,7 @@ + if test x$HAVE_MPLEX = xno; then + USE_MPLEX=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mplex" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: mplex" >&5 + $as_echo "$as_me: *** These plugins will be built: mplex" >&6;} + fi + fi +@@ -32881,10 +42620,12 @@ + GST_PLUGINS_YES="\tmplex\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MPLEX /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MPLEX /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mplex" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: mplex" >&5 + $as_echo "$as_me: *** These plugins will not be built: mplex" >&6;} + if test "xmplex" != "x"; then + GST_PLUGINS_NO="\tmplex\n$GST_PLUGINS_NO" +@@ -32902,11 +42643,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: musepackdec ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: musepackdec ***" >&5 + $as_echo "$as_me: *** checking feature: musepackdec ***" >&6;} + if test "xmusepack" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: musepack ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: musepack ***" >&5 + $as_echo "$as_me: *** for plug-ins: musepack ***" >&6;} + fi + NOUSE= +@@ -32914,11 +42655,13 @@ + NOUSE="yes" + fi + # Check whether --enable-musepack was given. +-if test "${enable_musepack+set}" = set; then : ++if test "${enable_musepack+set}" = set; then + enableval=$enable_musepack; case "${enableval}" in + yes) USE_MUSEPACK=yes;; + no) USE_MUSEPACK=no;; +- *) as_fn_error "bad value ${enableval} for --enable-musepack" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-musepack" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-musepack" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MUSEPACK=yes +@@ -32926,7 +42669,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MUSEPACK="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** musepack pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** musepack pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** musepack pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -32942,21 +42685,285 @@ + + HAVE_MUSEPACK=no + +- ac_fn_c_check_header_mongrel "$LINENO" "mpc/mpcdec.h" "ac_cv_header_mpc_mpcdec_h" "$ac_includes_default" +-if test "x$ac_cv_header_mpc_mpcdec_h" = x""yes; then : ++ if test "${ac_cv_header_mpc_mpcdec_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for mpc/mpcdec.h" >&5 ++$as_echo_n "checking for mpc/mpcdec.h... " >&6; } ++if test "${ac_cv_header_mpc_mpcdec_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpc_mpcdec_h" >&5 ++$as_echo "$ac_cv_header_mpc_mpcdec_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking mpc/mpcdec.h usability" >&5 ++$as_echo_n "checking mpc/mpcdec.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking mpc/mpcdec.h presence" >&5 ++$as_echo_n "checking mpc/mpcdec.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpc/mpcdec.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: mpc/mpcdec.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for mpc/mpcdec.h" >&5 ++$as_echo_n "checking for mpc/mpcdec.h... " >&6; } ++if test "${ac_cv_header_mpc_mpcdec_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_mpc_mpcdec_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpc_mpcdec_h" >&5 ++$as_echo "$ac_cv_header_mpc_mpcdec_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_mpc_mpcdec_h" = x""yes; then + + HAVE_MUSEPACK="yes" + MUSEPACK_LIBS="-lmpcdec" + + + else +- ac_fn_c_check_header_mongrel "$LINENO" "mpcdec/mpcdec.h" "ac_cv_header_mpcdec_mpcdec_h" "$ac_includes_default" +-if test "x$ac_cv_header_mpcdec_mpcdec_h" = x""yes; then : ++ if test "${ac_cv_header_mpcdec_mpcdec_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for mpcdec/mpcdec.h" >&5 ++$as_echo_n "checking for mpcdec/mpcdec.h... " >&6; } ++if test "${ac_cv_header_mpcdec_mpcdec_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpcdec_mpcdec_h" >&5 ++$as_echo "$ac_cv_header_mpcdec_mpcdec_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking mpcdec/mpcdec.h usability" >&5 ++$as_echo_n "checking mpcdec/mpcdec.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking mpcdec/mpcdec.h presence" >&5 ++$as_echo_n "checking mpcdec/mpcdec.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: mpcdec/mpcdec.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: mpcdec/mpcdec.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for mpcdec/mpcdec.h" >&5 ++$as_echo_n "checking for mpcdec/mpcdec.h... " >&6; } ++if test "${ac_cv_header_mpcdec_mpcdec_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_mpcdec_mpcdec_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_mpcdec_mpcdec_h" >&5 ++$as_echo "$ac_cv_header_mpcdec_mpcdec_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_mpcdec_mpcdec_h" = x""yes; then + + HAVE_MUSEPACK="yes" + MUSEPACK_LIBS="-lmpcdec" + +-$as_echo "#define MPC_IS_OLD_API 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define MPC_IS_OLD_API 1 ++_ACEOF + + + +@@ -32979,7 +42986,7 @@ + if test x$HAVE_MUSEPACK = xno; then + USE_MUSEPACK=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: musepack" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: musepack" >&5 + $as_echo "$as_me: *** These plugins will be built: musepack" >&6;} + fi + fi +@@ -32989,10 +42996,12 @@ + GST_PLUGINS_YES="\tmusepack\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MUSEPACK /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MUSEPACK /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: musepack" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: musepack" >&5 + $as_echo "$as_me: *** These plugins will not be built: musepack" >&6;} + if test "xmusepack" != "x"; then + GST_PLUGINS_NO="\tmusepack\n$GST_PLUGINS_NO" +@@ -33010,11 +43019,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: musicbrainz tag generation ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: musicbrainz tag generation ***" >&5 + $as_echo "$as_me: *** checking feature: musicbrainz tag generation ***" >&6;} + if test "xmusicbrainz" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: musicbrainz ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: musicbrainz ***" >&5 + $as_echo "$as_me: *** for plug-ins: musicbrainz ***" >&6;} + fi + NOUSE= +@@ -33022,11 +43031,13 @@ + NOUSE="yes" + fi + # Check whether --enable-musicbrainz was given. +-if test "${enable_musicbrainz+set}" = set; then : ++if test "${enable_musicbrainz+set}" = set; then + enableval=$enable_musicbrainz; case "${enableval}" in + yes) USE_MUSICBRAINZ=yes;; + no) USE_MUSICBRAINZ=no;; +- *) as_fn_error "bad value ${enableval} for --enable-musicbrainz" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-musicbrainz" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-musicbrainz" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MUSICBRAINZ=yes +@@ -33034,7 +43045,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MUSICBRAINZ="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** musicbrainz pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** musicbrainz pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** musicbrainz pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -33052,7 +43063,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for MUSICBRAINZ" >&5 ++{ $as_echo "$as_me:$LINENO: checking for MUSICBRAINZ" >&5 + $as_echo_n "checking for MUSICBRAINZ... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -33060,11 +43071,11 @@ + pkg_cv_MUSICBRAINZ_CFLAGS="$MUSICBRAINZ_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MUSICBRAINZ_CFLAGS=`$PKG_CONFIG --cflags "libmusicbrainz >= 2.1.0" 2>/dev/null` + else + pkg_failed=yes +@@ -33078,11 +43089,11 @@ + pkg_cv_MUSICBRAINZ_LIBS="$MUSICBRAINZ_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libmusicbrainz >= 2.1.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libmusicbrainz >= 2.1.0") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_MUSICBRAINZ_LIBS=`$PKG_CONFIG --libs "libmusicbrainz >= 2.1.0" 2>/dev/null` + else + pkg_failed=yes +@@ -33109,7 +43120,7 @@ + # Put the nasty error message in config.log where it belongs + echo "$MUSICBRAINZ_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + HAVE_MUSICBRAINZ="no" + elif test $pkg_failed = untried; then +@@ -33117,7 +43128,7 @@ + else + MUSICBRAINZ_CFLAGS=$pkg_cv_MUSICBRAINZ_CFLAGS + MUSICBRAINZ_LIBS=$pkg_cv_MUSICBRAINZ_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_MUSICBRAINZ="yes" + fi +@@ -33134,7 +43145,7 @@ + if test x$HAVE_MUSICBRAINZ = xno; then + USE_MUSICBRAINZ=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: musicbrainz" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: musicbrainz" >&5 + $as_echo "$as_me: *** These plugins will be built: musicbrainz" >&6;} + fi + fi +@@ -33144,10 +43155,12 @@ + GST_PLUGINS_YES="\tmusicbrainz\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MUSICBRAINZ /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MUSICBRAINZ /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: musicbrainz" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: musicbrainz" >&5 + $as_echo "$as_me: *** These plugins will not be built: musicbrainz" >&6;} + if test "xmusicbrainz" != "x"; then + GST_PLUGINS_NO="\tmusicbrainz\n$GST_PLUGINS_NO" +@@ -33165,11 +43178,11 @@ + + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: MythTV client plugins ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: MythTV client plugins ***" >&5 + $as_echo "$as_me: *** checking feature: MythTV client plugins ***" >&6;} + if test "xmythtvsrc" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: mythtvsrc ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: mythtvsrc ***" >&5 + $as_echo "$as_me: *** for plug-ins: mythtvsrc ***" >&6;} + fi + NOUSE= +@@ -33177,11 +43190,13 @@ + NOUSE="yes" + fi + # Check whether --enable-mythtv was given. +-if test "${enable_mythtv+set}" = set; then : ++if test "${enable_mythtv+set}" = set; then + enableval=$enable_mythtv; case "${enableval}" in + yes) USE_MYTHTV=yes;; + no) USE_MYTHTV=no;; +- *) as_fn_error "bad value ${enableval} for --enable-mythtv" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-mythtv" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-mythtv" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_MYTHTV=yes +@@ -33189,7 +43204,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_MYTHTV="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** mythtvsrc pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** mythtvsrc pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** mythtvsrc pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -33207,7 +43222,7 @@ + + + pkg_failed=no +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for GMYTH" >&5 ++{ $as_echo "$as_me:$LINENO: checking for GMYTH" >&5 + $as_echo_n "checking for GMYTH... " >&6; } + + if test -n "$PKG_CONFIG"; then +@@ -33215,11 +43230,11 @@ + pkg_cv_GMYTH_CFLAGS="$GMYTH_CFLAGS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\"") >&5 + ($PKG_CONFIG --exists --print-errors "gmyth >= 0.4 gmyth <= 0.7.99") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GMYTH_CFLAGS=`$PKG_CONFIG --cflags "gmyth >= 0.4 gmyth <= 0.7.99" 2>/dev/null` + else + pkg_failed=yes +@@ -33233,11 +43248,11 @@ + pkg_cv_GMYTH_LIBS="$GMYTH_LIBS" + else + if test -n "$PKG_CONFIG" && \ +- { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\""; } >&5 ++ { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gmyth >= 0.4 gmyth <= 0.7.99\"") >&5 + ($PKG_CONFIG --exists --print-errors "gmyth >= 0.4 gmyth <= 0.7.99") 2>&5 + ac_status=$? +- $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 +- test $ac_status = 0; }; then ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; then + pkg_cv_GMYTH_LIBS=`$PKG_CONFIG --libs "gmyth >= 0.4 gmyth <= 0.7.99" 2>/dev/null` + else + pkg_failed=yes +@@ -33264,23 +43279,23 @@ + # Put the nasty error message in config.log where it belongs + echo "$GMYTH_PKG_ERRORS" >&5 + +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + HAVE_MYTHTV="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + elif test $pkg_failed = untried; then + + HAVE_MYTHTV="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + + else + GMYTH_CFLAGS=$pkg_cv_GMYTH_CFLAGS + GMYTH_LIBS=$pkg_cv_GMYTH_LIBS +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + HAVE_MYTHTV="yes" + fi +@@ -33297,7 +43312,7 @@ + if test x$HAVE_MYTHTV = xno; then + USE_MYTHTV=no + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will be built: mythtvsrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will be built: mythtvsrc" >&5 + $as_echo "$as_me: *** These plugins will be built: mythtvsrc" >&6;} + fi + fi +@@ -33307,10 +43322,12 @@ + GST_PLUGINS_YES="\tmythtvsrc\n$GST_PLUGINS_YES" + fi + +-$as_echo "#define HAVE_MYTHTV /**/" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define HAVE_MYTHTV /**/ ++_ACEOF + + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** These plugins will not be built: mythtvsrc" >&5 ++ { $as_echo "$as_me:$LINENO: *** These plugins will not be built: mythtvsrc" >&5 + $as_echo "$as_me: *** These plugins will not be built: mythtvsrc" >&6;} + if test "xmythtvsrc" != "x"; then + GST_PLUGINS_NO="\tmythtvsrc\n$GST_PLUGINS_NO" +@@ -33327,12 +43344,12 @@ + + + +-{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5 ++{ $as_echo "$as_me:$LINENO: checking for X" >&5 + $as_echo_n "checking for X... " >&6; } + + + # Check whether --with-x was given. +-if test "${with_x+set}" = set; then : ++if test "${with_x+set}" = set; then + withval=$with_x; + fi + +@@ -33342,8 +43359,10 @@ + have_x=disabled + else + case $x_includes,$x_libraries in #( +- *\'*) as_fn_error "cannot use X directory names containing '" "$LINENO" 5;; #( +- *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then : ++ *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5 ++$as_echo "$as_me: error: cannot use X directory names containing '" >&2;} ++ { (exit 1); exit 1; }; };; #( ++ *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then + $as_echo_n "(cached) " >&6 + else + # One or both of the vars are not set, and there is no cached value. +@@ -33391,25 +43410,21 @@ + # Check X11 before X11Rn because it is often a symlink to the current release. + ac_x_header_dirs=' + /usr/X11/include +-/usr/X11R7/include + /usr/X11R6/include + /usr/X11R5/include + /usr/X11R4/include + + /usr/include/X11 +-/usr/include/X11R7 + /usr/include/X11R6 + /usr/include/X11R5 + /usr/include/X11R4 + + /usr/local/X11/include +-/usr/local/X11R7/include + /usr/local/X11R6/include + /usr/local/X11R5/include + /usr/local/X11R4/include + + /usr/local/include/X11 +-/usr/local/include/X11R7 + /usr/local/include/X11R6 + /usr/local/include/X11R5 + /usr/local/include/X11R4 +@@ -33431,14 +43446,37 @@ + if test "$ac_x_includes" = no; then + # Guess where to find include files, by looking for Xlib.h. + # First, try using that file with no special directory specified. +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + _ACEOF +-if ac_fn_c_try_cpp "$LINENO"; then : ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then + # We can compile using X headers with no special include directory. + ac_x_includes= + else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ + for ac_dir in $ac_x_header_dirs; do + if test -r "$ac_dir/X11/Xlib.h"; then + ac_x_includes=$ac_dir +@@ -33446,6 +43484,7 @@ + fi + done + fi ++ + rm -f conftest.err conftest.$ac_ext + fi # $ac_x_includes = no + +@@ -33455,7 +43494,11 @@ + # Don't add to $LIBS permanently. + ac_save_LIBS=$LIBS + LIBS="-lX11 $LIBS" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + #include + int +@@ -33466,12 +43509,35 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + LIBS=$ac_save_LIBS + # We can link X programs with no special library path. + ac_x_libraries= + else +- LIBS=$ac_save_LIBS ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ LIBS=$ac_save_LIBS + for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g` + do + # Don't even attempt the hair of trying to link an X program! +@@ -33483,8 +43549,10 @@ + done + done + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi # $ac_x_libraries = no + + case $ac_x_includes,$ac_x_libraries in #( +@@ -33505,7 +43573,7 @@ + fi # $with_x != no + + if test "$have_x" != yes; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5 ++ { $as_echo "$as_me:$LINENO: result: $have_x" >&5 + $as_echo "$have_x" >&6; } + no_x=yes + else +@@ -33516,16 +43584,16 @@ + ac_cv_have_x="have_x=yes\ + ac_x_includes='$x_includes'\ + ac_x_libraries='$x_libraries'" +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5 ++ { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5 + $as_echo "libraries $x_libraries, headers $x_includes" >&6; } + fi + + echo +-{ $as_echo "$as_me:${as_lineno-$LINENO}: *** checking feature: nas plug-in ***" >&5 ++{ $as_echo "$as_me:$LINENO: *** checking feature: nas plug-in ***" >&5 + $as_echo "$as_me: *** checking feature: nas plug-in ***" >&6;} + if test "xnassink" != "x" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: *** for plug-ins: nassink ***" >&5 ++ { $as_echo "$as_me:$LINENO: *** for plug-ins: nassink ***" >&5 + $as_echo "$as_me: *** for plug-ins: nassink ***" >&6;} + fi + NOUSE= +@@ -33533,11 +43601,13 @@ + NOUSE="yes" + fi + # Check whether --enable-nas was given. +-if test "${enable_nas+set}" = set; then : ++if test "${enable_nas+set}" = set; then + enableval=$enable_nas; case "${enableval}" in + yes) USE_NAS=yes;; + no) USE_NAS=no;; +- *) as_fn_error "bad value ${enableval} for --enable-nas" "$LINENO" 5 ;; ++ *) { { $as_echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-nas" >&5 ++$as_echo "$as_me: error: bad value ${enableval} for --enable-nas" >&2;} ++ { (exit 1); exit 1; }; } ;; + esac + else + USE_NAS=yes +@@ -33545,7 +43615,7 @@ + + if test "x$NOUSE" = "xyes"; then + USE_NAS="no" +- { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** nassink pre-configured not to be built" >&5 ++ { $as_echo "$as_me:$LINENO: WARNING: *** nassink pre-configured not to be built" >&5 + $as_echo "$as_me: WARNING: *** nassink pre-configured not to be built" >&2;} + fi + NOUSE= +@@ -33566,7 +43636,9 @@ + if test "$no_x" = yes; then + # Not all programs may use this symbol, but it does not hurt to define it. + +-$as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h ++cat >>confdefs.h <<\_ACEOF ++#define X_DISPLAY_MISSING 1 ++_ACEOF + + X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS= + else +@@ -33579,12 +43651,16 @@ + X_LIBS="$X_LIBS -L$x_libraries" + # For Solaris; some versions of Sun CC require a space after -R and + # others require no space. Words are not sufficient . . . . +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5 ++ { $as_echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5 + $as_echo_n "checking whether -R must be followed by a space... " >&6; } + ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries" + ac_xsave_c_werror_flag=$ac_c_werror_flag + ac_c_werror_flag=yes +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -33595,13 +43671,40 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ { $as_echo "$as_me:$LINENO: result: no" >&5 + $as_echo "no" >&6; } + X_LIBS="$X_LIBS -R$x_libraries" + else +- LIBS="$ac_xsave_LIBS -R $x_libraries" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ LIBS="$ac_xsave_LIBS -R $x_libraries" ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + int +@@ -33612,19 +43715,46 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ { $as_echo "$as_me:$LINENO: result: yes" >&5 + $as_echo "yes" >&6; } + X_LIBS="$X_LIBS -R $x_libraries" + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ { $as_echo "$as_me:$LINENO: result: neither works" >&5 + $as_echo "neither works" >&6; } + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + ac_c_werror_flag=$ac_xsave_c_werror_flag + LIBS=$ac_xsave_LIBS + fi +@@ -33640,7 +43770,11 @@ + # libraries were built with DECnet support. And Karl Berry says + # the Alpha needs dnet_stub (dnet does not exist). + ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11" +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33658,17 +43792,44 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : +- ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ : + else +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5 ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5 + $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; } +-if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then : ++if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldnet $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33686,30 +43847,59 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_dnet_dnet_ntoa=yes + else +- ac_cv_lib_dnet_dnet_ntoa=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dnet_dnet_ntoa=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5 + $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; } +-if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then : ++if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet" + fi + + if test $ac_cv_lib_dnet_dnet_ntoa = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5 ++ { $as_echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5 + $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; } +-if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then : ++if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-ldnet_stub $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33727,25 +43917,52 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_dnet_stub_dnet_ntoa=yes + else +- ac_cv_lib_dnet_stub_dnet_ntoa=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_dnet_stub_dnet_ntoa=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5 + $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; } +-if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then : ++if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub" + fi + + fi + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS="$ac_xsave_LIBS" + + # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT, +@@ -33756,20 +43973,105 @@ + # on Irix 5.2, according to T.E. Dickey. + # The functions gethostbyname, getservbyname, and inet_addr are + # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking. +- ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname" +-if test "x$ac_cv_func_gethostbyname" = x""yes; then : ++ { $as_echo "$as_me:$LINENO: checking for gethostbyname" >&5 ++$as_echo_n "checking for gethostbyname... " >&6; } ++if test "${ac_cv_func_gethostbyname+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define gethostbyname to an innocuous variant, in case declares gethostbyname. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define gethostbyname innocuous_gethostbyname ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char gethostbyname (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef gethostbyname ++ ++/* 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 gethostbyname (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_gethostbyname || defined __stub___gethostbyname ++choke me ++#endif ++ ++int ++main () ++{ ++return gethostbyname (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_gethostbyname=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_gethostbyname=no ++fi + ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5 ++$as_echo "$ac_cv_func_gethostbyname" >&6; } + + if test $ac_cv_func_gethostbyname = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5 ++ { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 + $as_echo_n "checking for gethostbyname in -lnsl... " >&6; } +-if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then : ++if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lnsl $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33787,30 +44089,59 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_nsl_gethostbyname=yes + else +- ac_cv_lib_nsl_gethostbyname=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_nsl_gethostbyname=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 + $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; } +-if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then : ++if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl" + fi + + if test $ac_cv_lib_nsl_gethostbyname = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5 ++ { $as_echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5 + $as_echo_n "checking for gethostbyname in -lbsd... " >&6; } +-if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then : ++if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lbsd $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33828,45 +44159,155 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_bsd_gethostbyname=yes + else +- ac_cv_lib_bsd_gethostbyname=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_bsd_gethostbyname=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5 + $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; } +-if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then : ++if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd" + fi + + fi + fi + +- # lieder@skyler.mavd.honeywell.com says without -lsocket, +- # socket/setsockopt and other routines are undefined under SCO ODT +- # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary +- # on later versions), says Simon Leinen: it contains gethostby* +- # variants that don't use the name server (or something). -lsocket +- # must be given before -lnsl if both are needed. We assume that +- # if connect needs -lnsl, so does gethostbyname. +- ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect" +-if test "x$ac_cv_func_connect" = x""yes; then : ++ # lieder@skyler.mavd.honeywell.com says without -lsocket, ++ # socket/setsockopt and other routines are undefined under SCO ODT ++ # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary ++ # on later versions), says Simon Leinen: it contains gethostby* ++ # variants that don't use the name server (or something). -lsocket ++ # must be given before -lnsl if both are needed. We assume that ++ # if connect needs -lnsl, so does gethostbyname. ++ { $as_echo "$as_me:$LINENO: checking for connect" >&5 ++$as_echo_n "checking for connect... " >&6; } ++if test "${ac_cv_func_connect+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define connect to an innocuous variant, in case declares connect. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define connect innocuous_connect ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char connect (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef connect ++ ++/* 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 connect (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_connect || defined __stub___connect ++choke me ++#endif ++ ++int ++main () ++{ ++return connect (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_connect=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_connect=no ++fi + ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5 ++$as_echo "$ac_cv_func_connect" >&6; } + + if test $ac_cv_func_connect = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5 ++ { $as_echo "$as_me:$LINENO: checking for connect in -lsocket" >&5 + $as_echo_n "checking for connect in -lsocket... " >&6; } +-if test "${ac_cv_lib_socket_connect+set}" = set; then : ++if test "${ac_cv_lib_socket_connect+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lsocket $X_EXTRA_LIBS $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33884,38 +44325,148 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_socket_connect=yes + else +- ac_cv_lib_socket_connect=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_socket_connect=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5 + $as_echo "$ac_cv_lib_socket_connect" >&6; } +-if test "x$ac_cv_lib_socket_connect" = x""yes; then : ++if test "x$ac_cv_lib_socket_connect" = x""yes; then + X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS" + fi + + fi + + # Guillermo Gomez says -lposix is necessary on A/UX. +- ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove" +-if test "x$ac_cv_func_remove" = x""yes; then : ++ { $as_echo "$as_me:$LINENO: checking for remove" >&5 ++$as_echo_n "checking for remove... " >&6; } ++if test "${ac_cv_func_remove+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define remove to an innocuous variant, in case declares remove. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define remove innocuous_remove ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char remove (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef remove ++ ++/* 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 remove (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_remove || defined __stub___remove ++choke me ++#endif ++ ++int ++main () ++{ ++return remove (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_remove=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_remove=no ++fi + ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5 ++$as_echo "$ac_cv_func_remove" >&6; } + + if test $ac_cv_func_remove = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5 ++ { $as_echo "$as_me:$LINENO: checking for remove in -lposix" >&5 + $as_echo_n "checking for remove in -lposix... " >&6; } +-if test "${ac_cv_lib_posix_remove+set}" = set; then : ++if test "${ac_cv_lib_posix_remove+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lposix $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33933,38 +44484,148 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_posix_remove=yes + else +- ac_cv_lib_posix_remove=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_posix_remove=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5 + $as_echo "$ac_cv_lib_posix_remove" >&6; } +-if test "x$ac_cv_lib_posix_remove" = x""yes; then : ++if test "x$ac_cv_lib_posix_remove" = x""yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix" + fi + + fi + + # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay. +- ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat" +-if test "x$ac_cv_func_shmat" = x""yes; then : ++ { $as_echo "$as_me:$LINENO: checking for shmat" >&5 ++$as_echo_n "checking for shmat... " >&6; } ++if test "${ac_cv_func_shmat+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++/* Define shmat to an innocuous variant, in case declares shmat. ++ For example, HP-UX 11i declares gettimeofday. */ ++#define shmat innocuous_shmat ++ ++/* System header to define __stub macros and hopefully few prototypes, ++ which can conflict with char shmat (); below. ++ Prefer to if __STDC__ is defined, since ++ exists even on freestanding compilers. */ ++ ++#ifdef __STDC__ ++# include ++#else ++# include ++#endif ++ ++#undef shmat ++ ++/* 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 shmat (); ++/* The GNU C library defines this for functions which it implements ++ to always fail with ENOSYS. Some functions are actually named ++ something starting with __ and the normal name is an alias. */ ++#if defined __stub_shmat || defined __stub___shmat ++choke me ++#endif ++ ++int ++main () ++{ ++return shmat (); ++ ; ++ return 0; ++} ++_ACEOF ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then ++ ac_cv_func_shmat=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_func_shmat=no ++fi + ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5 ++$as_echo "$ac_cv_func_shmat" >&6; } + + if test $ac_cv_func_shmat = no; then +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5 ++ { $as_echo "$as_me:$LINENO: checking for shmat in -lipc" >&5 + $as_echo_n "checking for shmat in -lipc... " >&6; } +-if test "${ac_cv_lib_ipc_shmat+set}" = set; then : ++if test "${ac_cv_lib_ipc_shmat+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lipc $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -33982,18 +44643,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_ipc_shmat=yes + else +- ac_cv_lib_ipc_shmat=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_ipc_shmat=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5 + $as_echo "$ac_cv_lib_ipc_shmat" >&6; } +-if test "x$ac_cv_lib_ipc_shmat" = x""yes; then : ++if test "x$ac_cv_lib_ipc_shmat" = x""yes; then + X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc" + fi + +@@ -34009,14 +44695,18 @@ + # These have to be linked with before -lX11, unlike the other + # libraries we check for below, so use a different variable. + # John Interrante, Karl Berry +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5 ++ { $as_echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5 + $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; } +-if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then : ++if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-lICE $X_EXTRA_LIBS $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -34034,18 +44724,43 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_ICE_IceConnectionNumber=yes + else +- ac_cv_lib_ICE_IceConnectionNumber=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_ICE_IceConnectionNumber=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5 + $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; } +-if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then : ++if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then + X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE" + fi + +@@ -34058,8 +44773,139 @@ + CFLAGS="$CFLAGS $X_CFLAGS" + CPPFLAGS="$CPPFLAGS $X_CFLAGS" + +- ac_fn_c_check_header_mongrel "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "$ac_includes_default" +-if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then : ++ if test "${ac_cv_header_X11_Xlib_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5 ++$as_echo_n "checking for X11/Xlib.h... " >&6; } ++if test "${ac_cv_header_X11_Xlib_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5 ++$as_echo "$ac_cv_header_X11_Xlib_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking X11/Xlib.h usability" >&5 ++$as_echo_n "checking X11/Xlib.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include ++_ACEOF ++rm -f conftest.$ac_objext ++if { (ac_try="$ac_compile" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_compile") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest.$ac_objext; then ++ ac_header_compiler=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_compiler=no ++fi ++ ++rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 ++$as_echo "$ac_header_compiler" >&6; } ++ ++# Is the header present? ++{ $as_echo "$as_me:$LINENO: checking X11/Xlib.h presence" >&5 ++$as_echo_n "checking X11/Xlib.h presence... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++#include ++_ACEOF ++if { (ac_try="$ac_cpp conftest.$ac_ext" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } >/dev/null && { ++ test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" || ++ test ! -s conftest.err ++ }; then ++ ac_header_preproc=yes ++else ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_header_preproc=no ++fi ++ ++rm -f conftest.err conftest.$ac_ext ++{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 ++$as_echo "$ac_header_preproc" >&6; } ++ ++# So? What about this header? ++case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in ++ yes:no: ) ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the compiler's result" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: proceeding with the compiler's result" >&2;} ++ ac_header_preproc=yes ++ ;; ++ no:yes:* ) ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: present but cannot be compiled" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: present but cannot be compiled" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: check for missing prerequisite headers?" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: see the Autoconf documentation" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: see the Autoconf documentation" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: section \"Present But Cannot Be Compiled\"" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: proceeding with the preprocessor's result" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: proceeding with the preprocessor's result" >&2;} ++ { $as_echo "$as_me:$LINENO: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&5 ++$as_echo "$as_me: WARNING: X11/Xlib.h: in the future, the compiler will take precedence" >&2;} ++ ( cat <<\_ASBOX ++## ------------------------------------------------------------------------ ## ++## Report this to http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer ## ++## ------------------------------------------------------------------------ ## ++_ASBOX ++ ) | sed "s/^/$as_me: WARNING: /" >&2 ++ ;; ++esac ++{ $as_echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5 ++$as_echo_n "checking for X11/Xlib.h... " >&6; } ++if test "${ac_cv_header_X11_Xlib_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++else ++ ac_cv_header_X11_Xlib_h=$ac_header_preproc ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5 ++$as_echo "$ac_cv_header_X11_Xlib_h" >&6; } ++ ++fi ++if test "x$ac_cv_header_X11_Xlib_h" = x""yes; then + HAVE_X="yes" + else + HAVE_X="no" +@@ -34069,7 +44915,7 @@ + + if test "x$HAVE_X" = "xno" + then +- { $as_echo "$as_me:${as_lineno-$LINENO}: cannot find X11 development files" >&5 ++ { $as_echo "$as_me:$LINENO: cannot find X11 development files" >&5 + $as_echo "$as_me: cannot find X11 development files" >&6;} + else + X_LIBS="$X_LIBS $X_PRE_LIBS $X_EXTRA_LIBS" +@@ -34086,14 +44932,18 @@ + save_cppflags=$CFLAGS + CPPFLAGS="$CPPFLAGS $X_CFLAGS" + +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuOpenServer in -laudio" >&5 ++ { $as_echo "$as_me:$LINENO: checking for AuOpenServer in -laudio" >&5 + $as_echo_n "checking for AuOpenServer in -laudio... " >&6; } +-if test "${ac_cv_lib_audio_AuOpenServer+set}" = set; then : ++if test "${ac_cv_lib_audio_AuOpenServer+set}" = set; then + $as_echo_n "(cached) " >&6 + else + ac_check_lib_save_LIBS=$LIBS + LIBS="-laudio $X_LIBS $LIBS" +-cat confdefs.h - <<_ACEOF >conftest.$ac_ext ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF + /* end confdefs.h. */ + + /* Override any GCC internal prototype to avoid an error. +@@ -34111,26 +44961,182 @@ + return 0; + } + _ACEOF +-if ac_fn_c_try_link "$LINENO"; then : ++rm -f conftest.$ac_objext conftest$ac_exeext ++if { (ac_try="$ac_link" ++case "(($ac_try" in ++ *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; ++ *) ac_try_echo=$ac_try;; ++esac ++eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\"" ++$as_echo "$ac_try_echo") >&5 ++ (eval "$ac_link") 2>conftest.er1 ++ ac_status=$? ++ grep -v '^ *+' conftest.er1 >conftest.err ++ rm -f conftest.er1 ++ cat conftest.err >&5 ++ $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && { ++ test -z "$ac_c_werror_flag" || ++ test ! -s conftest.err ++ } && test -s conftest$ac_exeext && { ++ test "$cross_compiling" = yes || ++ $as_test_x conftest$ac_exeext ++ }; then + ac_cv_lib_audio_AuOpenServer=yes + else +- ac_cv_lib_audio_AuOpenServer=no ++ $as_echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++ ac_cv_lib_audio_AuOpenServer=no + fi +-rm -f core conftest.err conftest.$ac_objext \ +- conftest$ac_exeext conftest.$ac_ext ++ ++rm -rf conftest.dSYM ++rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ ++ conftest$ac_exeext conftest.$ac_ext + LIBS=$ac_check_lib_save_LIBS + fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuOpenServer" >&5 ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_audio_AuOpenServer" >&5 + $as_echo "$ac_cv_lib_audio_AuOpenServer" >&6; } +-if test "x$ac_cv_lib_audio_AuOpenServer" = x""yes; then : ++if test "x$ac_cv_lib_audio_AuOpenServer" = x""yes; then + HAVE_NAS=yes + else + HAVE_NAS=no + fi + + if test "x$HAVE_NAS" = "xyes"; then +- ac_fn_c_check_header_mongrel "$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default" +-if test "x$ac_cv_header_audio_audiolib_h" = x""yes; then : ++ if test "${ac_cv_header_audio_audiolib_h+set}" = set; then ++ { $as_echo "$as_me:$LINENO: checking for audio/audiolib.h" >&5 ++$as_echo_n "checking for audio/audiolib.h... " >&6; } ++if test "${ac_cv_header_audio_audiolib_h+set}" = set; then ++ $as_echo_n "(cached) " >&6 ++fi ++{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_audio_audiolib_h" >&5 ++$as_echo "$ac_cv_header_audio_audiolib_h" >&6; } ++else ++ # Is the header compilable? ++{ $as_echo "$as_me:$LINENO: checking audio/audiolib.h usability" >&5 ++$as_echo_n "checking audio/audiolib.h usability... " >&6; } ++cat >conftest.$ac_ext <<_ACEOF ++/* confdefs.h. */ ++_ACEOF ++cat confdefs.h >>conftest.$ac_ext ++cat >>conftest.$ac_ext <<_ACEOF ++/* end confdefs.h. */ ++$ac_includes_default ++#include