Changeset 3560 for trunk/packages


Ignore:
Timestamp:
Mar 22, 2013 7:46:34 PM (11 years ago)
Author:
gah
Message:
 
Location:
trunk/packages/vizservers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r3465 r3560  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.69 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     7#
     8# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
     9#
     10#
    911# This configure script is free software; the Free Software Foundation
    1012# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     13## -------------------- ##
     14## M4sh Initialization. ##
     15## -------------------- ##
    1416
    1517# Be more Bourne compatible
    1618DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     19if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1820  emulate sh
    1921  NULLCMD=:
     
    2325  setopt NO_GLOB_SUBST
    2426else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     27  case `(set -o) 2>/dev/null` in #(
     28  *posix*) :
     29    set -o posix ;; #(
     30  *) :
     31     ;;
    2732esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     33fi
     34
    4135
    4236as_nl='
     
    4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4842as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     43# Prefer a ksh shell builtin over an external printf program on Solaris,
     44# but without wasting forks for bash or zsh.
     45if test -z "$BASH_VERSION$ZSH_VERSION" \
     46    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     47  as_echo='print -r --'
     48  as_echo_n='print -rn --'
     49elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5050  as_echo='printf %s\n'
    5151  as_echo_n='printf %s'
     
    5858    as_echo_n_body='eval
    5959      arg=$1;
    60       case $arg in
     60      case $arg in #(
    6161      *"$as_nl"*)
    6262        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8181fi
    8282
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9083
    9184# IFS
     
    9790
    9891# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     92as_myself=
     93case $0 in #((
    10094  *[\\/]* ) as_myself=$0 ;;
    10195  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10498  IFS=$as_save_IFS
    10599  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     100    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     101  done
    108102IFS=$as_save_IFS
    109103
     
    117111if test ! -f "$as_myself"; then
    118112  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     113  exit 1
     114fi
     115
     116# Unset variables that we do not need and which cause bugs (e.g. in
     117# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     118# suppresses any "Segmentation fault" message there.  '((' could
     119# trigger a bug in pdksh 5.2.14.
     120for as_var in BASH_ENV ENV MAIL MAILPATH
     121do eval test x\${$as_var+set} = xset \
     122  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125123done
    126124PS1='$ '
     
    134132export LANGUAGE
    135133
    136 # Required to use basename.
     134# CDPATH.
     135(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     136
     137# Use a proper internal environment variable to ensure we don't fall
     138  # into an infinite loop, continuously re-executing ourselves.
     139  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
     140    _as_can_reexec=no; export _as_can_reexec;
     141    # We cannot yet assume a decent shell, so we have to provide a
     142# neutralization value for shells without unset; and this also
     143# works around shells that cannot unset nonexistent variables.
     144# Preserve -v and -x to the replacement shell.
     145BASH_ENV=/dev/null
     146ENV=/dev/null
     147(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     148case $- in # ((((
     149  *v*x* | *x*v* ) as_opts=-vx ;;
     150  *v* ) as_opts=-v ;;
     151  *x* ) as_opts=-x ;;
     152  * ) as_opts= ;;
     153esac
     154exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     155# Admittedly, this is quite paranoid, since all the known shells bail
     156# out after a failed `exec'.
     157$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     158as_fn_exit 255
     159  fi
     160  # We don't want this to propagate to other subprocesses.
     161          { _as_can_reexec=; unset _as_can_reexec;}
     162if test "x$CONFIG_SHELL" = x; then
     163  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     164  emulate sh
     165  NULLCMD=:
     166  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     167  # is contrary to our usage.  Disable this feature.
     168  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     169  setopt NO_GLOB_SUBST
     170else
     171  case \`(set -o) 2>/dev/null\` in #(
     172  *posix*) :
     173    set -o posix ;; #(
     174  *) :
     175     ;;
     176esac
     177fi
     178"
     179  as_required="as_fn_return () { (exit \$1); }
     180as_fn_success () { as_fn_return 0; }
     181as_fn_failure () { as_fn_return 1; }
     182as_fn_ret_success () { return 0; }
     183as_fn_ret_failure () { return 1; }
     184
     185exitcode=0
     186as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     187as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     188as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     189as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     190if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     191
     192else
     193  exitcode=1; echo positional parameters were not saved.
     194fi
     195test x\$exitcode = x0 || exit 1
     196test -x / || exit 1"
     197  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     198  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     199  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     200  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     201test \$(( 1 + 1 )) = 2 || exit 1"
     202  if (eval "$as_required") 2>/dev/null; then :
     203  as_have_required=yes
     204else
     205  as_have_required=no
     206fi
     207  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     208
     209else
     210  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     211as_found=false
     212for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     213do
     214  IFS=$as_save_IFS
     215  test -z "$as_dir" && as_dir=.
     216  as_found=:
     217  case $as_dir in #(
     218         /*)
     219           for as_base in sh bash ksh sh5; do
     220             # Try only shells that exist, to save several forks.
     221             as_shell=$as_dir/$as_base
     222             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     223                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     224  CONFIG_SHELL=$as_shell as_have_required=yes
     225                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     226  break 2
     227fi
     228fi
     229           done;;
     230       esac
     231  as_found=false
     232done
     233$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     234              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     235  CONFIG_SHELL=$SHELL as_have_required=yes
     236fi; }
     237IFS=$as_save_IFS
     238
     239
     240      if test "x$CONFIG_SHELL" != x; then :
     241  export CONFIG_SHELL
     242             # We cannot yet assume a decent shell, so we have to provide a
     243# neutralization value for shells without unset; and this also
     244# works around shells that cannot unset nonexistent variables.
     245# Preserve -v and -x to the replacement shell.
     246BASH_ENV=/dev/null
     247ENV=/dev/null
     248(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     249case $- in # ((((
     250  *v*x* | *x*v* ) as_opts=-vx ;;
     251  *v* ) as_opts=-v ;;
     252  *x* ) as_opts=-x ;;
     253  * ) as_opts= ;;
     254esac
     255exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
     256# Admittedly, this is quite paranoid, since all the known shells bail
     257# out after a failed `exec'.
     258$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
     259exit 255
     260fi
     261
     262    if test x$as_have_required = xno; then :
     263  $as_echo "$0: This script requires a shell more modern than all"
     264  $as_echo "$0: the shells that I found on your system."
     265  if test x${ZSH_VERSION+set} = xset ; then
     266    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     267    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     268  else
     269    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     270$0: rappture@nanohub.org about your system, including any
     271$0: error possibly output before this message. Then install
     272$0: a modern shell, or manually run the script under such a
     273$0: shell if you do have one."
     274  fi
     275  exit 1
     276fi
     277fi
     278fi
     279SHELL=${CONFIG_SHELL-/bin/sh}
     280export SHELL
     281# Unset more variables known to interfere with behavior of common tools.
     282CLICOLOR_FORCE= GREP_OPTIONS=
     283unset CLICOLOR_FORCE GREP_OPTIONS
     284
     285## --------------------- ##
     286## M4sh Shell Functions. ##
     287## --------------------- ##
     288# as_fn_unset VAR
     289# ---------------
     290# Portably unset VAR.
     291as_fn_unset ()
     292{
     293  { eval $1=; unset $1;}
     294}
     295as_unset=as_fn_unset
     296
     297# as_fn_set_status STATUS
     298# -----------------------
     299# Set $? to STATUS, without forking.
     300as_fn_set_status ()
     301{
     302  return $1
     303} # as_fn_set_status
     304
     305# as_fn_exit STATUS
     306# -----------------
     307# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     308as_fn_exit ()
     309{
     310  set +e
     311  as_fn_set_status $1
     312  exit $1
     313} # as_fn_exit
     314
     315# as_fn_mkdir_p
     316# -------------
     317# Create "$as_dir" as a directory, including parents if necessary.
     318as_fn_mkdir_p ()
     319{
     320
     321  case $as_dir in #(
     322  -*) as_dir=./$as_dir;;
     323  esac
     324  test -d "$as_dir" || eval $as_mkdir_p || {
     325    as_dirs=
     326    while :; do
     327      case $as_dir in #(
     328      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     329      *) as_qdir=$as_dir;;
     330      esac
     331      as_dirs="'$as_qdir' $as_dirs"
     332      as_dir=`$as_dirname -- "$as_dir" ||
     333$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     334         X"$as_dir" : 'X\(//\)[^/]' \| \
     335         X"$as_dir" : 'X\(//\)$' \| \
     336         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     337$as_echo X"$as_dir" |
     338    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     339            s//\1/
     340            q
     341          }
     342          /^X\(\/\/\)[^/].*/{
     343            s//\1/
     344            q
     345          }
     346          /^X\(\/\/\)$/{
     347            s//\1/
     348            q
     349          }
     350          /^X\(\/\).*/{
     351            s//\1/
     352            q
     353          }
     354          s/.*/./; q'`
     355      test -d "$as_dir" && break
     356    done
     357    test -z "$as_dirs" || eval "mkdir $as_dirs"
     358  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     359
     360
     361} # as_fn_mkdir_p
     362
     363# as_fn_executable_p FILE
     364# -----------------------
     365# Test if FILE is an executable regular file.
     366as_fn_executable_p ()
     367{
     368  test -f "$1" && test -x "$1"
     369} # as_fn_executable_p
     370# as_fn_append VAR VALUE
     371# ----------------------
     372# Append the text in VALUE to the end of the definition contained in VAR. Take
     373# advantage of any shell optimizations that allow amortized linear growth over
     374# repeated appends, instead of the typical quadratic growth present in naive
     375# implementations.
     376if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     377  eval 'as_fn_append ()
     378  {
     379    eval $1+=\$2
     380  }'
     381else
     382  as_fn_append ()
     383  {
     384    eval $1=\$$1\$2
     385  }
     386fi # as_fn_append
     387
     388# as_fn_arith ARG...
     389# ------------------
     390# Perform arithmetic evaluation on the ARGs, and store the result in the
     391# global $as_val. Take advantage of shells that can avoid forks. The arguments
     392# must be portable across $(()) and expr.
     393if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     394  eval 'as_fn_arith ()
     395  {
     396    as_val=$(( $* ))
     397  }'
     398else
     399  as_fn_arith ()
     400  {
     401    as_val=`expr "$@" || test $? -eq 1`
     402  }
     403fi # as_fn_arith
     404
     405
     406# as_fn_error STATUS ERROR [LINENO LOG_FD]
     407# ----------------------------------------
     408# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     409# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     410# script with STATUS, using 1 if that was 0.
     411as_fn_error ()
     412{
     413  as_status=$1; test $as_status -eq 0 && as_status=1
     414  if test "$4"; then
     415    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     416    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     417  fi
     418  $as_echo "$as_me: error: $2" >&2
     419  as_fn_exit $as_status
     420} # as_fn_error
     421
    137422if expr a : '\(a\)' >/dev/null 2>&1 &&
    138423   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148433fi
    149434
    150 
    151 # Name of the executable.
     435if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     436  as_dirname=dirname
     437else
     438  as_dirname=false
     439fi
     440
    152441as_me=`$as_basename -- "$0" ||
    153442$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169458          s/.*/./; q'`
    170459
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     460# Avoid depending upon Character Ranges.
     461as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     462as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     463as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     464as_cr_digits='0123456789'
     465as_cr_alnum=$as_cr_Letters$as_cr_digits
     466
     467
     468  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     469  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     470  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     471  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     472  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460473  sed -n '
    461474    p
     
    474487    ' >$as_me.lineno &&
    475488  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
    478 
     489    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     490
     491  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
     492  # already done that, so ensure we don't try to do so again and fall
     493  # in an infinite loop.  This has already happened in practice.
     494  _as_can_reexec=no; export _as_can_reexec
    479495  # Don't try to exec as it changes $[0], causing all sort of problems
    480496  # (the dirname of $[0] is not the place where we might find the
     
    485501}
    486502
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494503ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     504case `echo -n x` in #(((((
    496505-n*)
    497   case `echo 'x\c'` in
     506  case `echo 'xy\c'` in
    498507  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     508  xy)  ECHO_C='\c';;
     509  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     510       ECHO_T=' ';;
    500511  esac;;
    501512*)
    502513  ECHO_N='-n';;
    503514esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510515
    511516rm -f conf$$ conf$$.exe conf$$.file
     
    522527    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523528    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
     529    # In both cases, we have to default to `cp -pR'.
    525530    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
     531      as_ln_s='cp -pR'
    527532  elif ln conf$$.file conf$$ 2>/dev/null; then
    528533    as_ln_s=ln
    529534  else
    530     as_ln_s='cp -p'
     535    as_ln_s='cp -pR'
    531536  fi
    532537else
    533   as_ln_s='cp -p'
     538  as_ln_s='cp -pR'
    534539fi
    535540rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
     
    537542
    538543if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     544  as_mkdir_p='mkdir -p "$as_dir"'
    540545else
    541546  test -d ./-p && rmdir ./-p
     
    543548fi
    544549
    545 if test -x / >/dev/null 2>&1; then
    546   as_test_x='test -x'
    547 else
    548   if ls -dL / >/dev/null 2>&1; then
    549     as_ls_L_option=L
    550   else
    551     as_ls_L_option=
    552   fi
    553   as_test_x='
    554     eval sh -c '\''
    555       if test -d "$1"; then
    556         test -d "$1/.";
    557       else
    558         case $1 in
    559         -*)set "./$1";;
    560         esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    562         ???[sx]*):;;*)false;;esac;fi
    563     '\'' sh
    564   '
    565 fi
    566 as_executable_p=$as_test_x
     550as_test_x='test -x'
     551as_executable_p=as_fn_executable_p
    567552
    568553# Sed expression to map a string onto a valid CPP name.
     
    573558
    574559
    575 
    576 exec 7<&0 </dev/null 6>&1
     560test -n "$DJDIR" || exec 7<&0 </dev/null
     561exec 6>&1
    577562
    578563# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     564# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580565# so uname gets run too.
    581566ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592577MFLAGS=
    593578MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595579
    596580# Identity of this package.
     
    600584PACKAGE_STRING='vizservers 0.1'
    601585PACKAGE_BUGREPORT='rappture@nanohub.org'
     586PACKAGE_URL=''
    602587
    603588# Factoring default headers for most tests.
     
    660645CG_LIB_SPEC
    661646CG_INC_SPEC
     647FFMPEG
    662648CXXCPP
    663649ac_ct_CXX
     
    735721prefix
    736722exec_prefix
     723PACKAGE_URL
    737724PACKAGE_BUGREPORT
    738725PACKAGE_STRING
     
    750737with_vtk_libs
    751738with_vtk
     739with_ffmpeg
    752740with_python
    753741with_statsdir
     
    834822
    835823  case $ac_option in
    836   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    837   *)    ac_optarg=yes ;;
     824  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     825  *=)   ac_optarg= ;;
     826  *)    ac_optarg=yes ;;
    838827  esac
    839828
     
    880869    # Reject names that are not valid shell variable names.
    881870    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    882       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    883    { (exit 1); exit 1; }; }
     871      as_fn_error $? "invalid feature name: $ac_useropt"
    884872    ac_useropt_orig=$ac_useropt
    885873    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    907895    # Reject names that are not valid shell variable names.
    908896    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    909       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    910    { (exit 1); exit 1; }; }
     897      as_fn_error $? "invalid feature name: $ac_useropt"
    911898    ac_useropt_orig=$ac_useropt
    912899    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11121099    # Reject names that are not valid shell variable names.
    11131100    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1114       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1115    { (exit 1); exit 1; }; }
     1101      as_fn_error $? "invalid package name: $ac_useropt"
    11161102    ac_useropt_orig=$ac_useropt
    11171103    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11291115    # Reject names that are not valid shell variable names.
    11301116    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1131       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1132    { (exit 1); exit 1; }; }
     1117      as_fn_error $? "invalid package name: $ac_useropt"
    11331118    ac_useropt_orig=$ac_useropt
    11341119    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11601145    x_libraries=$ac_optarg ;;
    11611146
    1162   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1163 Try \`$0 --help' for more information." >&2
    1164    { (exit 1); exit 1; }; }
     1147  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1148Try \`$0 --help' for more information"
    11651149    ;;
    11661150
     
    11681152    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11691153    # Reject names that are not valid shell variable names.
    1170     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1171       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1172    { (exit 1); exit 1; }; }
     1154    case $ac_envvar in #(
     1155      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1156      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1157    esac
    11731158    eval $ac_envvar=\$ac_optarg
    11741159    export $ac_envvar ;;
     
    11791164    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11801165      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1181     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1166    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11821167    ;;
    11831168
     
    11871172if test -n "$ac_prev"; then
    11881173  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1189   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1190    { (exit 1); exit 1; }; }
     1174  as_fn_error $? "missing argument to $ac_option"
    11911175fi
    11921176
     
    11941178  case $enable_option_checking in
    11951179    no) ;;
    1196     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1197    { (exit 1); exit 1; }; } ;;
     1180    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11981181    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11991182  esac
     
    12181201    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12191202  esac
    1220   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1221    { (exit 1); exit 1; }; }
     1203  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12221204done
    12231205
     
    12331215  if test "x$build_alias" = x; then
    12341216    cross_compiling=maybe
    1235     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1236     If a cross compiler is detected then cross compile mode will be used." >&2
    12371217  elif test "x$build_alias" != "x$host_alias"; then
    12381218    cross_compiling=yes
     
    12491229ac_ls_di=`ls -di .` &&
    12501230ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1251   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1252    { (exit 1); exit 1; }; }
     1231  as_fn_error $? "working directory cannot be determined"
    12531232test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1254   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1255    { (exit 1); exit 1; }; }
     1233  as_fn_error $? "pwd does not report name of working directory"
    12561234
    12571235
     
    12921270if test ! -r "$srcdir/$ac_unique_file"; then
    12931271  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1294   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1295    { (exit 1); exit 1; }; }
     1272  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12961273fi
    12971274ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12981275ac_abs_confdir=`(
    1299         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1300    { (exit 1); exit 1; }; }
     1276        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13011277        pwd)`
    13021278# When building in place, set srcdir=.
     
    13381314      --help=recursive    display the short help of all the included packages
    13391315  -V, --version           display version information and exit
    1340   -q, --quiet, --silent   do not print \`checking...' messages
     1316  -q, --quiet, --silent   do not print \`checking ...' messages
    13411317      --cache-file=FILE   cache test results in FILE [disabled]
    13421318  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14121388  --with-vtk-libs=DIR     VTK libraries are in DIR
    14131389  --with-vtk=VERSION      Version of VTK required
     1390  --with-ffmpeg=DIR       location of ffmpeg [default=yes]
    14141391  --with-python=DIR       location of python [default=yes]
    14151392  --with-statsdir=DIR     Write statics in DIR
     
    14221399              nonstandard directory <lib dir>
    14231400  LIBS        libraries to pass to the linker, e.g. -l<library>
    1424   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1401  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14251402              you have headers in a nonstandard directory <include dir>
    14261403  CPP         C preprocessor
     
    14971474  cat <<\_ACEOF
    14981475vizservers configure 0.1
    1499 generated by GNU Autoconf 2.63
    1500 
    1501 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1502 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1476generated by GNU Autoconf 2.69
     1477
     1478Copyright (C) 2012 Free Software Foundation, Inc.
    15031479This configure script is free software; the Free Software Foundation
    15041480gives unlimited permission to copy, distribute and modify it.
     
    15061482  exit
    15071483fi
     1484
     1485## ------------------------ ##
     1486## Autoconf initialization. ##
     1487## ------------------------ ##
     1488
     1489# ac_fn_c_try_compile LINENO
     1490# --------------------------
     1491# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1492ac_fn_c_try_compile ()
     1493{
     1494  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1495  rm -f conftest.$ac_objext
     1496  if { { ac_try="$ac_compile"
     1497case "(($ac_try" in
     1498  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1499  *) ac_try_echo=$ac_try;;
     1500esac
     1501eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1502$as_echo "$ac_try_echo"; } >&5
     1503  (eval "$ac_compile") 2>conftest.err
     1504  ac_status=$?
     1505  if test -s conftest.err; then
     1506    grep -v '^ *+' conftest.err >conftest.er1
     1507    cat conftest.er1 >&5
     1508    mv -f conftest.er1 conftest.err
     1509  fi
     1510  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1511  test $ac_status = 0; } && {
     1512         test -z "$ac_c_werror_flag" ||
     1513         test ! -s conftest.err
     1514       } && test -s conftest.$ac_objext; then :
     1515  ac_retval=0
     1516else
     1517  $as_echo "$as_me: failed program was:" >&5
     1518sed 's/^/| /' conftest.$ac_ext >&5
     1519
     1520        ac_retval=1
     1521fi
     1522  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1523  as_fn_set_status $ac_retval
     1524
     1525} # ac_fn_c_try_compile
     1526
     1527# ac_fn_c_try_cpp LINENO
     1528# ----------------------
     1529# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1530ac_fn_c_try_cpp ()
     1531{
     1532  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1533  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1534case "(($ac_try" in
     1535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1536  *) ac_try_echo=$ac_try;;
     1537esac
     1538eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1539$as_echo "$ac_try_echo"; } >&5
     1540  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1541  ac_status=$?
     1542  if test -s conftest.err; then
     1543    grep -v '^ *+' conftest.err >conftest.er1
     1544    cat conftest.er1 >&5
     1545    mv -f conftest.er1 conftest.err
     1546  fi
     1547  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1548  test $ac_status = 0; } > conftest.i && {
     1549         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1550         test ! -s conftest.err
     1551       }; then :
     1552  ac_retval=0
     1553else
     1554  $as_echo "$as_me: failed program was:" >&5
     1555sed 's/^/| /' conftest.$ac_ext >&5
     1556
     1557    ac_retval=1
     1558fi
     1559  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1560  as_fn_set_status $ac_retval
     1561
     1562} # ac_fn_c_try_cpp
     1563
     1564# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1565# -------------------------------------------------------
     1566# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1567# the include files in INCLUDES and setting the cache variable VAR
     1568# accordingly.
     1569ac_fn_c_check_header_mongrel ()
     1570{
     1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1572  if eval \${$3+:} false; then :
     1573  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1574$as_echo_n "checking for $2... " >&6; }
     1575if eval \${$3+:} false; then :
     1576  $as_echo_n "(cached) " >&6
     1577fi
     1578eval ac_res=\$$3
     1579               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1580$as_echo "$ac_res" >&6; }
     1581else
     1582  # Is the header compilable?
     1583{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1584$as_echo_n "checking $2 usability... " >&6; }
     1585cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1586/* end confdefs.h.  */
     1587$4
     1588#include <$2>
     1589_ACEOF
     1590if ac_fn_c_try_compile "$LINENO"; then :
     1591  ac_header_compiler=yes
     1592else
     1593  ac_header_compiler=no
     1594fi
     1595rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1596{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1597$as_echo "$ac_header_compiler" >&6; }
     1598
     1599# Is the header present?
     1600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1601$as_echo_n "checking $2 presence... " >&6; }
     1602cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1603/* end confdefs.h.  */
     1604#include <$2>
     1605_ACEOF
     1606if ac_fn_c_try_cpp "$LINENO"; then :
     1607  ac_header_preproc=yes
     1608else
     1609  ac_header_preproc=no
     1610fi
     1611rm -f conftest.err conftest.i conftest.$ac_ext
     1612{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1613$as_echo "$ac_header_preproc" >&6; }
     1614
     1615# So?  What about this header?
     1616case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1617  yes:no: )
     1618    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1619$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1620    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1621$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1622    ;;
     1623  no:yes:* )
     1624    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1625$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1626    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1627$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1628    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1629$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1630    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1631$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1632    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1633$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1634( $as_echo "## ----------------------------------- ##
     1635## Report this to rappture@nanohub.org ##
     1636## ----------------------------------- ##"
     1637     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1638    ;;
     1639esac
     1640  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1641$as_echo_n "checking for $2... " >&6; }
     1642if eval \${$3+:} false; then :
     1643  $as_echo_n "(cached) " >&6
     1644else
     1645  eval "$3=\$ac_header_compiler"
     1646fi
     1647eval ac_res=\$$3
     1648               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1649$as_echo "$ac_res" >&6; }
     1650fi
     1651  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1652
     1653} # ac_fn_c_check_header_mongrel
     1654
     1655# ac_fn_c_try_run LINENO
     1656# ----------------------
     1657# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1658# that executables *can* be run.
     1659ac_fn_c_try_run ()
     1660{
     1661  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1662  if { { ac_try="$ac_link"
     1663case "(($ac_try" in
     1664  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1665  *) ac_try_echo=$ac_try;;
     1666esac
     1667eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1668$as_echo "$ac_try_echo"; } >&5
     1669  (eval "$ac_link") 2>&5
     1670  ac_status=$?
     1671  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1672  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1673  { { case "(($ac_try" in
     1674  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1675  *) ac_try_echo=$ac_try;;
     1676esac
     1677eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1678$as_echo "$ac_try_echo"; } >&5
     1679  (eval "$ac_try") 2>&5
     1680  ac_status=$?
     1681  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1682  test $ac_status = 0; }; }; then :
     1683  ac_retval=0
     1684else
     1685  $as_echo "$as_me: program exited with status $ac_status" >&5
     1686       $as_echo "$as_me: failed program was:" >&5
     1687sed 's/^/| /' conftest.$ac_ext >&5
     1688
     1689       ac_retval=$ac_status
     1690fi
     1691  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1692  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1693  as_fn_set_status $ac_retval
     1694
     1695} # ac_fn_c_try_run
     1696
     1697# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1698# -------------------------------------------------------
     1699# Tests whether HEADER exists and can be compiled using the include files in
     1700# INCLUDES, setting the cache variable VAR accordingly.
     1701ac_fn_c_check_header_compile ()
     1702{
     1703  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1704  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1705$as_echo_n "checking for $2... " >&6; }
     1706if eval \${$3+:} false; then :
     1707  $as_echo_n "(cached) " >&6
     1708else
     1709  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1710/* end confdefs.h.  */
     1711$4
     1712#include <$2>
     1713_ACEOF
     1714if ac_fn_c_try_compile "$LINENO"; then :
     1715  eval "$3=yes"
     1716else
     1717  eval "$3=no"
     1718fi
     1719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1720fi
     1721eval ac_res=\$$3
     1722               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1723$as_echo "$ac_res" >&6; }
     1724  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1725
     1726} # ac_fn_c_check_header_compile
     1727
     1728# ac_fn_c_try_link LINENO
     1729# -----------------------
     1730# Try to link conftest.$ac_ext, and return whether this succeeded.
     1731ac_fn_c_try_link ()
     1732{
     1733  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1734  rm -f conftest.$ac_objext conftest$ac_exeext
     1735  if { { ac_try="$ac_link"
     1736case "(($ac_try" in
     1737  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1738  *) ac_try_echo=$ac_try;;
     1739esac
     1740eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1741$as_echo "$ac_try_echo"; } >&5
     1742  (eval "$ac_link") 2>conftest.err
     1743  ac_status=$?
     1744  if test -s conftest.err; then
     1745    grep -v '^ *+' conftest.err >conftest.er1
     1746    cat conftest.er1 >&5
     1747    mv -f conftest.er1 conftest.err
     1748  fi
     1749  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1750  test $ac_status = 0; } && {
     1751         test -z "$ac_c_werror_flag" ||
     1752         test ! -s conftest.err
     1753       } && test -s conftest$ac_exeext && {
     1754         test "$cross_compiling" = yes ||
     1755         test -x conftest$ac_exeext
     1756       }; then :
     1757  ac_retval=0
     1758else
     1759  $as_echo "$as_me: failed program was:" >&5
     1760sed 's/^/| /' conftest.$ac_ext >&5
     1761
     1762        ac_retval=1
     1763fi
     1764  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1765  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1766  # interfere with the next link command; also delete a directory that is
     1767  # left behind by Apple's compiler.  We do this before executing the actions.
     1768  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1769  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1770  as_fn_set_status $ac_retval
     1771
     1772} # ac_fn_c_try_link
     1773
     1774# ac_fn_cxx_try_compile LINENO
     1775# ----------------------------
     1776# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1777ac_fn_cxx_try_compile ()
     1778{
     1779  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1780  rm -f conftest.$ac_objext
     1781  if { { ac_try="$ac_compile"
     1782case "(($ac_try" in
     1783  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1784  *) ac_try_echo=$ac_try;;
     1785esac
     1786eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1787$as_echo "$ac_try_echo"; } >&5
     1788  (eval "$ac_compile") 2>conftest.err
     1789  ac_status=$?
     1790  if test -s conftest.err; then
     1791    grep -v '^ *+' conftest.err >conftest.er1
     1792    cat conftest.er1 >&5
     1793    mv -f conftest.er1 conftest.err
     1794  fi
     1795  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1796  test $ac_status = 0; } && {
     1797         test -z "$ac_cxx_werror_flag" ||
     1798         test ! -s conftest.err
     1799       } && test -s conftest.$ac_objext; then :
     1800  ac_retval=0
     1801else
     1802  $as_echo "$as_me: failed program was:" >&5
     1803sed 's/^/| /' conftest.$ac_ext >&5
     1804
     1805        ac_retval=1
     1806fi
     1807  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1808  as_fn_set_status $ac_retval
     1809
     1810} # ac_fn_cxx_try_compile
     1811
     1812# ac_fn_cxx_try_cpp LINENO
     1813# ------------------------
     1814# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1815ac_fn_cxx_try_cpp ()
     1816{
     1817  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1818  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1819case "(($ac_try" in
     1820  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1821  *) ac_try_echo=$ac_try;;
     1822esac
     1823eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1824$as_echo "$ac_try_echo"; } >&5
     1825  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1826  ac_status=$?
     1827  if test -s conftest.err; then
     1828    grep -v '^ *+' conftest.err >conftest.er1
     1829    cat conftest.er1 >&5
     1830    mv -f conftest.er1 conftest.err
     1831  fi
     1832  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1833  test $ac_status = 0; } > conftest.i && {
     1834         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1835         test ! -s conftest.err
     1836       }; then :
     1837  ac_retval=0
     1838else
     1839  $as_echo "$as_me: failed program was:" >&5
     1840sed 's/^/| /' conftest.$ac_ext >&5
     1841
     1842    ac_retval=1
     1843fi
     1844  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1845  as_fn_set_status $ac_retval
     1846
     1847} # ac_fn_cxx_try_cpp
     1848
     1849# ac_fn_cxx_try_run LINENO
     1850# ------------------------
     1851# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1852# that executables *can* be run.
     1853ac_fn_cxx_try_run ()
     1854{
     1855  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1856  if { { ac_try="$ac_link"
     1857case "(($ac_try" in
     1858  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1859  *) ac_try_echo=$ac_try;;
     1860esac
     1861eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1862$as_echo "$ac_try_echo"; } >&5
     1863  (eval "$ac_link") 2>&5
     1864  ac_status=$?
     1865  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1866  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1867  { { case "(($ac_try" in
     1868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1869  *) ac_try_echo=$ac_try;;
     1870esac
     1871eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1872$as_echo "$ac_try_echo"; } >&5
     1873  (eval "$ac_try") 2>&5
     1874  ac_status=$?
     1875  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1876  test $ac_status = 0; }; }; then :
     1877  ac_retval=0
     1878else
     1879  $as_echo "$as_me: program exited with status $ac_status" >&5
     1880       $as_echo "$as_me: failed program was:" >&5
     1881sed 's/^/| /' conftest.$ac_ext >&5
     1882
     1883       ac_retval=$ac_status
     1884fi
     1885  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1886  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1887  as_fn_set_status $ac_retval
     1888
     1889} # ac_fn_cxx_try_run
     1890
     1891# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1892# ----------------------------------------------
     1893# Tries to find the compile-time value of EXPR in a program that includes
     1894# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1895# computed
     1896ac_fn_cxx_compute_int ()
     1897{
     1898  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1899  if test "$cross_compiling" = yes; then
     1900    # Depending upon the size, compute the lo and hi bounds.
     1901cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1902/* end confdefs.h.  */
     1903$4
     1904int
     1905main ()
     1906{
     1907static int test_array [1 - 2 * !(($2) >= 0)];
     1908test_array [0] = 0;
     1909return test_array [0];
     1910
     1911  ;
     1912  return 0;
     1913}
     1914_ACEOF
     1915if ac_fn_cxx_try_compile "$LINENO"; then :
     1916  ac_lo=0 ac_mid=0
     1917  while :; do
     1918    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1919/* end confdefs.h.  */
     1920$4
     1921int
     1922main ()
     1923{
     1924static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1925test_array [0] = 0;
     1926return test_array [0];
     1927
     1928  ;
     1929  return 0;
     1930}
     1931_ACEOF
     1932if ac_fn_cxx_try_compile "$LINENO"; then :
     1933  ac_hi=$ac_mid; break
     1934else
     1935  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1936                        if test $ac_lo -le $ac_mid; then
     1937                          ac_lo= ac_hi=
     1938                          break
     1939                        fi
     1940                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1941fi
     1942rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1943  done
     1944else
     1945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1946/* end confdefs.h.  */
     1947$4
     1948int
     1949main ()
     1950{
     1951static int test_array [1 - 2 * !(($2) < 0)];
     1952test_array [0] = 0;
     1953return test_array [0];
     1954
     1955  ;
     1956  return 0;
     1957}
     1958_ACEOF
     1959if ac_fn_cxx_try_compile "$LINENO"; then :
     1960  ac_hi=-1 ac_mid=-1
     1961  while :; do
     1962    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1963/* end confdefs.h.  */
     1964$4
     1965int
     1966main ()
     1967{
     1968static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1969test_array [0] = 0;
     1970return test_array [0];
     1971
     1972  ;
     1973  return 0;
     1974}
     1975_ACEOF
     1976if ac_fn_cxx_try_compile "$LINENO"; then :
     1977  ac_lo=$ac_mid; break
     1978else
     1979  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1980                        if test $ac_mid -le $ac_hi; then
     1981                          ac_lo= ac_hi=
     1982                          break
     1983                        fi
     1984                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1985fi
     1986rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1987  done
     1988else
     1989  ac_lo= ac_hi=
     1990fi
     1991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1992fi
     1993rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1994# Binary search between lo and hi bounds.
     1995while test "x$ac_lo" != "x$ac_hi"; do
     1996  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1998/* end confdefs.h.  */
     1999$4
     2000int
     2001main ()
     2002{
     2003static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     2004test_array [0] = 0;
     2005return test_array [0];
     2006
     2007  ;
     2008  return 0;
     2009}
     2010_ACEOF
     2011if ac_fn_cxx_try_compile "$LINENO"; then :
     2012  ac_hi=$ac_mid
     2013else
     2014  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     2015fi
     2016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2017done
     2018case $ac_lo in #((
     2019?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     2020'') ac_retval=1 ;;
     2021esac
     2022  else
     2023    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2024/* end confdefs.h.  */
     2025$4
     2026static long int longval () { return $2; }
     2027static unsigned long int ulongval () { return $2; }
     2028#include <stdio.h>
     2029#include <stdlib.h>
     2030int
     2031main ()
     2032{
     2033
     2034  FILE *f = fopen ("conftest.val", "w");
     2035  if (! f)
     2036    return 1;
     2037  if (($2) < 0)
     2038    {
     2039      long int i = longval ();
     2040      if (i != ($2))
     2041        return 1;
     2042      fprintf (f, "%ld", i);
     2043    }
     2044  else
     2045    {
     2046      unsigned long int i = ulongval ();
     2047      if (i != ($2))
     2048        return 1;
     2049      fprintf (f, "%lu", i);
     2050    }
     2051  /* Do not output a trailing newline, as this causes \r\n confusion
     2052     on some platforms.  */
     2053  return ferror (f) || fclose (f) != 0;
     2054
     2055  ;
     2056  return 0;
     2057}
     2058_ACEOF
     2059if ac_fn_cxx_try_run "$LINENO"; then :
     2060  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2061else
     2062  ac_retval=1
     2063fi
     2064rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2065  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2066rm -f conftest.val
     2067
     2068  fi
     2069  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2070  as_fn_set_status $ac_retval
     2071
     2072} # ac_fn_cxx_compute_int
     2073
     2074# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2075# ---------------------------------------------------------
     2076# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2077# the include files in INCLUDES and setting the cache variable VAR
     2078# accordingly.
     2079ac_fn_cxx_check_header_mongrel ()
     2080{
     2081  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2082  if eval \${$3+:} false; then :
     2083  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2084$as_echo_n "checking for $2... " >&6; }
     2085if eval \${$3+:} false; then :
     2086  $as_echo_n "(cached) " >&6
     2087fi
     2088eval ac_res=\$$3
     2089               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2090$as_echo "$ac_res" >&6; }
     2091else
     2092  # Is the header compilable?
     2093{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2094$as_echo_n "checking $2 usability... " >&6; }
     2095cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2096/* end confdefs.h.  */
     2097$4
     2098#include <$2>
     2099_ACEOF
     2100if ac_fn_cxx_try_compile "$LINENO"; then :
     2101  ac_header_compiler=yes
     2102else
     2103  ac_header_compiler=no
     2104fi
     2105rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2106{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2107$as_echo "$ac_header_compiler" >&6; }
     2108
     2109# Is the header present?
     2110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2111$as_echo_n "checking $2 presence... " >&6; }
     2112cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2113/* end confdefs.h.  */
     2114#include <$2>
     2115_ACEOF
     2116if ac_fn_cxx_try_cpp "$LINENO"; then :
     2117  ac_header_preproc=yes
     2118else
     2119  ac_header_preproc=no
     2120fi
     2121rm -f conftest.err conftest.i conftest.$ac_ext
     2122{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2123$as_echo "$ac_header_preproc" >&6; }
     2124
     2125# So?  What about this header?
     2126case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2127  yes:no: )
     2128    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2129$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2130    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2131$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2132    ;;
     2133  no:yes:* )
     2134    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2135$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2136    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2137$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2138    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2139$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2140    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2141$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2142    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2143$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2144( $as_echo "## ----------------------------------- ##
     2145## Report this to rappture@nanohub.org ##
     2146## ----------------------------------- ##"
     2147     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2148    ;;
     2149esac
     2150  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2151$as_echo_n "checking for $2... " >&6; }
     2152if eval \${$3+:} false; then :
     2153  $as_echo_n "(cached) " >&6
     2154else
     2155  eval "$3=\$ac_header_compiler"
     2156fi
     2157eval ac_res=\$$3
     2158               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2159$as_echo "$ac_res" >&6; }
     2160fi
     2161  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2162
     2163} # ac_fn_cxx_check_header_mongrel
     2164
     2165# ac_fn_cxx_try_link LINENO
     2166# -------------------------
     2167# Try to link conftest.$ac_ext, and return whether this succeeded.
     2168ac_fn_cxx_try_link ()
     2169{
     2170  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2171  rm -f conftest.$ac_objext conftest$ac_exeext
     2172  if { { ac_try="$ac_link"
     2173case "(($ac_try" in
     2174  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2175  *) ac_try_echo=$ac_try;;
     2176esac
     2177eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2178$as_echo "$ac_try_echo"; } >&5
     2179  (eval "$ac_link") 2>conftest.err
     2180  ac_status=$?
     2181  if test -s conftest.err; then
     2182    grep -v '^ *+' conftest.err >conftest.er1
     2183    cat conftest.er1 >&5
     2184    mv -f conftest.er1 conftest.err
     2185  fi
     2186  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2187  test $ac_status = 0; } && {
     2188         test -z "$ac_cxx_werror_flag" ||
     2189         test ! -s conftest.err
     2190       } && test -s conftest$ac_exeext && {
     2191         test "$cross_compiling" = yes ||
     2192         test -x conftest$ac_exeext
     2193       }; then :
     2194  ac_retval=0
     2195else
     2196  $as_echo "$as_me: failed program was:" >&5
     2197sed 's/^/| /' conftest.$ac_ext >&5
     2198
     2199        ac_retval=1
     2200fi
     2201  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2202  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2203  # interfere with the next link command; also delete a directory that is
     2204  # left behind by Apple's compiler.  We do this before executing the actions.
     2205  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2206  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2207  as_fn_set_status $ac_retval
     2208
     2209} # ac_fn_cxx_try_link
     2210
     2211# ac_fn_cxx_check_func LINENO FUNC VAR
     2212# ------------------------------------
     2213# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2214ac_fn_cxx_check_func ()
     2215{
     2216  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2217  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2218$as_echo_n "checking for $2... " >&6; }
     2219if eval \${$3+:} false; then :
     2220  $as_echo_n "(cached) " >&6
     2221else
     2222  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2223/* end confdefs.h.  */
     2224/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2225   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2226#define $2 innocuous_$2
     2227
     2228/* System header to define __stub macros and hopefully few prototypes,
     2229    which can conflict with char $2 (); below.
     2230    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2231    <limits.h> exists even on freestanding compilers.  */
     2232
     2233#ifdef __STDC__
     2234# include <limits.h>
     2235#else
     2236# include <assert.h>
     2237#endif
     2238
     2239#undef $2
     2240
     2241/* Override any GCC internal prototype to avoid an error.
     2242   Use char because int might match the return type of a GCC
     2243   builtin and then its argument prototype would still apply.  */
     2244#ifdef __cplusplus
     2245extern "C"
     2246#endif
     2247char $2 ();
     2248/* The GNU C library defines this for functions which it implements
     2249    to always fail with ENOSYS.  Some functions are actually named
     2250    something starting with __ and the normal name is an alias.  */
     2251#if defined __stub_$2 || defined __stub___$2
     2252choke me
     2253#endif
     2254
     2255int
     2256main ()
     2257{
     2258return $2 ();
     2259  ;
     2260  return 0;
     2261}
     2262_ACEOF
     2263if ac_fn_cxx_try_link "$LINENO"; then :
     2264  eval "$3=yes"
     2265else
     2266  eval "$3=no"
     2267fi
     2268rm -f core conftest.err conftest.$ac_objext \
     2269    conftest$ac_exeext conftest.$ac_ext
     2270fi
     2271eval ac_res=\$$3
     2272               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2273$as_echo "$ac_res" >&6; }
     2274  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2275
     2276} # ac_fn_cxx_check_func
    15082277cat >config.log <<_ACEOF
    15092278This file contains any messages produced by compilers while
     
    15112280
    15122281It was created by vizservers $as_me 0.1, which was
    1513 generated by GNU Autoconf 2.63.  Invocation command line was
     2282generated by GNU Autoconf 2.69.  Invocation command line was
    15142283
    15152284  $ $0 $@
     
    15472316  IFS=$as_save_IFS
    15482317  test -z "$as_dir" && as_dir=.
    1549   $as_echo "PATH: $as_dir"
    1550 done
     2318    $as_echo "PATH: $as_dir"
     2319  done
    15512320IFS=$as_save_IFS
    15522321
     
    15852354    esac
    15862355    case $ac_pass in
    1587     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2356    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15882357    2)
    1589       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2358      as_fn_append ac_configure_args1 " '$ac_arg'"
    15902359      if test $ac_must_keep_next = true; then
    15912360        ac_must_keep_next=false # Got value, back to normal.
     
    16032372        esac
    16042373      fi
    1605       ac_configure_args="$ac_configure_args '$ac_arg'"
     2374      as_fn_append ac_configure_args " '$ac_arg'"
    16062375      ;;
    16072376    esac
    16082377  done
    16092378done
    1610 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1611 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2379{ ac_configure_args0=; unset ac_configure_args0;}
     2380{ ac_configure_args1=; unset ac_configure_args1;}
    16122381
    16132382# When interrupted or exit'd, cleanup temporary files, and complete
     
    16212390    echo
    16222391
    1623     cat <<\_ASBOX
    1624 ## ---------------- ##
     2392    $as_echo "## ---------------- ##
    16252393## Cache variables. ##
    1626 ## ---------------- ##
    1627 _ASBOX
     2394## ---------------- ##"
    16282395    echo
    16292396    # The following way of writing the cache mishandles newlines in values,
     
    16342401    *${as_nl}*)
    16352402      case $ac_var in #(
    1636       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2403      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16372404$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16382405      esac
     
    16402407      _ | IFS | as_nl) ;; #(
    16412408      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1642       *) $as_unset $ac_var ;;
     2409      *) { eval $ac_var=; unset $ac_var;} ;;
    16432410      esac ;;
    16442411    esac
     
    16592426    echo
    16602427
    1661     cat <<\_ASBOX
    1662 ## ----------------- ##
     2428    $as_echo "## ----------------- ##
    16632429## Output variables. ##
    1664 ## ----------------- ##
    1665 _ASBOX
     2430## ----------------- ##"
    16662431    echo
    16672432    for ac_var in $ac_subst_vars
     
    16762441
    16772442    if test -n "$ac_subst_files"; then
    1678       cat <<\_ASBOX
    1679 ## ------------------- ##
     2443      $as_echo "## ------------------- ##
    16802444## File substitutions. ##
    1681 ## ------------------- ##
    1682 _ASBOX
     2445## ------------------- ##"
    16832446      echo
    16842447      for ac_var in $ac_subst_files
     
    16942457
    16952458    if test -s confdefs.h; then
    1696       cat <<\_ASBOX
    1697 ## ----------- ##
     2459      $as_echo "## ----------- ##
    16982460## confdefs.h. ##
    1699 ## ----------- ##
    1700 _ASBOX
     2461## ----------- ##"
    17012462      echo
    17022463      cat confdefs.h
     
    17122473' 0
    17132474for ac_signal in 1 2 13 15; do
    1714   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2475  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17152476done
    17162477ac_signal=0
     
    17192480rm -f -r conftest* confdefs.h
    17202481
     2482$as_echo "/* confdefs.h */" > confdefs.h
     2483
    17212484# Predefined preprocessor variables.
    17222485
     
    17252488_ACEOF
    17262489
    1727 
    17282490cat >>confdefs.h <<_ACEOF
    17292491#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17302492_ACEOF
    17312493
    1732 
    17332494cat >>confdefs.h <<_ACEOF
    17342495#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17352496_ACEOF
    17362497
    1737 
    17382498cat >>confdefs.h <<_ACEOF
    17392499#define PACKAGE_STRING "$PACKAGE_STRING"
    17402500_ACEOF
    17412501
    1742 
    17432502cat >>confdefs.h <<_ACEOF
    17442503#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2504_ACEOF
     2505
     2506cat >>confdefs.h <<_ACEOF
     2507#define PACKAGE_URL "$PACKAGE_URL"
    17452508_ACEOF
    17462509
     
    17512514ac_site_file2=NONE
    17522515if test -n "$CONFIG_SITE"; then
    1753   ac_site_file1=$CONFIG_SITE
     2516  # We do not want a PATH search for config.site.
     2517  case $CONFIG_SITE in #((
     2518    -*)  ac_site_file1=./$CONFIG_SITE;;
     2519    */*) ac_site_file1=$CONFIG_SITE;;
     2520    *)   ac_site_file1=./$CONFIG_SITE;;
     2521  esac
    17542522elif test "x$prefix" != xNONE; then
    17552523  ac_site_file1=$prefix/share/config.site
     
    17622530do
    17632531  test "x$ac_site_file" = xNONE && continue
    1764   if test -r "$ac_site_file"; then
    1765     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2532  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2533    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17662534$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17672535    sed 's/^/| /' "$ac_site_file" >&5
    1768     . "$ac_site_file"
     2536    . "$ac_site_file" \
     2537      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2539as_fn_error $? "failed to load site script $ac_site_file
     2540See \`config.log' for more details" "$LINENO" 5; }
    17692541  fi
    17702542done
    17712543
    17722544if test -r "$cache_file"; then
    1773   # Some versions of bash will fail to source /dev/null (special
    1774   # files actually), so we avoid doing that.
    1775   if test -f "$cache_file"; then
    1776     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2545  # Some versions of bash will fail to source /dev/null (special files
     2546  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2547  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2548    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17772549$as_echo "$as_me: loading cache $cache_file" >&6;}
    17782550    case $cache_file in
     
    17822554  fi
    17832555else
    1784   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2556  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17852557$as_echo "$as_me: creating cache $cache_file" >&6;}
    17862558  >$cache_file
     
    17972569  case $ac_old_set,$ac_new_set in
    17982570    set,)
    1799       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2571      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    18002572$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    18012573      ac_cache_corrupted=: ;;
    18022574    ,set)
    1803       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2575      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18042576$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18052577      ac_cache_corrupted=: ;;
     
    18112583        ac_new_val_w=`echo x $ac_new_val`
    18122584        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1813           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2585          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18142586$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18152587          ac_cache_corrupted=:
    18162588        else
    1817           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2589          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18182590$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18192591          eval $ac_var=\$ac_old_val
    18202592        fi
    1821         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2593        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18222594$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1823         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2595        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18242596$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18252597      fi;;
     
    18332605    case " $ac_configure_args " in
    18342606      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1835       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2607      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18362608    esac
    18372609  fi
    18382610done
    18392611if $ac_cache_corrupted; then
    1840   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2612  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18412613$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1842   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2614  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18432615$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1844   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1845 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1846    { (exit 1); exit 1; }; }
    1847 fi
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
    1869 
    1870 
    1871 
     2616  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2617fi
     2618## -------------------- ##
     2619## Main body of script. ##
     2620## -------------------- ##
    18722621
    18732622ac_ext=c
     
    18952644done
    18962645if test -z "$ac_aux_dir"; then
    1897   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
    1898 $as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
    1899    { (exit 1); exit 1; }; }
     2646  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
    19002647fi
    19012648
     
    19142661
    19152662# Check whether --with-tcllib was given.
    1916 if test "${with_tcllib+set}" = set; then
     2663if test "${with_tcllib+set}" = set; then :
    19172664  withval=$with_tcllib; with_tcllib=$withval
    19182665else
     
    19232670
    19242671# Check whether --with-rappture was given.
    1925 if test "${with_rappture+set}" = set; then
     2672if test "${with_rappture+set}" = set; then :
    19262673  withval=$with_rappture; with_rappture=$withval
    19272674else
     
    19322679
    19332680# Check whether --with-vtk-includes was given.
    1934 if test "${with_vtk_includes+set}" = set; then
     2681if test "${with_vtk_includes+set}" = set; then :
    19352682  withval=$with_vtk_includes; with_vtk_includes=$withval
    19362683else
     
    19412688
    19422689# Check whether --with-vtk-libs was given.
    1943 if test "${with_vtk_libs+set}" = set; then
     2690if test "${with_vtk_libs+set}" = set; then :
    19442691  withval=$with_vtk_libs; with_vtk_libs=$withval
    19452692else
     
    19502697
    19512698# Check whether --with-vtk was given.
    1952 if test "${with_vtk+set}" = set; then
     2699if test "${with_vtk+set}" = set; then :
    19532700  withval=$with_vtk; with_vtk=$withval
    19542701else
    19552702  with_vtk=yes
     2703fi
     2704
     2705
     2706
     2707# Check whether --with-ffmpeg was given.
     2708if test "${with_ffmpeg+set}" = set; then :
     2709  withval=$with_ffmpeg;
     2710else
     2711  with_ffmpeg=yes
    19562712fi
    19572713
     
    19652721  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19662722set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1967 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2723{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19682724$as_echo_n "checking for $ac_word... " >&6; }
    1969 if test "${ac_cv_prog_CC+set}" = set; then
     2725if ${ac_cv_prog_CC+:} false; then :
    19702726  $as_echo_n "(cached) " >&6
    19712727else
     
    19782734  IFS=$as_save_IFS
    19792735  test -z "$as_dir" && as_dir=.
    1980   for ac_exec_ext in '' $ac_executable_extensions; do
    1981   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2736    for ac_exec_ext in '' $ac_executable_extensions; do
     2737  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    19822738    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1983     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2739    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19842740    break 2
    19852741  fi
    19862742done
    1987 done
     2743  done
    19882744IFS=$as_save_IFS
    19892745
     
    19922748CC=$ac_cv_prog_CC
    19932749if test -n "$CC"; then
    1994   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2750  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19952751$as_echo "$CC" >&6; }
    19962752else
    1997   { $as_echo "$as_me:$LINENO: result: no" >&5
     2753  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19982754$as_echo "no" >&6; }
    19992755fi
     
    20052761  # Extract the first word of "gcc", so it can be a program name with args.
    20062762set dummy gcc; ac_word=$2
    2007 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20082764$as_echo_n "checking for $ac_word... " >&6; }
    2009 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2765if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20102766  $as_echo_n "(cached) " >&6
    20112767else
     
    20182774  IFS=$as_save_IFS
    20192775  test -z "$as_dir" && as_dir=.
    2020   for ac_exec_ext in '' $ac_executable_extensions; do
    2021   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2776    for ac_exec_ext in '' $ac_executable_extensions; do
     2777  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20222778    ac_cv_prog_ac_ct_CC="gcc"
    2023     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2779    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20242780    break 2
    20252781  fi
    20262782done
    2027 done
     2783  done
    20282784IFS=$as_save_IFS
    20292785
     
    20322788ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20332789if test -n "$ac_ct_CC"; then
    2034   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2790  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20352791$as_echo "$ac_ct_CC" >&6; }
    20362792else
    2037   { $as_echo "$as_me:$LINENO: result: no" >&5
     2793  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20382794$as_echo "no" >&6; }
    20392795fi
     
    20442800    case $cross_compiling:$ac_tool_warned in
    20452801yes:)
    2046 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2802{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20472803$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20482804ac_tool_warned=yes ;;
     
    20582814    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20592815set dummy ${ac_tool_prefix}cc; ac_word=$2
    2060 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2816{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20612817$as_echo_n "checking for $ac_word... " >&6; }
    2062 if test "${ac_cv_prog_CC+set}" = set; then
     2818if ${ac_cv_prog_CC+:} false; then :
    20632819  $as_echo_n "(cached) " >&6
    20642820else
     
    20712827  IFS=$as_save_IFS
    20722828  test -z "$as_dir" && as_dir=.
    2073   for ac_exec_ext in '' $ac_executable_extensions; do
    2074   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2829    for ac_exec_ext in '' $ac_executable_extensions; do
     2830  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    20752831    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2076     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2832    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20772833    break 2
    20782834  fi
    20792835done
    2080 done
     2836  done
    20812837IFS=$as_save_IFS
    20822838
     
    20852841CC=$ac_cv_prog_CC
    20862842if test -n "$CC"; then
    2087   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2843  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20882844$as_echo "$CC" >&6; }
    20892845else
    2090   { $as_echo "$as_me:$LINENO: result: no" >&5
     2846  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20912847$as_echo "no" >&6; }
    20922848fi
     
    20982854  # Extract the first word of "cc", so it can be a program name with args.
    20992855set dummy cc; ac_word=$2
    2100 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2856{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21012857$as_echo_n "checking for $ac_word... " >&6; }
    2102 if test "${ac_cv_prog_CC+set}" = set; then
     2858if ${ac_cv_prog_CC+:} false; then :
    21032859  $as_echo_n "(cached) " >&6
    21042860else
     
    21122868  IFS=$as_save_IFS
    21132869  test -z "$as_dir" && as_dir=.
    2114   for ac_exec_ext in '' $ac_executable_extensions; do
    2115   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2870    for ac_exec_ext in '' $ac_executable_extensions; do
     2871  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21162872    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    21172873       ac_prog_rejected=yes
     
    21192875     fi
    21202876    ac_cv_prog_CC="cc"
    2121     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2877    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21222878    break 2
    21232879  fi
    21242880done
    2125 done
     2881  done
    21262882IFS=$as_save_IFS
    21272883
     
    21422898CC=$ac_cv_prog_CC
    21432899if test -n "$CC"; then
    2144   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2900  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21452901$as_echo "$CC" >&6; }
    21462902else
    2147   { $as_echo "$as_me:$LINENO: result: no" >&5
     2903  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21482904$as_echo "no" >&6; }
    21492905fi
     
    21572913    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21582914set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2159 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2915{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21602916$as_echo_n "checking for $ac_word... " >&6; }
    2161 if test "${ac_cv_prog_CC+set}" = set; then
     2917if ${ac_cv_prog_CC+:} false; then :
    21622918  $as_echo_n "(cached) " >&6
    21632919else
     
    21702926  IFS=$as_save_IFS
    21712927  test -z "$as_dir" && as_dir=.
    2172   for ac_exec_ext in '' $ac_executable_extensions; do
    2173   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2928    for ac_exec_ext in '' $ac_executable_extensions; do
     2929  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    21742930    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2175     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2931    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21762932    break 2
    21772933  fi
    21782934done
    2179 done
     2935  done
    21802936IFS=$as_save_IFS
    21812937
     
    21842940CC=$ac_cv_prog_CC
    21852941if test -n "$CC"; then
    2186   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2942  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21872943$as_echo "$CC" >&6; }
    21882944else
    2189   { $as_echo "$as_me:$LINENO: result: no" >&5
     2945  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21902946$as_echo "no" >&6; }
    21912947fi
     
    22012957  # Extract the first word of "$ac_prog", so it can be a program name with args.
    22022958set dummy $ac_prog; ac_word=$2
    2203 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2959{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    22042960$as_echo_n "checking for $ac_word... " >&6; }
    2205 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2961if ${ac_cv_prog_ac_ct_CC+:} false; then :
    22062962  $as_echo_n "(cached) " >&6
    22072963else
     
    22142970  IFS=$as_save_IFS
    22152971  test -z "$as_dir" && as_dir=.
    2216   for ac_exec_ext in '' $ac_executable_extensions; do
    2217   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     2972    for ac_exec_ext in '' $ac_executable_extensions; do
     2973  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    22182974    ac_cv_prog_ac_ct_CC="$ac_prog"
    2219     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2975    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22202976    break 2
    22212977  fi
    22222978done
    2223 done
     2979  done
    22242980IFS=$as_save_IFS
    22252981
     
    22282984ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22292985if test -n "$ac_ct_CC"; then
    2230   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2986  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22312987$as_echo "$ac_ct_CC" >&6; }
    22322988else
    2233   { $as_echo "$as_me:$LINENO: result: no" >&5
     2989  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22342990$as_echo "no" >&6; }
    22352991fi
     
    22443000    case $cross_compiling:$ac_tool_warned in
    22453001yes:)
    2246 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3002{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22473003$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22483004ac_tool_warned=yes ;;
     
    22553011
    22563012
    2257 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3013test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22583014$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2259 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2260 See \`config.log' for more details." >&5
    2261 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2262 See \`config.log' for more details." >&2;}
    2263    { (exit 1); exit 1; }; }; }
     3015as_fn_error $? "no acceptable C compiler found in \$PATH
     3016See \`config.log' for more details" "$LINENO" 5; }
    22643017
    22653018# Provide some information about the compiler.
    2266 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3019$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22673020set X $ac_compile
    22683021ac_compiler=$2
    2269 { (ac_try="$ac_compiler --version >&5"
     3022for ac_option in --version -v -V -qversion; do
     3023  { { ac_try="$ac_compiler $ac_option >&5"
    22703024case "(($ac_try" in
    22713025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22723026  *) ac_try_echo=$ac_try;;
    22733027esac
    2274 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2275 $as_echo "$ac_try_echo") >&5
    2276   (eval "$ac_compiler --version >&5") 2>&5
     3028eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3029$as_echo "$ac_try_echo"; } >&5
     3030  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22773031  ac_status=$?
    2278   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2279   (exit $ac_status); }
    2280 { (ac_try="$ac_compiler -v >&5"
    2281 case "(($ac_try" in
    2282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2283   *) ac_try_echo=$ac_try;;
    2284 esac
    2285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2286 $as_echo "$ac_try_echo") >&5
    2287   (eval "$ac_compiler -v >&5") 2>&5
    2288   ac_status=$?
    2289   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2290   (exit $ac_status); }
    2291 { (ac_try="$ac_compiler -V >&5"
    2292 case "(($ac_try" in
    2293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2294   *) ac_try_echo=$ac_try;;
    2295 esac
    2296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2297 $as_echo "$ac_try_echo") >&5
    2298   (eval "$ac_compiler -V >&5") 2>&5
    2299   ac_status=$?
    2300   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2301   (exit $ac_status); }
    2302 
    2303 cat >conftest.$ac_ext <<_ACEOF
    2304 /* confdefs.h.  */
    2305 _ACEOF
    2306 cat confdefs.h >>conftest.$ac_ext
    2307 cat >>conftest.$ac_ext <<_ACEOF
     3032  if test -s conftest.err; then
     3033    sed '10a\
     3034... rest of stderr output deleted ...
     3035         10q' conftest.err >conftest.er1
     3036    cat conftest.er1 >&5
     3037  fi
     3038  rm -f conftest.er1 conftest.err
     3039  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3040  test $ac_status = 0; }
     3041done
     3042
     3043cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    23083044/* end confdefs.h.  */
    23093045
     
    23213057# It will help us diagnose broken compilers, and finding out an intuition
    23223058# of exeext.
    2323 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2324 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3059{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3060$as_echo_n "checking whether the C compiler works... " >&6; }
    23253061ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23263062
     
    23383074rm -f $ac_rmfiles
    23393075
    2340 if { (ac_try="$ac_link_default"
     3076if { { ac_try="$ac_link_default"
    23413077case "(($ac_try" in
    23423078  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23433079  *) ac_try_echo=$ac_try;;
    23443080esac
    2345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2346 $as_echo "$ac_try_echo") >&5
     3081eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3082$as_echo "$ac_try_echo"; } >&5
    23473083  (eval "$ac_link_default") 2>&5
    23483084  ac_status=$?
    2349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2350   (exit $ac_status); }; then
     3085  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3086  test $ac_status = 0; }; then :
    23513087  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23523088# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23653101        break;;
    23663102    *.* )
    2367         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3103        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23683104        then :; else
    23693105           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23843120  ac_file=''
    23853121fi
    2386 
    2387 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3122if test -z "$ac_file"; then :
     3123  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3124$as_echo "no" >&6; }
     3125$as_echo "$as_me: failed program was:" >&5
     3126sed 's/^/| /' conftest.$ac_ext >&5
     3127
     3128{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3129$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3130as_fn_error 77 "C compiler cannot create executables
     3131See \`config.log' for more details" "$LINENO" 5; }
     3132else
     3133  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3134$as_echo "yes" >&6; }
     3135fi
     3136{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3137$as_echo_n "checking for C compiler default output file name... " >&6; }
     3138{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23883139$as_echo "$ac_file" >&6; }
    2389 if test -z "$ac_file"; then
    2390   $as_echo "$as_me: failed program was:" >&5
    2391 sed 's/^/| /' conftest.$ac_ext >&5
    2392 
    2393 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2395 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2396 See \`config.log' for more details." >&5
    2397 $as_echo "$as_me: error: C compiler cannot create executables
    2398 See \`config.log' for more details." >&2;}
    2399    { (exit 77); exit 77; }; }; }
    2400 fi
    2401 
    24023140ac_exeext=$ac_cv_exeext
    2403 
    2404 # Check that the compiler produces executables we can run.  If not, either
    2405 # the compiler is broken, or we cross compile.
    2406 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2407 $as_echo_n "checking whether the C compiler works... " >&6; }
    2408 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2409 # If not cross compiling, check that we can run a simple program.
    2410 if test "$cross_compiling" != yes; then
    2411   if { ac_try='./$ac_file'
    2412   { (case "(($ac_try" in
    2413   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2414   *) ac_try_echo=$ac_try;;
    2415 esac
    2416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2417 $as_echo "$ac_try_echo") >&5
    2418   (eval "$ac_try") 2>&5
    2419   ac_status=$?
    2420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2421   (exit $ac_status); }; }; then
    2422     cross_compiling=no
    2423   else
    2424     if test "$cross_compiling" = maybe; then
    2425         cross_compiling=yes
    2426     else
    2427         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2429 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2430 If you meant to cross compile, use \`--host'.
    2431 See \`config.log' for more details." >&5
    2432 $as_echo "$as_me: error: cannot run C compiled programs.
    2433 If you meant to cross compile, use \`--host'.
    2434 See \`config.log' for more details." >&2;}
    2435    { (exit 1); exit 1; }; }; }
    2436     fi
    2437   fi
    2438 fi
    2439 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2440 $as_echo "yes" >&6; }
    24413141
    24423142rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24433143ac_clean_files=$ac_clean_files_save
    2444 # Check that the compiler produces executables we can run.  If not, either
    2445 # the compiler is broken, or we cross compile.
    2446 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2447 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2448 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2449 $as_echo "$cross_compiling" >&6; }
    2450 
    2451 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24523145$as_echo_n "checking for suffix of executables... " >&6; }
    2453 if { (ac_try="$ac_link"
     3146if { { ac_try="$ac_link"
    24543147case "(($ac_try" in
    24553148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24563149  *) ac_try_echo=$ac_try;;
    24573150esac
    2458 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2459 $as_echo "$ac_try_echo") >&5
     3151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3152$as_echo "$ac_try_echo"; } >&5
    24603153  (eval "$ac_link") 2>&5
    24613154  ac_status=$?
    2462   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2463   (exit $ac_status); }; then
     3155  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3156  test $ac_status = 0; }; then :
    24643157  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24653158# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24763169done
    24773170else
    2478   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3171  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24793172$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2480 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2481 See \`config.log' for more details." >&5
    2482 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2483 See \`config.log' for more details." >&2;}
    2484    { (exit 1); exit 1; }; }; }
    2485 fi
    2486 
    2487 rm -f conftest$ac_cv_exeext
    2488 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3173as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3174See \`config.log' for more details" "$LINENO" 5; }
     3175fi
     3176rm -f conftest conftest$ac_cv_exeext
     3177{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    24893178$as_echo "$ac_cv_exeext" >&6; }
    24903179
     
    24923181EXEEXT=$ac_cv_exeext
    24933182ac_exeext=$EXEEXT
    2494 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2495 $as_echo_n "checking for suffix of object files... " >&6; }
    2496 if test "${ac_cv_objext+set}" = set; then
    2497   $as_echo_n "(cached) " >&6
    2498 else
    2499   cat >conftest.$ac_ext <<_ACEOF
    2500 /* confdefs.h.  */
    2501 _ACEOF
    2502 cat confdefs.h >>conftest.$ac_ext
    2503 cat >>conftest.$ac_ext <<_ACEOF
     3183cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25043184/* end confdefs.h.  */
    2505 
     3185#include <stdio.h>
    25063186int
    25073187main ()
    25083188{
     3189FILE *f = fopen ("conftest.out", "w");
     3190 return ferror (f) || fclose (f) != 0;
    25093191
    25103192  ;
     
    25123194}
    25133195_ACEOF
    2514 rm -f conftest.o conftest.obj
    2515 if { (ac_try="$ac_compile"
     3196ac_clean_files="$ac_clean_files conftest.out"
     3197# Check that the compiler produces executables we can run.  If not, either
     3198# the compiler is broken, or we cross compile.
     3199{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3200$as_echo_n "checking whether we are cross compiling... " >&6; }
     3201if test "$cross_compiling" != yes; then
     3202  { { ac_try="$ac_link"
    25163203case "(($ac_try" in
    25173204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25183205  *) ac_try_echo=$ac_try;;
    25193206esac
    2520 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2521 $as_echo "$ac_try_echo") >&5
     3207eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3208$as_echo "$ac_try_echo"; } >&5
     3209  (eval "$ac_link") 2>&5
     3210  ac_status=$?
     3211  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3212  test $ac_status = 0; }
     3213  if { ac_try='./conftest$ac_cv_exeext'
     3214  { { case "(($ac_try" in
     3215  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3216  *) ac_try_echo=$ac_try;;
     3217esac
     3218eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3219$as_echo "$ac_try_echo"; } >&5
     3220  (eval "$ac_try") 2>&5
     3221  ac_status=$?
     3222  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3223  test $ac_status = 0; }; }; then
     3224    cross_compiling=no
     3225  else
     3226    if test "$cross_compiling" = maybe; then
     3227        cross_compiling=yes
     3228    else
     3229        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3231as_fn_error $? "cannot run C compiled programs.
     3232If you meant to cross compile, use \`--host'.
     3233See \`config.log' for more details" "$LINENO" 5; }
     3234    fi
     3235  fi
     3236fi
     3237{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3238$as_echo "$cross_compiling" >&6; }
     3239
     3240rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3241ac_clean_files=$ac_clean_files_save
     3242{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3243$as_echo_n "checking for suffix of object files... " >&6; }
     3244if ${ac_cv_objext+:} false; then :
     3245  $as_echo_n "(cached) " >&6
     3246else
     3247  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3248/* end confdefs.h.  */
     3249
     3250int
     3251main ()
     3252{
     3253
     3254  ;
     3255  return 0;
     3256}
     3257_ACEOF
     3258rm -f conftest.o conftest.obj
     3259if { { ac_try="$ac_compile"
     3260case "(($ac_try" in
     3261  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3262  *) ac_try_echo=$ac_try;;
     3263esac
     3264eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3265$as_echo "$ac_try_echo"; } >&5
    25223266  (eval "$ac_compile") 2>&5
    25233267  ac_status=$?
    2524   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2525   (exit $ac_status); }; then
     3268  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3269  test $ac_status = 0; }; then :
    25263270  for ac_file in conftest.o conftest.obj conftest.*; do
    25273271  test -f "$ac_file" || continue;
     
    25363280sed 's/^/| /' conftest.$ac_ext >&5
    25373281
    2538 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3282{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25393283$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2540 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2541 See \`config.log' for more details." >&5
    2542 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2543 See \`config.log' for more details." >&2;}
    2544    { (exit 1); exit 1; }; }; }
    2545 fi
    2546 
     3284as_fn_error $? "cannot compute suffix of object files: cannot compile
     3285See \`config.log' for more details" "$LINENO" 5; }
     3286fi
    25473287rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25483288fi
    2549 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3289{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25503290$as_echo "$ac_cv_objext" >&6; }
    25513291OBJEXT=$ac_cv_objext
    25523292ac_objext=$OBJEXT
    2553 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3293{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25543294$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2555 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3295if ${ac_cv_c_compiler_gnu+:} false; then :
    25563296  $as_echo_n "(cached) " >&6
    25573297else
    2558   cat >conftest.$ac_ext <<_ACEOF
    2559 /* confdefs.h.  */
    2560 _ACEOF
    2561 cat confdefs.h >>conftest.$ac_ext
    2562 cat >>conftest.$ac_ext <<_ACEOF
     3298  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25633299/* end confdefs.h.  */
    25643300
     
    25743310}
    25753311_ACEOF
    2576 rm -f conftest.$ac_objext
    2577 if { (ac_try="$ac_compile"
    2578 case "(($ac_try" in
    2579   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2580   *) ac_try_echo=$ac_try;;
    2581 esac
    2582 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2583 $as_echo "$ac_try_echo") >&5
    2584   (eval "$ac_compile") 2>conftest.er1
    2585   ac_status=$?
    2586   grep -v '^ *+' conftest.er1 >conftest.err
    2587   rm -f conftest.er1
    2588   cat conftest.err >&5
    2589   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2590   (exit $ac_status); } && {
    2591          test -z "$ac_c_werror_flag" ||
    2592          test ! -s conftest.err
    2593        } && test -s conftest.$ac_objext; then
     3312if ac_fn_c_try_compile "$LINENO"; then :
    25943313  ac_compiler_gnu=yes
    25953314else
    2596   $as_echo "$as_me: failed program was:" >&5
    2597 sed 's/^/| /' conftest.$ac_ext >&5
    2598 
    2599         ac_compiler_gnu=no
    2600 fi
    2601 
     3315  ac_compiler_gnu=no
     3316fi
    26023317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26033318ac_cv_c_compiler_gnu=$ac_compiler_gnu
    26043319
    26053320fi
    2606 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3321{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    26073322$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    26083323if test $ac_compiler_gnu = yes; then
     
    26133328ac_test_CFLAGS=${CFLAGS+set}
    26143329ac_save_CFLAGS=$CFLAGS
    2615 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26163331$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2617 if test "${ac_cv_prog_cc_g+set}" = set; then
     3332if ${ac_cv_prog_cc_g+:} false; then :
    26183333  $as_echo_n "(cached) " >&6
    26193334else
     
    26223337   ac_cv_prog_cc_g=no
    26233338   CFLAGS="-g"
    2624    cat >conftest.$ac_ext <<_ACEOF
    2625 /* confdefs.h.  */
    2626 _ACEOF
    2627 cat confdefs.h >>conftest.$ac_ext
    2628 cat >>conftest.$ac_ext <<_ACEOF
     3339   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26293340/* end confdefs.h.  */
    26303341
     
    26373348}
    26383349_ACEOF
    2639 rm -f conftest.$ac_objext
    2640 if { (ac_try="$ac_compile"
    2641 case "(($ac_try" in
    2642   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2643   *) ac_try_echo=$ac_try;;
    2644 esac
    2645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2646 $as_echo "$ac_try_echo") >&5
    2647   (eval "$ac_compile") 2>conftest.er1
    2648   ac_status=$?
    2649   grep -v '^ *+' conftest.er1 >conftest.err
    2650   rm -f conftest.er1
    2651   cat conftest.err >&5
    2652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2653   (exit $ac_status); } && {
    2654          test -z "$ac_c_werror_flag" ||
    2655          test ! -s conftest.err
    2656        } && test -s conftest.$ac_objext; then
     3350if ac_fn_c_try_compile "$LINENO"; then :
    26573351  ac_cv_prog_cc_g=yes
    26583352else
    2659   $as_echo "$as_me: failed program was:" >&5
    2660 sed 's/^/| /' conftest.$ac_ext >&5
    2661 
    2662         CFLAGS=""
    2663       cat >conftest.$ac_ext <<_ACEOF
    2664 /* confdefs.h.  */
    2665 _ACEOF
    2666 cat confdefs.h >>conftest.$ac_ext
    2667 cat >>conftest.$ac_ext <<_ACEOF
     3353  CFLAGS=""
     3354      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26683355/* end confdefs.h.  */
    26693356
     
    26763363}
    26773364_ACEOF
    2678 rm -f conftest.$ac_objext
    2679 if { (ac_try="$ac_compile"
    2680 case "(($ac_try" in
    2681   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2682   *) ac_try_echo=$ac_try;;
    2683 esac
    2684 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2685 $as_echo "$ac_try_echo") >&5
    2686   (eval "$ac_compile") 2>conftest.er1
    2687   ac_status=$?
    2688   grep -v '^ *+' conftest.er1 >conftest.err
    2689   rm -f conftest.er1
    2690   cat conftest.err >&5
    2691   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2692   (exit $ac_status); } && {
    2693          test -z "$ac_c_werror_flag" ||
    2694          test ! -s conftest.err
    2695        } && test -s conftest.$ac_objext; then
    2696   :
    2697 else
    2698   $as_echo "$as_me: failed program was:" >&5
    2699 sed 's/^/| /' conftest.$ac_ext >&5
    2700 
    2701         ac_c_werror_flag=$ac_save_c_werror_flag
     3365if ac_fn_c_try_compile "$LINENO"; then :
     3366
     3367else
     3368  ac_c_werror_flag=$ac_save_c_werror_flag
    27023369         CFLAGS="-g"
    2703          cat >conftest.$ac_ext <<_ACEOF
    2704 /* confdefs.h.  */
    2705 _ACEOF
    2706 cat confdefs.h >>conftest.$ac_ext
    2707 cat >>conftest.$ac_ext <<_ACEOF
     3370         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27083371/* end confdefs.h.  */
    27093372
     
    27163379}
    27173380_ACEOF
    2718 rm -f conftest.$ac_objext
    2719 if { (ac_try="$ac_compile"
    2720 case "(($ac_try" in
    2721   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2722   *) ac_try_echo=$ac_try;;
    2723 esac
    2724 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2725 $as_echo "$ac_try_echo") >&5
    2726   (eval "$ac_compile") 2>conftest.er1
    2727   ac_status=$?
    2728   grep -v '^ *+' conftest.er1 >conftest.err
    2729   rm -f conftest.er1
    2730   cat conftest.err >&5
    2731   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2732   (exit $ac_status); } && {
    2733          test -z "$ac_c_werror_flag" ||
    2734          test ! -s conftest.err
    2735        } && test -s conftest.$ac_objext; then
     3381if ac_fn_c_try_compile "$LINENO"; then :
    27363382  ac_cv_prog_cc_g=yes
    2737 else
    2738   $as_echo "$as_me: failed program was:" >&5
    2739 sed 's/^/| /' conftest.$ac_ext >&5
    2740 
    2741 
    2742 fi
    2743 
     3383fi
    27443384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27453385fi
    2746 
    27473386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27483387fi
    2749 
    27503388rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27513389   ac_c_werror_flag=$ac_save_c_werror_flag
    27523390fi
    2753 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3391{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27543392$as_echo "$ac_cv_prog_cc_g" >&6; }
    27553393if test "$ac_test_CFLAGS" = set; then
     
    27683406  fi
    27693407fi
    2770 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3408{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27713409$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2772 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3410if ${ac_cv_prog_cc_c89+:} false; then :
    27733411  $as_echo_n "(cached) " >&6
    27743412else
    27753413  ac_cv_prog_cc_c89=no
    27763414ac_save_CC=$CC
    2777 cat >conftest.$ac_ext <<_ACEOF
    2778 /* confdefs.h.  */
    2779 _ACEOF
    2780 cat confdefs.h >>conftest.$ac_ext
    2781 cat >>conftest.$ac_ext <<_ACEOF
     3415cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27823416/* end confdefs.h.  */
    27833417#include <stdarg.h>
    27843418#include <stdio.h>
    2785 #include <sys/types.h>
    2786 #include <sys/stat.h>
     3419struct stat;
    27873420/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    27883421struct buf { int x; };
     
    28363469do
    28373470  CC="$ac_save_CC $ac_arg"
    2838   rm -f conftest.$ac_objext
    2839 if { (ac_try="$ac_compile"
    2840 case "(($ac_try" in
    2841   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2842   *) ac_try_echo=$ac_try;;
    2843 esac
    2844 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2845 $as_echo "$ac_try_echo") >&5
    2846   (eval "$ac_compile") 2>conftest.er1
    2847   ac_status=$?
    2848   grep -v '^ *+' conftest.er1 >conftest.err
    2849   rm -f conftest.er1
    2850   cat conftest.err >&5
    2851   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2852   (exit $ac_status); } && {
    2853          test -z "$ac_c_werror_flag" ||
    2854          test ! -s conftest.err
    2855        } && test -s conftest.$ac_objext; then
     3471  if ac_fn_c_try_compile "$LINENO"; then :
    28563472  ac_cv_prog_cc_c89=$ac_arg
    2857 else
    2858   $as_echo "$as_me: failed program was:" >&5
    2859 sed 's/^/| /' conftest.$ac_ext >&5
    2860 
    2861 
    2862 fi
    2863 
     3473fi
    28643474rm -f core conftest.err conftest.$ac_objext
    28653475  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28723482case "x$ac_cv_prog_cc_c89" in
    28733483  x)
    2874     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28753485$as_echo "none needed" >&6; } ;;
    28763486  xno)
    2877     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3487    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28783488$as_echo "unsupported" >&6; } ;;
    28793489  *)
    28803490    CC="$CC $ac_cv_prog_cc_c89"
    2881     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3491    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28823492$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28833493esac
    2884 
     3494if test "x$ac_cv_prog_cc_c89" != xno; then :
     3495
     3496fi
    28853497
    28863498ac_ext=c
     
    28963508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    28973509ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2898 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3510{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    28993511$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29003512# On Suns, sometimes $CPP names a directory.
     
    29033515fi
    29043516if test -z "$CPP"; then
    2905   if test "${ac_cv_prog_CPP+set}" = set; then
     3517  if ${ac_cv_prog_CPP+:} false; then :
    29063518  $as_echo_n "(cached) " >&6
    29073519else
     
    29183530  # On the NeXT, cc -E runs the code through the compiler's parser,
    29193531  # not just through cpp. "Syntax error" is here to catch this case.
    2920   cat >conftest.$ac_ext <<_ACEOF
    2921 /* confdefs.h.  */
    2922 _ACEOF
    2923 cat confdefs.h >>conftest.$ac_ext
    2924 cat >>conftest.$ac_ext <<_ACEOF
     3532  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29253533/* end confdefs.h.  */
    29263534#ifdef __STDC__
     
    29313539                     Syntax error
    29323540_ACEOF
    2933 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2934 case "(($ac_try" in
    2935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2936   *) ac_try_echo=$ac_try;;
    2937 esac
    2938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2939 $as_echo "$ac_try_echo") >&5
    2940   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2941   ac_status=$?
    2942   grep -v '^ *+' conftest.er1 >conftest.err
    2943   rm -f conftest.er1
    2944   cat conftest.err >&5
    2945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2946   (exit $ac_status); } >/dev/null && {
    2947          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2948          test ! -s conftest.err
    2949        }; then
    2950   :
    2951 else
    2952   $as_echo "$as_me: failed program was:" >&5
    2953 sed 's/^/| /' conftest.$ac_ext >&5
    2954 
     3541if ac_fn_c_try_cpp "$LINENO"; then :
     3542
     3543else
    29553544  # Broken: fails on valid input.
    29563545continue
    29573546fi
    2958 
    2959 rm -f conftest.err conftest.$ac_ext
     3547rm -f conftest.err conftest.i conftest.$ac_ext
    29603548
    29613549  # OK, works on sane cases.  Now check whether nonexistent headers
    29623550  # can be detected and how.
    2963   cat >conftest.$ac_ext <<_ACEOF
    2964 /* confdefs.h.  */
    2965 _ACEOF
    2966 cat confdefs.h >>conftest.$ac_ext
    2967 cat >>conftest.$ac_ext <<_ACEOF
     3551  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29683552/* end confdefs.h.  */
    29693553#include <ac_nonexistent.h>
    29703554_ACEOF
    2971 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2972 case "(($ac_try" in
    2973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2974   *) ac_try_echo=$ac_try;;
    2975 esac
    2976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2977 $as_echo "$ac_try_echo") >&5
    2978   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2979   ac_status=$?
    2980   grep -v '^ *+' conftest.er1 >conftest.err
    2981   rm -f conftest.er1
    2982   cat conftest.err >&5
    2983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2984   (exit $ac_status); } >/dev/null && {
    2985          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2986          test ! -s conftest.err
    2987        }; then
     3555if ac_fn_c_try_cpp "$LINENO"; then :
    29883556  # Broken: success on invalid input.
    29893557continue
    29903558else
    2991   $as_echo "$as_me: failed program was:" >&5
    2992 sed 's/^/| /' conftest.$ac_ext >&5
    2993 
    29943559  # Passes both tests.
    29953560ac_preproc_ok=:
    29963561break
    29973562fi
    2998 
    2999 rm -f conftest.err conftest.$ac_ext
     3563rm -f conftest.err conftest.i conftest.$ac_ext
    30003564
    30013565done
    30023566# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3003 rm -f conftest.err conftest.$ac_ext
    3004 if $ac_preproc_ok; then
     3567rm -f conftest.i conftest.err conftest.$ac_ext
     3568if $ac_preproc_ok; then :
    30053569  break
    30063570fi
     
    30143578  ac_cv_prog_CPP=$CPP
    30153579fi
    3016 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3580{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30173581$as_echo "$CPP" >&6; }
    30183582ac_preproc_ok=false
     
    30253589  # On the NeXT, cc -E runs the code through the compiler's parser,
    30263590  # not just through cpp. "Syntax error" is here to catch this case.
    3027   cat >conftest.$ac_ext <<_ACEOF
    3028 /* confdefs.h.  */
    3029 _ACEOF
    3030 cat confdefs.h >>conftest.$ac_ext
    3031 cat >>conftest.$ac_ext <<_ACEOF
     3591  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30323592/* end confdefs.h.  */
    30333593#ifdef __STDC__
     
    30383598                     Syntax error
    30393599_ACEOF
    3040 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3041 case "(($ac_try" in
    3042   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3043   *) ac_try_echo=$ac_try;;
    3044 esac
    3045 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3046 $as_echo "$ac_try_echo") >&5
    3047   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3048   ac_status=$?
    3049   grep -v '^ *+' conftest.er1 >conftest.err
    3050   rm -f conftest.er1
    3051   cat conftest.err >&5
    3052   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3053   (exit $ac_status); } >/dev/null && {
    3054          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3055          test ! -s conftest.err
    3056        }; then
    3057   :
    3058 else
    3059   $as_echo "$as_me: failed program was:" >&5
    3060 sed 's/^/| /' conftest.$ac_ext >&5
    3061 
     3600if ac_fn_c_try_cpp "$LINENO"; then :
     3601
     3602else
    30623603  # Broken: fails on valid input.
    30633604continue
    30643605fi
    3065 
    3066 rm -f conftest.err conftest.$ac_ext
     3606rm -f conftest.err conftest.i conftest.$ac_ext
    30673607
    30683608  # OK, works on sane cases.  Now check whether nonexistent headers
    30693609  # can be detected and how.
    3070   cat >conftest.$ac_ext <<_ACEOF
    3071 /* confdefs.h.  */
    3072 _ACEOF
    3073 cat confdefs.h >>conftest.$ac_ext
    3074 cat >>conftest.$ac_ext <<_ACEOF
     3610  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30753611/* end confdefs.h.  */
    30763612#include <ac_nonexistent.h>
    30773613_ACEOF
    3078 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3079 case "(($ac_try" in
    3080   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3081   *) ac_try_echo=$ac_try;;
    3082 esac
    3083 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3084 $as_echo "$ac_try_echo") >&5
    3085   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3086   ac_status=$?
    3087   grep -v '^ *+' conftest.er1 >conftest.err
    3088   rm -f conftest.er1
    3089   cat conftest.err >&5
    3090   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3091   (exit $ac_status); } >/dev/null && {
    3092          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3093          test ! -s conftest.err
    3094        }; then
     3614if ac_fn_c_try_cpp "$LINENO"; then :
    30953615  # Broken: success on invalid input.
    30963616continue
    30973617else
    3098   $as_echo "$as_me: failed program was:" >&5
    3099 sed 's/^/| /' conftest.$ac_ext >&5
    3100 
    31013618  # Passes both tests.
    31023619ac_preproc_ok=:
    31033620break
    31043621fi
    3105 
    3106 rm -f conftest.err conftest.$ac_ext
     3622rm -f conftest.err conftest.i conftest.$ac_ext
    31073623
    31083624done
    31093625# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3110 rm -f conftest.err conftest.$ac_ext
    3111 if $ac_preproc_ok; then
    3112   :
    3113 else
    3114   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3626rm -f conftest.i conftest.err conftest.$ac_ext
     3627if $ac_preproc_ok; then :
     3628
     3629else
     3630  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31153631$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3116 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3117 See \`config.log' for more details." >&5
    3118 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3119 See \`config.log' for more details." >&2;}
    3120    { (exit 1); exit 1; }; }; }
     3632as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3633See \`config.log' for more details" "$LINENO" 5; }
    31213634fi
    31223635
     
    31283641
    31293642
    3130 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3643{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31313644$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3132 if test "${ac_cv_path_GREP+set}" = set; then
     3645if ${ac_cv_path_GREP+:} false; then :
    31333646  $as_echo_n "(cached) " >&6
    31343647else
     
    31413654  IFS=$as_save_IFS
    31423655  test -z "$as_dir" && as_dir=.
    3143   for ac_prog in grep ggrep; do
     3656    for ac_prog in grep ggrep; do
    31443657    for ac_exec_ext in '' $ac_executable_extensions; do
    31453658      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3146       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3659      as_fn_executable_p "$ac_path_GREP" || continue
    31473660# Check for GNU ac_path_GREP and select it if it is found.
    31483661  # Check for GNU $ac_path_GREP
     
    31613674    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31623675    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3163     ac_count=`expr $ac_count + 1`
     3676    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31643677    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31653678      # Best one so far, save it but keep looking for a better one
     
    31763689    done
    31773690  done
    3178 done
     3691  done
    31793692IFS=$as_save_IFS
    31803693  if test -z "$ac_cv_path_GREP"; then
    3181     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3182 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3183    { (exit 1); exit 1; }; }
     3694    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31843695  fi
    31853696else
     
    31883699
    31893700fi
    3190 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3701{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    31913702$as_echo "$ac_cv_path_GREP" >&6; }
    31923703 GREP="$ac_cv_path_GREP"
    31933704
    31943705
    3195 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3706{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    31963707$as_echo_n "checking for egrep... " >&6; }
    3197 if test "${ac_cv_path_EGREP+set}" = set; then
     3708if ${ac_cv_path_EGREP+:} false; then :
    31983709  $as_echo_n "(cached) " >&6
    31993710else
     
    32093720  IFS=$as_save_IFS
    32103721  test -z "$as_dir" && as_dir=.
    3211   for ac_prog in egrep; do
     3722    for ac_prog in egrep; do
    32123723    for ac_exec_ext in '' $ac_executable_extensions; do
    32133724      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3214       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3725      as_fn_executable_p "$ac_path_EGREP" || continue
    32153726# Check for GNU ac_path_EGREP and select it if it is found.
    32163727  # Check for GNU $ac_path_EGREP
     
    32293740    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32303741    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3231     ac_count=`expr $ac_count + 1`
     3742    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32323743    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32333744      # Best one so far, save it but keep looking for a better one
     
    32443755    done
    32453756  done
    3246 done
     3757  done
    32473758IFS=$as_save_IFS
    32483759  if test -z "$ac_cv_path_EGREP"; then
    3249     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3250 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3251    { (exit 1); exit 1; }; }
     3760    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32523761  fi
    32533762else
     
    32573766   fi
    32583767fi
    3259 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3768{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32603769$as_echo "$ac_cv_path_EGREP" >&6; }
    32613770 EGREP="$ac_cv_path_EGREP"
    32623771
    32633772
    3264 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32653774$as_echo_n "checking for ANSI C header files... " >&6; }
    3266 if test "${ac_cv_header_stdc+set}" = set; then
     3775if ${ac_cv_header_stdc+:} false; then :
    32673776  $as_echo_n "(cached) " >&6
    32683777else
    3269   cat >conftest.$ac_ext <<_ACEOF
    3270 /* confdefs.h.  */
    3271 _ACEOF
    3272 cat confdefs.h >>conftest.$ac_ext
    3273 cat >>conftest.$ac_ext <<_ACEOF
     3778  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32743779/* end confdefs.h.  */
    32753780#include <stdlib.h>
     
    32863791}
    32873792_ACEOF
    3288 rm -f conftest.$ac_objext
    3289 if { (ac_try="$ac_compile"
    3290 case "(($ac_try" in
    3291   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3292   *) ac_try_echo=$ac_try;;
    3293 esac
    3294 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3295 $as_echo "$ac_try_echo") >&5
    3296   (eval "$ac_compile") 2>conftest.er1
    3297   ac_status=$?
    3298   grep -v '^ *+' conftest.er1 >conftest.err
    3299   rm -f conftest.er1
    3300   cat conftest.err >&5
    3301   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3302   (exit $ac_status); } && {
    3303          test -z "$ac_c_werror_flag" ||
    3304          test ! -s conftest.err
    3305        } && test -s conftest.$ac_objext; then
     3793if ac_fn_c_try_compile "$LINENO"; then :
    33063794  ac_cv_header_stdc=yes
    33073795else
    3308   $as_echo "$as_me: failed program was:" >&5
    3309 sed 's/^/| /' conftest.$ac_ext >&5
    3310 
    3311         ac_cv_header_stdc=no
    3312 fi
    3313 
     3796  ac_cv_header_stdc=no
     3797fi
    33143798rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33153799
    33163800if test $ac_cv_header_stdc = yes; then
    33173801  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3318   cat >conftest.$ac_ext <<_ACEOF
    3319 /* confdefs.h.  */
    3320 _ACEOF
    3321 cat confdefs.h >>conftest.$ac_ext
    3322 cat >>conftest.$ac_ext <<_ACEOF
     3802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33233803/* end confdefs.h.  */
    33243804#include <string.h>
     
    33263806_ACEOF
    33273807if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3328   $EGREP "memchr" >/dev/null 2>&1; then
    3329   :
     3808  $EGREP "memchr" >/dev/null 2>&1; then :
     3809
    33303810else
    33313811  ac_cv_header_stdc=no
     
    33373817if test $ac_cv_header_stdc = yes; then
    33383818  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3339   cat >conftest.$ac_ext <<_ACEOF
    3340 /* confdefs.h.  */
    3341 _ACEOF
    3342 cat confdefs.h >>conftest.$ac_ext
    3343 cat >>conftest.$ac_ext <<_ACEOF
     3819  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33443820/* end confdefs.h.  */
    33453821#include <stdlib.h>
     
    33473823_ACEOF
    33483824if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3349   $EGREP "free" >/dev/null 2>&1; then
    3350   :
     3825  $EGREP "free" >/dev/null 2>&1; then :
     3826
    33513827else
    33523828  ac_cv_header_stdc=no
     
    33583834if test $ac_cv_header_stdc = yes; then
    33593835  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3360   if test "$cross_compiling" = yes; then
     3836  if test "$cross_compiling" = yes; then :
    33613837  :
    33623838else
    3363   cat >conftest.$ac_ext <<_ACEOF
    3364 /* confdefs.h.  */
    3365 _ACEOF
    3366 cat confdefs.h >>conftest.$ac_ext
    3367 cat >>conftest.$ac_ext <<_ACEOF
     3839  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33683840/* end confdefs.h.  */
    33693841#include <ctype.h>
     
    33923864}
    33933865_ACEOF
    3394 rm -f conftest$ac_exeext
    3395 if { (ac_try="$ac_link"
    3396 case "(($ac_try" in
    3397   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3398   *) ac_try_echo=$ac_try;;
    3399 esac
    3400 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3401 $as_echo "$ac_try_echo") >&5
    3402   (eval "$ac_link") 2>&5
    3403   ac_status=$?
    3404   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3405   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3406   { (case "(($ac_try" in
    3407   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3408   *) ac_try_echo=$ac_try;;
    3409 esac
    3410 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3411 $as_echo "$ac_try_echo") >&5
    3412   (eval "$ac_try") 2>&5
    3413   ac_status=$?
    3414   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3415   (exit $ac_status); }; }; then
    3416   :
    3417 else
    3418   $as_echo "$as_me: program exited with status $ac_status" >&5
    3419 $as_echo "$as_me: failed program was:" >&5
    3420 sed 's/^/| /' conftest.$ac_ext >&5
    3421 
    3422 ( exit $ac_status )
    3423 ac_cv_header_stdc=no
    3424 fi
    3425 rm -rf conftest.dSYM
    3426 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3427 fi
    3428 
    3429 
    3430 fi
    3431 fi
    3432 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3866if ac_fn_c_try_run "$LINENO"; then :
     3867
     3868else
     3869  ac_cv_header_stdc=no
     3870fi
     3871rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3872  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3873fi
     3874
     3875fi
     3876fi
     3877{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34333878$as_echo "$ac_cv_header_stdc" >&6; }
    34343879if test $ac_cv_header_stdc = yes; then
    34353880
    3436 cat >>confdefs.h <<\_ACEOF
    3437 #define STDC_HEADERS 1
    3438 _ACEOF
     3881$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34393882
    34403883fi
    34413884
    34423885# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3443 
    3444 
    3445 
    3446 
    3447 
    3448 
    3449 
    3450 
    3451 
    34523886for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34533887                  inttypes.h stdint.h unistd.h
    3454 do
    3455 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3456 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3457 $as_echo_n "checking for $ac_header... " >&6; }
    3458 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3459   $as_echo_n "(cached) " >&6
    3460 else
    3461   cat >conftest.$ac_ext <<_ACEOF
    3462 /* confdefs.h.  */
    3463 _ACEOF
    3464 cat confdefs.h >>conftest.$ac_ext
    3465 cat >>conftest.$ac_ext <<_ACEOF
    3466 /* end confdefs.h.  */
    3467 $ac_includes_default
    3468 
    3469 #include <$ac_header>
    3470 _ACEOF
    3471 rm -f conftest.$ac_objext
    3472 if { (ac_try="$ac_compile"
    3473 case "(($ac_try" in
    3474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3475   *) ac_try_echo=$ac_try;;
    3476 esac
    3477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3478 $as_echo "$ac_try_echo") >&5
    3479   (eval "$ac_compile") 2>conftest.er1
    3480   ac_status=$?
    3481   grep -v '^ *+' conftest.er1 >conftest.err
    3482   rm -f conftest.er1
    3483   cat conftest.err >&5
    3484   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3485   (exit $ac_status); } && {
    3486          test -z "$ac_c_werror_flag" ||
    3487          test ! -s conftest.err
    3488        } && test -s conftest.$ac_objext; then
    3489   eval "$as_ac_Header=yes"
    3490 else
    3491   $as_echo "$as_me: failed program was:" >&5
    3492 sed 's/^/| /' conftest.$ac_ext >&5
    3493 
    3494         eval "$as_ac_Header=no"
    3495 fi
    3496 
    3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3498 fi
    3499 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3500                  $as_echo "$as_val"'`
    3501                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3502 $as_echo "$ac_res" >&6; }
    3503 as_val=`eval 'as_val=${'$as_ac_Header'}
    3504                  $as_echo "$as_val"'`
    3505    if test "x$as_val" = x""yes; then
     3888do :
     3889  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3890ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3891"
     3892if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35063893  cat >>confdefs.h <<_ACEOF
    35073894#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35283915
    35293916# Check whether --with-python was given.
    3530 if test "${with_python+set}" = set; then
     3917if test "${with_python+set}" = set; then :
    35313918  withval=$with_python;
    35323919else
     
    35393926    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    35403927set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3541 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3928{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35423929$as_echo_n "checking for $ac_word... " >&6; }
    3543 if test "${ac_cv_path_PYTHON+set}" = set; then
     3930if ${ac_cv_path_PYTHON+:} false; then :
    35443931  $as_echo_n "(cached) " >&6
    35453932else
     
    35543941  IFS=$as_save_IFS
    35553942  test -z "$as_dir" && as_dir=.
    3556   for ac_exec_ext in '' $ac_executable_extensions; do
    3557   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3943    for ac_exec_ext in '' $ac_executable_extensions; do
     3944  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    35583945    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3559     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3946    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    35603947    break 2
    35613948  fi
    35623949done
    3563 done
     3950  done
    35643951IFS=$as_save_IFS
    35653952
     
    35693956PYTHON=$ac_cv_path_PYTHON
    35703957if test -n "$PYTHON"; then
    3571   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     3958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    35723959$as_echo "$PYTHON" >&6; }
    35733960else
    3574   { $as_echo "$as_me:$LINENO: result: no" >&5
     3961  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    35753962$as_echo "no" >&6; }
    35763963fi
     
    35803967    # Extract the first word of "python", so it can be a program name with args.
    35813968set dummy python; ac_word=$2
    3582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3969{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    35833970$as_echo_n "checking for $ac_word... " >&6; }
    3584 if test "${ac_cv_path_PYTHON+set}" = set; then
     3971if ${ac_cv_path_PYTHON+:} false; then :
    35853972  $as_echo_n "(cached) " >&6
    35863973else
     
    35963983  IFS=$as_save_IFS
    35973984  test -z "$as_dir" && as_dir=.
    3598   for ac_exec_ext in '' $ac_executable_extensions; do
    3599   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3985    for ac_exec_ext in '' $ac_executable_extensions; do
     3986  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    36003987    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3601     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3988    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    36023989    break 2
    36033990  fi
    36043991done
    3605 done
     3992  done
    36063993IFS=$as_save_IFS
    36073994
     
    36113998PYTHON=$ac_cv_path_PYTHON
    36123999if test -n "$PYTHON"; then
    3613   { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
     4000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
    36144001$as_echo "$PYTHON" >&6; }
    36154002else
    3616   { $as_echo "$as_me:$LINENO: result: no" >&5
     4003  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    36174004$as_echo "no" >&6; }
    36184005fi
     
    36204007
    36214008  fi
    3622   { $as_echo "$as_me:$LINENO: checking for Python version" >&5
     4009  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
    36234010$as_echo_n "checking for Python version... " >&6; }
    36244011  if test "x${PYTHON}" != "x"; then
    36254012    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    36264013  fi
    3627   { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
     4014  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
    36284015$as_echo "$PYTHON_VERSION" >&6; }
    36294016fi
     
    36314018if test "x${PYTHON_VERSION}" != "x"; then
    36324019  PYTHON_INCLUDES=$incdir
    3633   { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
     4020  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
    36344021$as_echo_n "checking for Python distutils... " >&6; }
    36354022  PYTHON_DISTUTILS=""
     
    36394026    PYTHON_DISTUTILS="yes"
    36404027  fi
    3641   { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
     4028  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
    36424029$as_echo "$PYTHON_DISTUTILS" >&6; }
    36434030  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    36464033    # Check for Python include path
    36474034    #
    3648     { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
     4035    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
    36494036$as_echo_n "checking path to Python headers... " >&6; }
    36504037    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    36514038     print distutils.sysconfig.get_python_inc();"`
    3652     { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
     4039    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
    36534040$as_echo "$PYTHON_INCDIR" >&6; }
    36544041    #
     
    36634050    save_CPPFLAGS=$CPPFLAGS
    36644051    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    3665 
    3666 for ac_header in Python.h
    3667 do
    3668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3669 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3670   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3671 $as_echo_n "checking for $ac_header... " >&6; }
    3672 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3673   $as_echo_n "(cached) " >&6
    3674 fi
    3675 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3676                  $as_echo "$as_val"'`
    3677                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3678 $as_echo "$ac_res" >&6; }
    3679 else
    3680   # Is the header compilable?
    3681 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    3682 $as_echo_n "checking $ac_header usability... " >&6; }
    3683 cat >conftest.$ac_ext <<_ACEOF
    3684 /* confdefs.h.  */
    3685 _ACEOF
    3686 cat confdefs.h >>conftest.$ac_ext
    3687 cat >>conftest.$ac_ext <<_ACEOF
    3688 /* end confdefs.h.  */
    3689 $ac_includes_default
    3690 #include <$ac_header>
    3691 _ACEOF
    3692 rm -f conftest.$ac_objext
    3693 if { (ac_try="$ac_compile"
    3694 case "(($ac_try" in
    3695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3696   *) ac_try_echo=$ac_try;;
    3697 esac
    3698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3699 $as_echo "$ac_try_echo") >&5
    3700   (eval "$ac_compile") 2>conftest.er1
    3701   ac_status=$?
    3702   grep -v '^ *+' conftest.er1 >conftest.err
    3703   rm -f conftest.er1
    3704   cat conftest.err >&5
    3705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3706   (exit $ac_status); } && {
    3707          test -z "$ac_c_werror_flag" ||
    3708          test ! -s conftest.err
    3709        } && test -s conftest.$ac_objext; then
    3710   ac_header_compiler=yes
    3711 else
    3712   $as_echo "$as_me: failed program was:" >&5
    3713 sed 's/^/| /' conftest.$ac_ext >&5
    3714 
    3715         ac_header_compiler=no
    3716 fi
    3717 
    3718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3719 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    3720 $as_echo "$ac_header_compiler" >&6; }
    3721 
    3722 # Is the header present?
    3723 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    3724 $as_echo_n "checking $ac_header presence... " >&6; }
    3725 cat >conftest.$ac_ext <<_ACEOF
    3726 /* confdefs.h.  */
    3727 _ACEOF
    3728 cat confdefs.h >>conftest.$ac_ext
    3729 cat >>conftest.$ac_ext <<_ACEOF
    3730 /* end confdefs.h.  */
    3731 #include <$ac_header>
    3732 _ACEOF
    3733 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3734 case "(($ac_try" in
    3735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3736   *) ac_try_echo=$ac_try;;
    3737 esac
    3738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3739 $as_echo "$ac_try_echo") >&5
    3740   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3741   ac_status=$?
    3742   grep -v '^ *+' conftest.er1 >conftest.err
    3743   rm -f conftest.er1
    3744   cat conftest.err >&5
    3745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3746   (exit $ac_status); } >/dev/null && {
    3747          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3748          test ! -s conftest.err
    3749        }; then
    3750   ac_header_preproc=yes
    3751 else
    3752   $as_echo "$as_me: failed program was:" >&5
    3753 sed 's/^/| /' conftest.$ac_ext >&5
    3754 
    3755   ac_header_preproc=no
    3756 fi
    3757 
    3758 rm -f conftest.err conftest.$ac_ext
    3759 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    3760 $as_echo "$ac_header_preproc" >&6; }
    3761 
    3762 # So?  What about this header?
    3763 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    3764   yes:no: )
    3765     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    3766 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    3767     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    3768 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    3769     ac_header_preproc=yes
    3770     ;;
    3771   no:yes:* )
    3772     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    3773 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    3774     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    3775 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    3776     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    3777 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    3778     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    3779 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    3780     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    3781 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    3782     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    3783 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    3784     ( cat <<\_ASBOX
    3785 ## ----------------------------------- ##
    3786 ## Report this to rappture@nanohub.org ##
    3787 ## ----------------------------------- ##
    3788 _ASBOX
    3789      ) | sed "s/^/$as_me: WARNING:     /" >&2
    3790     ;;
    3791 esac
    3792 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3793 $as_echo_n "checking for $ac_header... " >&6; }
    3794 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3795   $as_echo_n "(cached) " >&6
    3796 else
    3797   eval "$as_ac_Header=\$ac_header_preproc"
    3798 fi
    3799 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3800                  $as_echo "$as_val"'`
    3801                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3802 $as_echo "$ac_res" >&6; }
    3803 
    3804 fi
    3805 as_val=`eval 'as_val=${'$as_ac_Header'}
    3806                  $as_echo "$as_val"'`
    3807    if test "x$as_val" = x""yes; then
     4052    for ac_header in Python.h
     4053do :
     4054  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4055if test "x$ac_cv_header_Python_h" = xyes; then :
    38084056  cat >>confdefs.h <<_ACEOF
    3809 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     4057#define HAVE_PYTHON_H 1
    38104058_ACEOF
    38114059 found=yes
     
    38264074
    38274075# Check whether --with-statsdir was given.
    3828 if test "${with_statsdir+set}" = set; then
     4076if test "${with_statsdir+set}" = set; then :
    38294077  withval=$with_statsdir; STATSDIR=$withval
    38304078else
     
    38604108  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    38614109set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3862 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4110{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    38634111$as_echo_n "checking for $ac_word... " >&6; }
    3864 if test "${ac_cv_prog_RANLIB+set}" = set; then
     4112if ${ac_cv_prog_RANLIB+:} false; then :
    38654113  $as_echo_n "(cached) " >&6
    38664114else
     
    38734121  IFS=$as_save_IFS
    38744122  test -z "$as_dir" && as_dir=.
    3875   for ac_exec_ext in '' $ac_executable_extensions; do
    3876   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4123    for ac_exec_ext in '' $ac_executable_extensions; do
     4124  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    38774125    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3878     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4126    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    38794127    break 2
    38804128  fi
    38814129done
    3882 done
     4130  done
    38834131IFS=$as_save_IFS
    38844132
     
    38874135RANLIB=$ac_cv_prog_RANLIB
    38884136if test -n "$RANLIB"; then
    3889   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     4137  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    38904138$as_echo "$RANLIB" >&6; }
    38914139else
    3892   { $as_echo "$as_me:$LINENO: result: no" >&5
     4140  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38934141$as_echo "no" >&6; }
    38944142fi
     
    39004148  # Extract the first word of "ranlib", so it can be a program name with args.
    39014149set dummy ranlib; ac_word=$2
    3902 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4150{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    39034151$as_echo_n "checking for $ac_word... " >&6; }
    3904 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     4152if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    39054153  $as_echo_n "(cached) " >&6
    39064154else
     
    39134161  IFS=$as_save_IFS
    39144162  test -z "$as_dir" && as_dir=.
    3915   for ac_exec_ext in '' $ac_executable_extensions; do
    3916   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4163    for ac_exec_ext in '' $ac_executable_extensions; do
     4164  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    39174165    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3918     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4166    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    39194167    break 2
    39204168  fi
    39214169done
    3922 done
     4170  done
    39234171IFS=$as_save_IFS
    39244172
     
    39274175ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    39284176if test -n "$ac_ct_RANLIB"; then
    3929   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     4177  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    39304178$as_echo "$ac_ct_RANLIB" >&6; }
    39314179else
    3932   { $as_echo "$as_me:$LINENO: result: no" >&5
     4180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    39334181$as_echo "no" >&6; }
    39344182fi
     
    39394187    case $cross_compiling:$ac_tool_warned in
    39404188yes:)
    3941 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     4189{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    39424190$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    39434191ac_tool_warned=yes ;;
     
    39534201    # Step 0.a: Enable 64 bit support?
    39544202
    3955     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4203    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    39564204$as_echo_n "checking if 64bit support is requested... " >&6; }
    39574205    # Check whether --enable-64bit was given.
    3958 if test "${enable_64bit+set}" = set; then
     4206if test "${enable_64bit+set}" = set; then :
    39594207  enableval=$enable_64bit; do64bit=$enableval
    39604208else
     
    39624210fi
    39634211
    3964     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4212    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    39654213$as_echo "$do64bit" >&6; }
    39664214
    39674215    # Step 0.b: Enable Solaris 64 bit VIS support?
    39684216
    3969     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4217    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    39704218$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39714219    # Check whether --enable-64bit-vis was given.
    3972 if test "${enable_64bit_vis+set}" = set; then
     4220if test "${enable_64bit_vis+set}" = set; then :
    39734221  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39744222else
     
    39764224fi
    39774225
    3978     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4226    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    39794227$as_echo "$do64bitVIS" >&6; }
    39804228
     
    39884236
    39894237
    3990     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4238    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    39914239$as_echo_n "checking system version... " >&6; }
    3992 if test "${tcl_cv_sys_version+set}" = set; then
     4240if ${tcl_cv_sys_version+:} false; then :
    39934241  $as_echo_n "(cached) " >&6
    39944242else
     
    39994247            tcl_cv_sys_version=`uname -s`-`uname -r`
    40004248            if test "$?" -ne 0 ; then
    4001                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4249                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    40024250$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    40034251                tcl_cv_sys_version=unknown
     
    40164264
    40174265fi
    4018 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4266{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    40194267$as_echo "$tcl_cv_sys_version" >&6; }
    40204268    system=$tcl_cv_sys_version
     
    40244272    # Linux can use either -ldl or -ldld for dynamic loading.
    40254273
    4026     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4274    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    40274275$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4028 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4276if ${ac_cv_lib_dl_dlopen+:} false; then :
    40294277  $as_echo_n "(cached) " >&6
    40304278else
    40314279  ac_check_lib_save_LIBS=$LIBS
    40324280LIBS="-ldl  $LIBS"
    4033 cat >conftest.$ac_ext <<_ACEOF
    4034 /* confdefs.h.  */
    4035 _ACEOF
    4036 cat confdefs.h >>conftest.$ac_ext
    4037 cat >>conftest.$ac_ext <<_ACEOF
     4281cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40384282/* end confdefs.h.  */
    40394283
     
    40534297}
    40544298_ACEOF
    4055 rm -f conftest.$ac_objext conftest$ac_exeext
    4056 if { (ac_try="$ac_link"
    4057 case "(($ac_try" in
    4058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4059   *) ac_try_echo=$ac_try;;
    4060 esac
    4061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4062 $as_echo "$ac_try_echo") >&5
    4063   (eval "$ac_link") 2>conftest.er1
    4064   ac_status=$?
    4065   grep -v '^ *+' conftest.er1 >conftest.err
    4066   rm -f conftest.er1
    4067   cat conftest.err >&5
    4068   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4069   (exit $ac_status); } && {
    4070          test -z "$ac_c_werror_flag" ||
    4071          test ! -s conftest.err
    4072        } && test -s conftest$ac_exeext && {
    4073          test "$cross_compiling" = yes ||
    4074          $as_test_x conftest$ac_exeext
    4075        }; then
     4299if ac_fn_c_try_link "$LINENO"; then :
    40764300  ac_cv_lib_dl_dlopen=yes
    40774301else
    4078   $as_echo "$as_me: failed program was:" >&5
    4079 sed 's/^/| /' conftest.$ac_ext >&5
    4080 
    4081         ac_cv_lib_dl_dlopen=no
    4082 fi
    4083 
    4084 rm -rf conftest.dSYM
    4085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4086       conftest$ac_exeext conftest.$ac_ext
     4302  ac_cv_lib_dl_dlopen=no
     4303fi
     4304rm -f core conftest.err conftest.$ac_objext \
     4305    conftest$ac_exeext conftest.$ac_ext
    40874306LIBS=$ac_check_lib_save_LIBS
    40884307fi
    4089 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4308{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    40904309$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4091 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4310if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    40924311  have_dl=yes
    40934312else
     
    41214340    # Extract the first word of "ar", so it can be a program name with args.
    41224341set dummy ar; ac_word=$2
    4123 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4342{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    41244343$as_echo_n "checking for $ac_word... " >&6; }
    4125 if test "${ac_cv_prog_AR+set}" = set; then
     4344if ${ac_cv_prog_AR+:} false; then :
    41264345  $as_echo_n "(cached) " >&6
    41274346else
     
    41344353  IFS=$as_save_IFS
    41354354  test -z "$as_dir" && as_dir=.
    4136   for ac_exec_ext in '' $ac_executable_extensions; do
    4137   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4355    for ac_exec_ext in '' $ac_executable_extensions; do
     4356  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    41384357    ac_cv_prog_AR="ar"
    4139     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4358    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    41404359    break 2
    41414360  fi
    41424361done
    4143 done
     4362  done
    41444363IFS=$as_save_IFS
    41454364
     
    41484367AR=$ac_cv_prog_AR
    41494368if test -n "$AR"; then
    4150   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4369  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    41514370$as_echo "$AR" >&6; }
    41524371else
    4153   { $as_echo "$as_me:$LINENO: result: no" >&5
     4372  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    41544373$as_echo "no" >&6; }
    41554374fi
     
    41574376
    41584377    if test "${AR}" = "" ; then
    4159         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    4160 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    4161    { (exit 1); exit 1; }; }
     4378        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    41624379    fi
    41634380    STLIB_LD='${AR} cr'
     
    41774394                        ;;
    41784395                esac
    4179                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4396                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    41804397$as_echo "Using $CC for compiling with threads" >&6; }
    41814398            fi
     
    41934410            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    41944411                if test "$GCC" = "yes" ; then
    4195                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4412                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    41964413$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    41974414                else
     
    42484465            # known GMT value.
    42494466
    4250             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4467            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    42514468$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4252 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4469if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    42534470  $as_echo_n "(cached) " >&6
    42544471else
    42554472  ac_check_lib_save_LIBS=$LIBS
    42564473LIBS="-lbsd  $LIBS"
    4257 cat >conftest.$ac_ext <<_ACEOF
    4258 /* confdefs.h.  */
    4259 _ACEOF
    4260 cat confdefs.h >>conftest.$ac_ext
    4261 cat >>conftest.$ac_ext <<_ACEOF
     4474cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42624475/* end confdefs.h.  */
    42634476
     
    42774490}
    42784491_ACEOF
    4279 rm -f conftest.$ac_objext conftest$ac_exeext
    4280 if { (ac_try="$ac_link"
    4281 case "(($ac_try" in
    4282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4283   *) ac_try_echo=$ac_try;;
    4284 esac
    4285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4286 $as_echo "$ac_try_echo") >&5
    4287   (eval "$ac_link") 2>conftest.er1
    4288   ac_status=$?
    4289   grep -v '^ *+' conftest.er1 >conftest.err
    4290   rm -f conftest.er1
    4291   cat conftest.err >&5
    4292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4293   (exit $ac_status); } && {
    4294          test -z "$ac_c_werror_flag" ||
    4295          test ! -s conftest.err
    4296        } && test -s conftest$ac_exeext && {
    4297          test "$cross_compiling" = yes ||
    4298          $as_test_x conftest$ac_exeext
    4299        }; then
     4492if ac_fn_c_try_link "$LINENO"; then :
    43004493  ac_cv_lib_bsd_gettimeofday=yes
    43014494else
    4302   $as_echo "$as_me: failed program was:" >&5
    4303 sed 's/^/| /' conftest.$ac_ext >&5
    4304 
    4305         ac_cv_lib_bsd_gettimeofday=no
    4306 fi
    4307 
    4308 rm -rf conftest.dSYM
    4309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4310       conftest$ac_exeext conftest.$ac_ext
     4495  ac_cv_lib_bsd_gettimeofday=no
     4496fi
     4497rm -f core conftest.err conftest.$ac_objext \
     4498    conftest$ac_exeext conftest.$ac_ext
    43114499LIBS=$ac_check_lib_save_LIBS
    43124500fi
    4313 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4501{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    43144502$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4315 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4503if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    43164504  libbsd=yes
    43174505else
     
    43214509            if test $libbsd = yes; then
    43224510                MATH_LIBS="$MATH_LIBS -lbsd"
    4323                 cat >>confdefs.h <<\_ACEOF
    4324 #define USE_DELTA_FOR_TZ 1
    4325 _ACEOF
     4511                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    43264512
    43274513            fi
     
    43404526            # is always linked to, for compatibility.
    43414527            #-----------------------------------------------------------
    4342             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4528            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    43434529$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4344 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4530if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    43454531  $as_echo_n "(cached) " >&6
    43464532else
    43474533  ac_check_lib_save_LIBS=$LIBS
    43484534LIBS="-lbind  $LIBS"
    4349 cat >conftest.$ac_ext <<_ACEOF
    4350 /* confdefs.h.  */
    4351 _ACEOF
    4352 cat confdefs.h >>conftest.$ac_ext
    4353 cat >>conftest.$ac_ext <<_ACEOF
     4535cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    43544536/* end confdefs.h.  */
    43554537
     
    43694551}
    43704552_ACEOF
    4371 rm -f conftest.$ac_objext conftest$ac_exeext
    4372 if { (ac_try="$ac_link"
    4373 case "(($ac_try" in
    4374   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4375   *) ac_try_echo=$ac_try;;
    4376 esac
    4377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4378 $as_echo "$ac_try_echo") >&5
    4379   (eval "$ac_link") 2>conftest.er1
    4380   ac_status=$?
    4381   grep -v '^ *+' conftest.er1 >conftest.err
    4382   rm -f conftest.er1
    4383   cat conftest.err >&5
    4384   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4385   (exit $ac_status); } && {
    4386          test -z "$ac_c_werror_flag" ||
    4387          test ! -s conftest.err
    4388        } && test -s conftest$ac_exeext && {
    4389          test "$cross_compiling" = yes ||
    4390          $as_test_x conftest$ac_exeext
    4391        }; then
     4553if ac_fn_c_try_link "$LINENO"; then :
    43924554  ac_cv_lib_bind_inet_ntoa=yes
    43934555else
    4394   $as_echo "$as_me: failed program was:" >&5
    4395 sed 's/^/| /' conftest.$ac_ext >&5
    4396 
    4397         ac_cv_lib_bind_inet_ntoa=no
    4398 fi
    4399 
    4400 rm -rf conftest.dSYM
    4401 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4402       conftest$ac_exeext conftest.$ac_ext
     4556  ac_cv_lib_bind_inet_ntoa=no
     4557fi
     4558rm -f core conftest.err conftest.$ac_objext \
     4559    conftest$ac_exeext conftest.$ac_ext
    44034560LIBS=$ac_check_lib_save_LIBS
    44044561fi
    4405 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4562{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    44064563$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4407 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4564if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    44084565  LIBS="$LIBS -lbind -lsocket"
    44094566fi
     
    44434600        HP-UX-*.11.*)
    44444601            # Use updated header definitions where possible
    4445             cat >>confdefs.h <<\_ACEOF
    4446 #define _XOPEN_SOURCE 1
    4447 _ACEOF
     4602            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    44484603          # Use the XOPEN network library
    4449             cat >>confdefs.h <<\_ACEOF
    4450 #define _XOPEN_SOURCE_EXTENDED 1
    4451 _ACEOF
     4604            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    44524605 # Use the XOPEN network library
    44534606            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44584611                SHLIB_SUFFIX=".sl"
    44594612            fi
    4460             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4613            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    44614614$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4462 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4615if ${ac_cv_lib_dld_shl_load+:} false; then :
    44634616  $as_echo_n "(cached) " >&6
    44644617else
    44654618  ac_check_lib_save_LIBS=$LIBS
    44664619LIBS="-ldld  $LIBS"
    4467 cat >conftest.$ac_ext <<_ACEOF
    4468 /* confdefs.h.  */
    4469 _ACEOF
    4470 cat confdefs.h >>conftest.$ac_ext
    4471 cat >>conftest.$ac_ext <<_ACEOF
     4620cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44724621/* end confdefs.h.  */
    44734622
     
    44874636}
    44884637_ACEOF
    4489 rm -f conftest.$ac_objext conftest$ac_exeext
    4490 if { (ac_try="$ac_link"
    4491 case "(($ac_try" in
    4492   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4493   *) ac_try_echo=$ac_try;;
    4494 esac
    4495 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4496 $as_echo "$ac_try_echo") >&5
    4497   (eval "$ac_link") 2>conftest.er1
    4498   ac_status=$?
    4499   grep -v '^ *+' conftest.er1 >conftest.err
    4500   rm -f conftest.er1
    4501   cat conftest.err >&5
    4502   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4503   (exit $ac_status); } && {
    4504          test -z "$ac_c_werror_flag" ||
    4505          test ! -s conftest.err
    4506        } && test -s conftest$ac_exeext && {
    4507          test "$cross_compiling" = yes ||
    4508          $as_test_x conftest$ac_exeext
    4509        }; then
     4638if ac_fn_c_try_link "$LINENO"; then :
    45104639  ac_cv_lib_dld_shl_load=yes
    45114640else
    4512   $as_echo "$as_me: failed program was:" >&5
    4513 sed 's/^/| /' conftest.$ac_ext >&5
    4514 
    4515         ac_cv_lib_dld_shl_load=no
    4516 fi
    4517 
    4518 rm -rf conftest.dSYM
    4519 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4520       conftest$ac_exeext conftest.$ac_ext
     4641  ac_cv_lib_dld_shl_load=no
     4642fi
     4643rm -f core conftest.err conftest.$ac_objext \
     4644    conftest$ac_exeext conftest.$ac_ext
    45214645LIBS=$ac_check_lib_save_LIBS
    45224646fi
    4523 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4647{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    45244648$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4525 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4649if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    45264650  tcl_ok=yes
    45274651else
     
    45634687                            ;;
    45644688                        *)
    4565                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4689                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    45664690$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    45674691                            ;;
     
    45764700        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    45774701            SHLIB_SUFFIX=".sl"
    4578             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4702            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    45794703$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4580 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4704if ${ac_cv_lib_dld_shl_load+:} false; then :
    45814705  $as_echo_n "(cached) " >&6
    45824706else
    45834707  ac_check_lib_save_LIBS=$LIBS
    45844708LIBS="-ldld  $LIBS"
    4585 cat >conftest.$ac_ext <<_ACEOF
    4586 /* confdefs.h.  */
    4587 _ACEOF
    4588 cat confdefs.h >>conftest.$ac_ext
    4589 cat >>conftest.$ac_ext <<_ACEOF
     4709cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45904710/* end confdefs.h.  */
    45914711
     
    46054725}
    46064726_ACEOF
    4607 rm -f conftest.$ac_objext conftest$ac_exeext
    4608 if { (ac_try="$ac_link"
    4609 case "(($ac_try" in
    4610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4611   *) ac_try_echo=$ac_try;;
    4612 esac
    4613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4614 $as_echo "$ac_try_echo") >&5
    4615   (eval "$ac_link") 2>conftest.er1
    4616   ac_status=$?
    4617   grep -v '^ *+' conftest.er1 >conftest.err
    4618   rm -f conftest.er1
    4619   cat conftest.err >&5
    4620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4621   (exit $ac_status); } && {
    4622          test -z "$ac_c_werror_flag" ||
    4623          test ! -s conftest.err
    4624        } && test -s conftest$ac_exeext && {
    4625          test "$cross_compiling" = yes ||
    4626          $as_test_x conftest$ac_exeext
    4627        }; then
     4727if ac_fn_c_try_link "$LINENO"; then :
    46284728  ac_cv_lib_dld_shl_load=yes
    46294729else
    4630   $as_echo "$as_me: failed program was:" >&5
    4631 sed 's/^/| /' conftest.$ac_ext >&5
    4632 
    4633         ac_cv_lib_dld_shl_load=no
    4634 fi
    4635 
    4636 rm -rf conftest.dSYM
    4637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4638       conftest$ac_exeext conftest.$ac_ext
     4730  ac_cv_lib_dld_shl_load=no
     4731fi
     4732rm -f core conftest.err conftest.$ac_objext \
     4733    conftest$ac_exeext conftest.$ac_ext
    46394734LIBS=$ac_check_lib_save_LIBS
    46404735fi
    4641 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    46424737$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4643 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4738if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    46444739  tcl_ok=yes
    46454740else
     
    47204815            if test "$do64bit" = "yes" ; then
    47214816                if test "$GCC" = "yes" ; then
    4722                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4817                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    47234818$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    47244819                else
     
    47494844                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    47504845            else
    4751                 if test "${ac_cv_header_dld_h+set}" = set; then
    4752   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4753 $as_echo_n "checking for dld.h... " >&6; }
    4754 if test "${ac_cv_header_dld_h+set}" = set; then
    4755   $as_echo_n "(cached) " >&6
    4756 fi
    4757 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4758 $as_echo "$ac_cv_header_dld_h" >&6; }
    4759 else
    4760   # Is the header compilable?
    4761 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4762 $as_echo_n "checking dld.h usability... " >&6; }
    4763 cat >conftest.$ac_ext <<_ACEOF
    4764 /* confdefs.h.  */
    4765 _ACEOF
    4766 cat confdefs.h >>conftest.$ac_ext
    4767 cat >>conftest.$ac_ext <<_ACEOF
    4768 /* end confdefs.h.  */
    4769 $ac_includes_default
    4770 #include <dld.h>
    4771 _ACEOF
    4772 rm -f conftest.$ac_objext
    4773 if { (ac_try="$ac_compile"
    4774 case "(($ac_try" in
    4775   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4776   *) ac_try_echo=$ac_try;;
    4777 esac
    4778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4779 $as_echo "$ac_try_echo") >&5
    4780   (eval "$ac_compile") 2>conftest.er1
    4781   ac_status=$?
    4782   grep -v '^ *+' conftest.er1 >conftest.err
    4783   rm -f conftest.er1
    4784   cat conftest.err >&5
    4785   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4786   (exit $ac_status); } && {
    4787          test -z "$ac_c_werror_flag" ||
    4788          test ! -s conftest.err
    4789        } && test -s conftest.$ac_objext; then
    4790   ac_header_compiler=yes
    4791 else
    4792   $as_echo "$as_me: failed program was:" >&5
    4793 sed 's/^/| /' conftest.$ac_ext >&5
    4794 
    4795         ac_header_compiler=no
    4796 fi
    4797 
    4798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4799 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4800 $as_echo "$ac_header_compiler" >&6; }
    4801 
    4802 # Is the header present?
    4803 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4804 $as_echo_n "checking dld.h presence... " >&6; }
    4805 cat >conftest.$ac_ext <<_ACEOF
    4806 /* confdefs.h.  */
    4807 _ACEOF
    4808 cat confdefs.h >>conftest.$ac_ext
    4809 cat >>conftest.$ac_ext <<_ACEOF
    4810 /* end confdefs.h.  */
    4811 #include <dld.h>
    4812 _ACEOF
    4813 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4814 case "(($ac_try" in
    4815   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4816   *) ac_try_echo=$ac_try;;
    4817 esac
    4818 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4819 $as_echo "$ac_try_echo") >&5
    4820   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4821   ac_status=$?
    4822   grep -v '^ *+' conftest.er1 >conftest.err
    4823   rm -f conftest.er1
    4824   cat conftest.err >&5
    4825   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4826   (exit $ac_status); } >/dev/null && {
    4827          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4828          test ! -s conftest.err
    4829        }; then
    4830   ac_header_preproc=yes
    4831 else
    4832   $as_echo "$as_me: failed program was:" >&5
    4833 sed 's/^/| /' conftest.$ac_ext >&5
    4834 
    4835   ac_header_preproc=no
    4836 fi
    4837 
    4838 rm -f conftest.err conftest.$ac_ext
    4839 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4840 $as_echo "$ac_header_preproc" >&6; }
    4841 
    4842 # So?  What about this header?
    4843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4844   yes:no: )
    4845     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4846 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4847     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4848 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4849     ac_header_preproc=yes
    4850     ;;
    4851   no:yes:* )
    4852     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4853 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4854     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4855 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4856     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4857 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4858     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4859 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4860     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4861 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4862     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4863 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4864     ( cat <<\_ASBOX
    4865 ## ----------------------------------- ##
    4866 ## Report this to rappture@nanohub.org ##
    4867 ## ----------------------------------- ##
    4868 _ASBOX
    4869      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4870     ;;
    4871 esac
    4872 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4873 $as_echo_n "checking for dld.h... " >&6; }
    4874 if test "${ac_cv_header_dld_h+set}" = set; then
    4875   $as_echo_n "(cached) " >&6
    4876 else
    4877   ac_cv_header_dld_h=$ac_header_preproc
    4878 fi
    4879 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4880 $as_echo "$ac_cv_header_dld_h" >&6; }
    4881 
    4882 fi
    4883 if test "x$ac_cv_header_dld_h" = x""yes; then
     4846                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4847if test "x$ac_cv_header_dld_h" = xyes; then :
    48844848
    48854849                    SHLIB_LD="ld -shared"
     
    48964860            fi
    48974861            if test $do64bit = yes; then
    4898                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4862                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    48994863$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4900 if test "${tcl_cv_cc_m64+set}" = set; then
     4864if ${tcl_cv_cc_m64+:} false; then :
    49014865  $as_echo_n "(cached) " >&6
    49024866else
     
    49044868                    hold_cflags=$CFLAGS
    49054869                    CFLAGS="$CFLAGS -m64"
    4906                     cat >conftest.$ac_ext <<_ACEOF
    4907 /* confdefs.h.  */
    4908 _ACEOF
    4909 cat confdefs.h >>conftest.$ac_ext
    4910 cat >>conftest.$ac_ext <<_ACEOF
     4870                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49114871/* end confdefs.h.  */
    49124872
     
    49194879}
    49204880_ACEOF
    4921 rm -f conftest.$ac_objext conftest$ac_exeext
    4922 if { (ac_try="$ac_link"
    4923 case "(($ac_try" in
    4924   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4925   *) ac_try_echo=$ac_try;;
    4926 esac
    4927 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4928 $as_echo "$ac_try_echo") >&5
    4929   (eval "$ac_link") 2>conftest.er1
    4930   ac_status=$?
    4931   grep -v '^ *+' conftest.er1 >conftest.err
    4932   rm -f conftest.er1
    4933   cat conftest.err >&5
    4934   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4935   (exit $ac_status); } && {
    4936          test -z "$ac_c_werror_flag" ||
    4937          test ! -s conftest.err
    4938        } && test -s conftest$ac_exeext && {
    4939          test "$cross_compiling" = yes ||
    4940          $as_test_x conftest$ac_exeext
    4941        }; then
     4881if ac_fn_c_try_link "$LINENO"; then :
    49424882  tcl_cv_cc_m64=yes
    49434883else
    4944   $as_echo "$as_me: failed program was:" >&5
    4945 sed 's/^/| /' conftest.$ac_ext >&5
    4946 
    4947         tcl_cv_cc_m64=no
    4948 fi
    4949 
    4950 rm -rf conftest.dSYM
    4951 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4952       conftest$ac_exeext conftest.$ac_ext
     4884  tcl_cv_cc_m64=no
     4885fi
     4886rm -f core conftest.err conftest.$ac_objext \
     4887    conftest$ac_exeext conftest.$ac_ext
    49534888                    CFLAGS=$hold_cflags
    49544889fi
    4955 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4890{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    49564891$as_echo "$tcl_cv_cc_m64" >&6; }
    49574892                if test $tcl_cv_cc_m64 = yes; then
     
    49734908
    49744909            # XIM peeking works under XFree86.
    4975             cat >>confdefs.h <<\_ACEOF
    4976 #define PEEK_XCLOSEIM 1
    4977 _ACEOF
     4910            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    49784911
    49794912
     
    49924925                LD_SEARCH_FLAGS=""
    49934926            else
    4994                 if test "${ac_cv_header_dld_h+set}" = set; then
    4995   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4996 $as_echo_n "checking for dld.h... " >&6; }
    4997 if test "${ac_cv_header_dld_h+set}" = set; then
    4998   $as_echo_n "(cached) " >&6
    4999 fi
    5000 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5001 $as_echo "$ac_cv_header_dld_h" >&6; }
    5002 else
    5003   # Is the header compilable?
    5004 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    5005 $as_echo_n "checking dld.h usability... " >&6; }
    5006 cat >conftest.$ac_ext <<_ACEOF
    5007 /* confdefs.h.  */
    5008 _ACEOF
    5009 cat confdefs.h >>conftest.$ac_ext
    5010 cat >>conftest.$ac_ext <<_ACEOF
    5011 /* end confdefs.h.  */
    5012 $ac_includes_default
    5013 #include <dld.h>
    5014 _ACEOF
    5015 rm -f conftest.$ac_objext
    5016 if { (ac_try="$ac_compile"
    5017 case "(($ac_try" in
    5018   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5019   *) ac_try_echo=$ac_try;;
    5020 esac
    5021 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5022 $as_echo "$ac_try_echo") >&5
    5023   (eval "$ac_compile") 2>conftest.er1
    5024   ac_status=$?
    5025   grep -v '^ *+' conftest.er1 >conftest.err
    5026   rm -f conftest.er1
    5027   cat conftest.err >&5
    5028   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5029   (exit $ac_status); } && {
    5030          test -z "$ac_c_werror_flag" ||
    5031          test ! -s conftest.err
    5032        } && test -s conftest.$ac_objext; then
    5033   ac_header_compiler=yes
    5034 else
    5035   $as_echo "$as_me: failed program was:" >&5
    5036 sed 's/^/| /' conftest.$ac_ext >&5
    5037 
    5038         ac_header_compiler=no
    5039 fi
    5040 
    5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5042 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5043 $as_echo "$ac_header_compiler" >&6; }
    5044 
    5045 # Is the header present?
    5046 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    5047 $as_echo_n "checking dld.h presence... " >&6; }
    5048 cat >conftest.$ac_ext <<_ACEOF
    5049 /* confdefs.h.  */
    5050 _ACEOF
    5051 cat confdefs.h >>conftest.$ac_ext
    5052 cat >>conftest.$ac_ext <<_ACEOF
    5053 /* end confdefs.h.  */
    5054 #include <dld.h>
    5055 _ACEOF
    5056 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5057 case "(($ac_try" in
    5058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5059   *) ac_try_echo=$ac_try;;
    5060 esac
    5061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5062 $as_echo "$ac_try_echo") >&5
    5063   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5064   ac_status=$?
    5065   grep -v '^ *+' conftest.er1 >conftest.err
    5066   rm -f conftest.er1
    5067   cat conftest.err >&5
    5068   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5069   (exit $ac_status); } >/dev/null && {
    5070          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5071          test ! -s conftest.err
    5072        }; then
    5073   ac_header_preproc=yes
    5074 else
    5075   $as_echo "$as_me: failed program was:" >&5
    5076 sed 's/^/| /' conftest.$ac_ext >&5
    5077 
    5078   ac_header_preproc=no
    5079 fi
    5080 
    5081 rm -f conftest.err conftest.$ac_ext
    5082 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5083 $as_echo "$ac_header_preproc" >&6; }
    5084 
    5085 # So?  What about this header?
    5086 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5087   yes:no: )
    5088     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5089 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5090     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    5091 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    5092     ac_header_preproc=yes
    5093     ;;
    5094   no:yes:* )
    5095     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    5096 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    5097     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    5098 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    5099     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    5100 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    5101     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    5102 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5103     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    5104 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    5105     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    5106 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    5107     ( cat <<\_ASBOX
    5108 ## ----------------------------------- ##
    5109 ## Report this to rappture@nanohub.org ##
    5110 ## ----------------------------------- ##
    5111 _ASBOX
    5112      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5113     ;;
    5114 esac
    5115 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    5116 $as_echo_n "checking for dld.h... " >&6; }
    5117 if test "${ac_cv_header_dld_h+set}" = set; then
    5118   $as_echo_n "(cached) " >&6
    5119 else
    5120   ac_cv_header_dld_h=$ac_header_preproc
    5121 fi
    5122 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    5123 $as_echo "$ac_cv_header_dld_h" >&6; }
    5124 
    5125 fi
    5126 if test "x$ac_cv_header_dld_h" = x""yes; then
     4927                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4928if test "x$ac_cv_header_dld_h" = xyes; then :
    51274929
    51284930                    SHLIB_LD="ld -shared"
     
    51744976        NetBSD-*|FreeBSD-[1-2].*)
    51754977            # Not available on all versions:  check for include file.
    5176             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5177   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5178 $as_echo_n "checking for dlfcn.h... " >&6; }
    5179 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5180   $as_echo_n "(cached) " >&6
    5181 fi
    5182 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5183 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5184 else
    5185   # Is the header compilable?
    5186 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    5187 $as_echo_n "checking dlfcn.h usability... " >&6; }
    5188 cat >conftest.$ac_ext <<_ACEOF
    5189 /* confdefs.h.  */
    5190 _ACEOF
    5191 cat confdefs.h >>conftest.$ac_ext
    5192 cat >>conftest.$ac_ext <<_ACEOF
    5193 /* end confdefs.h.  */
    5194 $ac_includes_default
    5195 #include <dlfcn.h>
    5196 _ACEOF
    5197 rm -f conftest.$ac_objext
    5198 if { (ac_try="$ac_compile"
    5199 case "(($ac_try" in
    5200   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5201   *) ac_try_echo=$ac_try;;
    5202 esac
    5203 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5204 $as_echo "$ac_try_echo") >&5
    5205   (eval "$ac_compile") 2>conftest.er1
    5206   ac_status=$?
    5207   grep -v '^ *+' conftest.er1 >conftest.err
    5208   rm -f conftest.er1
    5209   cat conftest.err >&5
    5210   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5211   (exit $ac_status); } && {
    5212          test -z "$ac_c_werror_flag" ||
    5213          test ! -s conftest.err
    5214        } && test -s conftest.$ac_objext; then
    5215   ac_header_compiler=yes
    5216 else
    5217   $as_echo "$as_me: failed program was:" >&5
    5218 sed 's/^/| /' conftest.$ac_ext >&5
    5219 
    5220         ac_header_compiler=no
    5221 fi
    5222 
    5223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    5224 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    5225 $as_echo "$ac_header_compiler" >&6; }
    5226 
    5227 # Is the header present?
    5228 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    5229 $as_echo_n "checking dlfcn.h presence... " >&6; }
    5230 cat >conftest.$ac_ext <<_ACEOF
    5231 /* confdefs.h.  */
    5232 _ACEOF
    5233 cat confdefs.h >>conftest.$ac_ext
    5234 cat >>conftest.$ac_ext <<_ACEOF
    5235 /* end confdefs.h.  */
    5236 #include <dlfcn.h>
    5237 _ACEOF
    5238 if { (ac_try="$ac_cpp conftest.$ac_ext"
    5239 case "(($ac_try" in
    5240   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5241   *) ac_try_echo=$ac_try;;
    5242 esac
    5243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5244 $as_echo "$ac_try_echo") >&5
    5245   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    5246   ac_status=$?
    5247   grep -v '^ *+' conftest.er1 >conftest.err
    5248   rm -f conftest.er1
    5249   cat conftest.err >&5
    5250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5251   (exit $ac_status); } >/dev/null && {
    5252          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    5253          test ! -s conftest.err
    5254        }; then
    5255   ac_header_preproc=yes
    5256 else
    5257   $as_echo "$as_me: failed program was:" >&5
    5258 sed 's/^/| /' conftest.$ac_ext >&5
    5259 
    5260   ac_header_preproc=no
    5261 fi
    5262 
    5263 rm -f conftest.err conftest.$ac_ext
    5264 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    5265 $as_echo "$ac_header_preproc" >&6; }
    5266 
    5267 # So?  What about this header?
    5268 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    5269   yes:no: )
    5270     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    5271 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    5272     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    5273 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    5274     ac_header_preproc=yes
    5275     ;;
    5276   no:yes:* )
    5277     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    5278 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    5279     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    5280 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    5281     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    5282 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    5283     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    5284 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    5285     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    5286 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    5287     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    5288 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    5289     ( cat <<\_ASBOX
    5290 ## ----------------------------------- ##
    5291 ## Report this to rappture@nanohub.org ##
    5292 ## ----------------------------------- ##
    5293 _ASBOX
    5294      ) | sed "s/^/$as_me: WARNING:     /" >&2
    5295     ;;
    5296 esac
    5297 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    5298 $as_echo_n "checking for dlfcn.h... " >&6; }
    5299 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    5300   $as_echo_n "(cached) " >&6
    5301 else
    5302   ac_cv_header_dlfcn_h=$ac_header_preproc
    5303 fi
    5304 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    5305 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    5306 
    5307 fi
    5308 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4978            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4979if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    53094980
    53104981                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    53174988                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    53184989                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    5319                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4990                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    53204991$as_echo_n "checking for ELF... " >&6; }
    5321 if test "${tcl_cv_ld_elf+set}" = set; then
     4992if ${tcl_cv_ld_elf+:} false; then :
    53224993  $as_echo_n "(cached) " >&6
    53234994else
    53244995
    5325                     cat >conftest.$ac_ext <<_ACEOF
    5326 /* confdefs.h.  */
    5327 _ACEOF
    5328 cat confdefs.h >>conftest.$ac_ext
    5329 cat >>conftest.$ac_ext <<_ACEOF
     4996                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53304997/* end confdefs.h.  */
    53314998
     
    53365003_ACEOF
    53375004if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5338   $EGREP "yes" >/dev/null 2>&1; then
     5005  $EGREP "yes" >/dev/null 2>&1; then :
    53395006  tcl_cv_ld_elf=yes
    53405007else
     
    53445011
    53455012fi
    5346 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5013{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    53475014$as_echo "$tcl_cv_ld_elf" >&6; }
    53485015                if test $tcl_cv_ld_elf = yes; then
     
    54035070                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    54045071                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5405                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5072                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    54065073$as_echo_n "checking for ELF... " >&6; }
    5407 if test "${tcl_cv_ld_elf+set}" = set; then
     5074if ${tcl_cv_ld_elf+:} false; then :
    54085075  $as_echo_n "(cached) " >&6
    54095076else
    54105077
    5411                     cat >conftest.$ac_ext <<_ACEOF
    5412 /* confdefs.h.  */
    5413 _ACEOF
    5414 cat confdefs.h >>conftest.$ac_ext
    5415 cat >>conftest.$ac_ext <<_ACEOF
     5078                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54165079/* end confdefs.h.  */
    54175080
     
    54225085_ACEOF
    54235086if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5424   $EGREP "yes" >/dev/null 2>&1; then
     5087  $EGREP "yes" >/dev/null 2>&1; then :
    54255088  tcl_cv_ld_elf=yes
    54265089else
     
    54305093
    54315094fi
    5432 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5095{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    54335096$as_echo "$tcl_cv_ld_elf" >&6; }
    54345097                if test $tcl_cv_ld_elf = yes; then
     
    54855148                case `arch` in
    54865149                    ppc)
    5487                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5150                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    54885151$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5489 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5152if ${tcl_cv_cc_arch_ppc64+:} false; then :
    54905153  $as_echo_n "(cached) " >&6
    54915154else
     
    54935156                            hold_cflags=$CFLAGS
    54945157                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5495                             cat >conftest.$ac_ext <<_ACEOF
    5496 /* confdefs.h.  */
    5497 _ACEOF
    5498 cat confdefs.h >>conftest.$ac_ext
    5499 cat >>conftest.$ac_ext <<_ACEOF
     5158                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55005159/* end confdefs.h.  */
    55015160
     
    55085167}
    55095168_ACEOF
    5510 rm -f conftest.$ac_objext conftest$ac_exeext
    5511 if { (ac_try="$ac_link"
    5512 case "(($ac_try" in
    5513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5514   *) ac_try_echo=$ac_try;;
    5515 esac
    5516 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5517 $as_echo "$ac_try_echo") >&5
    5518   (eval "$ac_link") 2>conftest.er1
    5519   ac_status=$?
    5520   grep -v '^ *+' conftest.er1 >conftest.err
    5521   rm -f conftest.er1
    5522   cat conftest.err >&5
    5523   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5524   (exit $ac_status); } && {
    5525          test -z "$ac_c_werror_flag" ||
    5526          test ! -s conftest.err
    5527        } && test -s conftest$ac_exeext && {
    5528          test "$cross_compiling" = yes ||
    5529          $as_test_x conftest$ac_exeext
    5530        }; then
     5169if ac_fn_c_try_link "$LINENO"; then :
    55315170  tcl_cv_cc_arch_ppc64=yes
    55325171else
    5533   $as_echo "$as_me: failed program was:" >&5
    5534 sed 's/^/| /' conftest.$ac_ext >&5
    5535 
    5536         tcl_cv_cc_arch_ppc64=no
    5537 fi
    5538 
    5539 rm -rf conftest.dSYM
    5540 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5541       conftest$ac_exeext conftest.$ac_ext
     5172  tcl_cv_cc_arch_ppc64=no
     5173fi
     5174rm -f core conftest.err conftest.$ac_objext \
     5175    conftest$ac_exeext conftest.$ac_ext
    55425176                            CFLAGS=$hold_cflags
    55435177fi
    5544 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5178{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    55455179$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    55465180                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    55495183                        fi;;
    55505184                    i386)
    5551                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5185                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    55525186$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5553 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5187if ${tcl_cv_cc_arch_x86_64+:} false; then :
    55545188  $as_echo_n "(cached) " >&6
    55555189else
     
    55575191                            hold_cflags=$CFLAGS
    55585192                            CFLAGS="$CFLAGS -arch x86_64"
    5559                             cat >conftest.$ac_ext <<_ACEOF
    5560 /* confdefs.h.  */
    5561 _ACEOF
    5562 cat confdefs.h >>conftest.$ac_ext
    5563 cat >>conftest.$ac_ext <<_ACEOF
     5193                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55645194/* end confdefs.h.  */
    55655195
     
    55725202}
    55735203_ACEOF
    5574 rm -f conftest.$ac_objext conftest$ac_exeext
    5575 if { (ac_try="$ac_link"
    5576 case "(($ac_try" in
    5577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5578   *) ac_try_echo=$ac_try;;
    5579 esac
    5580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5581 $as_echo "$ac_try_echo") >&5
    5582   (eval "$ac_link") 2>conftest.er1
    5583   ac_status=$?
    5584   grep -v '^ *+' conftest.er1 >conftest.err
    5585   rm -f conftest.er1
    5586   cat conftest.err >&5
    5587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5588   (exit $ac_status); } && {
    5589          test -z "$ac_c_werror_flag" ||
    5590          test ! -s conftest.err
    5591        } && test -s conftest$ac_exeext && {
    5592          test "$cross_compiling" = yes ||
    5593          $as_test_x conftest$ac_exeext
    5594        }; then
     5204if ac_fn_c_try_link "$LINENO"; then :
    55955205  tcl_cv_cc_arch_x86_64=yes
    55965206else
    5597   $as_echo "$as_me: failed program was:" >&5
    5598 sed 's/^/| /' conftest.$ac_ext >&5
    5599 
    5600         tcl_cv_cc_arch_x86_64=no
    5601 fi
    5602 
    5603 rm -rf conftest.dSYM
    5604 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5605       conftest$ac_exeext conftest.$ac_ext
     5207  tcl_cv_cc_arch_x86_64=no
     5208fi
     5209rm -f core conftest.err conftest.$ac_objext \
     5210    conftest$ac_exeext conftest.$ac_ext
    56065211                            CFLAGS=$hold_cflags
    56075212fi
    5608 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5213{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    56095214$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    56105215                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    56135218                        fi;;
    56145219                    *)
    5615                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5220                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    56165221$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    56175222                esac
     
    56235228            fi
    56245229            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5625             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5230            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    56265231$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5627 if test "${tcl_cv_ld_single_module+set}" = set; then
     5232if ${tcl_cv_ld_single_module+:} false; then :
    56285233  $as_echo_n "(cached) " >&6
    56295234else
     
    56315236                hold_ldflags=$LDFLAGS
    56325237                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5633                 cat >conftest.$ac_ext <<_ACEOF
    5634 /* confdefs.h.  */
    5635 _ACEOF
    5636 cat confdefs.h >>conftest.$ac_ext
    5637 cat >>conftest.$ac_ext <<_ACEOF
     5238                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    56385239/* end confdefs.h.  */
    56395240
     
    56465247}
    56475248_ACEOF
    5648 rm -f conftest.$ac_objext conftest$ac_exeext
    5649 if { (ac_try="$ac_link"
    5650 case "(($ac_try" in
    5651   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5652   *) ac_try_echo=$ac_try;;
    5653 esac
    5654 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5655 $as_echo "$ac_try_echo") >&5
    5656   (eval "$ac_link") 2>conftest.er1
    5657   ac_status=$?
    5658   grep -v '^ *+' conftest.er1 >conftest.err
    5659   rm -f conftest.er1
    5660   cat conftest.err >&5
    5661   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5662   (exit $ac_status); } && {
    5663          test -z "$ac_c_werror_flag" ||
    5664          test ! -s conftest.err
    5665        } && test -s conftest$ac_exeext && {
    5666          test "$cross_compiling" = yes ||
    5667          $as_test_x conftest$ac_exeext
    5668        }; then
     5249if ac_fn_c_try_link "$LINENO"; then :
    56695250  tcl_cv_ld_single_module=yes
    56705251else
    5671   $as_echo "$as_me: failed program was:" >&5
    5672 sed 's/^/| /' conftest.$ac_ext >&5
    5673 
    5674         tcl_cv_ld_single_module=no
    5675 fi
    5676 
    5677 rm -rf conftest.dSYM
    5678 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5679       conftest$ac_exeext conftest.$ac_ext
     5252  tcl_cv_ld_single_module=no
     5253fi
     5254rm -f core conftest.err conftest.$ac_objext \
     5255    conftest$ac_exeext conftest.$ac_ext
    56805256                LDFLAGS=$hold_ldflags
    56815257fi
    5682 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5258{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    56835259$as_echo "$tcl_cv_ld_single_module" >&6; }
    56845260            if test $tcl_cv_ld_single_module = yes; then
     
    56945270                LDFLAGS="$LDFLAGS -prebind"
    56955271            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5696             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5272            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    56975273$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5698 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5274if ${tcl_cv_ld_search_paths_first+:} false; then :
    56995275  $as_echo_n "(cached) " >&6
    57005276else
     
    57025278                hold_ldflags=$LDFLAGS
    57035279                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5704                 cat >conftest.$ac_ext <<_ACEOF
    5705 /* confdefs.h.  */
    5706 _ACEOF
    5707 cat confdefs.h >>conftest.$ac_ext
    5708 cat >>conftest.$ac_ext <<_ACEOF
     5280                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57095281/* end confdefs.h.  */
    57105282
     
    57175289}
    57185290_ACEOF
    5719 rm -f conftest.$ac_objext conftest$ac_exeext
    5720 if { (ac_try="$ac_link"
    5721 case "(($ac_try" in
    5722   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5723   *) ac_try_echo=$ac_try;;
    5724 esac
    5725 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5726 $as_echo "$ac_try_echo") >&5
    5727   (eval "$ac_link") 2>conftest.er1
    5728   ac_status=$?
    5729   grep -v '^ *+' conftest.er1 >conftest.err
    5730   rm -f conftest.er1
    5731   cat conftest.err >&5
    5732   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5733   (exit $ac_status); } && {
    5734          test -z "$ac_c_werror_flag" ||
    5735          test ! -s conftest.err
    5736        } && test -s conftest$ac_exeext && {
    5737          test "$cross_compiling" = yes ||
    5738          $as_test_x conftest$ac_exeext
    5739        }; then
     5291if ac_fn_c_try_link "$LINENO"; then :
    57405292  tcl_cv_ld_search_paths_first=yes
    57415293else
    5742   $as_echo "$as_me: failed program was:" >&5
    5743 sed 's/^/| /' conftest.$ac_ext >&5
    5744 
    5745         tcl_cv_ld_search_paths_first=no
    5746 fi
    5747 
    5748 rm -rf conftest.dSYM
    5749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5750       conftest$ac_exeext conftest.$ac_ext
     5294  tcl_cv_ld_search_paths_first=no
     5295fi
     5296rm -f core conftest.err conftest.$ac_objext \
     5297    conftest$ac_exeext conftest.$ac_ext
    57515298                LDFLAGS=$hold_ldflags
    57525299fi
    5753 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5300{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    57545301$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    57555302            if test $tcl_cv_ld_search_paths_first = yes; then
     
    57615308            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    57625309            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5763             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5310            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    57645311$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    57655312            # Check whether --enable-corefoundation was given.
    5766 if test "${enable_corefoundation+set}" = set; then
     5313if test "${enable_corefoundation+set}" = set; then :
    57675314  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    57685315else
     
    57705317fi
    57715318
    5772             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5319            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    57735320$as_echo "$tcl_corefoundation" >&6; }
    57745321            if test $tcl_corefoundation = yes; then
    5775                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5322                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    57765323$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5777 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5324if ${tcl_cv_lib_corefoundation+:} false; then :
    57785325  $as_echo_n "(cached) " >&6
    57795326else
     
    57875334                    done; fi
    57885335                    LIBS="$LIBS -framework CoreFoundation"
    5789                     cat >conftest.$ac_ext <<_ACEOF
    5790 /* confdefs.h.  */
    5791 _ACEOF
    5792 cat confdefs.h >>conftest.$ac_ext
    5793 cat >>conftest.$ac_ext <<_ACEOF
     5336                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    57945337/* end confdefs.h.  */
    57955338#include <CoreFoundation/CoreFoundation.h>
     
    58025345}
    58035346_ACEOF
    5804 rm -f conftest.$ac_objext conftest$ac_exeext
    5805 if { (ac_try="$ac_link"
    5806 case "(($ac_try" in
    5807   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5808   *) ac_try_echo=$ac_try;;
    5809 esac
    5810 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5811 $as_echo "$ac_try_echo") >&5
    5812   (eval "$ac_link") 2>conftest.er1
    5813   ac_status=$?
    5814   grep -v '^ *+' conftest.er1 >conftest.err
    5815   rm -f conftest.er1
    5816   cat conftest.err >&5
    5817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5818   (exit $ac_status); } && {
    5819          test -z "$ac_c_werror_flag" ||
    5820          test ! -s conftest.err
    5821        } && test -s conftest$ac_exeext && {
    5822          test "$cross_compiling" = yes ||
    5823          $as_test_x conftest$ac_exeext
    5824        }; then
     5347if ac_fn_c_try_link "$LINENO"; then :
    58255348  tcl_cv_lib_corefoundation=yes
    58265349else
    5827   $as_echo "$as_me: failed program was:" >&5
    5828 sed 's/^/| /' conftest.$ac_ext >&5
    5829 
    5830         tcl_cv_lib_corefoundation=no
    5831 fi
    5832 
    5833 rm -rf conftest.dSYM
    5834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5835       conftest$ac_exeext conftest.$ac_ext
     5350  tcl_cv_lib_corefoundation=no
     5351fi
     5352rm -f core conftest.err conftest.$ac_objext \
     5353    conftest$ac_exeext conftest.$ac_ext
    58365354                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    58375355                        eval $v'="$hold_'$v'"'
    58385356                    done; fi; LIBS=$hold_libs
    58395357fi
    5840 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5358{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    58415359$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    58425360                if test $tcl_cv_lib_corefoundation = yes; then
    58435361                    LIBS="$LIBS -framework CoreFoundation"
    5844                     cat >>confdefs.h <<\_ACEOF
    5845 #define HAVE_COREFOUNDATION 1
    5846 _ACEOF
     5362                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    58475363
    58485364                else
     
    58505366                fi
    58515367                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5852                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5368                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    58535369$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5854 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5370if ${tcl_cv_lib_corefoundation_64+:} false; then :
    58555371  $as_echo_n "(cached) " >&6
    58565372else
     
    58595375                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    58605376                        done
    5861                         cat >conftest.$ac_ext <<_ACEOF
    5862 /* confdefs.h.  */
    5863 _ACEOF
    5864 cat confdefs.h >>conftest.$ac_ext
    5865 cat >>conftest.$ac_ext <<_ACEOF
     5377                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58665378/* end confdefs.h.  */
    58675379#include <CoreFoundation/CoreFoundation.h>
     
    58745386}
    58755387_ACEOF
    5876 rm -f conftest.$ac_objext conftest$ac_exeext
    5877 if { (ac_try="$ac_link"
    5878 case "(($ac_try" in
    5879   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5880   *) ac_try_echo=$ac_try;;
    5881 esac
    5882 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5883 $as_echo "$ac_try_echo") >&5
    5884   (eval "$ac_link") 2>conftest.er1
    5885   ac_status=$?
    5886   grep -v '^ *+' conftest.er1 >conftest.err
    5887   rm -f conftest.er1
    5888   cat conftest.err >&5
    5889   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5890   (exit $ac_status); } && {
    5891          test -z "$ac_c_werror_flag" ||
    5892          test ! -s conftest.err
    5893        } && test -s conftest$ac_exeext && {
    5894          test "$cross_compiling" = yes ||
    5895          $as_test_x conftest$ac_exeext
    5896        }; then
     5388if ac_fn_c_try_link "$LINENO"; then :
    58975389  tcl_cv_lib_corefoundation_64=yes
    58985390else
    5899   $as_echo "$as_me: failed program was:" >&5
    5900 sed 's/^/| /' conftest.$ac_ext >&5
    5901 
    5902         tcl_cv_lib_corefoundation_64=no
    5903 fi
    5904 
    5905 rm -rf conftest.dSYM
    5906 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5907       conftest$ac_exeext conftest.$ac_ext
     5391  tcl_cv_lib_corefoundation_64=no
     5392fi
     5393rm -f core conftest.err conftest.$ac_objext \
     5394    conftest$ac_exeext conftest.$ac_ext
    59085395                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    59095396                            eval $v'="$hold_'$v'"'
    59105397                        done
    59115398fi
    5912 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5399{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    59135400$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    59145401                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5915                         cat >>confdefs.h <<\_ACEOF
    5916 #define NO_COREFOUNDATION_64 1
    5917 _ACEOF
     5402                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    59185403
    59195404                    fi
    59205405                fi
    59215406            fi
    5922             cat >>confdefs.h <<\_ACEOF
    5923 #define MAC_OSX_TCL 1
    5924 _ACEOF
     5407            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    59255408
    59265409            ;;
     
    59375420        OS/390-*)
    59385421            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5939             cat >>confdefs.h <<\_ACEOF
    5940 #define _OE_SOCKETS 1
    5941 _ACEOF
     5422            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    59425423        # needed in sys/socket.h
    59435424            ;;
     
    60805561            # won't define thread-safe library routines.
    60815562
    6082             cat >>confdefs.h <<\_ACEOF
    6083 #define _REENTRANT 1
    6084 _ACEOF
    6085 
    6086             cat >>confdefs.h <<\_ACEOF
    6087 #define _POSIX_PTHREAD_SEMANTICS 1
    6088 _ACEOF
     5563            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5564
     5565            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    60895566
    60905567
     
    61125589            # won't define thread-safe library routines.
    61135590
    6114             cat >>confdefs.h <<\_ACEOF
    6115 #define _REENTRANT 1
    6116 _ACEOF
    6117 
    6118             cat >>confdefs.h <<\_ACEOF
    6119 #define _POSIX_PTHREAD_SEMANTICS 1
    6120 _ACEOF
     5591            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5592
     5593            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    61215594
    61225595
     
    61295602                        if test "$GCC" = "yes" ; then
    61305603                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    6131                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5604                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    61325605$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    61335606                            else
     
    61515624                elif test "$arch" = "amd64 i386" ; then
    61525625                    if test "$GCC" = "yes" ; then
    6153                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5626                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    61545627$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    61555628                    else
     
    61595632                    fi
    61605633                else
    6161                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5634                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    61625635$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    61635636                fi
     
    62185691            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    62195692            # that don't grok the -Bexport option.  Test that it does.
    6220             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5693            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    62215694$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    6222 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5695if ${tcl_cv_ld_Bexport+:} false; then :
    62235696  $as_echo_n "(cached) " >&6
    62245697else
     
    62265699                hold_ldflags=$LDFLAGS
    62275700                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    6228                 cat >conftest.$ac_ext <<_ACEOF
    6229 /* confdefs.h.  */
    6230 _ACEOF
    6231 cat confdefs.h >>conftest.$ac_ext
    6232 cat >>conftest.$ac_ext <<_ACEOF
     5701                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    62335702/* end confdefs.h.  */
    62345703
     
    62415710}
    62425711_ACEOF
    6243 rm -f conftest.$ac_objext conftest$ac_exeext
    6244 if { (ac_try="$ac_link"
    6245 case "(($ac_try" in
    6246   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6247   *) ac_try_echo=$ac_try;;
    6248 esac
    6249 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6250 $as_echo "$ac_try_echo") >&5
    6251   (eval "$ac_link") 2>conftest.er1
    6252   ac_status=$?
    6253   grep -v '^ *+' conftest.er1 >conftest.err
    6254   rm -f conftest.er1
    6255   cat conftest.err >&5
    6256   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6257   (exit $ac_status); } && {
    6258          test -z "$ac_c_werror_flag" ||
    6259          test ! -s conftest.err
    6260        } && test -s conftest$ac_exeext && {
    6261          test "$cross_compiling" = yes ||
    6262          $as_test_x conftest$ac_exeext
    6263        }; then
     5712if ac_fn_c_try_link "$LINENO"; then :
    62645713  tcl_cv_ld_Bexport=yes
    62655714else
    6266   $as_echo "$as_me: failed program was:" >&5
    6267 sed 's/^/| /' conftest.$ac_ext >&5
    6268 
    6269         tcl_cv_ld_Bexport=no
    6270 fi
    6271 
    6272 rm -rf conftest.dSYM
    6273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6274       conftest$ac_exeext conftest.$ac_ext
     5715  tcl_cv_ld_Bexport=no
     5716fi
     5717rm -f core conftest.err conftest.$ac_objext \
     5718    conftest$ac_exeext conftest.$ac_ext
    62755719                LDFLAGS=$hold_ldflags
    62765720fi
    6277 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    62785722$as_echo "$tcl_cv_ld_Bexport" >&6; }
    62795723            if test $tcl_cv_ld_Bexport = yes; then
     
    62865730
    62875731    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    6288         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5732        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    62895733$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    62905734    fi
     
    63135757
    63145758    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    6315         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5759        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    63165760$as_echo_n "checking sys/exec.h... " >&6; }
    6317 if test "${tcl_cv_sysexec_h+set}" = set; then
     5761if ${tcl_cv_sysexec_h+:} false; then :
    63185762  $as_echo_n "(cached) " >&6
    63195763else
    63205764
    6321         cat >conftest.$ac_ext <<_ACEOF
    6322 /* confdefs.h.  */
    6323 _ACEOF
    6324 cat confdefs.h >>conftest.$ac_ext
    6325 cat >>conftest.$ac_ext <<_ACEOF
     5765        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63265766/* end confdefs.h.  */
    63275767#include <sys/exec.h>
     
    63455785}
    63465786_ACEOF
    6347 rm -f conftest.$ac_objext
    6348 if { (ac_try="$ac_compile"
    6349 case "(($ac_try" in
    6350   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6351   *) ac_try_echo=$ac_try;;
    6352 esac
    6353 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6354 $as_echo "$ac_try_echo") >&5
    6355   (eval "$ac_compile") 2>conftest.er1
    6356   ac_status=$?
    6357   grep -v '^ *+' conftest.er1 >conftest.err
    6358   rm -f conftest.er1
    6359   cat conftest.err >&5
    6360   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6361   (exit $ac_status); } && {
    6362          test -z "$ac_c_werror_flag" ||
    6363          test ! -s conftest.err
    6364        } && test -s conftest.$ac_objext; then
     5787if ac_fn_c_try_compile "$LINENO"; then :
    63655788  tcl_cv_sysexec_h=usable
    63665789else
    6367   $as_echo "$as_me: failed program was:" >&5
    6368 sed 's/^/| /' conftest.$ac_ext >&5
    6369 
    6370         tcl_cv_sysexec_h=unusable
    6371 fi
    6372 
     5790  tcl_cv_sysexec_h=unusable
     5791fi
    63735792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    63745793fi
    6375 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5794{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    63765795$as_echo "$tcl_cv_sysexec_h" >&6; }
    63775796        if test $tcl_cv_sysexec_h = usable; then
    6378             cat >>confdefs.h <<\_ACEOF
    6379 #define USE_SYS_EXEC_H 1
    6380 _ACEOF
     5797            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    63815798
    63825799        else
    6383             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5800            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    63845801$as_echo_n "checking a.out.h... " >&6; }
    6385 if test "${tcl_cv_aout_h+set}" = set; then
     5802if ${tcl_cv_aout_h+:} false; then :
    63865803  $as_echo_n "(cached) " >&6
    63875804else
    63885805
    6389             cat >conftest.$ac_ext <<_ACEOF
    6390 /* confdefs.h.  */
    6391 _ACEOF
    6392 cat confdefs.h >>conftest.$ac_ext
    6393 cat >>conftest.$ac_ext <<_ACEOF
     5806            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    63945807/* end confdefs.h.  */
    63955808#include <a.out.h>
     
    64135826}
    64145827_ACEOF
    6415 rm -f conftest.$ac_objext
    6416 if { (ac_try="$ac_compile"
    6417 case "(($ac_try" in
    6418   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6419   *) ac_try_echo=$ac_try;;
    6420 esac
    6421 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6422 $as_echo "$ac_try_echo") >&5
    6423   (eval "$ac_compile") 2>conftest.er1
    6424   ac_status=$?
    6425   grep -v '^ *+' conftest.er1 >conftest.err
    6426   rm -f conftest.er1
    6427   cat conftest.err >&5
    6428   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6429   (exit $ac_status); } && {
    6430          test -z "$ac_c_werror_flag" ||
    6431          test ! -s conftest.err
    6432        } && test -s conftest.$ac_objext; then
     5828if ac_fn_c_try_compile "$LINENO"; then :
    64335829  tcl_cv_aout_h=usable
    64345830else
    6435   $as_echo "$as_me: failed program was:" >&5
    6436 sed 's/^/| /' conftest.$ac_ext >&5
    6437 
    6438         tcl_cv_aout_h=unusable
    6439 fi
    6440 
     5831  tcl_cv_aout_h=unusable
     5832fi
    64415833rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    64425834fi
    6443 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5835{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    64445836$as_echo "$tcl_cv_aout_h" >&6; }
    64455837            if test $tcl_cv_aout_h = usable; then
    6446                 cat >>confdefs.h <<\_ACEOF
    6447 #define USE_A_OUT_H 1
    6448 _ACEOF
     5838                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    64495839
    64505840            else
    6451                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5841                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    64525842$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6453 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5843if ${tcl_cv_sysexecaout_h+:} false; then :
    64545844  $as_echo_n "(cached) " >&6
    64555845else
    64565846
    6457                 cat >conftest.$ac_ext <<_ACEOF
    6458 /* confdefs.h.  */
    6459 _ACEOF
    6460 cat confdefs.h >>conftest.$ac_ext
    6461 cat >>conftest.$ac_ext <<_ACEOF
     5847                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64625848/* end confdefs.h.  */
    64635849#include <sys/exec_aout.h>
     
    64815867}
    64825868_ACEOF
    6483 rm -f conftest.$ac_objext
    6484 if { (ac_try="$ac_compile"
    6485 case "(($ac_try" in
    6486   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6487   *) ac_try_echo=$ac_try;;
    6488 esac
    6489 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6490 $as_echo "$ac_try_echo") >&5
    6491   (eval "$ac_compile") 2>conftest.er1
    6492   ac_status=$?
    6493   grep -v '^ *+' conftest.er1 >conftest.err
    6494   rm -f conftest.er1
    6495   cat conftest.err >&5
    6496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6497   (exit $ac_status); } && {
    6498          test -z "$ac_c_werror_flag" ||
    6499          test ! -s conftest.err
    6500        } && test -s conftest.$ac_objext; then
     5869if ac_fn_c_try_compile "$LINENO"; then :
    65015870  tcl_cv_sysexecaout_h=usable
    65025871else
    6503   $as_echo "$as_me: failed program was:" >&5
    6504 sed 's/^/| /' conftest.$ac_ext >&5
    6505 
    6506         tcl_cv_sysexecaout_h=unusable
    6507 fi
    6508 
     5872  tcl_cv_sysexecaout_h=unusable
     5873fi
    65095874rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    65105875fi
    6511 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    65125877$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    65135878                if test $tcl_cv_sysexecaout_h = usable; then
    6514                     cat >>confdefs.h <<\_ACEOF
    6515 #define USE_SYS_EXEC_AOUT_H 1
    6516 _ACEOF
     5879                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    65175880
    65185881                else
     
    65265889
    65275890    # Check whether --enable-load was given.
    6528 if test "${enable_load+set}" = set; then
     5891if test "${enable_load+set}" = set; then :
    65295892  enableval=$enable_load; tcl_ok=$enableval
    65305893else
     
    66496012
    66506013
    6651 { $as_echo "$as_me:$LINENO: checking for X" >&5
     6014{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    66526015$as_echo_n "checking for X... " >&6; }
    66536016
    66546017
    66556018# Check whether --with-x was given.
    6656 if test "${with_x+set}" = set; then
     6019if test "${with_x+set}" = set; then :
    66576020  withval=$with_x;
    66586021fi
     
    66646027else
    66656028  case $x_includes,$x_libraries in #(
    6666     *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
    6667 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
    6668    { (exit 1); exit 1; }; };; #(
    6669     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
     6029    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
     6030    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
    66706031  $as_echo_n "(cached) " >&6
    66716032else
     
    66846045_ACEOF
    66856046  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    6686     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     6047    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    66876048    for ac_var in incroot usrlibdir libdir; do
    66886049      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    67156076ac_x_header_dirs='
    67166077/usr/X11/include
     6078/usr/X11R7/include
    67176079/usr/X11R6/include
    67186080/usr/X11R5/include
     
    67206082
    67216083/usr/include/X11
     6084/usr/include/X11R7
    67226085/usr/include/X11R6
    67236086/usr/include/X11R5
     
    67256088
    67266089/usr/local/X11/include
     6090/usr/local/X11R7/include
    67276091/usr/local/X11R6/include
    67286092/usr/local/X11R5/include
     
    67306094
    67316095/usr/local/include/X11
     6096/usr/local/include/X11R7
    67326097/usr/local/include/X11R6
    67336098/usr/local/include/X11R5
     
    67516116  # Guess where to find include files, by looking for Xlib.h.
    67526117  # First, try using that file with no special directory specified.
    6753   cat >conftest.$ac_ext <<_ACEOF
    6754 /* confdefs.h.  */
    6755 _ACEOF
    6756 cat confdefs.h >>conftest.$ac_ext
    6757 cat >>conftest.$ac_ext <<_ACEOF
     6118  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    67586119/* end confdefs.h.  */
    67596120#include <X11/Xlib.h>
    67606121_ACEOF
    6761 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6762 case "(($ac_try" in
    6763   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6764   *) ac_try_echo=$ac_try;;
    6765 esac
    6766 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6767 $as_echo "$ac_try_echo") >&5
    6768   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6769   ac_status=$?
    6770   grep -v '^ *+' conftest.er1 >conftest.err
    6771   rm -f conftest.er1
    6772   cat conftest.err >&5
    6773   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6774   (exit $ac_status); } >/dev/null && {
    6775          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6776          test ! -s conftest.err
    6777        }; then
     6122if ac_fn_c_try_cpp "$LINENO"; then :
    67786123  # We can compile using X headers with no special include directory.
    67796124ac_x_includes=
    67806125else
    6781   $as_echo "$as_me: failed program was:" >&5
    6782 sed 's/^/| /' conftest.$ac_ext >&5
    6783 
    67846126  for ac_dir in $ac_x_header_dirs; do
    67856127  if test -r "$ac_dir/X11/Xlib.h"; then
     
    67896131done
    67906132fi
    6791 
    6792 rm -f conftest.err conftest.$ac_ext
     6133rm -f conftest.err conftest.i conftest.$ac_ext
    67936134fi # $ac_x_includes = no
    67946135
     
    67996140  ac_save_LIBS=$LIBS
    68006141  LIBS="-lX11 $LIBS"
    6801   cat >conftest.$ac_ext <<_ACEOF
    6802 /* confdefs.h.  */
    6803 _ACEOF
    6804 cat confdefs.h >>conftest.$ac_ext
    6805 cat >>conftest.$ac_ext <<_ACEOF
     6142  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68066143/* end confdefs.h.  */
    68076144#include <X11/Xlib.h>
     
    68146151}
    68156152_ACEOF
    6816 rm -f conftest.$ac_objext conftest$ac_exeext
    6817 if { (ac_try="$ac_link"
    6818 case "(($ac_try" in
    6819   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6820   *) ac_try_echo=$ac_try;;
    6821 esac
    6822 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6823 $as_echo "$ac_try_echo") >&5
    6824   (eval "$ac_link") 2>conftest.er1
    6825   ac_status=$?
    6826   grep -v '^ *+' conftest.er1 >conftest.err
    6827   rm -f conftest.er1
    6828   cat conftest.err >&5
    6829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6830   (exit $ac_status); } && {
    6831          test -z "$ac_c_werror_flag" ||
    6832          test ! -s conftest.err
    6833        } && test -s conftest$ac_exeext && {
    6834          test "$cross_compiling" = yes ||
    6835          $as_test_x conftest$ac_exeext
    6836        }; then
     6153if ac_fn_c_try_link "$LINENO"; then :
    68376154  LIBS=$ac_save_LIBS
    68386155# We can link X programs with no special library path.
    68396156ac_x_libraries=
    68406157else
    6841   $as_echo "$as_me: failed program was:" >&5
    6842 sed 's/^/| /' conftest.$ac_ext >&5
    6843 
    6844         LIBS=$ac_save_LIBS
     6158  LIBS=$ac_save_LIBS
    68456159for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    68466160do
     
    68546168done
    68556169fi
    6856 
    6857 rm -rf conftest.dSYM
    6858 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6859       conftest$ac_exeext conftest.$ac_ext
     6170rm -f core conftest.err conftest.$ac_objext \
     6171    conftest$ac_exeext conftest.$ac_ext
    68606172fi # $ac_x_libraries = no
    68616173
     
    68786190
    68796191if test "$have_x" != yes; then
    6880   { $as_echo "$as_me:$LINENO: result: $have_x" >&5
     6192  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
    68816193$as_echo "$have_x" >&6; }
    68826194  no_x=yes
     
    68896201        ac_x_includes='$x_includes'\
    68906202        ac_x_libraries='$x_libraries'"
    6891   { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
     6203  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
    68926204$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    68936205fi
     
    69086220# ./install, which can be erroneously created by make from ./install.sh.
    69096221# Reject install programs that cannot install multiple files.
    6910 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    69116223$as_echo_n "checking for a BSD-compatible install... " >&6; }
    69126224if test -z "$INSTALL"; then
    6913 if test "${ac_cv_path_install+set}" = set; then
     6225if ${ac_cv_path_install+:} false; then :
    69146226  $as_echo_n "(cached) " >&6
    69156227else
     
    69196231  IFS=$as_save_IFS
    69206232  test -z "$as_dir" && as_dir=.
    6921   # Account for people who put trailing slashes in PATH elements.
    6922 case $as_dir/ in
    6923   ./ | .// | /cC/* | \
     6233    # Account for people who put trailing slashes in PATH elements.
     6234case $as_dir/ in #((
     6235  ./ | .// | /[cC]/* | \
    69246236  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6925   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     6237  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    69266238  /usr/ucb/* ) ;;
    69276239  *)
     
    69316243    for ac_prog in ginstall scoinst install; do
    69326244      for ac_exec_ext in '' $ac_executable_extensions; do
    6933         if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
     6245        if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
    69346246          if test $ac_prog = install &&
    69356247            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
     
    69606272esac
    69616273
    6962 done
     6274  done
    69636275IFS=$as_save_IFS
    69646276
     
    69766288  fi
    69776289fi
    6978 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     6290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    69796291$as_echo "$INSTALL" >&6; }
    69806292
     
    69906302  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    69916303set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6992 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6304{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    69936305$as_echo_n "checking for $ac_word... " >&6; }
    6994 if test "${ac_cv_prog_RANLIB+set}" = set; then
     6306if ${ac_cv_prog_RANLIB+:} false; then :
    69956307  $as_echo_n "(cached) " >&6
    69966308else
     
    70036315  IFS=$as_save_IFS
    70046316  test -z "$as_dir" && as_dir=.
    7005   for ac_exec_ext in '' $ac_executable_extensions; do
    7006   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6317    for ac_exec_ext in '' $ac_executable_extensions; do
     6318  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70076319    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    7008     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6320    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70096321    break 2
    70106322  fi
    70116323done
    7012 done
     6324  done
    70136325IFS=$as_save_IFS
    70146326
     
    70176329RANLIB=$ac_cv_prog_RANLIB
    70186330if test -n "$RANLIB"; then
    7019   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     6331  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    70206332$as_echo "$RANLIB" >&6; }
    70216333else
    7022   { $as_echo "$as_me:$LINENO: result: no" >&5
     6334  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70236335$as_echo "no" >&6; }
    70246336fi
     
    70306342  # Extract the first word of "ranlib", so it can be a program name with args.
    70316343set dummy ranlib; ac_word=$2
    7032 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6344{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70336345$as_echo_n "checking for $ac_word... " >&6; }
    7034 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     6346if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    70356347  $as_echo_n "(cached) " >&6
    70366348else
     
    70436355  IFS=$as_save_IFS
    70446356  test -z "$as_dir" && as_dir=.
    7045   for ac_exec_ext in '' $ac_executable_extensions; do
    7046   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6357    for ac_exec_ext in '' $ac_executable_extensions; do
     6358  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    70476359    ac_cv_prog_ac_ct_RANLIB="ranlib"
    7048     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6360    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70496361    break 2
    70506362  fi
    70516363done
    7052 done
     6364  done
    70536365IFS=$as_save_IFS
    70546366
     
    70576369ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    70586370if test -n "$ac_ct_RANLIB"; then
    7059   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     6371  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    70606372$as_echo "$ac_ct_RANLIB" >&6; }
    70616373else
    7062   { $as_echo "$as_me:$LINENO: result: no" >&5
     6374  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70636375$as_echo "no" >&6; }
    70646376fi
     
    70696381    case $cross_compiling:$ac_tool_warned in
    70706382yes:)
    7071 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6383{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    70726384$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    70736385ac_tool_warned=yes ;;
     
    70796391fi
    70806392
    7081 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     6393{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    70826394$as_echo_n "checking whether ln -s works... " >&6; }
    70836395LN_S=$as_ln_s
    70846396if test "$LN_S" = "ln -s"; then
    7085   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6397  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    70866398$as_echo "yes" >&6; }
    70876399else
    7088   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     6400  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    70896401$as_echo "no, using $LN_S" >&6; }
    70906402fi
    70916403
    7092 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     6404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    70936405$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    70946406if test -z "$MKDIR_P"; then
    7095   if test "${ac_cv_path_mkdir+set}" = set; then
     6407  if ${ac_cv_path_mkdir+:} false; then :
    70966408  $as_echo_n "(cached) " >&6
    70976409else
     
    71016413  IFS=$as_save_IFS
    71026414  test -z "$as_dir" && as_dir=.
    7103   for ac_prog in mkdir gmkdir; do
     6415    for ac_prog in mkdir gmkdir; do
    71046416         for ac_exec_ext in '' $ac_executable_extensions; do
    7105            { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     6417           as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
    71066418           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
    71076419             'mkdir (GNU coreutils) '* | \
     
    71136425         done
    71146426       done
    7115 done
     6427  done
    71166428IFS=$as_save_IFS
    71176429
    71186430fi
    71196431
     6432  test -d ./--version && rmdir ./--version
    71206433  if test "${ac_cv_path_mkdir+set}" = set; then
    71216434    MKDIR_P="$ac_cv_path_mkdir -p"
     
    71256438    # break other packages using the cache if that directory is
    71266439    # removed, or if the value is a relative name.
    7127     test -d ./--version && rmdir ./--version
    71286440    MKDIR_P="$ac_install_sh -d"
    71296441  fi
    71306442fi
    7131 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     6443{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    71326444$as_echo "$MKDIR_P" >&6; }
    71336445
     
    71416453  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    71426454set dummy ${ac_tool_prefix}gcc; ac_word=$2
    7143 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6455{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    71446456$as_echo_n "checking for $ac_word... " >&6; }
    7145 if test "${ac_cv_prog_CC+set}" = set; then
     6457if ${ac_cv_prog_CC+:} false; then :
    71466458  $as_echo_n "(cached) " >&6
    71476459else
     
    71546466  IFS=$as_save_IFS
    71556467  test -z "$as_dir" && as_dir=.
    7156   for ac_exec_ext in '' $ac_executable_extensions; do
    7157   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6468    for ac_exec_ext in '' $ac_executable_extensions; do
     6469  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71586470    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    7159     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6471    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    71606472    break 2
    71616473  fi
    71626474done
    7163 done
     6475  done
    71646476IFS=$as_save_IFS
    71656477
     
    71686480CC=$ac_cv_prog_CC
    71696481if test -n "$CC"; then
    7170   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6482  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    71716483$as_echo "$CC" >&6; }
    71726484else
    7173   { $as_echo "$as_me:$LINENO: result: no" >&5
     6485  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    71746486$as_echo "no" >&6; }
    71756487fi
     
    71816493  # Extract the first word of "gcc", so it can be a program name with args.
    71826494set dummy gcc; ac_word=$2
    7183 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    71846496$as_echo_n "checking for $ac_word... " >&6; }
    7185 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6497if ${ac_cv_prog_ac_ct_CC+:} false; then :
    71866498  $as_echo_n "(cached) " >&6
    71876499else
     
    71946506  IFS=$as_save_IFS
    71956507  test -z "$as_dir" && as_dir=.
    7196   for ac_exec_ext in '' $ac_executable_extensions; do
    7197   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6508    for ac_exec_ext in '' $ac_executable_extensions; do
     6509  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    71986510    ac_cv_prog_ac_ct_CC="gcc"
    7199     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6511    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72006512    break 2
    72016513  fi
    72026514done
    7203 done
     6515  done
    72046516IFS=$as_save_IFS
    72056517
     
    72086520ac_ct_CC=$ac_cv_prog_ac_ct_CC
    72096521if test -n "$ac_ct_CC"; then
    7210   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6522  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    72116523$as_echo "$ac_ct_CC" >&6; }
    72126524else
    7213   { $as_echo "$as_me:$LINENO: result: no" >&5
     6525  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    72146526$as_echo "no" >&6; }
    72156527fi
     
    72206532    case $cross_compiling:$ac_tool_warned in
    72216533yes:)
    7222 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6534{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    72236535$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    72246536ac_tool_warned=yes ;;
     
    72346546    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    72356547set dummy ${ac_tool_prefix}cc; ac_word=$2
    7236 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6548{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    72376549$as_echo_n "checking for $ac_word... " >&6; }
    7238 if test "${ac_cv_prog_CC+set}" = set; then
     6550if ${ac_cv_prog_CC+:} false; then :
    72396551  $as_echo_n "(cached) " >&6
    72406552else
     
    72476559  IFS=$as_save_IFS
    72486560  test -z "$as_dir" && as_dir=.
    7249   for ac_exec_ext in '' $ac_executable_extensions; do
    7250   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6561    for ac_exec_ext in '' $ac_executable_extensions; do
     6562  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72516563    ac_cv_prog_CC="${ac_tool_prefix}cc"
    7252     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6564    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72536565    break 2
    72546566  fi
    72556567done
    7256 done
     6568  done
    72576569IFS=$as_save_IFS
    72586570
     
    72616573CC=$ac_cv_prog_CC
    72626574if test -n "$CC"; then
    7263   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6575  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    72646576$as_echo "$CC" >&6; }
    72656577else
    7266   { $as_echo "$as_me:$LINENO: result: no" >&5
     6578  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    72676579$as_echo "no" >&6; }
    72686580fi
     
    72746586  # Extract the first word of "cc", so it can be a program name with args.
    72756587set dummy cc; ac_word=$2
    7276 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6588{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    72776589$as_echo_n "checking for $ac_word... " >&6; }
    7278 if test "${ac_cv_prog_CC+set}" = set; then
     6590if ${ac_cv_prog_CC+:} false; then :
    72796591  $as_echo_n "(cached) " >&6
    72806592else
     
    72886600  IFS=$as_save_IFS
    72896601  test -z "$as_dir" && as_dir=.
    7290   for ac_exec_ext in '' $ac_executable_extensions; do
    7291   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6602    for ac_exec_ext in '' $ac_executable_extensions; do
     6603  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    72926604    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
    72936605       ac_prog_rejected=yes
     
    72956607     fi
    72966608    ac_cv_prog_CC="cc"
    7297     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6609    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    72986610    break 2
    72996611  fi
    73006612done
    7301 done
     6613  done
    73026614IFS=$as_save_IFS
    73036615
     
    73186630CC=$ac_cv_prog_CC
    73196631if test -n "$CC"; then
    7320   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6632  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    73216633$as_echo "$CC" >&6; }
    73226634else
    7323   { $as_echo "$as_me:$LINENO: result: no" >&5
     6635  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    73246636$as_echo "no" >&6; }
    73256637fi
     
    73336645    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    73346646set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7335 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6647{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    73366648$as_echo_n "checking for $ac_word... " >&6; }
    7337 if test "${ac_cv_prog_CC+set}" = set; then
     6649if ${ac_cv_prog_CC+:} false; then :
    73386650  $as_echo_n "(cached) " >&6
    73396651else
     
    73466658  IFS=$as_save_IFS
    73476659  test -z "$as_dir" && as_dir=.
    7348   for ac_exec_ext in '' $ac_executable_extensions; do
    7349   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6660    for ac_exec_ext in '' $ac_executable_extensions; do
     6661  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73506662    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    7351     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6663    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    73526664    break 2
    73536665  fi
    73546666done
    7355 done
     6667  done
    73566668IFS=$as_save_IFS
    73576669
     
    73606672CC=$ac_cv_prog_CC
    73616673if test -n "$CC"; then
    7362   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6674  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    73636675$as_echo "$CC" >&6; }
    73646676else
    7365   { $as_echo "$as_me:$LINENO: result: no" >&5
     6677  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    73666678$as_echo "no" >&6; }
    73676679fi
     
    73776689  # Extract the first word of "$ac_prog", so it can be a program name with args.
    73786690set dummy $ac_prog; ac_word=$2
    7379 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6691{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    73806692$as_echo_n "checking for $ac_word... " >&6; }
    7381 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6693if ${ac_cv_prog_ac_ct_CC+:} false; then :
    73826694  $as_echo_n "(cached) " >&6
    73836695else
     
    73906702  IFS=$as_save_IFS
    73916703  test -z "$as_dir" && as_dir=.
    7392   for ac_exec_ext in '' $ac_executable_extensions; do
    7393   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     6704    for ac_exec_ext in '' $ac_executable_extensions; do
     6705  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    73946706    ac_cv_prog_ac_ct_CC="$ac_prog"
    7395     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6707    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    73966708    break 2
    73976709  fi
    73986710done
    7399 done
     6711  done
    74006712IFS=$as_save_IFS
    74016713
     
    74046716ac_ct_CC=$ac_cv_prog_ac_ct_CC
    74056717if test -n "$ac_ct_CC"; then
    7406   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6718  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    74076719$as_echo "$ac_ct_CC" >&6; }
    74086720else
    7409   { $as_echo "$as_me:$LINENO: result: no" >&5
     6721  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    74106722$as_echo "no" >&6; }
    74116723fi
     
    74206732    case $cross_compiling:$ac_tool_warned in
    74216733yes:)
    7422 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6734{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    74236735$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    74246736ac_tool_warned=yes ;;
     
    74316743
    74326744
    7433 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6745test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    74346746$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7435 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    7436 See \`config.log' for more details." >&5
    7437 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    7438 See \`config.log' for more details." >&2;}
    7439    { (exit 1); exit 1; }; }; }
     6747as_fn_error $? "no acceptable C compiler found in \$PATH
     6748See \`config.log' for more details" "$LINENO" 5; }
    74406749
    74416750# Provide some information about the compiler.
    7442 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     6751$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    74436752set X $ac_compile
    74446753ac_compiler=$2
    7445 { (ac_try="$ac_compiler --version >&5"
     6754for ac_option in --version -v -V -qversion; do
     6755  { { ac_try="$ac_compiler $ac_option >&5"
    74466756case "(($ac_try" in
    74476757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    74486758  *) ac_try_echo=$ac_try;;
    74496759esac
    7450 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7451 $as_echo "$ac_try_echo") >&5
    7452   (eval "$ac_compiler --version >&5") 2>&5
     6760eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6761$as_echo "$ac_try_echo"; } >&5
     6762  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    74536763  ac_status=$?
    7454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7455   (exit $ac_status); }
    7456 { (ac_try="$ac_compiler -v >&5"
    7457 case "(($ac_try" in
    7458   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7459   *) ac_try_echo=$ac_try;;
    7460 esac
    7461 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7462 $as_echo "$ac_try_echo") >&5
    7463   (eval "$ac_compiler -v >&5") 2>&5
    7464   ac_status=$?
    7465   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7466   (exit $ac_status); }
    7467 { (ac_try="$ac_compiler -V >&5"
    7468 case "(($ac_try" in
    7469   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7470   *) ac_try_echo=$ac_try;;
    7471 esac
    7472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7473 $as_echo "$ac_try_echo") >&5
    7474   (eval "$ac_compiler -V >&5") 2>&5
    7475   ac_status=$?
    7476   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7477   (exit $ac_status); }
    7478 
    7479 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     6764  if test -s conftest.err; then
     6765    sed '10a\
     6766... rest of stderr output deleted ...
     6767         10q' conftest.err >conftest.er1
     6768    cat conftest.er1 >&5
     6769  fi
     6770  rm -f conftest.er1 conftest.err
     6771  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6772  test $ac_status = 0; }
     6773done
     6774
     6775{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    74806776$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    7481 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     6777if ${ac_cv_c_compiler_gnu+:} false; then :
    74826778  $as_echo_n "(cached) " >&6
    74836779else
    7484   cat >conftest.$ac_ext <<_ACEOF
    7485 /* confdefs.h.  */
    7486 _ACEOF
    7487 cat confdefs.h >>conftest.$ac_ext
    7488 cat >>conftest.$ac_ext <<_ACEOF
     6780  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    74896781/* end confdefs.h.  */
    74906782
     
    75006792}
    75016793_ACEOF
    7502 rm -f conftest.$ac_objext
    7503 if { (ac_try="$ac_compile"
    7504 case "(($ac_try" in
    7505   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7506   *) ac_try_echo=$ac_try;;
    7507 esac
    7508 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7509 $as_echo "$ac_try_echo") >&5
    7510   (eval "$ac_compile") 2>conftest.er1
    7511   ac_status=$?
    7512   grep -v '^ *+' conftest.er1 >conftest.err
    7513   rm -f conftest.er1
    7514   cat conftest.err >&5
    7515   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7516   (exit $ac_status); } && {
    7517          test -z "$ac_c_werror_flag" ||
    7518          test ! -s conftest.err
    7519        } && test -s conftest.$ac_objext; then
     6794if ac_fn_c_try_compile "$LINENO"; then :
    75206795  ac_compiler_gnu=yes
    75216796else
    7522   $as_echo "$as_me: failed program was:" >&5
    7523 sed 's/^/| /' conftest.$ac_ext >&5
    7524 
    7525         ac_compiler_gnu=no
    7526 fi
    7527 
     6797  ac_compiler_gnu=no
     6798fi
    75286799rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75296800ac_cv_c_compiler_gnu=$ac_compiler_gnu
    75306801
    75316802fi
    7532 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     6803{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    75336804$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    75346805if test $ac_compiler_gnu = yes; then
     
    75396810ac_test_CFLAGS=${CFLAGS+set}
    75406811ac_save_CFLAGS=$CFLAGS
    7541 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     6812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    75426813$as_echo_n "checking whether $CC accepts -g... " >&6; }
    7543 if test "${ac_cv_prog_cc_g+set}" = set; then
     6814if ${ac_cv_prog_cc_g+:} false; then :
    75446815  $as_echo_n "(cached) " >&6
    75456816else
     
    75486819   ac_cv_prog_cc_g=no
    75496820   CFLAGS="-g"
    7550    cat >conftest.$ac_ext <<_ACEOF
    7551 /* confdefs.h.  */
    7552 _ACEOF
    7553 cat confdefs.h >>conftest.$ac_ext
    7554 cat >>conftest.$ac_ext <<_ACEOF
     6821   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75556822/* end confdefs.h.  */
    75566823
     
    75636830}
    75646831_ACEOF
    7565 rm -f conftest.$ac_objext
    7566 if { (ac_try="$ac_compile"
    7567 case "(($ac_try" in
    7568   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7569   *) ac_try_echo=$ac_try;;
    7570 esac
    7571 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7572 $as_echo "$ac_try_echo") >&5
    7573   (eval "$ac_compile") 2>conftest.er1
    7574   ac_status=$?
    7575   grep -v '^ *+' conftest.er1 >conftest.err
    7576   rm -f conftest.er1
    7577   cat conftest.err >&5
    7578   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7579   (exit $ac_status); } && {
    7580          test -z "$ac_c_werror_flag" ||
    7581          test ! -s conftest.err
    7582        } && test -s conftest.$ac_objext; then
     6832if ac_fn_c_try_compile "$LINENO"; then :
    75836833  ac_cv_prog_cc_g=yes
    75846834else
    7585   $as_echo "$as_me: failed program was:" >&5
    7586 sed 's/^/| /' conftest.$ac_ext >&5
    7587 
    7588         CFLAGS=""
    7589       cat >conftest.$ac_ext <<_ACEOF
    7590 /* confdefs.h.  */
    7591 _ACEOF
    7592 cat confdefs.h >>conftest.$ac_ext
    7593 cat >>conftest.$ac_ext <<_ACEOF
     6835  CFLAGS=""
     6836      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75946837/* end confdefs.h.  */
    75956838
     
    76026845}
    76036846_ACEOF
    7604 rm -f conftest.$ac_objext
    7605 if { (ac_try="$ac_compile"
    7606 case "(($ac_try" in
    7607   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7608   *) ac_try_echo=$ac_try;;
    7609 esac
    7610 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7611 $as_echo "$ac_try_echo") >&5
    7612   (eval "$ac_compile") 2>conftest.er1
    7613   ac_status=$?
    7614   grep -v '^ *+' conftest.er1 >conftest.err
    7615   rm -f conftest.er1
    7616   cat conftest.err >&5
    7617   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7618   (exit $ac_status); } && {
    7619          test -z "$ac_c_werror_flag" ||
    7620          test ! -s conftest.err
    7621        } && test -s conftest.$ac_objext; then
    7622   :
    7623 else
    7624   $as_echo "$as_me: failed program was:" >&5
    7625 sed 's/^/| /' conftest.$ac_ext >&5
    7626 
    7627         ac_c_werror_flag=$ac_save_c_werror_flag
     6847if ac_fn_c_try_compile "$LINENO"; then :
     6848
     6849else
     6850  ac_c_werror_flag=$ac_save_c_werror_flag
    76286851         CFLAGS="-g"
    7629          cat >conftest.$ac_ext <<_ACEOF
    7630 /* confdefs.h.  */
    7631 _ACEOF
    7632 cat confdefs.h >>conftest.$ac_ext
    7633 cat >>conftest.$ac_ext <<_ACEOF
     6852         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76346853/* end confdefs.h.  */
    76356854
     
    76426861}
    76436862_ACEOF
    7644 rm -f conftest.$ac_objext
    7645 if { (ac_try="$ac_compile"
    7646 case "(($ac_try" in
    7647   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7648   *) ac_try_echo=$ac_try;;
    7649 esac
    7650 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7651 $as_echo "$ac_try_echo") >&5
    7652   (eval "$ac_compile") 2>conftest.er1
    7653   ac_status=$?
    7654   grep -v '^ *+' conftest.er1 >conftest.err
    7655   rm -f conftest.er1
    7656   cat conftest.err >&5
    7657   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7658   (exit $ac_status); } && {
    7659          test -z "$ac_c_werror_flag" ||
    7660          test ! -s conftest.err
    7661        } && test -s conftest.$ac_objext; then
     6863if ac_fn_c_try_compile "$LINENO"; then :
    76626864  ac_cv_prog_cc_g=yes
    7663 else
    7664   $as_echo "$as_me: failed program was:" >&5
    7665 sed 's/^/| /' conftest.$ac_ext >&5
    7666 
    7667 
    7668 fi
    7669 
     6865fi
    76706866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76716867fi
    7672 
    76736868rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76746869fi
    7675 
    76766870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76776871   ac_c_werror_flag=$ac_save_c_werror_flag
    76786872fi
    7679 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     6873{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    76806874$as_echo "$ac_cv_prog_cc_g" >&6; }
    76816875if test "$ac_test_CFLAGS" = set; then
     
    76946888  fi
    76956889fi
    7696 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     6890{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    76976891$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    7698 if test "${ac_cv_prog_cc_c89+set}" = set; then
     6892if ${ac_cv_prog_cc_c89+:} false; then :
    76996893  $as_echo_n "(cached) " >&6
    77006894else
    77016895  ac_cv_prog_cc_c89=no
    77026896ac_save_CC=$CC
    7703 cat >conftest.$ac_ext <<_ACEOF
    7704 /* confdefs.h.  */
    7705 _ACEOF
    7706 cat confdefs.h >>conftest.$ac_ext
    7707 cat >>conftest.$ac_ext <<_ACEOF
     6897cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    77086898/* end confdefs.h.  */
    77096899#include <stdarg.h>
    77106900#include <stdio.h>
    7711 #include <sys/types.h>
    7712 #include <sys/stat.h>
     6901struct stat;
    77136902/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
    77146903struct buf { int x; };
     
    77626951do
    77636952  CC="$ac_save_CC $ac_arg"
    7764   rm -f conftest.$ac_objext
    7765 if { (ac_try="$ac_compile"
    7766 case "(($ac_try" in
    7767   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7768   *) ac_try_echo=$ac_try;;
    7769 esac
    7770 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7771 $as_echo "$ac_try_echo") >&5
    7772   (eval "$ac_compile") 2>conftest.er1
    7773   ac_status=$?
    7774   grep -v '^ *+' conftest.er1 >conftest.err
    7775   rm -f conftest.er1
    7776   cat conftest.err >&5
    7777   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7778   (exit $ac_status); } && {
    7779          test -z "$ac_c_werror_flag" ||
    7780          test ! -s conftest.err
    7781        } && test -s conftest.$ac_objext; then
     6953  if ac_fn_c_try_compile "$LINENO"; then :
    77826954  ac_cv_prog_cc_c89=$ac_arg
    7783 else
    7784   $as_echo "$as_me: failed program was:" >&5
    7785 sed 's/^/| /' conftest.$ac_ext >&5
    7786 
    7787 
    7788 fi
    7789 
     6955fi
    77906956rm -f core conftest.err conftest.$ac_objext
    77916957  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    77986964case "x$ac_cv_prog_cc_c89" in
    77996965  x)
    7800     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     6966    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    78016967$as_echo "none needed" >&6; } ;;
    78026968  xno)
    7803     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     6969    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    78046970$as_echo "unsupported" >&6; } ;;
    78056971  *)
    78066972    CC="$CC $ac_cv_prog_cc_c89"
    7807     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     6973    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    78086974$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    78096975esac
    7810 
     6976if test "x$ac_cv_prog_cc_c89" != xno; then :
     6977
     6978fi
    78116979
    78126980ac_ext=c
     
    78216989ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    78226990ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7823 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     6991{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    78246992$as_echo_n "checking how to run the C preprocessor... " >&6; }
    78256993# On Suns, sometimes $CPP names a directory.
     
    78286996fi
    78296997if test -z "$CPP"; then
    7830   if test "${ac_cv_prog_CPP+set}" = set; then
     6998  if ${ac_cv_prog_CPP+:} false; then :
    78316999  $as_echo_n "(cached) " >&6
    78327000else
     
    78437011  # On the NeXT, cc -E runs the code through the compiler's parser,
    78447012  # not just through cpp. "Syntax error" is here to catch this case.
    7845   cat >conftest.$ac_ext <<_ACEOF
    7846 /* confdefs.h.  */
    7847 _ACEOF
    7848 cat confdefs.h >>conftest.$ac_ext
    7849 cat >>conftest.$ac_ext <<_ACEOF
     7013  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78507014/* end confdefs.h.  */
    78517015#ifdef __STDC__
     
    78567020                     Syntax error
    78577021_ACEOF
    7858 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7859 case "(($ac_try" in
    7860   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7861   *) ac_try_echo=$ac_try;;
    7862 esac
    7863 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7864 $as_echo "$ac_try_echo") >&5
    7865   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7866   ac_status=$?
    7867   grep -v '^ *+' conftest.er1 >conftest.err
    7868   rm -f conftest.er1
    7869   cat conftest.err >&5
    7870   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7871   (exit $ac_status); } >/dev/null && {
    7872          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7873          test ! -s conftest.err
    7874        }; then
    7875   :
    7876 else
    7877   $as_echo "$as_me: failed program was:" >&5
    7878 sed 's/^/| /' conftest.$ac_ext >&5
    7879 
     7022if ac_fn_c_try_cpp "$LINENO"; then :
     7023
     7024else
    78807025  # Broken: fails on valid input.
    78817026continue
    78827027fi
    7883 
    7884 rm -f conftest.err conftest.$ac_ext
     7028rm -f conftest.err conftest.i conftest.$ac_ext
    78857029
    78867030  # OK, works on sane cases.  Now check whether nonexistent headers
    78877031  # can be detected and how.
    7888   cat >conftest.$ac_ext <<_ACEOF
    7889 /* confdefs.h.  */
    7890 _ACEOF
    7891 cat confdefs.h >>conftest.$ac_ext
    7892 cat >>conftest.$ac_ext <<_ACEOF
     7032  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78937033/* end confdefs.h.  */
    78947034#include <ac_nonexistent.h>
    78957035_ACEOF
    7896 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7897 case "(($ac_try" in
    7898   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7899   *) ac_try_echo=$ac_try;;
    7900 esac
    7901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7902 $as_echo "$ac_try_echo") >&5
    7903   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7904   ac_status=$?
    7905   grep -v '^ *+' conftest.er1 >conftest.err
    7906   rm -f conftest.er1
    7907   cat conftest.err >&5
    7908   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7909   (exit $ac_status); } >/dev/null && {
    7910          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7911          test ! -s conftest.err
    7912        }; then
     7036if ac_fn_c_try_cpp "$LINENO"; then :
    79137037  # Broken: success on invalid input.
    79147038continue
    79157039else
    7916   $as_echo "$as_me: failed program was:" >&5
    7917 sed 's/^/| /' conftest.$ac_ext >&5
    7918 
    79197040  # Passes both tests.
    79207041ac_preproc_ok=:
    79217042break
    79227043fi
    7923 
    7924 rm -f conftest.err conftest.$ac_ext
     7044rm -f conftest.err conftest.i conftest.$ac_ext
    79257045
    79267046done
    79277047# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7928 rm -f conftest.err conftest.$ac_ext
    7929 if $ac_preproc_ok; then
     7048rm -f conftest.i conftest.err conftest.$ac_ext
     7049if $ac_preproc_ok; then :
    79307050  break
    79317051fi
     
    79397059  ac_cv_prog_CPP=$CPP
    79407060fi
    7941 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     7061{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    79427062$as_echo "$CPP" >&6; }
    79437063ac_preproc_ok=false
     
    79507070  # On the NeXT, cc -E runs the code through the compiler's parser,
    79517071  # not just through cpp. "Syntax error" is here to catch this case.
    7952   cat >conftest.$ac_ext <<_ACEOF
    7953 /* confdefs.h.  */
    7954 _ACEOF
    7955 cat confdefs.h >>conftest.$ac_ext
    7956 cat >>conftest.$ac_ext <<_ACEOF
     7072  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79577073/* end confdefs.h.  */
    79587074#ifdef __STDC__
     
    79637079                     Syntax error
    79647080_ACEOF
    7965 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7966 case "(($ac_try" in
    7967   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7968   *) ac_try_echo=$ac_try;;
    7969 esac
    7970 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7971 $as_echo "$ac_try_echo") >&5
    7972   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7973   ac_status=$?
    7974   grep -v '^ *+' conftest.er1 >conftest.err
    7975   rm -f conftest.er1
    7976   cat conftest.err >&5
    7977   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7978   (exit $ac_status); } >/dev/null && {
    7979          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7980          test ! -s conftest.err
    7981        }; then
    7982   :
    7983 else
    7984   $as_echo "$as_me: failed program was:" >&5
    7985 sed 's/^/| /' conftest.$ac_ext >&5
    7986 
     7081if ac_fn_c_try_cpp "$LINENO"; then :
     7082
     7083else
    79877084  # Broken: fails on valid input.
    79887085continue
    79897086fi
    7990 
    7991 rm -f conftest.err conftest.$ac_ext
     7087rm -f conftest.err conftest.i conftest.$ac_ext
    79927088
    79937089  # OK, works on sane cases.  Now check whether nonexistent headers
    79947090  # can be detected and how.
    7995   cat >conftest.$ac_ext <<_ACEOF
    7996 /* confdefs.h.  */
    7997 _ACEOF
    7998 cat confdefs.h >>conftest.$ac_ext
    7999 cat >>conftest.$ac_ext <<_ACEOF
     7091  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80007092/* end confdefs.h.  */
    80017093#include <ac_nonexistent.h>
    80027094_ACEOF
    8003 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8004 case "(($ac_try" in
    8005   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8006   *) ac_try_echo=$ac_try;;
    8007 esac
    8008 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8009 $as_echo "$ac_try_echo") >&5
    8010   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8011   ac_status=$?
    8012   grep -v '^ *+' conftest.er1 >conftest.err
    8013   rm -f conftest.er1
    8014   cat conftest.err >&5
    8015   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8016   (exit $ac_status); } >/dev/null && {
    8017          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    8018          test ! -s conftest.err
    8019        }; then
     7095if ac_fn_c_try_cpp "$LINENO"; then :
    80207096  # Broken: success on invalid input.
    80217097continue
    80227098else
    8023   $as_echo "$as_me: failed program was:" >&5
    8024 sed 's/^/| /' conftest.$ac_ext >&5
    8025 
    80267099  # Passes both tests.
    80277100ac_preproc_ok=:
    80287101break
    80297102fi
    8030 
    8031 rm -f conftest.err conftest.$ac_ext
     7103rm -f conftest.err conftest.i conftest.$ac_ext
    80327104
    80337105done
    80347106# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8035 rm -f conftest.err conftest.$ac_ext
    8036 if $ac_preproc_ok; then
    8037   :
    8038 else
    8039   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7107rm -f conftest.i conftest.err conftest.$ac_ext
     7108if $ac_preproc_ok; then :
     7109
     7110else
     7111  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    80407112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8041 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    8042 See \`config.log' for more details." >&5
    8043 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    8044 See \`config.log' for more details." >&2;}
    8045    { (exit 1); exit 1; }; }; }
     7113as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     7114See \`config.log' for more details" "$LINENO" 5; }
    80467115fi
    80477116
     
    80667135    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    80677136set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8068 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7137{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    80697138$as_echo_n "checking for $ac_word... " >&6; }
    8070 if test "${ac_cv_prog_CXX+set}" = set; then
     7139if ${ac_cv_prog_CXX+:} false; then :
    80717140  $as_echo_n "(cached) " >&6
    80727141else
     
    80797148  IFS=$as_save_IFS
    80807149  test -z "$as_dir" && as_dir=.
    8081   for ac_exec_ext in '' $ac_executable_extensions; do
    8082   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7150    for ac_exec_ext in '' $ac_executable_extensions; do
     7151  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    80837152    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8084     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7153    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    80857154    break 2
    80867155  fi
    80877156done
    8088 done
     7157  done
    80897158IFS=$as_save_IFS
    80907159
     
    80937162CXX=$ac_cv_prog_CXX
    80947163if test -n "$CXX"; then
    8095   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7164  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    80967165$as_echo "$CXX" >&6; }
    80977166else
    8098   { $as_echo "$as_me:$LINENO: result: no" >&5
     7167  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    80997168$as_echo "no" >&6; }
    81007169fi
     
    81107179  # Extract the first word of "$ac_prog", so it can be a program name with args.
    81117180set dummy $ac_prog; ac_word=$2
    8112 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7181{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    81137182$as_echo_n "checking for $ac_word... " >&6; }
    8114 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7183if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    81157184  $as_echo_n "(cached) " >&6
    81167185else
     
    81237192  IFS=$as_save_IFS
    81247193  test -z "$as_dir" && as_dir=.
    8125   for ac_exec_ext in '' $ac_executable_extensions; do
    8126   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7194    for ac_exec_ext in '' $ac_executable_extensions; do
     7195  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    81277196    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8128     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7197    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    81297198    break 2
    81307199  fi
    81317200done
    8132 done
     7201  done
    81337202IFS=$as_save_IFS
    81347203
     
    81377206ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    81387207if test -n "$ac_ct_CXX"; then
    8139   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7208  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    81407209$as_echo "$ac_ct_CXX" >&6; }
    81417210else
    8142   { $as_echo "$as_me:$LINENO: result: no" >&5
     7211  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    81437212$as_echo "no" >&6; }
    81447213fi
     
    81537222    case $cross_compiling:$ac_tool_warned in
    81547223yes:)
    8155 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7224{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    81567225$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    81577226ac_tool_warned=yes ;;
     
    81647233fi
    81657234# Provide some information about the compiler.
    8166 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7235$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    81677236set X $ac_compile
    81687237ac_compiler=$2
    8169 { (ac_try="$ac_compiler --version >&5"
     7238for ac_option in --version -v -V -qversion; do
     7239  { { ac_try="$ac_compiler $ac_option >&5"
    81707240case "(($ac_try" in
    81717241  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    81727242  *) ac_try_echo=$ac_try;;
    81737243esac
    8174 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8175 $as_echo "$ac_try_echo") >&5
    8176   (eval "$ac_compiler --version >&5") 2>&5
     7244eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7245$as_echo "$ac_try_echo"; } >&5
     7246  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    81777247  ac_status=$?
    8178   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8179   (exit $ac_status); }
    8180 { (ac_try="$ac_compiler -v >&5"
    8181 case "(($ac_try" in
    8182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8183   *) ac_try_echo=$ac_try;;
    8184 esac
    8185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8186 $as_echo "$ac_try_echo") >&5
    8187   (eval "$ac_compiler -v >&5") 2>&5
    8188   ac_status=$?
    8189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8190   (exit $ac_status); }
    8191 { (ac_try="$ac_compiler -V >&5"
    8192 case "(($ac_try" in
    8193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8194   *) ac_try_echo=$ac_try;;
    8195 esac
    8196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8197 $as_echo "$ac_try_echo") >&5
    8198   (eval "$ac_compiler -V >&5") 2>&5
    8199   ac_status=$?
    8200   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8201   (exit $ac_status); }
    8202 
    8203 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7248  if test -s conftest.err; then
     7249    sed '10a\
     7250... rest of stderr output deleted ...
     7251         10q' conftest.err >conftest.er1
     7252    cat conftest.er1 >&5
     7253  fi
     7254  rm -f conftest.er1 conftest.err
     7255  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7256  test $ac_status = 0; }
     7257done
     7258
     7259{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    82047260$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8205 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7261if ${ac_cv_cxx_compiler_gnu+:} false; then :
    82067262  $as_echo_n "(cached) " >&6
    82077263else
    8208   cat >conftest.$ac_ext <<_ACEOF
    8209 /* confdefs.h.  */
    8210 _ACEOF
    8211 cat confdefs.h >>conftest.$ac_ext
    8212 cat >>conftest.$ac_ext <<_ACEOF
     7264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82137265/* end confdefs.h.  */
    82147266
     
    82247276}
    82257277_ACEOF
    8226 rm -f conftest.$ac_objext
    8227 if { (ac_try="$ac_compile"
    8228 case "(($ac_try" in
    8229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8230   *) ac_try_echo=$ac_try;;
    8231 esac
    8232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8233 $as_echo "$ac_try_echo") >&5
    8234   (eval "$ac_compile") 2>conftest.er1
    8235   ac_status=$?
    8236   grep -v '^ *+' conftest.er1 >conftest.err
    8237   rm -f conftest.er1
    8238   cat conftest.err >&5
    8239   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8240   (exit $ac_status); } && {
    8241          test -z "$ac_cxx_werror_flag" ||
    8242          test ! -s conftest.err
    8243        } && test -s conftest.$ac_objext; then
     7278if ac_fn_cxx_try_compile "$LINENO"; then :
    82447279  ac_compiler_gnu=yes
    82457280else
    8246   $as_echo "$as_me: failed program was:" >&5
    8247 sed 's/^/| /' conftest.$ac_ext >&5
    8248 
    8249         ac_compiler_gnu=no
    8250 fi
    8251 
     7281  ac_compiler_gnu=no
     7282fi
    82527283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    82537284ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    82547285
    82557286fi
    8256 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7287{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    82577288$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    82587289if test $ac_compiler_gnu = yes; then
     
    82637294ac_test_CXXFLAGS=${CXXFLAGS+set}
    82647295ac_save_CXXFLAGS=$CXXFLAGS
    8265 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7296{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    82667297$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8267 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7298if ${ac_cv_prog_cxx_g+:} false; then :
    82687299  $as_echo_n "(cached) " >&6
    82697300else
     
    82727303   ac_cv_prog_cxx_g=no
    82737304   CXXFLAGS="-g"
    8274    cat >conftest.$ac_ext <<_ACEOF
    8275 /* confdefs.h.  */
    8276 _ACEOF
    8277 cat confdefs.h >>conftest.$ac_ext
    8278 cat >>conftest.$ac_ext <<_ACEOF
     7305   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82797306/* end confdefs.h.  */
    82807307
     
    82877314}
    82887315_ACEOF
    8289 rm -f conftest.$ac_objext
    8290 if { (ac_try="$ac_compile"
    8291 case "(($ac_try" in
    8292   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8293   *) ac_try_echo=$ac_try;;
    8294 esac
    8295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8296 $as_echo "$ac_try_echo") >&5
    8297   (eval "$ac_compile") 2>conftest.er1
    8298   ac_status=$?
    8299   grep -v '^ *+' conftest.er1 >conftest.err
    8300   rm -f conftest.er1
    8301   cat conftest.err >&5
    8302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8303   (exit $ac_status); } && {
    8304          test -z "$ac_cxx_werror_flag" ||
    8305          test ! -s conftest.err
    8306        } && test -s conftest.$ac_objext; then
     7316if ac_fn_cxx_try_compile "$LINENO"; then :
    83077317  ac_cv_prog_cxx_g=yes
    83087318else
    8309   $as_echo "$as_me: failed program was:" >&5
    8310 sed 's/^/| /' conftest.$ac_ext >&5
    8311 
    8312         CXXFLAGS=""
    8313       cat >conftest.$ac_ext <<_ACEOF
    8314 /* confdefs.h.  */
    8315 _ACEOF
    8316 cat confdefs.h >>conftest.$ac_ext
    8317 cat >>conftest.$ac_ext <<_ACEOF
     7319  CXXFLAGS=""
     7320      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83187321/* end confdefs.h.  */
    83197322
     
    83267329}
    83277330_ACEOF
    8328 rm -f conftest.$ac_objext
    8329 if { (ac_try="$ac_compile"
    8330 case "(($ac_try" in
    8331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8332   *) ac_try_echo=$ac_try;;
    8333 esac
    8334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8335 $as_echo "$ac_try_echo") >&5
    8336   (eval "$ac_compile") 2>conftest.er1
    8337   ac_status=$?
    8338   grep -v '^ *+' conftest.er1 >conftest.err
    8339   rm -f conftest.er1
    8340   cat conftest.err >&5
    8341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8342   (exit $ac_status); } && {
    8343          test -z "$ac_cxx_werror_flag" ||
    8344          test ! -s conftest.err
    8345        } && test -s conftest.$ac_objext; then
    8346   :
    8347 else
    8348   $as_echo "$as_me: failed program was:" >&5
    8349 sed 's/^/| /' conftest.$ac_ext >&5
    8350 
    8351         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7331if ac_fn_cxx_try_compile "$LINENO"; then :
     7332
     7333else
     7334  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    83527335         CXXFLAGS="-g"
    8353          cat >conftest.$ac_ext <<_ACEOF
    8354 /* confdefs.h.  */
    8355 _ACEOF
    8356 cat confdefs.h >>conftest.$ac_ext
    8357 cat >>conftest.$ac_ext <<_ACEOF
     7336         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83587337/* end confdefs.h.  */
    83597338
     
    83667345}
    83677346_ACEOF
    8368 rm -f conftest.$ac_objext
    8369 if { (ac_try="$ac_compile"
    8370 case "(($ac_try" in
    8371   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8372   *) ac_try_echo=$ac_try;;
    8373 esac
    8374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8375 $as_echo "$ac_try_echo") >&5
    8376   (eval "$ac_compile") 2>conftest.er1
    8377   ac_status=$?
    8378   grep -v '^ *+' conftest.er1 >conftest.err
    8379   rm -f conftest.er1
    8380   cat conftest.err >&5
    8381   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8382   (exit $ac_status); } && {
    8383          test -z "$ac_cxx_werror_flag" ||
    8384          test ! -s conftest.err
    8385        } && test -s conftest.$ac_objext; then
     7347if ac_fn_cxx_try_compile "$LINENO"; then :
    83867348  ac_cv_prog_cxx_g=yes
    8387 else
    8388   $as_echo "$as_me: failed program was:" >&5
    8389 sed 's/^/| /' conftest.$ac_ext >&5
    8390 
    8391 
    8392 fi
    8393 
     7349fi
    83947350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    83957351fi
    8396 
    83977352rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    83987353fi
    8399 
    84007354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84017355   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    84027356fi
    8403 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7357{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    84047358$as_echo "$ac_cv_prog_cxx_g" >&6; }
    84057359if test "$ac_test_CXXFLAGS" = set; then
     
    84297383ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    84307384ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    8431 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     7385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    84327386$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    84337387if test -z "$CXXCPP"; then
    8434   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     7388  if ${ac_cv_prog_CXXCPP+:} false; then :
    84357389  $as_echo_n "(cached) " >&6
    84367390else
     
    84477401  # On the NeXT, cc -E runs the code through the compiler's parser,
    84487402  # not just through cpp. "Syntax error" is here to catch this case.
    8449   cat >conftest.$ac_ext <<_ACEOF
    8450 /* confdefs.h.  */
    8451 _ACEOF
    8452 cat confdefs.h >>conftest.$ac_ext
    8453 cat >>conftest.$ac_ext <<_ACEOF
     7403  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84547404/* end confdefs.h.  */
    84557405#ifdef __STDC__
     
    84607410                     Syntax error
    84617411_ACEOF
    8462 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8463 case "(($ac_try" in
    8464   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8465   *) ac_try_echo=$ac_try;;
    8466 esac
    8467 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8468 $as_echo "$ac_try_echo") >&5
    8469   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8470   ac_status=$?
    8471   grep -v '^ *+' conftest.er1 >conftest.err
    8472   rm -f conftest.er1
    8473   cat conftest.err >&5
    8474   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8475   (exit $ac_status); } >/dev/null && {
    8476          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8477          test ! -s conftest.err
    8478        }; then
    8479   :
    8480 else
    8481   $as_echo "$as_me: failed program was:" >&5
    8482 sed 's/^/| /' conftest.$ac_ext >&5
    8483 
     7412if ac_fn_cxx_try_cpp "$LINENO"; then :
     7413
     7414else
    84847415  # Broken: fails on valid input.
    84857416continue
    84867417fi
    8487 
    8488 rm -f conftest.err conftest.$ac_ext
     7418rm -f conftest.err conftest.i conftest.$ac_ext
    84897419
    84907420  # OK, works on sane cases.  Now check whether nonexistent headers
    84917421  # can be detected and how.
    8492   cat >conftest.$ac_ext <<_ACEOF
    8493 /* confdefs.h.  */
    8494 _ACEOF
    8495 cat confdefs.h >>conftest.$ac_ext
    8496 cat >>conftest.$ac_ext <<_ACEOF
     7422  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84977423/* end confdefs.h.  */
    84987424#include <ac_nonexistent.h>
    84997425_ACEOF
    8500 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8501 case "(($ac_try" in
    8502   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8503   *) ac_try_echo=$ac_try;;
    8504 esac
    8505 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8506 $as_echo "$ac_try_echo") >&5
    8507   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8508   ac_status=$?
    8509   grep -v '^ *+' conftest.er1 >conftest.err
    8510   rm -f conftest.er1
    8511   cat conftest.err >&5
    8512   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8513   (exit $ac_status); } >/dev/null && {
    8514          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8515          test ! -s conftest.err
    8516        }; then
     7426if ac_fn_cxx_try_cpp "$LINENO"; then :
    85177427  # Broken: success on invalid input.
    85187428continue
    85197429else
    8520   $as_echo "$as_me: failed program was:" >&5
    8521 sed 's/^/| /' conftest.$ac_ext >&5
    8522 
    85237430  # Passes both tests.
    85247431ac_preproc_ok=:
    85257432break
    85267433fi
    8527 
    8528 rm -f conftest.err conftest.$ac_ext
     7434rm -f conftest.err conftest.i conftest.$ac_ext
    85297435
    85307436done
    85317437# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8532 rm -f conftest.err conftest.$ac_ext
    8533 if $ac_preproc_ok; then
     7438rm -f conftest.i conftest.err conftest.$ac_ext
     7439if $ac_preproc_ok; then :
    85347440  break
    85357441fi
     
    85437449  ac_cv_prog_CXXCPP=$CXXCPP
    85447450fi
    8545 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     7451{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    85467452$as_echo "$CXXCPP" >&6; }
    85477453ac_preproc_ok=false
     
    85547460  # On the NeXT, cc -E runs the code through the compiler's parser,
    85557461  # not just through cpp. "Syntax error" is here to catch this case.
    8556   cat >conftest.$ac_ext <<_ACEOF
    8557 /* confdefs.h.  */
    8558 _ACEOF
    8559 cat confdefs.h >>conftest.$ac_ext
    8560 cat >>conftest.$ac_ext <<_ACEOF
     7462  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85617463/* end confdefs.h.  */
    85627464#ifdef __STDC__
     
    85677469                     Syntax error
    85687470_ACEOF
    8569 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8570 case "(($ac_try" in
    8571   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8572   *) ac_try_echo=$ac_try;;
    8573 esac
    8574 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8575 $as_echo "$ac_try_echo") >&5
    8576   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8577   ac_status=$?
    8578   grep -v '^ *+' conftest.er1 >conftest.err
    8579   rm -f conftest.er1
    8580   cat conftest.err >&5
    8581   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8582   (exit $ac_status); } >/dev/null && {
    8583          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8584          test ! -s conftest.err
    8585        }; then
    8586   :
    8587 else
    8588   $as_echo "$as_me: failed program was:" >&5
    8589 sed 's/^/| /' conftest.$ac_ext >&5
    8590 
     7471if ac_fn_cxx_try_cpp "$LINENO"; then :
     7472
     7473else
    85917474  # Broken: fails on valid input.
    85927475continue
    85937476fi
    8594 
    8595 rm -f conftest.err conftest.$ac_ext
     7477rm -f conftest.err conftest.i conftest.$ac_ext
    85967478
    85977479  # OK, works on sane cases.  Now check whether nonexistent headers
    85987480  # can be detected and how.
    8599   cat >conftest.$ac_ext <<_ACEOF
    8600 /* confdefs.h.  */
    8601 _ACEOF
    8602 cat confdefs.h >>conftest.$ac_ext
    8603 cat >>conftest.$ac_ext <<_ACEOF
     7481  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86047482/* end confdefs.h.  */
    86057483#include <ac_nonexistent.h>
    86067484_ACEOF
    8607 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8608 case "(($ac_try" in
    8609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8610   *) ac_try_echo=$ac_try;;
    8611 esac
    8612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8613 $as_echo "$ac_try_echo") >&5
    8614   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8615   ac_status=$?
    8616   grep -v '^ *+' conftest.er1 >conftest.err
    8617   rm -f conftest.er1
    8618   cat conftest.err >&5
    8619   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8620   (exit $ac_status); } >/dev/null && {
    8621          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8622          test ! -s conftest.err
    8623        }; then
     7485if ac_fn_cxx_try_cpp "$LINENO"; then :
    86247486  # Broken: success on invalid input.
    86257487continue
    86267488else
    8627   $as_echo "$as_me: failed program was:" >&5
    8628 sed 's/^/| /' conftest.$ac_ext >&5
    8629 
    86307489  # Passes both tests.
    86317490ac_preproc_ok=:
    86327491break
    86337492fi
    8634 
    8635 rm -f conftest.err conftest.$ac_ext
     7493rm -f conftest.err conftest.i conftest.$ac_ext
    86367494
    86377495done
    86387496# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8639 rm -f conftest.err conftest.$ac_ext
    8640 if $ac_preproc_ok; then
    8641   :
    8642 else
    8643   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7497rm -f conftest.i conftest.err conftest.$ac_ext
     7498if $ac_preproc_ok; then :
     7499
     7500else
     7501  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    86447502$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8645 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8646 See \`config.log' for more details." >&5
    8647 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8648 See \`config.log' for more details." >&2;}
    8649    { (exit 1); exit 1; }; }; }
     7503as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     7504See \`config.log' for more details" "$LINENO" 5; }
    86507505fi
    86517506
     
    86707525    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    86717526set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8672 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7527{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    86737528$as_echo_n "checking for $ac_word... " >&6; }
    8674 if test "${ac_cv_prog_CXX+set}" = set; then
     7529if ${ac_cv_prog_CXX+:} false; then :
    86757530  $as_echo_n "(cached) " >&6
    86767531else
     
    86837538  IFS=$as_save_IFS
    86847539  test -z "$as_dir" && as_dir=.
    8685   for ac_exec_ext in '' $ac_executable_extensions; do
    8686   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7540    for ac_exec_ext in '' $ac_executable_extensions; do
     7541  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    86877542    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8688     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7543    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    86897544    break 2
    86907545  fi
    86917546done
    8692 done
     7547  done
    86937548IFS=$as_save_IFS
    86947549
     
    86977552CXX=$ac_cv_prog_CXX
    86987553if test -n "$CXX"; then
    8699   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7554  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    87007555$as_echo "$CXX" >&6; }
    87017556else
    8702   { $as_echo "$as_me:$LINENO: result: no" >&5
     7557  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    87037558$as_echo "no" >&6; }
    87047559fi
     
    87147569  # Extract the first word of "$ac_prog", so it can be a program name with args.
    87157570set dummy $ac_prog; ac_word=$2
    8716 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7571{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    87177572$as_echo_n "checking for $ac_word... " >&6; }
    8718 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7573if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    87197574  $as_echo_n "(cached) " >&6
    87207575else
     
    87277582  IFS=$as_save_IFS
    87287583  test -z "$as_dir" && as_dir=.
    8729   for ac_exec_ext in '' $ac_executable_extensions; do
    8730   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     7584    for ac_exec_ext in '' $ac_executable_extensions; do
     7585  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
    87317586    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8732     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7587    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    87337588    break 2
    87347589  fi
    87357590done
    8736 done
     7591  done
    87377592IFS=$as_save_IFS
    87387593
     
    87417596ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    87427597if test -n "$ac_ct_CXX"; then
    8743   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    87447599$as_echo "$ac_ct_CXX" >&6; }
    87457600else
    8746   { $as_echo "$as_me:$LINENO: result: no" >&5
     7601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    87477602$as_echo "no" >&6; }
    87487603fi
     
    87577612    case $cross_compiling:$ac_tool_warned in
    87587613yes:)
    8759 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7614{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    87607615$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    87617616ac_tool_warned=yes ;;
     
    87687623fi
    87697624# Provide some information about the compiler.
    8770 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7625$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    87717626set X $ac_compile
    87727627ac_compiler=$2
    8773 { (ac_try="$ac_compiler --version >&5"
     7628for ac_option in --version -v -V -qversion; do
     7629  { { ac_try="$ac_compiler $ac_option >&5"
    87747630case "(($ac_try" in
    87757631  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    87767632  *) ac_try_echo=$ac_try;;
    87777633esac
    8778 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8779 $as_echo "$ac_try_echo") >&5
    8780   (eval "$ac_compiler --version >&5") 2>&5
     7634eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7635$as_echo "$ac_try_echo"; } >&5
     7636  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    87817637  ac_status=$?
    8782   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8783   (exit $ac_status); }
    8784 { (ac_try="$ac_compiler -v >&5"
    8785 case "(($ac_try" in
    8786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8787   *) ac_try_echo=$ac_try;;
    8788 esac
    8789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8790 $as_echo "$ac_try_echo") >&5
    8791   (eval "$ac_compiler -v >&5") 2>&5
    8792   ac_status=$?
    8793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8794   (exit $ac_status); }
    8795 { (ac_try="$ac_compiler -V >&5"
    8796 case "(($ac_try" in
    8797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8798   *) ac_try_echo=$ac_try;;
    8799 esac
    8800 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8801 $as_echo "$ac_try_echo") >&5
    8802   (eval "$ac_compiler -V >&5") 2>&5
    8803   ac_status=$?
    8804   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8805   (exit $ac_status); }
    8806 
    8807 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7638  if test -s conftest.err; then
     7639    sed '10a\
     7640... rest of stderr output deleted ...
     7641         10q' conftest.err >conftest.er1
     7642    cat conftest.er1 >&5
     7643  fi
     7644  rm -f conftest.er1 conftest.err
     7645  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7646  test $ac_status = 0; }
     7647done
     7648
     7649{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    88087650$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8809 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7651if ${ac_cv_cxx_compiler_gnu+:} false; then :
    88107652  $as_echo_n "(cached) " >&6
    88117653else
    8812   cat >conftest.$ac_ext <<_ACEOF
    8813 /* confdefs.h.  */
    8814 _ACEOF
    8815 cat confdefs.h >>conftest.$ac_ext
    8816 cat >>conftest.$ac_ext <<_ACEOF
     7654  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88177655/* end confdefs.h.  */
    88187656
     
    88287666}
    88297667_ACEOF
    8830 rm -f conftest.$ac_objext
    8831 if { (ac_try="$ac_compile"
    8832 case "(($ac_try" in
    8833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8834   *) ac_try_echo=$ac_try;;
    8835 esac
    8836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8837 $as_echo "$ac_try_echo") >&5
    8838   (eval "$ac_compile") 2>conftest.er1
    8839   ac_status=$?
    8840   grep -v '^ *+' conftest.er1 >conftest.err
    8841   rm -f conftest.er1
    8842   cat conftest.err >&5
    8843   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8844   (exit $ac_status); } && {
    8845          test -z "$ac_cxx_werror_flag" ||
    8846          test ! -s conftest.err
    8847        } && test -s conftest.$ac_objext; then
     7668if ac_fn_cxx_try_compile "$LINENO"; then :
    88487669  ac_compiler_gnu=yes
    88497670else
    8850   $as_echo "$as_me: failed program was:" >&5
    8851 sed 's/^/| /' conftest.$ac_ext >&5
    8852 
    8853         ac_compiler_gnu=no
    8854 fi
    8855 
     7671  ac_compiler_gnu=no
     7672fi
    88567673rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    88577674ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    88587675
    88597676fi
    8860 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7677{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    88617678$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    88627679if test $ac_compiler_gnu = yes; then
     
    88677684ac_test_CXXFLAGS=${CXXFLAGS+set}
    88687685ac_save_CXXFLAGS=$CXXFLAGS
    8869 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7686{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    88707687$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8871 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7688if ${ac_cv_prog_cxx_g+:} false; then :
    88727689  $as_echo_n "(cached) " >&6
    88737690else
     
    88767693   ac_cv_prog_cxx_g=no
    88777694   CXXFLAGS="-g"
    8878    cat >conftest.$ac_ext <<_ACEOF
    8879 /* confdefs.h.  */
    8880 _ACEOF
    8881 cat confdefs.h >>conftest.$ac_ext
    8882 cat >>conftest.$ac_ext <<_ACEOF
     7695   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88837696/* end confdefs.h.  */
    88847697
     
    88917704}
    88927705_ACEOF
    8893 rm -f conftest.$ac_objext
    8894 if { (ac_try="$ac_compile"
    8895 case "(($ac_try" in
    8896   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8897   *) ac_try_echo=$ac_try;;
    8898 esac
    8899 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8900 $as_echo "$ac_try_echo") >&5
    8901   (eval "$ac_compile") 2>conftest.er1
    8902   ac_status=$?
    8903   grep -v '^ *+' conftest.er1 >conftest.err
    8904   rm -f conftest.er1
    8905   cat conftest.err >&5
    8906   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8907   (exit $ac_status); } && {
    8908          test -z "$ac_cxx_werror_flag" ||
    8909          test ! -s conftest.err
    8910        } && test -s conftest.$ac_objext; then
     7706if ac_fn_cxx_try_compile "$LINENO"; then :
    89117707  ac_cv_prog_cxx_g=yes
    89127708else
    8913   $as_echo "$as_me: failed program was:" >&5
    8914 sed 's/^/| /' conftest.$ac_ext >&5
    8915 
    8916         CXXFLAGS=""
    8917       cat >conftest.$ac_ext <<_ACEOF
    8918 /* confdefs.h.  */
    8919 _ACEOF
    8920 cat confdefs.h >>conftest.$ac_ext
    8921 cat >>conftest.$ac_ext <<_ACEOF
     7709  CXXFLAGS=""
     7710      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89227711/* end confdefs.h.  */
    89237712
     
    89307719}
    89317720_ACEOF
    8932 rm -f conftest.$ac_objext
    8933 if { (ac_try="$ac_compile"
    8934 case "(($ac_try" in
    8935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8936   *) ac_try_echo=$ac_try;;
    8937 esac
    8938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8939 $as_echo "$ac_try_echo") >&5
    8940   (eval "$ac_compile") 2>conftest.er1
    8941   ac_status=$?
    8942   grep -v '^ *+' conftest.er1 >conftest.err
    8943   rm -f conftest.er1
    8944   cat conftest.err >&5
    8945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8946   (exit $ac_status); } && {
    8947          test -z "$ac_cxx_werror_flag" ||
    8948          test ! -s conftest.err
    8949        } && test -s conftest.$ac_objext; then
    8950   :
    8951 else
    8952   $as_echo "$as_me: failed program was:" >&5
    8953 sed 's/^/| /' conftest.$ac_ext >&5
    8954 
    8955         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7721if ac_fn_cxx_try_compile "$LINENO"; then :
     7722
     7723else
     7724  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    89567725         CXXFLAGS="-g"
    8957          cat >conftest.$ac_ext <<_ACEOF
    8958 /* confdefs.h.  */
    8959 _ACEOF
    8960 cat confdefs.h >>conftest.$ac_ext
    8961 cat >>conftest.$ac_ext <<_ACEOF
     7726         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89627727/* end confdefs.h.  */
    89637728
     
    89707735}
    89717736_ACEOF
    8972 rm -f conftest.$ac_objext
    8973 if { (ac_try="$ac_compile"
    8974 case "(($ac_try" in
    8975   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8976   *) ac_try_echo=$ac_try;;
    8977 esac
    8978 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8979 $as_echo "$ac_try_echo") >&5
    8980   (eval "$ac_compile") 2>conftest.er1
    8981   ac_status=$?
    8982   grep -v '^ *+' conftest.er1 >conftest.err
    8983   rm -f conftest.er1
    8984   cat conftest.err >&5
    8985   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8986   (exit $ac_status); } && {
    8987          test -z "$ac_cxx_werror_flag" ||
    8988          test ! -s conftest.err
    8989        } && test -s conftest.$ac_objext; then
     7737if ac_fn_cxx_try_compile "$LINENO"; then :
    89907738  ac_cv_prog_cxx_g=yes
    8991 else
    8992   $as_echo "$as_me: failed program was:" >&5
    8993 sed 's/^/| /' conftest.$ac_ext >&5
    8994 
    8995 
    8996 fi
    8997 
     7739fi
    89987740rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    89997741fi
    9000 
    90017742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90027743fi
    9003 
    90047744rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90057745   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    90067746fi
    9007 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7747{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    90087748$as_echo "$ac_cv_prog_cxx_g" >&6; }
    90097749if test "$ac_test_CXXFLAGS" = set; then
     
    90367776
    90377777
    9038 
    9039  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    90407779$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    9041 if test "${ac_cv_c_bigendian+set}" = set; then
     7780if ${ac_cv_c_bigendian+:} false; then :
    90427781  $as_echo_n "(cached) " >&6
    90437782else
    90447783  ac_cv_c_bigendian=unknown
    90457784    # See if we're dealing with a universal compiler.
    9046     cat >conftest.$ac_ext <<_ACEOF
    9047 /* confdefs.h.  */
    9048 _ACEOF
    9049 cat confdefs.h >>conftest.$ac_ext
    9050 cat >>conftest.$ac_ext <<_ACEOF
     7785    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    90517786/* end confdefs.h.  */
    90527787#ifndef __APPLE_CC__
     
    90567791
    90577792_ACEOF
    9058 rm -f conftest.$ac_objext
    9059 if { (ac_try="$ac_compile"
    9060 case "(($ac_try" in
    9061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9062   *) ac_try_echo=$ac_try;;
    9063 esac
    9064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9065 $as_echo "$ac_try_echo") >&5
    9066   (eval "$ac_compile") 2>conftest.er1
    9067   ac_status=$?
    9068   grep -v '^ *+' conftest.er1 >conftest.err
    9069   rm -f conftest.er1
    9070   cat conftest.err >&5
    9071   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9072   (exit $ac_status); } && {
    9073          test -z "$ac_cxx_werror_flag" ||
    9074          test ! -s conftest.err
    9075        } && test -s conftest.$ac_objext; then
     7793if ac_fn_cxx_try_compile "$LINENO"; then :
    90767794
    90777795        # Check for potential -arch flags.  It is not universal unless
    9078         # there are some -arch flags.  Note that *ppc* also matches
    9079         # ppc64.  This check is also rather less than ideal.
    9080         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    9081           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    9082         esac
    9083 else
    9084   $as_echo "$as_me: failed program was:" >&5
    9085 sed 's/^/| /' conftest.$ac_ext >&5
    9086 
    9087 
    9088 fi
    9089 
     7796        # there are at least two -arch flags with different values.
     7797        ac_arch=
     7798        ac_prev=
     7799        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     7800         if test -n "$ac_prev"; then
     7801           case $ac_word in
     7802             i?86 | x86_64 | ppc | ppc64)
     7803               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     7804                 ac_arch=$ac_word
     7805               else
     7806                 ac_cv_c_bigendian=universal
     7807                 break
     7808               fi
     7809               ;;
     7810           esac
     7811           ac_prev=
     7812         elif test "x$ac_word" = "x-arch"; then
     7813           ac_prev=arch
     7814         fi
     7815       done
     7816fi
    90907817rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90917818    if test $ac_cv_c_bigendian = unknown; then
    90927819      # See if sys/param.h defines the BYTE_ORDER macro.
    9093       cat >conftest.$ac_ext <<_ACEOF
    9094 /* confdefs.h.  */
    9095 _ACEOF
    9096 cat confdefs.h >>conftest.$ac_ext
    9097 cat >>conftest.$ac_ext <<_ACEOF
     7820      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    90987821/* end confdefs.h.  */
    90997822#include <sys/types.h>
     
    91137836}
    91147837_ACEOF
    9115 rm -f conftest.$ac_objext
    9116 if { (ac_try="$ac_compile"
    9117 case "(($ac_try" in
    9118   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9119   *) ac_try_echo=$ac_try;;
    9120 esac
    9121 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9122 $as_echo "$ac_try_echo") >&5
    9123   (eval "$ac_compile") 2>conftest.er1
    9124   ac_status=$?
    9125   grep -v '^ *+' conftest.er1 >conftest.err
    9126   rm -f conftest.er1
    9127   cat conftest.err >&5
    9128   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9129   (exit $ac_status); } && {
    9130          test -z "$ac_cxx_werror_flag" ||
    9131          test ! -s conftest.err
    9132        } && test -s conftest.$ac_objext; then
     7838if ac_fn_cxx_try_compile "$LINENO"; then :
    91337839  # It does; now see whether it defined to BIG_ENDIAN or not.
    9134          cat >conftest.$ac_ext <<_ACEOF
    9135 /* confdefs.h.  */
    9136 _ACEOF
    9137 cat confdefs.h >>conftest.$ac_ext
    9138 cat >>conftest.$ac_ext <<_ACEOF
     7840         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91397841/* end confdefs.h.  */
    91407842#include <sys/types.h>
     
    91527854}
    91537855_ACEOF
    9154 rm -f conftest.$ac_objext
    9155 if { (ac_try="$ac_compile"
    9156 case "(($ac_try" in
    9157   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9158   *) ac_try_echo=$ac_try;;
    9159 esac
    9160 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9161 $as_echo "$ac_try_echo") >&5
    9162   (eval "$ac_compile") 2>conftest.er1
    9163   ac_status=$?
    9164   grep -v '^ *+' conftest.er1 >conftest.err
    9165   rm -f conftest.er1
    9166   cat conftest.err >&5
    9167   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9168   (exit $ac_status); } && {
    9169          test -z "$ac_cxx_werror_flag" ||
    9170          test ! -s conftest.err
    9171        } && test -s conftest.$ac_objext; then
     7856if ac_fn_cxx_try_compile "$LINENO"; then :
    91727857  ac_cv_c_bigendian=yes
    91737858else
    9174   $as_echo "$as_me: failed program was:" >&5
    9175 sed 's/^/| /' conftest.$ac_ext >&5
    9176 
    9177         ac_cv_c_bigendian=no
    9178 fi
    9179 
     7859  ac_cv_c_bigendian=no
     7860fi
    91807861rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9181 else
    9182   $as_echo "$as_me: failed program was:" >&5
    9183 sed 's/^/| /' conftest.$ac_ext >&5
    9184 
    9185 
    9186 fi
    9187 
     7862fi
    91887863rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    91897864    fi
    91907865    if test $ac_cv_c_bigendian = unknown; then
    91917866      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    9192       cat >conftest.$ac_ext <<_ACEOF
    9193 /* confdefs.h.  */
    9194 _ACEOF
    9195 cat confdefs.h >>conftest.$ac_ext
    9196 cat >>conftest.$ac_ext <<_ACEOF
     7867      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    91977868/* end confdefs.h.  */
    91987869#include <limits.h>
     
    92097880}
    92107881_ACEOF
    9211 rm -f conftest.$ac_objext
    9212 if { (ac_try="$ac_compile"
    9213 case "(($ac_try" in
    9214   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9215   *) ac_try_echo=$ac_try;;
    9216 esac
    9217 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9218 $as_echo "$ac_try_echo") >&5
    9219   (eval "$ac_compile") 2>conftest.er1
    9220   ac_status=$?
    9221   grep -v '^ *+' conftest.er1 >conftest.err
    9222   rm -f conftest.er1
    9223   cat conftest.err >&5
    9224   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9225   (exit $ac_status); } && {
    9226          test -z "$ac_cxx_werror_flag" ||
    9227          test ! -s conftest.err
    9228        } && test -s conftest.$ac_objext; then
     7882if ac_fn_cxx_try_compile "$LINENO"; then :
    92297883  # It does; now see whether it defined to _BIG_ENDIAN or not.
    9230          cat >conftest.$ac_ext <<_ACEOF
    9231 /* confdefs.h.  */
    9232 _ACEOF
    9233 cat confdefs.h >>conftest.$ac_ext
    9234 cat >>conftest.$ac_ext <<_ACEOF
     7884         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92357885/* end confdefs.h.  */
    92367886#include <limits.h>
     
    92477897}
    92487898_ACEOF
    9249 rm -f conftest.$ac_objext
    9250 if { (ac_try="$ac_compile"
    9251 case "(($ac_try" in
    9252   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9253   *) ac_try_echo=$ac_try;;
    9254 esac
    9255 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9256 $as_echo "$ac_try_echo") >&5
    9257   (eval "$ac_compile") 2>conftest.er1
    9258   ac_status=$?
    9259   grep -v '^ *+' conftest.er1 >conftest.err
    9260   rm -f conftest.er1
    9261   cat conftest.err >&5
    9262   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9263   (exit $ac_status); } && {
    9264          test -z "$ac_cxx_werror_flag" ||
    9265          test ! -s conftest.err
    9266        } && test -s conftest.$ac_objext; then
     7899if ac_fn_cxx_try_compile "$LINENO"; then :
    92677900  ac_cv_c_bigendian=yes
    92687901else
    9269   $as_echo "$as_me: failed program was:" >&5
    9270 sed 's/^/| /' conftest.$ac_ext >&5
    9271 
    9272         ac_cv_c_bigendian=no
    9273 fi
    9274 
     7902  ac_cv_c_bigendian=no
     7903fi
    92757904rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9276 else
    9277   $as_echo "$as_me: failed program was:" >&5
    9278 sed 's/^/| /' conftest.$ac_ext >&5
    9279 
    9280 
    9281 fi
    9282 
     7905fi
    92837906rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    92847907    fi
    92857908    if test $ac_cv_c_bigendian = unknown; then
    92867909      # Compile a test program.
    9287       if test "$cross_compiling" = yes; then
     7910      if test "$cross_compiling" = yes; then :
    92887911  # Try to guess by grepping values from an object file.
    9289          cat >conftest.$ac_ext <<_ACEOF
    9290 /* confdefs.h.  */
    9291 _ACEOF
    9292 cat confdefs.h >>conftest.$ac_ext
    9293 cat >>conftest.$ac_ext <<_ACEOF
     7912         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    92947913/* end confdefs.h.  */
    92957914short int ascii_mm[] =
     
    93177936}
    93187937_ACEOF
    9319 rm -f conftest.$ac_objext
    9320 if { (ac_try="$ac_compile"
    9321 case "(($ac_try" in
    9322   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9323   *) ac_try_echo=$ac_try;;
    9324 esac
    9325 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9326 $as_echo "$ac_try_echo") >&5
    9327   (eval "$ac_compile") 2>conftest.er1
    9328   ac_status=$?
    9329   grep -v '^ *+' conftest.er1 >conftest.err
    9330   rm -f conftest.er1
    9331   cat conftest.err >&5
    9332   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9333   (exit $ac_status); } && {
    9334          test -z "$ac_cxx_werror_flag" ||
    9335          test ! -s conftest.err
    9336        } && test -s conftest.$ac_objext; then
     7938if ac_fn_cxx_try_compile "$LINENO"; then :
    93377939  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    93387940              ac_cv_c_bigendian=yes
     
    93467948              fi
    93477949            fi
    9348 else
    9349   $as_echo "$as_me: failed program was:" >&5
    9350 sed 's/^/| /' conftest.$ac_ext >&5
    9351 
    9352 
    9353 fi
    9354 
     7950fi
    93557951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    93567952else
    9357   cat >conftest.$ac_ext <<_ACEOF
    9358 /* confdefs.h.  */
    9359 _ACEOF
    9360 cat confdefs.h >>conftest.$ac_ext
    9361 cat >>conftest.$ac_ext <<_ACEOF
     7953  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    93627954/* end confdefs.h.  */
    93637955$ac_includes_default
     
    93797971}
    93807972_ACEOF
    9381 rm -f conftest$ac_exeext
    9382 if { (ac_try="$ac_link"
    9383 case "(($ac_try" in
    9384   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9385   *) ac_try_echo=$ac_try;;
    9386 esac
    9387 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9388 $as_echo "$ac_try_echo") >&5
    9389   (eval "$ac_link") 2>&5
    9390   ac_status=$?
    9391   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9392   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9393   { (case "(($ac_try" in
    9394   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9395   *) ac_try_echo=$ac_try;;
    9396 esac
    9397 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9398 $as_echo "$ac_try_echo") >&5
    9399   (eval "$ac_try") 2>&5
    9400   ac_status=$?
    9401   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9402   (exit $ac_status); }; }; then
     7973if ac_fn_cxx_try_run "$LINENO"; then :
    94037974  ac_cv_c_bigendian=no
    94047975else
    9405   $as_echo "$as_me: program exited with status $ac_status" >&5
    9406 $as_echo "$as_me: failed program was:" >&5
    9407 sed 's/^/| /' conftest.$ac_ext >&5
    9408 
    9409 ( exit $ac_status )
    9410 ac_cv_c_bigendian=yes
    9411 fi
    9412 rm -rf conftest.dSYM
    9413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9414 fi
    9415 
     7976  ac_cv_c_bigendian=yes
     7977fi
     7978rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7979  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7980fi
    94167981
    94177982    fi
    94187983fi
    9419 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7984{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    94207985$as_echo "$ac_cv_c_bigendian" >&6; }
    94217986 case $ac_cv_c_bigendian in #(
    94227987   yes)
    9423      cat >>confdefs.h <<\_ACEOF
    9424 #define WORDS_BIGENDIAN 1
    9425 _ACEOF
     7988     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    94267989;; #(
    94277990   no)
     
    94297992   universal)
    94307993
    9431 cat >>confdefs.h <<\_ACEOF
    9432 #define AC_APPLE_UNIVERSAL_BUILD 1
    9433 _ACEOF
     7994$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    94347995
    94357996     ;; #(
    94367997   *)
    9437      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    9438  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    9439 $as_echo "$as_me: error: unknown endianness
    9440  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    9441    { (exit 1); exit 1; }; } ;;
     7998     as_fn_error $? "unknown endianness
     7999 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    94428000 esac
    94438001
     
    94468004# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    94478005# This bug is HP SR number 8606223364.
    9448 { $as_echo "$as_me:$LINENO: checking size of int" >&5
     8006{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
    94498007$as_echo_n "checking size of int... " >&6; }
    9450 if test "${ac_cv_sizeof_int+set}" = set; then
     8008if ${ac_cv_sizeof_int+:} false; then :
    94518009  $as_echo_n "(cached) " >&6
    94528010else
    9453   if test "$cross_compiling" = yes; then
    9454   # Depending upon the size, compute the lo and hi bounds.
    9455 cat >conftest.$ac_ext <<_ACEOF
    9456 /* confdefs.h.  */
    9457 _ACEOF
    9458 cat confdefs.h >>conftest.$ac_ext
    9459 cat >>conftest.$ac_ext <<_ACEOF
    9460 /* end confdefs.h.  */
    9461 $ac_includes_default
    9462 int
    9463 main ()
    9464 {
    9465 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
    9466 test_array [0] = 0
    9467 
    9468   ;
    9469   return 0;
    9470 }
    9471 _ACEOF
    9472 rm -f conftest.$ac_objext
    9473 if { (ac_try="$ac_compile"
    9474 case "(($ac_try" in
    9475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9476   *) ac_try_echo=$ac_try;;
    9477 esac
    9478 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9479 $as_echo "$ac_try_echo") >&5
    9480   (eval "$ac_compile") 2>conftest.er1
    9481   ac_status=$?
    9482   grep -v '^ *+' conftest.er1 >conftest.err
    9483   rm -f conftest.er1
    9484   cat conftest.err >&5
    9485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9486   (exit $ac_status); } && {
    9487          test -z "$ac_cxx_werror_flag" ||
    9488          test ! -s conftest.err
    9489        } && test -s conftest.$ac_objext; then
    9490   ac_lo=0 ac_mid=0
    9491   while :; do
    9492     cat >conftest.$ac_ext <<_ACEOF
    9493 /* confdefs.h.  */
    9494 _ACEOF
    9495 cat confdefs.h >>conftest.$ac_ext
    9496 cat >>conftest.$ac_ext <<_ACEOF
    9497 /* end confdefs.h.  */
    9498 $ac_includes_default
    9499 int
    9500 main ()
    9501 {
    9502 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    9503 test_array [0] = 0
    9504 
    9505   ;
    9506   return 0;
    9507 }
    9508 _ACEOF
    9509 rm -f conftest.$ac_objext
    9510 if { (ac_try="$ac_compile"
    9511 case "(($ac_try" in
    9512   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9513   *) ac_try_echo=$ac_try;;
    9514 esac
    9515 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9516 $as_echo "$ac_try_echo") >&5
    9517   (eval "$ac_compile") 2>conftest.er1
    9518   ac_status=$?
    9519   grep -v '^ *+' conftest.er1 >conftest.err
    9520   rm -f conftest.er1
    9521   cat conftest.err >&5
    9522   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9523   (exit $ac_status); } && {
    9524          test -z "$ac_cxx_werror_flag" ||
    9525          test ! -s conftest.err
    9526        } && test -s conftest.$ac_objext; then
    9527   ac_hi=$ac_mid; break
    9528 else
    9529   $as_echo "$as_me: failed program was:" >&5
    9530 sed 's/^/| /' conftest.$ac_ext >&5
    9531 
    9532         ac_lo=`expr $ac_mid + 1`
    9533                         if test $ac_lo -le $ac_mid; then
    9534                           ac_lo= ac_hi=
    9535                           break
    9536                         fi
    9537                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9538 fi
    9539 
    9540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9541   done
    9542 else
    9543   $as_echo "$as_me: failed program was:" >&5
    9544 sed 's/^/| /' conftest.$ac_ext >&5
    9545 
    9546         cat >conftest.$ac_ext <<_ACEOF
    9547 /* confdefs.h.  */
    9548 _ACEOF
    9549 cat confdefs.h >>conftest.$ac_ext
    9550 cat >>conftest.$ac_ext <<_ACEOF
    9551 /* end confdefs.h.  */
    9552 $ac_includes_default
    9553 int
    9554 main ()
    9555 {
    9556 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
    9557 test_array [0] = 0
    9558 
    9559   ;
    9560   return 0;
    9561 }
    9562 _ACEOF
    9563 rm -f conftest.$ac_objext
    9564 if { (ac_try="$ac_compile"
    9565 case "(($ac_try" in
    9566   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9567   *) ac_try_echo=$ac_try;;
    9568 esac
    9569 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9570 $as_echo "$ac_try_echo") >&5
    9571   (eval "$ac_compile") 2>conftest.er1
    9572   ac_status=$?
    9573   grep -v '^ *+' conftest.er1 >conftest.err
    9574   rm -f conftest.er1
    9575   cat conftest.err >&5
    9576   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9577   (exit $ac_status); } && {
    9578          test -z "$ac_cxx_werror_flag" ||
    9579          test ! -s conftest.err
    9580        } && test -s conftest.$ac_objext; then
    9581   ac_hi=-1 ac_mid=-1
    9582   while :; do
    9583     cat >conftest.$ac_ext <<_ACEOF
    9584 /* confdefs.h.  */
    9585 _ACEOF
    9586 cat confdefs.h >>conftest.$ac_ext
    9587 cat >>conftest.$ac_ext <<_ACEOF
    9588 /* end confdefs.h.  */
    9589 $ac_includes_default
    9590 int
    9591 main ()
    9592 {
    9593 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
    9594 test_array [0] = 0
    9595 
    9596   ;
    9597   return 0;
    9598 }
    9599 _ACEOF
    9600 rm -f conftest.$ac_objext
    9601 if { (ac_try="$ac_compile"
    9602 case "(($ac_try" in
    9603   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9604   *) ac_try_echo=$ac_try;;
    9605 esac
    9606 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9607 $as_echo "$ac_try_echo") >&5
    9608   (eval "$ac_compile") 2>conftest.er1
    9609   ac_status=$?
    9610   grep -v '^ *+' conftest.er1 >conftest.err
    9611   rm -f conftest.er1
    9612   cat conftest.err >&5
    9613   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9614   (exit $ac_status); } && {
    9615          test -z "$ac_cxx_werror_flag" ||
    9616          test ! -s conftest.err
    9617        } && test -s conftest.$ac_objext; then
    9618   ac_lo=$ac_mid; break
    9619 else
    9620   $as_echo "$as_me: failed program was:" >&5
    9621 sed 's/^/| /' conftest.$ac_ext >&5
    9622 
    9623         ac_hi=`expr '(' $ac_mid ')' - 1`
    9624                         if test $ac_mid -le $ac_hi; then
    9625                           ac_lo= ac_hi=
    9626                           break
    9627                         fi
    9628                         ac_mid=`expr 2 '*' $ac_mid`
    9629 fi
    9630 
    9631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9632   done
    9633 else
    9634   $as_echo "$as_me: failed program was:" >&5
    9635 sed 's/^/| /' conftest.$ac_ext >&5
    9636 
    9637         ac_lo= ac_hi=
    9638 fi
    9639 
    9640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9641 fi
    9642 
    9643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9644 # Binary search between lo and hi bounds.
    9645 while test "x$ac_lo" != "x$ac_hi"; do
    9646   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    9647   cat >conftest.$ac_ext <<_ACEOF
    9648 /* confdefs.h.  */
    9649 _ACEOF
    9650 cat confdefs.h >>conftest.$ac_ext
    9651 cat >>conftest.$ac_ext <<_ACEOF
    9652 /* end confdefs.h.  */
    9653 $ac_includes_default
    9654 int
    9655 main ()
    9656 {
    9657 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    9658 test_array [0] = 0
    9659 
    9660   ;
    9661   return 0;
    9662 }
    9663 _ACEOF
    9664 rm -f conftest.$ac_objext
    9665 if { (ac_try="$ac_compile"
    9666 case "(($ac_try" in
    9667   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9668   *) ac_try_echo=$ac_try;;
    9669 esac
    9670 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9671 $as_echo "$ac_try_echo") >&5
    9672   (eval "$ac_compile") 2>conftest.er1
    9673   ac_status=$?
    9674   grep -v '^ *+' conftest.er1 >conftest.err
    9675   rm -f conftest.er1
    9676   cat conftest.err >&5
    9677   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9678   (exit $ac_status); } && {
    9679          test -z "$ac_cxx_werror_flag" ||
    9680          test ! -s conftest.err
    9681        } && test -s conftest.$ac_objext; then
    9682   ac_hi=$ac_mid
    9683 else
    9684   $as_echo "$as_me: failed program was:" >&5
    9685 sed 's/^/| /' conftest.$ac_ext >&5
    9686 
    9687         ac_lo=`expr '(' $ac_mid ')' + 1`
    9688 fi
    9689 
    9690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9691 done
    9692 case $ac_lo in
    9693 ?*) ac_cv_sizeof_int=$ac_lo;;
    9694 '') if test "$ac_cv_type_int" = yes; then
    9695      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8011  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     8012
     8013else
     8014  if test "$ac_cv_type_int" = yes; then
     8015     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    96968016$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9697 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    9698 See \`config.log' for more details." >&5
    9699 $as_echo "$as_me: error: cannot compute sizeof (int)
    9700 See \`config.log' for more details." >&2;}
    9701    { (exit 77); exit 77; }; }; }
    9702    else
    9703      ac_cv_sizeof_int=0
    9704    fi ;;
    9705 esac
    9706 else
    9707   cat >conftest.$ac_ext <<_ACEOF
    9708 /* confdefs.h.  */
    9709 _ACEOF
    9710 cat confdefs.h >>conftest.$ac_ext
    9711 cat >>conftest.$ac_ext <<_ACEOF
    9712 /* end confdefs.h.  */
    9713 $ac_includes_default
    9714 static long int longval () { return (long int) (sizeof (int)); }
    9715 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
    9716 #include <stdio.h>
    9717 #include <stdlib.h>
    9718 int
    9719 main ()
    9720 {
    9721 
    9722   FILE *f = fopen ("conftest.val", "w");
    9723   if (! f)
    9724     return 1;
    9725   if (((long int) (sizeof (int))) < 0)
    9726     {
    9727       long int i = longval ();
    9728       if (i != ((long int) (sizeof (int))))
    9729         return 1;
    9730       fprintf (f, "%ld", i);
    9731     }
    9732   else
    9733     {
    9734       unsigned long int i = ulongval ();
    9735       if (i != ((long int) (sizeof (int))))
    9736         return 1;
    9737       fprintf (f, "%lu", i);
    9738     }
    9739   /* Do not output a trailing newline, as this causes \r\n confusion
    9740      on some platforms.  */
    9741   return ferror (f) || fclose (f) != 0;
    9742 
    9743   ;
    9744   return 0;
    9745 }
    9746 _ACEOF
    9747 rm -f conftest$ac_exeext
    9748 if { (ac_try="$ac_link"
    9749 case "(($ac_try" in
    9750   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9751   *) ac_try_echo=$ac_try;;
    9752 esac
    9753 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9754 $as_echo "$ac_try_echo") >&5
    9755   (eval "$ac_link") 2>&5
    9756   ac_status=$?
    9757   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9758   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9759   { (case "(($ac_try" in
    9760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9761   *) ac_try_echo=$ac_try;;
    9762 esac
    9763 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9764 $as_echo "$ac_try_echo") >&5
    9765   (eval "$ac_try") 2>&5
    9766   ac_status=$?
    9767   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9768   (exit $ac_status); }; }; then
    9769   ac_cv_sizeof_int=`cat conftest.val`
    9770 else
    9771   $as_echo "$as_me: program exited with status $ac_status" >&5
    9772 $as_echo "$as_me: failed program was:" >&5
    9773 sed 's/^/| /' conftest.$ac_ext >&5
    9774 
    9775 ( exit $ac_status )
    9776 if test "$ac_cv_type_int" = yes; then
    9777      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    9778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9779 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    9780 See \`config.log' for more details." >&5
    9781 $as_echo "$as_me: error: cannot compute sizeof (int)
    9782 See \`config.log' for more details." >&2;}
    9783    { (exit 77); exit 77; }; }; }
     8017as_fn_error 77 "cannot compute sizeof (int)
     8018See \`config.log' for more details" "$LINENO" 5; }
    97848019   else
    97858020     ac_cv_sizeof_int=0
    97868021   fi
    97878022fi
    9788 rm -rf conftest.dSYM
    9789 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9790 fi
    9791 rm -f conftest.val
    9792 fi
    9793 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
     8023
     8024fi
     8025{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
    97948026$as_echo "$ac_cv_sizeof_int" >&6; }
    97958027
     
    98058037# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    98068038# This bug is HP SR number 8606223364.
    9807 { $as_echo "$as_me:$LINENO: checking size of long" >&5
     8039{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
    98088040$as_echo_n "checking size of long... " >&6; }
    9809 if test "${ac_cv_sizeof_long+set}" = set; then
     8041if ${ac_cv_sizeof_long+:} false; then :
    98108042  $as_echo_n "(cached) " >&6
    98118043else
    9812   if test "$cross_compiling" = yes; then
    9813   # Depending upon the size, compute the lo and hi bounds.
    9814 cat >conftest.$ac_ext <<_ACEOF
    9815 /* confdefs.h.  */
    9816 _ACEOF
    9817 cat confdefs.h >>conftest.$ac_ext
    9818 cat >>conftest.$ac_ext <<_ACEOF
    9819 /* end confdefs.h.  */
    9820 $ac_includes_default
    9821 int
    9822 main ()
    9823 {
    9824 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
    9825 test_array [0] = 0
    9826 
    9827   ;
    9828   return 0;
    9829 }
    9830 _ACEOF
    9831 rm -f conftest.$ac_objext
    9832 if { (ac_try="$ac_compile"
    9833 case "(($ac_try" in
    9834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9835   *) ac_try_echo=$ac_try;;
    9836 esac
    9837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9838 $as_echo "$ac_try_echo") >&5
    9839   (eval "$ac_compile") 2>conftest.er1
    9840   ac_status=$?
    9841   grep -v '^ *+' conftest.er1 >conftest.err
    9842   rm -f conftest.er1
    9843   cat conftest.err >&5
    9844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9845   (exit $ac_status); } && {
    9846          test -z "$ac_cxx_werror_flag" ||
    9847          test ! -s conftest.err
    9848        } && test -s conftest.$ac_objext; then
    9849   ac_lo=0 ac_mid=0
    9850   while :; do
    9851     cat >conftest.$ac_ext <<_ACEOF
    9852 /* confdefs.h.  */
    9853 _ACEOF
    9854 cat confdefs.h >>conftest.$ac_ext
    9855 cat >>conftest.$ac_ext <<_ACEOF
    9856 /* end confdefs.h.  */
    9857 $ac_includes_default
    9858 int
    9859 main ()
    9860 {
    9861 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    9862 test_array [0] = 0
    9863 
    9864   ;
    9865   return 0;
    9866 }
    9867 _ACEOF
    9868 rm -f conftest.$ac_objext
    9869 if { (ac_try="$ac_compile"
    9870 case "(($ac_try" in
    9871   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9872   *) ac_try_echo=$ac_try;;
    9873 esac
    9874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9875 $as_echo "$ac_try_echo") >&5
    9876   (eval "$ac_compile") 2>conftest.er1
    9877   ac_status=$?
    9878   grep -v '^ *+' conftest.er1 >conftest.err
    9879   rm -f conftest.er1
    9880   cat conftest.err >&5
    9881   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9882   (exit $ac_status); } && {
    9883          test -z "$ac_cxx_werror_flag" ||
    9884          test ! -s conftest.err
    9885        } && test -s conftest.$ac_objext; then
    9886   ac_hi=$ac_mid; break
    9887 else
    9888   $as_echo "$as_me: failed program was:" >&5
    9889 sed 's/^/| /' conftest.$ac_ext >&5
    9890 
    9891         ac_lo=`expr $ac_mid + 1`
    9892                         if test $ac_lo -le $ac_mid; then
    9893                           ac_lo= ac_hi=
    9894                           break
    9895                         fi
    9896                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9897 fi
    9898 
    9899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9900   done
    9901 else
    9902   $as_echo "$as_me: failed program was:" >&5
    9903 sed 's/^/| /' conftest.$ac_ext >&5
    9904 
    9905         cat >conftest.$ac_ext <<_ACEOF
    9906 /* confdefs.h.  */
    9907 _ACEOF
    9908 cat confdefs.h >>conftest.$ac_ext
    9909 cat >>conftest.$ac_ext <<_ACEOF
    9910 /* end confdefs.h.  */
    9911 $ac_includes_default
    9912 int
    9913 main ()
    9914 {
    9915 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
    9916 test_array [0] = 0
    9917 
    9918   ;
    9919   return 0;
    9920 }
    9921 _ACEOF
    9922 rm -f conftest.$ac_objext
    9923 if { (ac_try="$ac_compile"
    9924 case "(($ac_try" in
    9925   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9926   *) ac_try_echo=$ac_try;;
    9927 esac
    9928 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9929 $as_echo "$ac_try_echo") >&5
    9930   (eval "$ac_compile") 2>conftest.er1
    9931   ac_status=$?
    9932   grep -v '^ *+' conftest.er1 >conftest.err
    9933   rm -f conftest.er1
    9934   cat conftest.err >&5
    9935   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9936   (exit $ac_status); } && {
    9937          test -z "$ac_cxx_werror_flag" ||
    9938          test ! -s conftest.err
    9939        } && test -s conftest.$ac_objext; then
    9940   ac_hi=-1 ac_mid=-1
    9941   while :; do
    9942     cat >conftest.$ac_ext <<_ACEOF
    9943 /* confdefs.h.  */
    9944 _ACEOF
    9945 cat confdefs.h >>conftest.$ac_ext
    9946 cat >>conftest.$ac_ext <<_ACEOF
    9947 /* end confdefs.h.  */
    9948 $ac_includes_default
    9949 int
    9950 main ()
    9951 {
    9952 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
    9953 test_array [0] = 0
    9954 
    9955   ;
    9956   return 0;
    9957 }
    9958 _ACEOF
    9959 rm -f conftest.$ac_objext
    9960 if { (ac_try="$ac_compile"
    9961 case "(($ac_try" in
    9962   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9963   *) ac_try_echo=$ac_try;;
    9964 esac
    9965 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9966 $as_echo "$ac_try_echo") >&5
    9967   (eval "$ac_compile") 2>conftest.er1
    9968   ac_status=$?
    9969   grep -v '^ *+' conftest.er1 >conftest.err
    9970   rm -f conftest.er1
    9971   cat conftest.err >&5
    9972   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9973   (exit $ac_status); } && {
    9974          test -z "$ac_cxx_werror_flag" ||
    9975          test ! -s conftest.err
    9976        } && test -s conftest.$ac_objext; then
    9977   ac_lo=$ac_mid; break
    9978 else
    9979   $as_echo "$as_me: failed program was:" >&5
    9980 sed 's/^/| /' conftest.$ac_ext >&5
    9981 
    9982         ac_hi=`expr '(' $ac_mid ')' - 1`
    9983                         if test $ac_mid -le $ac_hi; then
    9984                           ac_lo= ac_hi=
    9985                           break
    9986                         fi
    9987                         ac_mid=`expr 2 '*' $ac_mid`
    9988 fi
    9989 
    9990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9991   done
    9992 else
    9993   $as_echo "$as_me: failed program was:" >&5
    9994 sed 's/^/| /' conftest.$ac_ext >&5
    9995 
    9996         ac_lo= ac_hi=
    9997 fi
    9998 
    9999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10000 fi
    10001 
    10002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10003 # Binary search between lo and hi bounds.
    10004 while test "x$ac_lo" != "x$ac_hi"; do
    10005   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10006   cat >conftest.$ac_ext <<_ACEOF
    10007 /* confdefs.h.  */
    10008 _ACEOF
    10009 cat confdefs.h >>conftest.$ac_ext
    10010 cat >>conftest.$ac_ext <<_ACEOF
    10011 /* end confdefs.h.  */
    10012 $ac_includes_default
    10013 int
    10014 main ()
    10015 {
    10016 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    10017 test_array [0] = 0
    10018 
    10019   ;
    10020   return 0;
    10021 }
    10022 _ACEOF
    10023 rm -f conftest.$ac_objext
    10024 if { (ac_try="$ac_compile"
    10025 case "(($ac_try" in
    10026   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10027   *) ac_try_echo=$ac_try;;
    10028 esac
    10029 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10030 $as_echo "$ac_try_echo") >&5
    10031   (eval "$ac_compile") 2>conftest.er1
    10032   ac_status=$?
    10033   grep -v '^ *+' conftest.er1 >conftest.err
    10034   rm -f conftest.er1
    10035   cat conftest.err >&5
    10036   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10037   (exit $ac_status); } && {
    10038          test -z "$ac_cxx_werror_flag" ||
    10039          test ! -s conftest.err
    10040        } && test -s conftest.$ac_objext; then
    10041   ac_hi=$ac_mid
    10042 else
    10043   $as_echo "$as_me: failed program was:" >&5
    10044 sed 's/^/| /' conftest.$ac_ext >&5
    10045 
    10046         ac_lo=`expr '(' $ac_mid ')' + 1`
    10047 fi
    10048 
    10049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10050 done
    10051 case $ac_lo in
    10052 ?*) ac_cv_sizeof_long=$ac_lo;;
    10053 '') if test "$ac_cv_type_long" = yes; then
    10054      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8044  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     8045
     8046else
     8047  if test "$ac_cv_type_long" = yes; then
     8048     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    100558049$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10056 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    10057 See \`config.log' for more details." >&5
    10058 $as_echo "$as_me: error: cannot compute sizeof (long)
    10059 See \`config.log' for more details." >&2;}
    10060    { (exit 77); exit 77; }; }; }
    10061    else
    10062      ac_cv_sizeof_long=0
    10063    fi ;;
    10064 esac
    10065 else
    10066   cat >conftest.$ac_ext <<_ACEOF
    10067 /* confdefs.h.  */
    10068 _ACEOF
    10069 cat confdefs.h >>conftest.$ac_ext
    10070 cat >>conftest.$ac_ext <<_ACEOF
    10071 /* end confdefs.h.  */
    10072 $ac_includes_default
    10073 static long int longval () { return (long int) (sizeof (long)); }
    10074 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
    10075 #include <stdio.h>
    10076 #include <stdlib.h>
    10077 int
    10078 main ()
    10079 {
    10080 
    10081   FILE *f = fopen ("conftest.val", "w");
    10082   if (! f)
    10083     return 1;
    10084   if (((long int) (sizeof (long))) < 0)
    10085     {
    10086       long int i = longval ();
    10087       if (i != ((long int) (sizeof (long))))
    10088         return 1;
    10089       fprintf (f, "%ld", i);
    10090     }
    10091   else
    10092     {
    10093       unsigned long int i = ulongval ();
    10094       if (i != ((long int) (sizeof (long))))
    10095         return 1;
    10096       fprintf (f, "%lu", i);
    10097     }
    10098   /* Do not output a trailing newline, as this causes \r\n confusion
    10099      on some platforms.  */
    10100   return ferror (f) || fclose (f) != 0;
    10101 
    10102   ;
    10103   return 0;
    10104 }
    10105 _ACEOF
    10106 rm -f conftest$ac_exeext
    10107 if { (ac_try="$ac_link"
    10108 case "(($ac_try" in
    10109   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10110   *) ac_try_echo=$ac_try;;
    10111 esac
    10112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10113 $as_echo "$ac_try_echo") >&5
    10114   (eval "$ac_link") 2>&5
    10115   ac_status=$?
    10116   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10117   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10118   { (case "(($ac_try" in
    10119   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10120   *) ac_try_echo=$ac_try;;
    10121 esac
    10122 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10123 $as_echo "$ac_try_echo") >&5
    10124   (eval "$ac_try") 2>&5
    10125   ac_status=$?
    10126   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10127   (exit $ac_status); }; }; then
    10128   ac_cv_sizeof_long=`cat conftest.val`
    10129 else
    10130   $as_echo "$as_me: program exited with status $ac_status" >&5
    10131 $as_echo "$as_me: failed program was:" >&5
    10132 sed 's/^/| /' conftest.$ac_ext >&5
    10133 
    10134 ( exit $ac_status )
    10135 if test "$ac_cv_type_long" = yes; then
    10136      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10137 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10138 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    10139 See \`config.log' for more details." >&5
    10140 $as_echo "$as_me: error: cannot compute sizeof (long)
    10141 See \`config.log' for more details." >&2;}
    10142    { (exit 77); exit 77; }; }; }
     8050as_fn_error 77 "cannot compute sizeof (long)
     8051See \`config.log' for more details" "$LINENO" 5; }
    101438052   else
    101448053     ac_cv_sizeof_long=0
    101458054   fi
    101468055fi
    10147 rm -rf conftest.dSYM
    10148 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10149 fi
    10150 rm -f conftest.val
    10151 fi
    10152 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
     8056
     8057fi
     8058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
    101538059$as_echo "$ac_cv_sizeof_long" >&6; }
    101548060
     
    101648070# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    101658071# This bug is HP SR number 8606223364.
    10166 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
     8072{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
    101678073$as_echo_n "checking size of long long... " >&6; }
    10168 if test "${ac_cv_sizeof_long_long+set}" = set; then
     8074if ${ac_cv_sizeof_long_long+:} false; then :
    101698075  $as_echo_n "(cached) " >&6
    101708076else
    10171   if test "$cross_compiling" = yes; then
    10172   # Depending upon the size, compute the lo and hi bounds.
    10173 cat >conftest.$ac_ext <<_ACEOF
    10174 /* confdefs.h.  */
    10175 _ACEOF
    10176 cat confdefs.h >>conftest.$ac_ext
    10177 cat >>conftest.$ac_ext <<_ACEOF
    10178 /* end confdefs.h.  */
    10179 $ac_includes_default
    10180 int
    10181 main ()
    10182 {
    10183 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
    10184 test_array [0] = 0
    10185 
    10186   ;
    10187   return 0;
    10188 }
    10189 _ACEOF
    10190 rm -f conftest.$ac_objext
    10191 if { (ac_try="$ac_compile"
    10192 case "(($ac_try" in
    10193   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10194   *) ac_try_echo=$ac_try;;
    10195 esac
    10196 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10197 $as_echo "$ac_try_echo") >&5
    10198   (eval "$ac_compile") 2>conftest.er1
    10199   ac_status=$?
    10200   grep -v '^ *+' conftest.er1 >conftest.err
    10201   rm -f conftest.er1
    10202   cat conftest.err >&5
    10203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10204   (exit $ac_status); } && {
    10205          test -z "$ac_cxx_werror_flag" ||
    10206          test ! -s conftest.err
    10207        } && test -s conftest.$ac_objext; then
    10208   ac_lo=0 ac_mid=0
    10209   while :; do
    10210     cat >conftest.$ac_ext <<_ACEOF
    10211 /* confdefs.h.  */
    10212 _ACEOF
    10213 cat confdefs.h >>conftest.$ac_ext
    10214 cat >>conftest.$ac_ext <<_ACEOF
    10215 /* end confdefs.h.  */
    10216 $ac_includes_default
    10217 int
    10218 main ()
    10219 {
    10220 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    10221 test_array [0] = 0
    10222 
    10223   ;
    10224   return 0;
    10225 }
    10226 _ACEOF
    10227 rm -f conftest.$ac_objext
    10228 if { (ac_try="$ac_compile"
    10229 case "(($ac_try" in
    10230   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10231   *) ac_try_echo=$ac_try;;
    10232 esac
    10233 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10234 $as_echo "$ac_try_echo") >&5
    10235   (eval "$ac_compile") 2>conftest.er1
    10236   ac_status=$?
    10237   grep -v '^ *+' conftest.er1 >conftest.err
    10238   rm -f conftest.er1
    10239   cat conftest.err >&5
    10240   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10241   (exit $ac_status); } && {
    10242          test -z "$ac_cxx_werror_flag" ||
    10243          test ! -s conftest.err
    10244        } && test -s conftest.$ac_objext; then
    10245   ac_hi=$ac_mid; break
    10246 else
    10247   $as_echo "$as_me: failed program was:" >&5
    10248 sed 's/^/| /' conftest.$ac_ext >&5
    10249 
    10250         ac_lo=`expr $ac_mid + 1`
    10251                         if test $ac_lo -le $ac_mid; then
    10252                           ac_lo= ac_hi=
    10253                           break
    10254                         fi
    10255                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10256 fi
    10257 
    10258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10259   done
    10260 else
    10261   $as_echo "$as_me: failed program was:" >&5
    10262 sed 's/^/| /' conftest.$ac_ext >&5
    10263 
    10264         cat >conftest.$ac_ext <<_ACEOF
    10265 /* confdefs.h.  */
    10266 _ACEOF
    10267 cat confdefs.h >>conftest.$ac_ext
    10268 cat >>conftest.$ac_ext <<_ACEOF
    10269 /* end confdefs.h.  */
    10270 $ac_includes_default
    10271 int
    10272 main ()
    10273 {
    10274 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
    10275 test_array [0] = 0
    10276 
    10277   ;
    10278   return 0;
    10279 }
    10280 _ACEOF
    10281 rm -f conftest.$ac_objext
    10282 if { (ac_try="$ac_compile"
    10283 case "(($ac_try" in
    10284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10285   *) ac_try_echo=$ac_try;;
    10286 esac
    10287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10288 $as_echo "$ac_try_echo") >&5
    10289   (eval "$ac_compile") 2>conftest.er1
    10290   ac_status=$?
    10291   grep -v '^ *+' conftest.er1 >conftest.err
    10292   rm -f conftest.er1
    10293   cat conftest.err >&5
    10294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10295   (exit $ac_status); } && {
    10296          test -z "$ac_cxx_werror_flag" ||
    10297          test ! -s conftest.err
    10298        } && test -s conftest.$ac_objext; then
    10299   ac_hi=-1 ac_mid=-1
    10300   while :; do
    10301     cat >conftest.$ac_ext <<_ACEOF
    10302 /* confdefs.h.  */
    10303 _ACEOF
    10304 cat confdefs.h >>conftest.$ac_ext
    10305 cat >>conftest.$ac_ext <<_ACEOF
    10306 /* end confdefs.h.  */
    10307 $ac_includes_default
    10308 int
    10309 main ()
    10310 {
    10311 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
    10312 test_array [0] = 0
    10313 
    10314   ;
    10315   return 0;
    10316 }
    10317 _ACEOF
    10318 rm -f conftest.$ac_objext
    10319 if { (ac_try="$ac_compile"
    10320 case "(($ac_try" in
    10321   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10322   *) ac_try_echo=$ac_try;;
    10323 esac
    10324 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10325 $as_echo "$ac_try_echo") >&5
    10326   (eval "$ac_compile") 2>conftest.er1
    10327   ac_status=$?
    10328   grep -v '^ *+' conftest.er1 >conftest.err
    10329   rm -f conftest.er1
    10330   cat conftest.err >&5
    10331   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10332   (exit $ac_status); } && {
    10333          test -z "$ac_cxx_werror_flag" ||
    10334          test ! -s conftest.err
    10335        } && test -s conftest.$ac_objext; then
    10336   ac_lo=$ac_mid; break
    10337 else
    10338   $as_echo "$as_me: failed program was:" >&5
    10339 sed 's/^/| /' conftest.$ac_ext >&5
    10340 
    10341         ac_hi=`expr '(' $ac_mid ')' - 1`
    10342                         if test $ac_mid -le $ac_hi; then
    10343                           ac_lo= ac_hi=
    10344                           break
    10345                         fi
    10346                         ac_mid=`expr 2 '*' $ac_mid`
    10347 fi
    10348 
    10349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10350   done
    10351 else
    10352   $as_echo "$as_me: failed program was:" >&5
    10353 sed 's/^/| /' conftest.$ac_ext >&5
    10354 
    10355         ac_lo= ac_hi=
    10356 fi
    10357 
    10358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10359 fi
    10360 
    10361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10362 # Binary search between lo and hi bounds.
    10363 while test "x$ac_lo" != "x$ac_hi"; do
    10364   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10365   cat >conftest.$ac_ext <<_ACEOF
    10366 /* confdefs.h.  */
    10367 _ACEOF
    10368 cat confdefs.h >>conftest.$ac_ext
    10369 cat >>conftest.$ac_ext <<_ACEOF
    10370 /* end confdefs.h.  */
    10371 $ac_includes_default
    10372 int
    10373 main ()
    10374 {
    10375 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    10376 test_array [0] = 0
    10377 
    10378   ;
    10379   return 0;
    10380 }
    10381 _ACEOF
    10382 rm -f conftest.$ac_objext
    10383 if { (ac_try="$ac_compile"
    10384 case "(($ac_try" in
    10385   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10386   *) ac_try_echo=$ac_try;;
    10387 esac
    10388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10389 $as_echo "$ac_try_echo") >&5
    10390   (eval "$ac_compile") 2>conftest.er1
    10391   ac_status=$?
    10392   grep -v '^ *+' conftest.er1 >conftest.err
    10393   rm -f conftest.er1
    10394   cat conftest.err >&5
    10395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10396   (exit $ac_status); } && {
    10397          test -z "$ac_cxx_werror_flag" ||
    10398          test ! -s conftest.err
    10399        } && test -s conftest.$ac_objext; then
    10400   ac_hi=$ac_mid
    10401 else
    10402   $as_echo "$as_me: failed program was:" >&5
    10403 sed 's/^/| /' conftest.$ac_ext >&5
    10404 
    10405         ac_lo=`expr '(' $ac_mid ')' + 1`
    10406 fi
    10407 
    10408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10409 done
    10410 case $ac_lo in
    10411 ?*) ac_cv_sizeof_long_long=$ac_lo;;
    10412 '') if test "$ac_cv_type_long_long" = yes; then
    10413      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8077  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     8078
     8079else
     8080  if test "$ac_cv_type_long_long" = yes; then
     8081     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    104148082$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10415 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    10416 See \`config.log' for more details." >&5
    10417 $as_echo "$as_me: error: cannot compute sizeof (long long)
    10418 See \`config.log' for more details." >&2;}
    10419    { (exit 77); exit 77; }; }; }
    10420    else
    10421      ac_cv_sizeof_long_long=0
    10422    fi ;;
    10423 esac
    10424 else
    10425   cat >conftest.$ac_ext <<_ACEOF
    10426 /* confdefs.h.  */
    10427 _ACEOF
    10428 cat confdefs.h >>conftest.$ac_ext
    10429 cat >>conftest.$ac_ext <<_ACEOF
    10430 /* end confdefs.h.  */
    10431 $ac_includes_default
    10432 static long int longval () { return (long int) (sizeof (long long)); }
    10433 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
    10434 #include <stdio.h>
    10435 #include <stdlib.h>
    10436 int
    10437 main ()
    10438 {
    10439 
    10440   FILE *f = fopen ("conftest.val", "w");
    10441   if (! f)
    10442     return 1;
    10443   if (((long int) (sizeof (long long))) < 0)
    10444     {
    10445       long int i = longval ();
    10446       if (i != ((long int) (sizeof (long long))))
    10447         return 1;
    10448       fprintf (f, "%ld", i);
    10449     }
    10450   else
    10451     {
    10452       unsigned long int i = ulongval ();
    10453       if (i != ((long int) (sizeof (long long))))
    10454         return 1;
    10455       fprintf (f, "%lu", i);
    10456     }
    10457   /* Do not output a trailing newline, as this causes \r\n confusion
    10458      on some platforms.  */
    10459   return ferror (f) || fclose (f) != 0;
    10460 
    10461   ;
    10462   return 0;
    10463 }
    10464 _ACEOF
    10465 rm -f conftest$ac_exeext
    10466 if { (ac_try="$ac_link"
    10467 case "(($ac_try" in
    10468   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10469   *) ac_try_echo=$ac_try;;
    10470 esac
    10471 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10472 $as_echo "$ac_try_echo") >&5
    10473   (eval "$ac_link") 2>&5
    10474   ac_status=$?
    10475   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10476   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10477   { (case "(($ac_try" in
    10478   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10479   *) ac_try_echo=$ac_try;;
    10480 esac
    10481 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10482 $as_echo "$ac_try_echo") >&5
    10483   (eval "$ac_try") 2>&5
    10484   ac_status=$?
    10485   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10486   (exit $ac_status); }; }; then
    10487   ac_cv_sizeof_long_long=`cat conftest.val`
    10488 else
    10489   $as_echo "$as_me: program exited with status $ac_status" >&5
    10490 $as_echo "$as_me: failed program was:" >&5
    10491 sed 's/^/| /' conftest.$ac_ext >&5
    10492 
    10493 ( exit $ac_status )
    10494 if test "$ac_cv_type_long_long" = yes; then
    10495      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10496 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10497 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    10498 See \`config.log' for more details." >&5
    10499 $as_echo "$as_me: error: cannot compute sizeof (long long)
    10500 See \`config.log' for more details." >&2;}
    10501    { (exit 77); exit 77; }; }; }
     8083as_fn_error 77 "cannot compute sizeof (long long)
     8084See \`config.log' for more details" "$LINENO" 5; }
    105028085   else
    105038086     ac_cv_sizeof_long_long=0
    105048087   fi
    105058088fi
    10506 rm -rf conftest.dSYM
    10507 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10508 fi
    10509 rm -f conftest.val
    10510 fi
    10511 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
     8089
     8090fi
     8091{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
    105128092$as_echo "$ac_cv_sizeof_long_long" >&6; }
    105138093
     
    105238103# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    105248104# This bug is HP SR number 8606223364.
    10525 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
     8105{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
    105268106$as_echo_n "checking size of void *... " >&6; }
    10527 if test "${ac_cv_sizeof_void_p+set}" = set; then
     8107if ${ac_cv_sizeof_void_p+:} false; then :
    105288108  $as_echo_n "(cached) " >&6
    105298109else
    10530   if test "$cross_compiling" = yes; then
    10531   # Depending upon the size, compute the lo and hi bounds.
    10532 cat >conftest.$ac_ext <<_ACEOF
    10533 /* confdefs.h.  */
    10534 _ACEOF
    10535 cat confdefs.h >>conftest.$ac_ext
    10536 cat >>conftest.$ac_ext <<_ACEOF
    10537 /* end confdefs.h.  */
    10538 $ac_includes_default
    10539 int
    10540 main ()
    10541 {
    10542 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
    10543 test_array [0] = 0
    10544 
    10545   ;
    10546   return 0;
    10547 }
    10548 _ACEOF
    10549 rm -f conftest.$ac_objext
    10550 if { (ac_try="$ac_compile"
    10551 case "(($ac_try" in
    10552   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10553   *) ac_try_echo=$ac_try;;
    10554 esac
    10555 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10556 $as_echo "$ac_try_echo") >&5
    10557   (eval "$ac_compile") 2>conftest.er1
    10558   ac_status=$?
    10559   grep -v '^ *+' conftest.er1 >conftest.err
    10560   rm -f conftest.er1
    10561   cat conftest.err >&5
    10562   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10563   (exit $ac_status); } && {
    10564          test -z "$ac_cxx_werror_flag" ||
    10565          test ! -s conftest.err
    10566        } && test -s conftest.$ac_objext; then
    10567   ac_lo=0 ac_mid=0
    10568   while :; do
    10569     cat >conftest.$ac_ext <<_ACEOF
    10570 /* confdefs.h.  */
    10571 _ACEOF
    10572 cat confdefs.h >>conftest.$ac_ext
    10573 cat >>conftest.$ac_ext <<_ACEOF
    10574 /* end confdefs.h.  */
    10575 $ac_includes_default
    10576 int
    10577 main ()
    10578 {
    10579 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    10580 test_array [0] = 0
    10581 
    10582   ;
    10583   return 0;
    10584 }
    10585 _ACEOF
    10586 rm -f conftest.$ac_objext
    10587 if { (ac_try="$ac_compile"
    10588 case "(($ac_try" in
    10589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10590   *) ac_try_echo=$ac_try;;
    10591 esac
    10592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10593 $as_echo "$ac_try_echo") >&5
    10594   (eval "$ac_compile") 2>conftest.er1
    10595   ac_status=$?
    10596   grep -v '^ *+' conftest.er1 >conftest.err
    10597   rm -f conftest.er1
    10598   cat conftest.err >&5
    10599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10600   (exit $ac_status); } && {
    10601          test -z "$ac_cxx_werror_flag" ||
    10602          test ! -s conftest.err
    10603        } && test -s conftest.$ac_objext; then
    10604   ac_hi=$ac_mid; break
    10605 else
    10606   $as_echo "$as_me: failed program was:" >&5
    10607 sed 's/^/| /' conftest.$ac_ext >&5
    10608 
    10609         ac_lo=`expr $ac_mid + 1`
    10610                         if test $ac_lo -le $ac_mid; then
    10611                           ac_lo= ac_hi=
    10612                           break
    10613                         fi
    10614                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10615 fi
    10616 
    10617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10618   done
    10619 else
    10620   $as_echo "$as_me: failed program was:" >&5
    10621 sed 's/^/| /' conftest.$ac_ext >&5
    10622 
    10623         cat >conftest.$ac_ext <<_ACEOF
    10624 /* confdefs.h.  */
    10625 _ACEOF
    10626 cat confdefs.h >>conftest.$ac_ext
    10627 cat >>conftest.$ac_ext <<_ACEOF
    10628 /* end confdefs.h.  */
    10629 $ac_includes_default
    10630 int
    10631 main ()
    10632 {
    10633 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
    10634 test_array [0] = 0
    10635 
    10636   ;
    10637   return 0;
    10638 }
    10639 _ACEOF
    10640 rm -f conftest.$ac_objext
    10641 if { (ac_try="$ac_compile"
    10642 case "(($ac_try" in
    10643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10644   *) ac_try_echo=$ac_try;;
    10645 esac
    10646 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10647 $as_echo "$ac_try_echo") >&5
    10648   (eval "$ac_compile") 2>conftest.er1
    10649   ac_status=$?
    10650   grep -v '^ *+' conftest.er1 >conftest.err
    10651   rm -f conftest.er1
    10652   cat conftest.err >&5
    10653   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10654   (exit $ac_status); } && {
    10655          test -z "$ac_cxx_werror_flag" ||
    10656          test ! -s conftest.err
    10657        } && test -s conftest.$ac_objext; then
    10658   ac_hi=-1 ac_mid=-1
    10659   while :; do
    10660     cat >conftest.$ac_ext <<_ACEOF
    10661 /* confdefs.h.  */
    10662 _ACEOF
    10663 cat confdefs.h >>conftest.$ac_ext
    10664 cat >>conftest.$ac_ext <<_ACEOF
    10665 /* end confdefs.h.  */
    10666 $ac_includes_default
    10667 int
    10668 main ()
    10669 {
    10670 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
    10671 test_array [0] = 0
    10672 
    10673   ;
    10674   return 0;
    10675 }
    10676 _ACEOF
    10677 rm -f conftest.$ac_objext
    10678 if { (ac_try="$ac_compile"
    10679 case "(($ac_try" in
    10680   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10681   *) ac_try_echo=$ac_try;;
    10682 esac
    10683 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10684 $as_echo "$ac_try_echo") >&5
    10685   (eval "$ac_compile") 2>conftest.er1
    10686   ac_status=$?
    10687   grep -v '^ *+' conftest.er1 >conftest.err
    10688   rm -f conftest.er1
    10689   cat conftest.err >&5
    10690   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10691   (exit $ac_status); } && {
    10692          test -z "$ac_cxx_werror_flag" ||
    10693          test ! -s conftest.err
    10694        } && test -s conftest.$ac_objext; then
    10695   ac_lo=$ac_mid; break
    10696 else
    10697   $as_echo "$as_me: failed program was:" >&5
    10698 sed 's/^/| /' conftest.$ac_ext >&5
    10699 
    10700         ac_hi=`expr '(' $ac_mid ')' - 1`
    10701                         if test $ac_mid -le $ac_hi; then
    10702                           ac_lo= ac_hi=
    10703                           break
    10704                         fi
    10705                         ac_mid=`expr 2 '*' $ac_mid`
    10706 fi
    10707 
    10708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10709   done
    10710 else
    10711   $as_echo "$as_me: failed program was:" >&5
    10712 sed 's/^/| /' conftest.$ac_ext >&5
    10713 
    10714         ac_lo= ac_hi=
    10715 fi
    10716 
    10717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10718 fi
    10719 
    10720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10721 # Binary search between lo and hi bounds.
    10722 while test "x$ac_lo" != "x$ac_hi"; do
    10723   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10724   cat >conftest.$ac_ext <<_ACEOF
    10725 /* confdefs.h.  */
    10726 _ACEOF
    10727 cat confdefs.h >>conftest.$ac_ext
    10728 cat >>conftest.$ac_ext <<_ACEOF
    10729 /* end confdefs.h.  */
    10730 $ac_includes_default
    10731 int
    10732 main ()
    10733 {
    10734 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    10735 test_array [0] = 0
    10736 
    10737   ;
    10738   return 0;
    10739 }
    10740 _ACEOF
    10741 rm -f conftest.$ac_objext
    10742 if { (ac_try="$ac_compile"
    10743 case "(($ac_try" in
    10744   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10745   *) ac_try_echo=$ac_try;;
    10746 esac
    10747 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10748 $as_echo "$ac_try_echo") >&5
    10749   (eval "$ac_compile") 2>conftest.er1
    10750   ac_status=$?
    10751   grep -v '^ *+' conftest.er1 >conftest.err
    10752   rm -f conftest.er1
    10753   cat conftest.err >&5
    10754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10755   (exit $ac_status); } && {
    10756          test -z "$ac_cxx_werror_flag" ||
    10757          test ! -s conftest.err
    10758        } && test -s conftest.$ac_objext; then
    10759   ac_hi=$ac_mid
    10760 else
    10761   $as_echo "$as_me: failed program was:" >&5
    10762 sed 's/^/| /' conftest.$ac_ext >&5
    10763 
    10764         ac_lo=`expr '(' $ac_mid ')' + 1`
    10765 fi
    10766 
    10767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10768 done
    10769 case $ac_lo in
    10770 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    10771 '') if test "$ac_cv_type_void_p" = yes; then
    10772      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8110  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     8111
     8112else
     8113  if test "$ac_cv_type_void_p" = yes; then
     8114     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    107738115$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10774 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    10775 See \`config.log' for more details." >&5
    10776 $as_echo "$as_me: error: cannot compute sizeof (void *)
    10777 See \`config.log' for more details." >&2;}
    10778    { (exit 77); exit 77; }; }; }
    10779    else
    10780      ac_cv_sizeof_void_p=0
    10781    fi ;;
    10782 esac
    10783 else
    10784   cat >conftest.$ac_ext <<_ACEOF
    10785 /* confdefs.h.  */
    10786 _ACEOF
    10787 cat confdefs.h >>conftest.$ac_ext
    10788 cat >>conftest.$ac_ext <<_ACEOF
    10789 /* end confdefs.h.  */
    10790 $ac_includes_default
    10791 static long int longval () { return (long int) (sizeof (void *)); }
    10792 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
    10793 #include <stdio.h>
    10794 #include <stdlib.h>
    10795 int
    10796 main ()
    10797 {
    10798 
    10799   FILE *f = fopen ("conftest.val", "w");
    10800   if (! f)
    10801     return 1;
    10802   if (((long int) (sizeof (void *))) < 0)
    10803     {
    10804       long int i = longval ();
    10805       if (i != ((long int) (sizeof (void *))))
    10806         return 1;
    10807       fprintf (f, "%ld", i);
    10808     }
    10809   else
    10810     {
    10811       unsigned long int i = ulongval ();
    10812       if (i != ((long int) (sizeof (void *))))
    10813         return 1;
    10814       fprintf (f, "%lu", i);
    10815     }
    10816   /* Do not output a trailing newline, as this causes \r\n confusion
    10817      on some platforms.  */
    10818   return ferror (f) || fclose (f) != 0;
    10819 
    10820   ;
    10821   return 0;
    10822 }
    10823 _ACEOF
    10824 rm -f conftest$ac_exeext
    10825 if { (ac_try="$ac_link"
    10826 case "(($ac_try" in
    10827   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10828   *) ac_try_echo=$ac_try;;
    10829 esac
    10830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10831 $as_echo "$ac_try_echo") >&5
    10832   (eval "$ac_link") 2>&5
    10833   ac_status=$?
    10834   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10835   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10836   { (case "(($ac_try" in
    10837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10838   *) ac_try_echo=$ac_try;;
    10839 esac
    10840 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10841 $as_echo "$ac_try_echo") >&5
    10842   (eval "$ac_try") 2>&5
    10843   ac_status=$?
    10844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10845   (exit $ac_status); }; }; then
    10846   ac_cv_sizeof_void_p=`cat conftest.val`
    10847 else
    10848   $as_echo "$as_me: program exited with status $ac_status" >&5
    10849 $as_echo "$as_me: failed program was:" >&5
    10850 sed 's/^/| /' conftest.$ac_ext >&5
    10851 
    10852 ( exit $ac_status )
    10853 if test "$ac_cv_type_void_p" = yes; then
    10854      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10855 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10856 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    10857 See \`config.log' for more details." >&5
    10858 $as_echo "$as_me: error: cannot compute sizeof (void *)
    10859 See \`config.log' for more details." >&2;}
    10860    { (exit 77); exit 77; }; }; }
     8116as_fn_error 77 "cannot compute sizeof (void *)
     8117See \`config.log' for more details" "$LINENO" 5; }
    108618118   else
    108628119     ac_cv_sizeof_void_p=0
    108638120   fi
    108648121fi
    10865 rm -rf conftest.dSYM
    10866 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10867 fi
    10868 rm -f conftest.val
    10869 fi
    10870 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
     8122
     8123fi
     8124{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
    108718125$as_echo "$ac_cv_sizeof_void_p" >&6; }
    108728126
     
    108828136# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    108838137# This bug is HP SR number 8606223364.
    10884 { $as_echo "$as_me:$LINENO: checking size of float" >&5
     8138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
    108858139$as_echo_n "checking size of float... " >&6; }
    10886 if test "${ac_cv_sizeof_float+set}" = set; then
     8140if ${ac_cv_sizeof_float+:} false; then :
    108878141  $as_echo_n "(cached) " >&6
    108888142else
    10889   if test "$cross_compiling" = yes; then
    10890   # Depending upon the size, compute the lo and hi bounds.
    10891 cat >conftest.$ac_ext <<_ACEOF
    10892 /* confdefs.h.  */
    10893 _ACEOF
    10894 cat confdefs.h >>conftest.$ac_ext
    10895 cat >>conftest.$ac_ext <<_ACEOF
    10896 /* end confdefs.h.  */
    10897 $ac_includes_default
    10898 int
    10899 main ()
    10900 {
    10901 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
    10902 test_array [0] = 0
    10903 
    10904   ;
    10905   return 0;
    10906 }
    10907 _ACEOF
    10908 rm -f conftest.$ac_objext
    10909 if { (ac_try="$ac_compile"
    10910 case "(($ac_try" in
    10911   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10912   *) ac_try_echo=$ac_try;;
    10913 esac
    10914 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10915 $as_echo "$ac_try_echo") >&5
    10916   (eval "$ac_compile") 2>conftest.er1
    10917   ac_status=$?
    10918   grep -v '^ *+' conftest.er1 >conftest.err
    10919   rm -f conftest.er1
    10920   cat conftest.err >&5
    10921   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10922   (exit $ac_status); } && {
    10923          test -z "$ac_cxx_werror_flag" ||
    10924          test ! -s conftest.err
    10925        } && test -s conftest.$ac_objext; then
    10926   ac_lo=0 ac_mid=0
    10927   while :; do
    10928     cat >conftest.$ac_ext <<_ACEOF
    10929 /* confdefs.h.  */
    10930 _ACEOF
    10931 cat confdefs.h >>conftest.$ac_ext
    10932 cat >>conftest.$ac_ext <<_ACEOF
    10933 /* end confdefs.h.  */
    10934 $ac_includes_default
    10935 int
    10936 main ()
    10937 {
    10938 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
    10939 test_array [0] = 0
    10940 
    10941   ;
    10942   return 0;
    10943 }
    10944 _ACEOF
    10945 rm -f conftest.$ac_objext
    10946 if { (ac_try="$ac_compile"
    10947 case "(($ac_try" in
    10948   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10949   *) ac_try_echo=$ac_try;;
    10950 esac
    10951 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10952 $as_echo "$ac_try_echo") >&5
    10953   (eval "$ac_compile") 2>conftest.er1
    10954   ac_status=$?
    10955   grep -v '^ *+' conftest.er1 >conftest.err
    10956   rm -f conftest.er1
    10957   cat conftest.err >&5
    10958   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10959   (exit $ac_status); } && {
    10960          test -z "$ac_cxx_werror_flag" ||
    10961          test ! -s conftest.err
    10962        } && test -s conftest.$ac_objext; then
    10963   ac_hi=$ac_mid; break
    10964 else
    10965   $as_echo "$as_me: failed program was:" >&5
    10966 sed 's/^/| /' conftest.$ac_ext >&5
    10967 
    10968         ac_lo=`expr $ac_mid + 1`
    10969                         if test $ac_lo -le $ac_mid; then
    10970                           ac_lo= ac_hi=
    10971                           break
    10972                         fi
    10973                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10974 fi
    10975 
    10976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10977   done
    10978 else
    10979   $as_echo "$as_me: failed program was:" >&5
    10980 sed 's/^/| /' conftest.$ac_ext >&5
    10981 
    10982         cat >conftest.$ac_ext <<_ACEOF
    10983 /* confdefs.h.  */
    10984 _ACEOF
    10985 cat confdefs.h >>conftest.$ac_ext
    10986 cat >>conftest.$ac_ext <<_ACEOF
    10987 /* end confdefs.h.  */
    10988 $ac_includes_default
    10989 int
    10990 main ()
    10991 {
    10992 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
    10993 test_array [0] = 0
    10994 
    10995   ;
    10996   return 0;
    10997 }
    10998 _ACEOF
    10999 rm -f conftest.$ac_objext
    11000 if { (ac_try="$ac_compile"
    11001 case "(($ac_try" in
    11002   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11003   *) ac_try_echo=$ac_try;;
    11004 esac
    11005 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11006 $as_echo "$ac_try_echo") >&5
    11007   (eval "$ac_compile") 2>conftest.er1
    11008   ac_status=$?
    11009   grep -v '^ *+' conftest.er1 >conftest.err
    11010   rm -f conftest.er1
    11011   cat conftest.err >&5
    11012   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11013   (exit $ac_status); } && {
    11014          test -z "$ac_cxx_werror_flag" ||
    11015          test ! -s conftest.err
    11016        } && test -s conftest.$ac_objext; then
    11017   ac_hi=-1 ac_mid=-1
    11018   while :; do
    11019     cat >conftest.$ac_ext <<_ACEOF
    11020 /* confdefs.h.  */
    11021 _ACEOF
    11022 cat confdefs.h >>conftest.$ac_ext
    11023 cat >>conftest.$ac_ext <<_ACEOF
    11024 /* end confdefs.h.  */
    11025 $ac_includes_default
    11026 int
    11027 main ()
    11028 {
    11029 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
    11030 test_array [0] = 0
    11031 
    11032   ;
    11033   return 0;
    11034 }
    11035 _ACEOF
    11036 rm -f conftest.$ac_objext
    11037 if { (ac_try="$ac_compile"
    11038 case "(($ac_try" in
    11039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11040   *) ac_try_echo=$ac_try;;
    11041 esac
    11042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11043 $as_echo "$ac_try_echo") >&5
    11044   (eval "$ac_compile") 2>conftest.er1
    11045   ac_status=$?
    11046   grep -v '^ *+' conftest.er1 >conftest.err
    11047   rm -f conftest.er1
    11048   cat conftest.err >&5
    11049   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11050   (exit $ac_status); } && {
    11051          test -z "$ac_cxx_werror_flag" ||
    11052          test ! -s conftest.err
    11053        } && test -s conftest.$ac_objext; then
    11054   ac_lo=$ac_mid; break
    11055 else
    11056   $as_echo "$as_me: failed program was:" >&5
    11057 sed 's/^/| /' conftest.$ac_ext >&5
    11058 
    11059         ac_hi=`expr '(' $ac_mid ')' - 1`
    11060                         if test $ac_mid -le $ac_hi; then
    11061                           ac_lo= ac_hi=
    11062                           break
    11063                         fi
    11064                         ac_mid=`expr 2 '*' $ac_mid`
    11065 fi
    11066 
    11067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11068   done
    11069 else
    11070   $as_echo "$as_me: failed program was:" >&5
    11071 sed 's/^/| /' conftest.$ac_ext >&5
    11072 
    11073         ac_lo= ac_hi=
    11074 fi
    11075 
    11076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11077 fi
    11078 
    11079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11080 # Binary search between lo and hi bounds.
    11081 while test "x$ac_lo" != "x$ac_hi"; do
    11082   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    11083   cat >conftest.$ac_ext <<_ACEOF
    11084 /* confdefs.h.  */
    11085 _ACEOF
    11086 cat confdefs.h >>conftest.$ac_ext
    11087 cat >>conftest.$ac_ext <<_ACEOF
    11088 /* end confdefs.h.  */
    11089 $ac_includes_default
    11090 int
    11091 main ()
    11092 {
    11093 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
    11094 test_array [0] = 0
    11095 
    11096   ;
    11097   return 0;
    11098 }
    11099 _ACEOF
    11100 rm -f conftest.$ac_objext
    11101 if { (ac_try="$ac_compile"
    11102 case "(($ac_try" in
    11103   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11104   *) ac_try_echo=$ac_try;;
    11105 esac
    11106 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11107 $as_echo "$ac_try_echo") >&5
    11108   (eval "$ac_compile") 2>conftest.er1
    11109   ac_status=$?
    11110   grep -v '^ *+' conftest.er1 >conftest.err
    11111   rm -f conftest.er1
    11112   cat conftest.err >&5
    11113   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11114   (exit $ac_status); } && {
    11115          test -z "$ac_cxx_werror_flag" ||
    11116          test ! -s conftest.err
    11117        } && test -s conftest.$ac_objext; then
    11118   ac_hi=$ac_mid
    11119 else
    11120   $as_echo "$as_me: failed program was:" >&5
    11121 sed 's/^/| /' conftest.$ac_ext >&5
    11122 
    11123         ac_lo=`expr '(' $ac_mid ')' + 1`
    11124 fi
    11125 
    11126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11127 done
    11128 case $ac_lo in
    11129 ?*) ac_cv_sizeof_float=$ac_lo;;
    11130 '') if test "$ac_cv_type_float" = yes; then
    11131      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8143  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
     8144
     8145else
     8146  if test "$ac_cv_type_float" = yes; then
     8147     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    111328148$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    11133 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
    11134 See \`config.log' for more details." >&5
    11135 $as_echo "$as_me: error: cannot compute sizeof (float)
    11136 See \`config.log' for more details." >&2;}
    11137    { (exit 77); exit 77; }; }; }
    11138    else
    11139      ac_cv_sizeof_float=0
    11140    fi ;;
    11141 esac
    11142 else
    11143   cat >conftest.$ac_ext <<_ACEOF
    11144 /* confdefs.h.  */
    11145 _ACEOF
    11146 cat confdefs.h >>conftest.$ac_ext
    11147 cat >>conftest.$ac_ext <<_ACEOF
    11148 /* end confdefs.h.  */
    11149 $ac_includes_default
    11150 static long int longval () { return (long int) (sizeof (float)); }
    11151 static unsigned long int ulongval () { return (long int) (sizeof (float)); }
    11152 #include <stdio.h>
    11153 #include <stdlib.h>
    11154 int
    11155 main ()
    11156 {
    11157 
    11158   FILE *f = fopen ("conftest.val", "w");
    11159   if (! f)
    11160     return 1;
    11161   if (((long int) (sizeof (float))) < 0)
    11162     {
    11163       long int i = longval ();
    11164       if (i != ((long int) (sizeof (float))))
    11165         return 1;
    11166       fprintf (f, "%ld", i);
    11167     }
    11168   else
    11169     {
    11170       unsigned long int i = ulongval ();
    11171       if (i != ((long int) (sizeof (float))))
    11172         return 1;
    11173       fprintf (f, "%lu", i);
    11174     }
    11175   /* Do not output a trailing newline, as this causes \r\n confusion
    11176      on some platforms.  */
    11177   return ferror (f) || fclose (f) != 0;
    11178 
    11179   ;
    11180   return 0;
    11181 }
    11182 _ACEOF
    11183 rm -f conftest$ac_exeext
    11184 if { (ac_try="$ac_link"
    11185 case "(($ac_try" in
    11186   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11187   *) ac_try_echo=$ac_try;;
    11188 esac
    11189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11190 $as_echo "$ac_try_echo") >&5
    11191   (eval "$ac_link") 2>&5
    11192   ac_status=$?
    11193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11194   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    11195   { (case "(($ac_try" in
    11196   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11197   *) ac_try_echo=$ac_try;;
    11198 esac
    11199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11200 $as_echo "$ac_try_echo") >&5
    11201   (eval "$ac_try") 2>&5
    11202   ac_status=$?
    11203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11204   (exit $ac_status); }; }; then
    11205   ac_cv_sizeof_float=`cat conftest.val`
    11206 else
    11207   $as_echo "$as_me: program exited with status $ac_status" >&5
    11208 $as_echo "$as_me: failed program was:" >&5
    11209 sed 's/^/| /' conftest.$ac_ext >&5
    11210 
    11211 ( exit $ac_status )
    11212 if test "$ac_cv_type_float" = yes; then
    11213      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    11214 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    11215 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
    11216 See \`config.log' for more details." >&5
    11217 $as_echo "$as_me: error: cannot compute sizeof (float)
    11218 See \`config.log' for more details." >&2;}
    11219    { (exit 77); exit 77; }; }; }
     8149as_fn_error 77 "cannot compute sizeof (float)
     8150See \`config.log' for more details" "$LINENO" 5; }
    112208151   else
    112218152     ac_cv_sizeof_float=0
    112228153   fi
    112238154fi
    11224 rm -rf conftest.dSYM
    11225 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    11226 fi
    11227 rm -f conftest.val
    11228 fi
    11229 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
     8155
     8156fi
     8157{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
    112308158$as_echo "$ac_cv_sizeof_float" >&6; }
    112318159
     
    112838211
    112848212RP_DIR=""
    11285 { $as_echo "$as_me:$LINENO: checking for rappture" >&5
     8213{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
    112868214$as_echo_n "checking for rappture... " >&6; }
    112878215if test "$with_rappture" == "yes" ; then
     
    112928220      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    112938221      RP_LIB_DIR="$dir/lib"
    11294       { $as_echo "$as_me:$LINENO: result: $dir" >&5
     8222      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
    112958223$as_echo "$dir" >&6; }
    112968224      break
     
    112998227else
    113008228  if test ! -d "$with_rappture" ; then
    11301     { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5
    11302 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;}
    11303    { (exit 1); exit 1; }; }
     8229    as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5
    113048230  fi
    113058231  RP_DIR=$with_rappture
     
    113088234fi
    113098235if test "x${RP_DIR}" = "x" ; then
    11310   { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5
    11311 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;}
    11312    { (exit 1); exit 1; }; }
    11313 else
    11314   { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5
     8236  as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5
     8237else
     8238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5
    113158239$as_echo "$with_rappture" >&6; }
    113168240fi
     
    113438267CPPFLAGS=$VTK_INC_SPEC
    113448268
    11345 
    113468269for ac_header in vtkSmartPointer.h
    11347 do
    11348 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11349 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11350   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11351 $as_echo_n "checking for $ac_header... " >&6; }
    11352 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11353   $as_echo_n "(cached) " >&6
    11354 fi
    11355 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11356                  $as_echo "$as_val"'`
    11357                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11358 $as_echo "$ac_res" >&6; }
    11359 else
    11360   # Is the header compilable?
    11361 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11362 $as_echo_n "checking $ac_header usability... " >&6; }
    11363 cat >conftest.$ac_ext <<_ACEOF
    11364 /* confdefs.h.  */
    11365 _ACEOF
    11366 cat confdefs.h >>conftest.$ac_ext
    11367 cat >>conftest.$ac_ext <<_ACEOF
    11368 /* end confdefs.h.  */
    11369 $ac_includes_default
    11370 #include <$ac_header>
    11371 _ACEOF
    11372 rm -f conftest.$ac_objext
    11373 if { (ac_try="$ac_compile"
    11374 case "(($ac_try" in
    11375   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11376   *) ac_try_echo=$ac_try;;
    11377 esac
    11378 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11379 $as_echo "$ac_try_echo") >&5
    11380   (eval "$ac_compile") 2>conftest.er1
    11381   ac_status=$?
    11382   grep -v '^ *+' conftest.er1 >conftest.err
    11383   rm -f conftest.er1
    11384   cat conftest.err >&5
    11385   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11386   (exit $ac_status); } && {
    11387          test -z "$ac_cxx_werror_flag" ||
    11388          test ! -s conftest.err
    11389        } && test -s conftest.$ac_objext; then
    11390   ac_header_compiler=yes
    11391 else
    11392   $as_echo "$as_me: failed program was:" >&5
    11393 sed 's/^/| /' conftest.$ac_ext >&5
    11394 
    11395         ac_header_compiler=no
    11396 fi
    11397 
    11398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11399 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11400 $as_echo "$ac_header_compiler" >&6; }
    11401 
    11402 # Is the header present?
    11403 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11404 $as_echo_n "checking $ac_header presence... " >&6; }
    11405 cat >conftest.$ac_ext <<_ACEOF
    11406 /* confdefs.h.  */
    11407 _ACEOF
    11408 cat confdefs.h >>conftest.$ac_ext
    11409 cat >>conftest.$ac_ext <<_ACEOF
    11410 /* end confdefs.h.  */
    11411 #include <$ac_header>
    11412 _ACEOF
    11413 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11414 case "(($ac_try" in
    11415   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11416   *) ac_try_echo=$ac_try;;
    11417 esac
    11418 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11419 $as_echo "$ac_try_echo") >&5
    11420   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11421   ac_status=$?
    11422   grep -v '^ *+' conftest.er1 >conftest.err
    11423   rm -f conftest.er1
    11424   cat conftest.err >&5
    11425   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11426   (exit $ac_status); } >/dev/null && {
    11427          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11428          test ! -s conftest.err
    11429        }; then
    11430   ac_header_preproc=yes
    11431 else
    11432   $as_echo "$as_me: failed program was:" >&5
    11433 sed 's/^/| /' conftest.$ac_ext >&5
    11434 
    11435   ac_header_preproc=no
    11436 fi
    11437 
    11438 rm -f conftest.err conftest.$ac_ext
    11439 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11440 $as_echo "$ac_header_preproc" >&6; }
    11441 
    11442 # So?  What about this header?
    11443 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11444   yes:no: )
    11445     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11446 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11447     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11449     ac_header_preproc=yes
    11450     ;;
    11451   no:yes:* )
    11452     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11453 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11454     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11455 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11456     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11457 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11458     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11459 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11460     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11461 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11462     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11463 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11464     ( cat <<\_ASBOX
    11465 ## ----------------------------------- ##
    11466 ## Report this to rappture@nanohub.org ##
    11467 ## ----------------------------------- ##
    11468 _ASBOX
    11469      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11470     ;;
    11471 esac
    11472 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11473 $as_echo_n "checking for $ac_header... " >&6; }
    11474 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11475   $as_echo_n "(cached) " >&6
    11476 else
    11477   eval "$as_ac_Header=\$ac_header_preproc"
    11478 fi
    11479 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11480                  $as_echo "$as_val"'`
    11481                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11482 $as_echo "$ac_res" >&6; }
    11483 
    11484 fi
    11485 as_val=`eval 'as_val=${'$as_ac_Header'}
    11486                  $as_echo "$as_val"'`
    11487    if test "x$as_val" = x""yes; then
     8270do :
     8271  ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default"
     8272if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then :
     8273  cat >>confdefs.h <<_ACEOF
     8274#define HAVE_VTKSMARTPOINTER_H 1
     8275_ACEOF
     8276
     8277else
     8278  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5
     8279$as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
     8280fi
     8281
     8282done
     8283
     8284CPPFLAGS=$save_CPPFLAGS
     8285
     8286ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
     8287if test "x$ac_cv_header_GL_glut_h" = xyes; then :
     8288
     8289fi
     8290
     8291
     8292ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
     8293if test "x$ac_cv_header_GL_glew_h" = xyes; then :
     8294
     8295fi
     8296
     8297
     8298
     8299for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     8300do :
     8301  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8302ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8303if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    114888304  cat >>confdefs.h <<_ACEOF
    114898305#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    114908306_ACEOF
    114918307
    11492 else
    11493   { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5
    11494 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
    114958308fi
    114968309
    114978310done
    114988311
    11499 CPPFLAGS=$save_CPPFLAGS
    11500 
    11501 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11502   { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    11503 $as_echo_n "checking for GL/glut.h... " >&6; }
    11504 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11505   $as_echo_n "(cached) " >&6
    11506 fi
    11507 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    11508 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    11509 else
    11510   # Is the header compilable?
    11511 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
    11512 $as_echo_n "checking GL/glut.h usability... " >&6; }
    11513 cat >conftest.$ac_ext <<_ACEOF
    11514 /* confdefs.h.  */
    11515 _ACEOF
    11516 cat confdefs.h >>conftest.$ac_ext
    11517 cat >>conftest.$ac_ext <<_ACEOF
    11518 /* end confdefs.h.  */
    11519 $ac_includes_default
    11520 #include <GL/glut.h>
    11521 _ACEOF
    11522 rm -f conftest.$ac_objext
    11523 if { (ac_try="$ac_compile"
    11524 case "(($ac_try" in
    11525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11526   *) ac_try_echo=$ac_try;;
    11527 esac
    11528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11529 $as_echo "$ac_try_echo") >&5
    11530   (eval "$ac_compile") 2>conftest.er1
    11531   ac_status=$?
    11532   grep -v '^ *+' conftest.er1 >conftest.err
    11533   rm -f conftest.er1
    11534   cat conftest.err >&5
    11535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11536   (exit $ac_status); } && {
    11537          test -z "$ac_cxx_werror_flag" ||
    11538          test ! -s conftest.err
    11539        } && test -s conftest.$ac_objext; then
    11540   ac_header_compiler=yes
    11541 else
    11542   $as_echo "$as_me: failed program was:" >&5
    11543 sed 's/^/| /' conftest.$ac_ext >&5
    11544 
    11545         ac_header_compiler=no
    11546 fi
    11547 
    11548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11549 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11550 $as_echo "$ac_header_compiler" >&6; }
    11551 
    11552 # Is the header present?
    11553 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
    11554 $as_echo_n "checking GL/glut.h presence... " >&6; }
    11555 cat >conftest.$ac_ext <<_ACEOF
    11556 /* confdefs.h.  */
    11557 _ACEOF
    11558 cat confdefs.h >>conftest.$ac_ext
    11559 cat >>conftest.$ac_ext <<_ACEOF
    11560 /* end confdefs.h.  */
    11561 #include <GL/glut.h>
    11562 _ACEOF
    11563 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11564 case "(($ac_try" in
    11565   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11566   *) ac_try_echo=$ac_try;;
    11567 esac
    11568 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11569 $as_echo "$ac_try_echo") >&5
    11570   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11571   ac_status=$?
    11572   grep -v '^ *+' conftest.er1 >conftest.err
    11573   rm -f conftest.er1
    11574   cat conftest.err >&5
    11575   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11576   (exit $ac_status); } >/dev/null && {
    11577          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11578          test ! -s conftest.err
    11579        }; then
    11580   ac_header_preproc=yes
    11581 else
    11582   $as_echo "$as_me: failed program was:" >&5
    11583 sed 's/^/| /' conftest.$ac_ext >&5
    11584 
    11585   ac_header_preproc=no
    11586 fi
    11587 
    11588 rm -f conftest.err conftest.$ac_ext
    11589 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11590 $as_echo "$ac_header_preproc" >&6; }
    11591 
    11592 # So?  What about this header?
    11593 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11594   yes:no: )
    11595     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11596 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11597     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
    11598 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
    11599     ac_header_preproc=yes
    11600     ;;
    11601   no:yes:* )
    11602     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
    11603 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
    11604     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
    11605 $as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
    11606     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
    11607 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
    11608     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
    11609 $as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11610     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
    11611 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
    11612     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
    11613 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
    11614     ( cat <<\_ASBOX
    11615 ## ----------------------------------- ##
    11616 ## Report this to rappture@nanohub.org ##
    11617 ## ----------------------------------- ##
    11618 _ASBOX
    11619      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11620     ;;
    11621 esac
    11622 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    11623 $as_echo_n "checking for GL/glut.h... " >&6; }
    11624 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11625   $as_echo_n "(cached) " >&6
    11626 else
    11627   ac_cv_header_GL_glut_h=$ac_header_preproc
    11628 fi
    11629 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    11630 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    11631 
    11632 fi
    11633 
    11634 
    11635 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11636   { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    11637 $as_echo_n "checking for GL/glew.h... " >&6; }
    11638 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11639   $as_echo_n "(cached) " >&6
    11640 fi
    11641 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    11642 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    11643 else
    11644   # Is the header compilable?
    11645 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
    11646 $as_echo_n "checking GL/glew.h usability... " >&6; }
    11647 cat >conftest.$ac_ext <<_ACEOF
    11648 /* confdefs.h.  */
    11649 _ACEOF
    11650 cat confdefs.h >>conftest.$ac_ext
    11651 cat >>conftest.$ac_ext <<_ACEOF
    11652 /* end confdefs.h.  */
    11653 $ac_includes_default
    11654 #include <GL/glew.h>
    11655 _ACEOF
    11656 rm -f conftest.$ac_objext
    11657 if { (ac_try="$ac_compile"
    11658 case "(($ac_try" in
    11659   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11660   *) ac_try_echo=$ac_try;;
    11661 esac
    11662 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11663 $as_echo "$ac_try_echo") >&5
    11664   (eval "$ac_compile") 2>conftest.er1
    11665   ac_status=$?
    11666   grep -v '^ *+' conftest.er1 >conftest.err
    11667   rm -f conftest.er1
    11668   cat conftest.err >&5
    11669   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11670   (exit $ac_status); } && {
    11671          test -z "$ac_cxx_werror_flag" ||
    11672          test ! -s conftest.err
    11673        } && test -s conftest.$ac_objext; then
    11674   ac_header_compiler=yes
    11675 else
    11676   $as_echo "$as_me: failed program was:" >&5
    11677 sed 's/^/| /' conftest.$ac_ext >&5
    11678 
    11679         ac_header_compiler=no
    11680 fi
    11681 
    11682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11683 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11684 $as_echo "$ac_header_compiler" >&6; }
    11685 
    11686 # Is the header present?
    11687 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
    11688 $as_echo_n "checking GL/glew.h presence... " >&6; }
    11689 cat >conftest.$ac_ext <<_ACEOF
    11690 /* confdefs.h.  */
    11691 _ACEOF
    11692 cat confdefs.h >>conftest.$ac_ext
    11693 cat >>conftest.$ac_ext <<_ACEOF
    11694 /* end confdefs.h.  */
    11695 #include <GL/glew.h>
    11696 _ACEOF
    11697 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11698 case "(($ac_try" in
    11699   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11700   *) ac_try_echo=$ac_try;;
    11701 esac
    11702 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11703 $as_echo "$ac_try_echo") >&5
    11704   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11705   ac_status=$?
    11706   grep -v '^ *+' conftest.er1 >conftest.err
    11707   rm -f conftest.er1
    11708   cat conftest.err >&5
    11709   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11710   (exit $ac_status); } >/dev/null && {
    11711          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11712          test ! -s conftest.err
    11713        }; then
    11714   ac_header_preproc=yes
    11715 else
    11716   $as_echo "$as_me: failed program was:" >&5
    11717 sed 's/^/| /' conftest.$ac_ext >&5
    11718 
    11719   ac_header_preproc=no
    11720 fi
    11721 
    11722 rm -f conftest.err conftest.$ac_ext
    11723 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11724 $as_echo "$ac_header_preproc" >&6; }
    11725 
    11726 # So?  What about this header?
    11727 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11728   yes:no: )
    11729     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11730 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11731     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
    11732 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
    11733     ac_header_preproc=yes
    11734     ;;
    11735   no:yes:* )
    11736     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
    11737 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
    11738     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
    11739 $as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
    11740     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
    11741 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
    11742     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
    11743 $as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11744     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
    11745 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
    11746     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
    11747 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
    11748     ( cat <<\_ASBOX
    11749 ## ----------------------------------- ##
    11750 ## Report this to rappture@nanohub.org ##
    11751 ## ----------------------------------- ##
    11752 _ASBOX
    11753      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11754     ;;
    11755 esac
    11756 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    11757 $as_echo_n "checking for GL/glew.h... " >&6; }
    11758 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11759   $as_echo_n "(cached) " >&6
    11760 else
    11761   ac_cv_header_GL_glew_h=$ac_header_preproc
    11762 fi
    11763 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    11764 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    11765 
    11766 fi
    11767 
    11768 
    11769 
    11770 
    11771 
    11772 
    11773 
    11774 
    11775 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    11776 do
    11777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11778 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11779   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11780 $as_echo_n "checking for $ac_header... " >&6; }
    11781 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11782   $as_echo_n "(cached) " >&6
    11783 fi
    11784 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11785                  $as_echo "$as_val"'`
    11786                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11787 $as_echo "$ac_res" >&6; }
    11788 else
    11789   # Is the header compilable?
    11790 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11791 $as_echo_n "checking $ac_header usability... " >&6; }
    11792 cat >conftest.$ac_ext <<_ACEOF
    11793 /* confdefs.h.  */
    11794 _ACEOF
    11795 cat confdefs.h >>conftest.$ac_ext
    11796 cat >>conftest.$ac_ext <<_ACEOF
    11797 /* end confdefs.h.  */
    11798 $ac_includes_default
    11799 #include <$ac_header>
    11800 _ACEOF
    11801 rm -f conftest.$ac_objext
    11802 if { (ac_try="$ac_compile"
    11803 case "(($ac_try" in
    11804   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11805   *) ac_try_echo=$ac_try;;
    11806 esac
    11807 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11808 $as_echo "$ac_try_echo") >&5
    11809   (eval "$ac_compile") 2>conftest.er1
    11810   ac_status=$?
    11811   grep -v '^ *+' conftest.er1 >conftest.err
    11812   rm -f conftest.er1
    11813   cat conftest.err >&5
    11814   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11815   (exit $ac_status); } && {
    11816          test -z "$ac_cxx_werror_flag" ||
    11817          test ! -s conftest.err
    11818        } && test -s conftest.$ac_objext; then
    11819   ac_header_compiler=yes
    11820 else
    11821   $as_echo "$as_me: failed program was:" >&5
    11822 sed 's/^/| /' conftest.$ac_ext >&5
    11823 
    11824         ac_header_compiler=no
    11825 fi
    11826 
    11827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11828 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11829 $as_echo "$ac_header_compiler" >&6; }
    11830 
    11831 # Is the header present?
    11832 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11833 $as_echo_n "checking $ac_header presence... " >&6; }
    11834 cat >conftest.$ac_ext <<_ACEOF
    11835 /* confdefs.h.  */
    11836 _ACEOF
    11837 cat confdefs.h >>conftest.$ac_ext
    11838 cat >>conftest.$ac_ext <<_ACEOF
    11839 /* end confdefs.h.  */
    11840 #include <$ac_header>
    11841 _ACEOF
    11842 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11843 case "(($ac_try" in
    11844   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11845   *) ac_try_echo=$ac_try;;
    11846 esac
    11847 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11848 $as_echo "$ac_try_echo") >&5
    11849   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11850   ac_status=$?
    11851   grep -v '^ *+' conftest.er1 >conftest.err
    11852   rm -f conftest.er1
    11853   cat conftest.err >&5
    11854   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11855   (exit $ac_status); } >/dev/null && {
    11856          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11857          test ! -s conftest.err
    11858        }; then
    11859   ac_header_preproc=yes
    11860 else
    11861   $as_echo "$as_me: failed program was:" >&5
    11862 sed 's/^/| /' conftest.$ac_ext >&5
    11863 
    11864   ac_header_preproc=no
    11865 fi
    11866 
    11867 rm -f conftest.err conftest.$ac_ext
    11868 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11869 $as_echo "$ac_header_preproc" >&6; }
    11870 
    11871 # So?  What about this header?
    11872 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11873   yes:no: )
    11874     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11875 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11876     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11877 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11878     ac_header_preproc=yes
    11879     ;;
    11880   no:yes:* )
    11881     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11882 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11883     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11884 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11885     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11886 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11887     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11888 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11889     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11890 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11891     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11892 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11893     ( cat <<\_ASBOX
    11894 ## ----------------------------------- ##
    11895 ## Report this to rappture@nanohub.org ##
    11896 ## ----------------------------------- ##
    11897 _ASBOX
    11898      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11899     ;;
    11900 esac
    11901 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11902 $as_echo_n "checking for $ac_header... " >&6; }
    11903 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11904   $as_echo_n "(cached) " >&6
    11905 else
    11906   eval "$as_ac_Header=\$ac_header_preproc"
    11907 fi
    11908 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11909                  $as_echo "$as_val"'`
    11910                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11911 $as_echo "$ac_res" >&6; }
    11912 
    11913 fi
    11914 as_val=`eval 'as_val=${'$as_ac_Header'}
    11915                  $as_echo "$as_val"'`
    11916    if test "x$as_val" = x""yes; then
     8312for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     8313do :
     8314  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8315ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8316if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    119178317  cat >>confdefs.h <<_ACEOF
    119188318#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    119248324
    119258325
    11926 
    11927 
    11928 
    11929 
    11930 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     8326for ac_func in accept4
     8327do :
     8328  ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"
     8329if test "x$ac_cv_func_accept4" = xyes; then :
     8330  cat >>confdefs.h <<_ACEOF
     8331#define HAVE_ACCEPT4 1
     8332_ACEOF
     8333
     8334fi
     8335done
     8336
     8337
     8338save_CPPFLAGS=$CPPFLAGS
     8339
     8340
     8341#--------------------------------------------------------------------
     8342# search for ffmpeg executable
     8343#--------------------------------------------------------------------
     8344if test "${with_ffmpeg}" != "no" ; then
     8345  if test "${with_ffmpeg}" = "yes" ; then
     8346    # Extract the first word of "ffmpeg", so it can be a program name with args.
     8347set dummy ffmpeg; ac_word=$2
     8348{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8349$as_echo_n "checking for $ac_word... " >&6; }
     8350if ${ac_cv_path_FFMPEG+:} false; then :
     8351  $as_echo_n "(cached) " >&6
     8352else
     8353  case $FFMPEG in
     8354  [\\/]* | ?:[\\/]*)
     8355  ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
     8356  ;;
     8357  *)
     8358  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8359for as_dir in $PATH
    119318360do
    11932 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11933 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11934   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11935 $as_echo_n "checking for $ac_header... " >&6; }
    11936 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     8361  IFS=$as_save_IFS
     8362  test -z "$as_dir" && as_dir=.
     8363    for ac_exec_ext in '' $ac_executable_extensions; do
     8364  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8365    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
     8366    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8367    break 2
     8368  fi
     8369done
     8370  done
     8371IFS=$as_save_IFS
     8372
     8373  ;;
     8374esac
     8375fi
     8376FFMPEG=$ac_cv_path_FFMPEG
     8377if test -n "$FFMPEG"; then
     8378  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
     8379$as_echo "$FFMPEG" >&6; }
     8380else
     8381  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8382$as_echo "no" >&6; }
     8383fi
     8384
     8385
     8386  else
     8387    # Extract the first word of "ffmpeg", so it can be a program name with args.
     8388set dummy ffmpeg; ac_word=$2
     8389{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8390$as_echo_n "checking for $ac_word... " >&6; }
     8391if ${ac_cv_path_FFMPEG+:} false; then :
    119378392  $as_echo_n "(cached) " >&6
    11938 fi
    11939 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11940                  $as_echo "$as_val"'`
    11941                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11942 $as_echo "$ac_res" >&6; }
    11943 else
    11944   # Is the header compilable?
    11945 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11946 $as_echo_n "checking $ac_header usability... " >&6; }
    11947 cat >conftest.$ac_ext <<_ACEOF
    11948 /* confdefs.h.  */
    11949 _ACEOF
    11950 cat confdefs.h >>conftest.$ac_ext
    11951 cat >>conftest.$ac_ext <<_ACEOF
    11952 /* end confdefs.h.  */
    11953 $ac_includes_default
    11954 #include <$ac_header>
    11955 _ACEOF
    11956 rm -f conftest.$ac_objext
    11957 if { (ac_try="$ac_compile"
    11958 case "(($ac_try" in
    11959   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11960   *) ac_try_echo=$ac_try;;
     8393else
     8394  case $FFMPEG in
     8395  [\\/]* | ?:[\\/]*)
     8396  ac_cv_path_FFMPEG="$FFMPEG" # Let the user override the test with a path.
     8397  ;;
     8398  *)
     8399  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     8400as_dummy="${with_ffmpeg}/bin:${with_ffmpeg}"
     8401for as_dir in $as_dummy
     8402do
     8403  IFS=$as_save_IFS
     8404  test -z "$as_dir" && as_dir=.
     8405    for ac_exec_ext in '' $ac_executable_extensions; do
     8406  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
     8407    ac_cv_path_FFMPEG="$as_dir/$ac_word$ac_exec_ext"
     8408    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8409    break 2
     8410  fi
     8411done
     8412  done
     8413IFS=$as_save_IFS
     8414
     8415  ;;
    119618416esac
    11962 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11963 $as_echo "$ac_try_echo") >&5
    11964   (eval "$ac_compile") 2>conftest.er1
    11965   ac_status=$?
    11966   grep -v '^ *+' conftest.er1 >conftest.err
    11967   rm -f conftest.er1
    11968   cat conftest.err >&5
    11969   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11970   (exit $ac_status); } && {
    11971          test -z "$ac_cxx_werror_flag" ||
    11972          test ! -s conftest.err
    11973        } && test -s conftest.$ac_objext; then
    11974   ac_header_compiler=yes
    11975 else
    11976   $as_echo "$as_me: failed program was:" >&5
    11977 sed 's/^/| /' conftest.$ac_ext >&5
    11978 
    11979         ac_header_compiler=no
    11980 fi
    11981 
    11982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11983 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11984 $as_echo "$ac_header_compiler" >&6; }
    11985 
    11986 # Is the header present?
    11987 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11988 $as_echo_n "checking $ac_header presence... " >&6; }
    11989 cat >conftest.$ac_ext <<_ACEOF
    11990 /* confdefs.h.  */
    11991 _ACEOF
    11992 cat confdefs.h >>conftest.$ac_ext
    11993 cat >>conftest.$ac_ext <<_ACEOF
    11994 /* end confdefs.h.  */
    11995 #include <$ac_header>
    11996 _ACEOF
    11997 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11998 case "(($ac_try" in
    11999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12000   *) ac_try_echo=$ac_try;;
    12001 esac
    12002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12003 $as_echo "$ac_try_echo") >&5
    12004   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    12005   ac_status=$?
    12006   grep -v '^ *+' conftest.er1 >conftest.err
    12007   rm -f conftest.er1
    12008   cat conftest.err >&5
    12009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12010   (exit $ac_status); } >/dev/null && {
    12011          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    12012          test ! -s conftest.err
    12013        }; then
    12014   ac_header_preproc=yes
    12015 else
    12016   $as_echo "$as_me: failed program was:" >&5
    12017 sed 's/^/| /' conftest.$ac_ext >&5
    12018 
    12019   ac_header_preproc=no
    12020 fi
    12021 
    12022 rm -f conftest.err conftest.$ac_ext
    12023 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    12024 $as_echo "$ac_header_preproc" >&6; }
    12025 
    12026 # So?  What about this header?
    12027 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    12028   yes:no: )
    12029     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    12030 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    12031     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    12032 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    12033     ac_header_preproc=yes
    12034     ;;
    12035   no:yes:* )
    12036     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    12037 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    12038     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    12039 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    12040     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    12041 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    12042     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    12043 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    12044     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    12045 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    12046     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    12047 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    12048     ( cat <<\_ASBOX
    12049 ## ----------------------------------- ##
    12050 ## Report this to rappture@nanohub.org ##
    12051 ## ----------------------------------- ##
    12052 _ASBOX
    12053      ) | sed "s/^/$as_me: WARNING:     /" >&2
    12054     ;;
    12055 esac
    12056 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12057 $as_echo_n "checking for $ac_header... " >&6; }
    12058 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12059   $as_echo_n "(cached) " >&6
    12060 else
    12061   eval "$as_ac_Header=\$ac_header_preproc"
    12062 fi
    12063 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12064                  $as_echo "$as_val"'`
    12065                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12066 $as_echo "$ac_res" >&6; }
    12067 
    12068 fi
    12069 as_val=`eval 'as_val=${'$as_ac_Header'}
    12070                  $as_echo "$as_val"'`
    12071    if test "x$as_val" = x""yes; then
    12072   cat >>confdefs.h <<_ACEOF
    12073 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12074 _ACEOF
    12075 
    12076 fi
    12077 
    12078 done
    12079 
    12080 
    12081 
    12082 for ac_func in accept4
    12083 do
    12084 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12085 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12086 $as_echo_n "checking for $ac_func... " >&6; }
    12087 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12088   $as_echo_n "(cached) " >&6
    12089 else
    12090   cat >conftest.$ac_ext <<_ACEOF
    12091 /* confdefs.h.  */
    12092 _ACEOF
    12093 cat confdefs.h >>conftest.$ac_ext
    12094 cat >>conftest.$ac_ext <<_ACEOF
    12095 /* end confdefs.h.  */
    12096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12097    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12098 #define $ac_func innocuous_$ac_func
    12099 
    12100 /* System header to define __stub macros and hopefully few prototypes,
    12101     which can conflict with char $ac_func (); below.
    12102     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12103     <limits.h> exists even on freestanding compilers.  */
    12104 
    12105 #ifdef __STDC__
    12106 # include <limits.h>
    12107 #else
    12108 # include <assert.h>
    12109 #endif
    12110 
    12111 #undef $ac_func
    12112 
    12113 /* Override any GCC internal prototype to avoid an error.
    12114    Use char because int might match the return type of a GCC
    12115    builtin and then its argument prototype would still apply.  */
    12116 #ifdef __cplusplus
    12117 extern "C"
    12118 #endif
    12119 char $ac_func ();
    12120 /* The GNU C library defines this for functions which it implements
    12121     to always fail with ENOSYS.  Some functions are actually named
    12122     something starting with __ and the normal name is an alias.  */
    12123 #if defined __stub_$ac_func || defined __stub___$ac_func
    12124 choke me
    12125 #endif
    12126 
    12127 int
    12128 main ()
    12129 {
    12130 return $ac_func ();
    12131   ;
    12132   return 0;
    12133 }
    12134 _ACEOF
    12135 rm -f conftest.$ac_objext conftest$ac_exeext
    12136 if { (ac_try="$ac_link"
    12137 case "(($ac_try" in
    12138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12139   *) ac_try_echo=$ac_try;;
    12140 esac
    12141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12142 $as_echo "$ac_try_echo") >&5
    12143   (eval "$ac_link") 2>conftest.er1
    12144   ac_status=$?
    12145   grep -v '^ *+' conftest.er1 >conftest.err
    12146   rm -f conftest.er1
    12147   cat conftest.err >&5
    12148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12149   (exit $ac_status); } && {
    12150          test -z "$ac_cxx_werror_flag" ||
    12151          test ! -s conftest.err
    12152        } && test -s conftest$ac_exeext && {
    12153          test "$cross_compiling" = yes ||
    12154          $as_test_x conftest$ac_exeext
    12155        }; then
    12156   eval "$as_ac_var=yes"
    12157 else
    12158   $as_echo "$as_me: failed program was:" >&5
    12159 sed 's/^/| /' conftest.$ac_ext >&5
    12160 
    12161         eval "$as_ac_var=no"
    12162 fi
    12163 
    12164 rm -rf conftest.dSYM
    12165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12166       conftest$ac_exeext conftest.$ac_ext
    12167 fi
    12168 ac_res=`eval 'as_val=${'$as_ac_var'}
    12169                  $as_echo "$as_val"'`
    12170                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12171 $as_echo "$ac_res" >&6; }
    12172 as_val=`eval 'as_val=${'$as_ac_var'}
    12173                  $as_echo "$as_val"'`
    12174    if test "x$as_val" = x""yes; then
    12175   cat >>confdefs.h <<_ACEOF
    12176 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12177 _ACEOF
    12178 
    12179 fi
    12180 done
    12181 
    12182 
    12183 save_CPPFLAGS=$CPPFLAGS
    12184 # Test for redhat-specific location of ffmpeg headers.
    12185 if test -d "/usr/include/ffmpeg" ; then
    12186   CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg"
    12187   FF_INC_SPEC="-I/usr/include/ffmpeg"
    12188 fi
    12189 
    12190 
    12191 
    12192 
    12193 
    12194 
    12195 
    12196 for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    12197 do
    12198 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    12199 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12200 $as_echo_n "checking for $ac_header... " >&6; }
    12201 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12202   $as_echo_n "(cached) " >&6
    12203 else
    12204   cat >conftest.$ac_ext <<_ACEOF
    12205 /* confdefs.h.  */
    12206 _ACEOF
    12207 cat confdefs.h >>conftest.$ac_ext
    12208 cat >>conftest.$ac_ext <<_ACEOF
    12209 /* end confdefs.h.  */
    12210 
    12211 #define __STDC_CONSTANT_MACROS 1
    12212 
    12213 
    12214 #include <$ac_header>
    12215 _ACEOF
    12216 rm -f conftest.$ac_objext
    12217 if { (ac_try="$ac_compile"
    12218 case "(($ac_try" in
    12219   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12220   *) ac_try_echo=$ac_try;;
    12221 esac
    12222 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12223 $as_echo "$ac_try_echo") >&5
    12224   (eval "$ac_compile") 2>conftest.er1
    12225   ac_status=$?
    12226   grep -v '^ *+' conftest.er1 >conftest.err
    12227   rm -f conftest.er1
    12228   cat conftest.err >&5
    12229   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12230   (exit $ac_status); } && {
    12231          test -z "$ac_cxx_werror_flag" ||
    12232          test ! -s conftest.err
    12233        } && test -s conftest.$ac_objext; then
    12234   eval "$as_ac_Header=yes"
    12235 else
    12236   $as_echo "$as_me: failed program was:" >&5
    12237 sed 's/^/| /' conftest.$ac_ext >&5
    12238 
    12239         eval "$as_ac_Header=no"
    12240 fi
    12241 
    12242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12243 fi
    12244 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12245                  $as_echo "$as_val"'`
    12246                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12247 $as_echo "$ac_res" >&6; }
    12248 as_val=`eval 'as_val=${'$as_ac_Header'}
    12249                  $as_echo "$as_val"'`
    12250    if test "x$as_val" = x""yes; then
    12251   cat >>confdefs.h <<_ACEOF
    12252 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12253 _ACEOF
    12254 
    12255 fi
    12256 
    12257 done
    12258 
    12259 CPPFLAGS=$save_CPPFLAGS
    12260 
    12261 
    12262 { $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5
    12263 $as_echo_n "checking for main in -lavcodec... " >&6; }
    12264 if test "${ac_cv_lib_avcodec_main+set}" = set; then
    12265   $as_echo_n "(cached) " >&6
    12266 else
    12267   ac_check_lib_save_LIBS=$LIBS
    12268 LIBS="-lavcodec  $LIBS"
    12269 cat >conftest.$ac_ext <<_ACEOF
    12270 /* confdefs.h.  */
    12271 _ACEOF
    12272 cat confdefs.h >>conftest.$ac_ext
    12273 cat >>conftest.$ac_ext <<_ACEOF
    12274 /* end confdefs.h.  */
    12275 
    12276 
    12277 int
    12278 main ()
    12279 {
    12280 return main ();
    12281   ;
    12282   return 0;
    12283 }
    12284 _ACEOF
    12285 rm -f conftest.$ac_objext conftest$ac_exeext
    12286 if { (ac_try="$ac_link"
    12287 case "(($ac_try" in
    12288   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12289   *) ac_try_echo=$ac_try;;
    12290 esac
    12291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12292 $as_echo "$ac_try_echo") >&5
    12293   (eval "$ac_link") 2>conftest.er1
    12294   ac_status=$?
    12295   grep -v '^ *+' conftest.er1 >conftest.err
    12296   rm -f conftest.er1
    12297   cat conftest.err >&5
    12298   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12299   (exit $ac_status); } && {
    12300          test -z "$ac_cxx_werror_flag" ||
    12301          test ! -s conftest.err
    12302        } && test -s conftest$ac_exeext && {
    12303          test "$cross_compiling" = yes ||
    12304          $as_test_x conftest$ac_exeext
    12305        }; then
    12306   ac_cv_lib_avcodec_main=yes
    12307 else
    12308   $as_echo "$as_me: failed program was:" >&5
    12309 sed 's/^/| /' conftest.$ac_ext >&5
    12310 
    12311         ac_cv_lib_avcodec_main=no
    12312 fi
    12313 
    12314 rm -rf conftest.dSYM
    12315 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12316       conftest$ac_exeext conftest.$ac_ext
    12317 LIBS=$ac_check_lib_save_LIBS
    12318 fi
    12319 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5
    12320 $as_echo "$ac_cv_lib_avcodec_main" >&6; }
    12321 if test "x$ac_cv_lib_avcodec_main" = x""yes; then
    12322   cat >>confdefs.h <<_ACEOF
    12323 #define HAVE_LIBAVCODEC 1
    12324 _ACEOF
    12325 
    12326   LIBS="-lavcodec $LIBS"
    12327 
    12328 else
    12329   { { $as_echo "$as_me:$LINENO: error: requires libavcodec" >&5
    12330 $as_echo "$as_me: error: requires libavcodec" >&2;}
    12331    { (exit 1); exit 1; }; }
    12332 fi
    12333 
    12334 
    12335 { $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5
    12336 $as_echo_n "checking for main in -lavutil... " >&6; }
    12337 if test "${ac_cv_lib_avutil_main+set}" = set; then
    12338   $as_echo_n "(cached) " >&6
    12339 else
    12340   ac_check_lib_save_LIBS=$LIBS
    12341 LIBS="-lavutil  $LIBS"
    12342 cat >conftest.$ac_ext <<_ACEOF
    12343 /* confdefs.h.  */
    12344 _ACEOF
    12345 cat confdefs.h >>conftest.$ac_ext
    12346 cat >>conftest.$ac_ext <<_ACEOF
    12347 /* end confdefs.h.  */
    12348 
    12349 
    12350 int
    12351 main ()
    12352 {
    12353 return main ();
    12354   ;
    12355   return 0;
    12356 }
    12357 _ACEOF
    12358 rm -f conftest.$ac_objext conftest$ac_exeext
    12359 if { (ac_try="$ac_link"
    12360 case "(($ac_try" in
    12361   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12362   *) ac_try_echo=$ac_try;;
    12363 esac
    12364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12365 $as_echo "$ac_try_echo") >&5
    12366   (eval "$ac_link") 2>conftest.er1
    12367   ac_status=$?
    12368   grep -v '^ *+' conftest.er1 >conftest.err
    12369   rm -f conftest.er1
    12370   cat conftest.err >&5
    12371   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12372   (exit $ac_status); } && {
    12373          test -z "$ac_cxx_werror_flag" ||
    12374          test ! -s conftest.err
    12375        } && test -s conftest$ac_exeext && {
    12376          test "$cross_compiling" = yes ||
    12377          $as_test_x conftest$ac_exeext
    12378        }; then
    12379   ac_cv_lib_avutil_main=yes
    12380 else
    12381   $as_echo "$as_me: failed program was:" >&5
    12382 sed 's/^/| /' conftest.$ac_ext >&5
    12383 
    12384         ac_cv_lib_avutil_main=no
    12385 fi
    12386 
    12387 rm -rf conftest.dSYM
    12388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12389       conftest$ac_exeext conftest.$ac_ext
    12390 LIBS=$ac_check_lib_save_LIBS
    12391 fi
    12392 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5
    12393 $as_echo "$ac_cv_lib_avutil_main" >&6; }
    12394 if test "x$ac_cv_lib_avutil_main" = x""yes; then
    12395   cat >>confdefs.h <<_ACEOF
    12396 #define HAVE_LIBAVUTIL 1
    12397 _ACEOF
    12398 
    12399   LIBS="-lavutil $LIBS"
    12400 
    12401 else
    12402   { { $as_echo "$as_me:$LINENO: error: requires libavutil" >&5
    12403 $as_echo "$as_me: error: requires libavutil" >&2;}
    12404    { (exit 1); exit 1; }; }
    12405 fi
    12406 
    12407 
    12408 { $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5
    12409 $as_echo_n "checking for main in -lavformat... " >&6; }
    12410 if test "${ac_cv_lib_avformat_main+set}" = set; then
    12411   $as_echo_n "(cached) " >&6
    12412 else
    12413   ac_check_lib_save_LIBS=$LIBS
    12414 LIBS="-lavformat  $LIBS"
    12415 cat >conftest.$ac_ext <<_ACEOF
    12416 /* confdefs.h.  */
    12417 _ACEOF
    12418 cat confdefs.h >>conftest.$ac_ext
    12419 cat >>conftest.$ac_ext <<_ACEOF
    12420 /* end confdefs.h.  */
    12421 
    12422 
    12423 int
    12424 main ()
    12425 {
    12426 return main ();
    12427   ;
    12428   return 0;
    12429 }
    12430 _ACEOF
    12431 rm -f conftest.$ac_objext conftest$ac_exeext
    12432 if { (ac_try="$ac_link"
    12433 case "(($ac_try" in
    12434   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12435   *) ac_try_echo=$ac_try;;
    12436 esac
    12437 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12438 $as_echo "$ac_try_echo") >&5
    12439   (eval "$ac_link") 2>conftest.er1
    12440   ac_status=$?
    12441   grep -v '^ *+' conftest.er1 >conftest.err
    12442   rm -f conftest.er1
    12443   cat conftest.err >&5
    12444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12445   (exit $ac_status); } && {
    12446          test -z "$ac_cxx_werror_flag" ||
    12447          test ! -s conftest.err
    12448        } && test -s conftest$ac_exeext && {
    12449          test "$cross_compiling" = yes ||
    12450          $as_test_x conftest$ac_exeext
    12451        }; then
    12452   ac_cv_lib_avformat_main=yes
    12453 else
    12454   $as_echo "$as_me: failed program was:" >&5
    12455 sed 's/^/| /' conftest.$ac_ext >&5
    12456 
    12457         ac_cv_lib_avformat_main=no
    12458 fi
    12459 
    12460 rm -rf conftest.dSYM
    12461 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12462       conftest$ac_exeext conftest.$ac_ext
    12463 LIBS=$ac_check_lib_save_LIBS
    12464 fi
    12465 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5
    12466 $as_echo "$ac_cv_lib_avformat_main" >&6; }
    12467 if test "x$ac_cv_lib_avformat_main" = x""yes; then
    12468   cat >>confdefs.h <<_ACEOF
    12469 #define HAVE_LIBAVFORMAT 1
    12470 _ACEOF
    12471 
    12472   LIBS="-lavformat $LIBS"
    12473 
    12474 else
    12475   { { $as_echo "$as_me:$LINENO: error: requires libavformat" >&5
    12476 $as_echo "$as_me: error: requires libavformat" >&2;}
    12477    { (exit 1); exit 1; }; }
    12478 fi
    12479 
    12480 
    12481 { $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5
    12482 $as_echo_n "checking for main in -lswscale... " >&6; }
    12483 if test "${ac_cv_lib_swscale_main+set}" = set; then
    12484   $as_echo_n "(cached) " >&6
    12485 else
    12486   ac_check_lib_save_LIBS=$LIBS
    12487 LIBS="-lswscale  $LIBS"
    12488 cat >conftest.$ac_ext <<_ACEOF
    12489 /* confdefs.h.  */
    12490 _ACEOF
    12491 cat confdefs.h >>conftest.$ac_ext
    12492 cat >>conftest.$ac_ext <<_ACEOF
    12493 /* end confdefs.h.  */
    12494 
    12495 
    12496 int
    12497 main ()
    12498 {
    12499 return main ();
    12500   ;
    12501   return 0;
    12502 }
    12503 _ACEOF
    12504 rm -f conftest.$ac_objext conftest$ac_exeext
    12505 if { (ac_try="$ac_link"
    12506 case "(($ac_try" in
    12507   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12508   *) ac_try_echo=$ac_try;;
    12509 esac
    12510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12511 $as_echo "$ac_try_echo") >&5
    12512   (eval "$ac_link") 2>conftest.er1
    12513   ac_status=$?
    12514   grep -v '^ *+' conftest.er1 >conftest.err
    12515   rm -f conftest.er1
    12516   cat conftest.err >&5
    12517   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12518   (exit $ac_status); } && {
    12519          test -z "$ac_cxx_werror_flag" ||
    12520          test ! -s conftest.err
    12521        } && test -s conftest$ac_exeext && {
    12522          test "$cross_compiling" = yes ||
    12523          $as_test_x conftest$ac_exeext
    12524        }; then
    12525   ac_cv_lib_swscale_main=yes
    12526 else
    12527   $as_echo "$as_me: failed program was:" >&5
    12528 sed 's/^/| /' conftest.$ac_ext >&5
    12529 
    12530         ac_cv_lib_swscale_main=no
    12531 fi
    12532 
    12533 rm -rf conftest.dSYM
    12534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12535       conftest$ac_exeext conftest.$ac_ext
    12536 LIBS=$ac_check_lib_save_LIBS
    12537 fi
    12538 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5
    12539 $as_echo "$ac_cv_lib_swscale_main" >&6; }
    12540 if test "x$ac_cv_lib_swscale_main" = x""yes; then
    12541   cat >>confdefs.h <<_ACEOF
    12542 #define HAVE_LIBSWSCALE 1
    12543 _ACEOF
    12544 
    12545   LIBS="-lswscale $LIBS"
    12546 
    12547 fi
    12548 
    12549 
    12550 for ac_func in avcodec_register_all
    12551 do
    12552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12553 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12554 $as_echo_n "checking for $ac_func... " >&6; }
    12555 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12556   $as_echo_n "(cached) " >&6
    12557 else
    12558   cat >conftest.$ac_ext <<_ACEOF
    12559 /* confdefs.h.  */
    12560 _ACEOF
    12561 cat confdefs.h >>conftest.$ac_ext
    12562 cat >>conftest.$ac_ext <<_ACEOF
    12563 /* end confdefs.h.  */
    12564 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12565    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12566 #define $ac_func innocuous_$ac_func
    12567 
    12568 /* System header to define __stub macros and hopefully few prototypes,
    12569     which can conflict with char $ac_func (); below.
    12570     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12571     <limits.h> exists even on freestanding compilers.  */
    12572 
    12573 #ifdef __STDC__
    12574 # include <limits.h>
    12575 #else
    12576 # include <assert.h>
    12577 #endif
    12578 
    12579 #undef $ac_func
    12580 
    12581 /* Override any GCC internal prototype to avoid an error.
    12582    Use char because int might match the return type of a GCC
    12583    builtin and then its argument prototype would still apply.  */
    12584 #ifdef __cplusplus
    12585 extern "C"
    12586 #endif
    12587 char $ac_func ();
    12588 /* The GNU C library defines this for functions which it implements
    12589     to always fail with ENOSYS.  Some functions are actually named
    12590     something starting with __ and the normal name is an alias.  */
    12591 #if defined __stub_$ac_func || defined __stub___$ac_func
    12592 choke me
    12593 #endif
    12594 
    12595 int
    12596 main ()
    12597 {
    12598 return $ac_func ();
    12599   ;
    12600   return 0;
    12601 }
    12602 _ACEOF
    12603 rm -f conftest.$ac_objext conftest$ac_exeext
    12604 if { (ac_try="$ac_link"
    12605 case "(($ac_try" in
    12606   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12607   *) ac_try_echo=$ac_try;;
    12608 esac
    12609 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12610 $as_echo "$ac_try_echo") >&5
    12611   (eval "$ac_link") 2>conftest.er1
    12612   ac_status=$?
    12613   grep -v '^ *+' conftest.er1 >conftest.err
    12614   rm -f conftest.er1
    12615   cat conftest.err >&5
    12616   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12617   (exit $ac_status); } && {
    12618          test -z "$ac_cxx_werror_flag" ||
    12619          test ! -s conftest.err
    12620        } && test -s conftest$ac_exeext && {
    12621          test "$cross_compiling" = yes ||
    12622          $as_test_x conftest$ac_exeext
    12623        }; then
    12624   eval "$as_ac_var=yes"
    12625 else
    12626   $as_echo "$as_me: failed program was:" >&5
    12627 sed 's/^/| /' conftest.$ac_ext >&5
    12628 
    12629         eval "$as_ac_var=no"
    12630 fi
    12631 
    12632 rm -rf conftest.dSYM
    12633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12634       conftest$ac_exeext conftest.$ac_ext
    12635 fi
    12636 ac_res=`eval 'as_val=${'$as_ac_var'}
    12637                  $as_echo "$as_val"'`
    12638                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12639 $as_echo "$ac_res" >&6; }
    12640 as_val=`eval 'as_val=${'$as_ac_var'}
    12641                  $as_echo "$as_val"'`
    12642    if test "x$as_val" = x""yes; then
    12643   cat >>confdefs.h <<_ACEOF
    12644 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12645 _ACEOF
    12646 
    12647 fi
    12648 done
    12649 
    12650 
    12651 for ac_func in avcodec_init
    12652 do
    12653 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12654 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12655 $as_echo_n "checking for $ac_func... " >&6; }
    12656 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12657   $as_echo_n "(cached) " >&6
    12658 else
    12659   cat >conftest.$ac_ext <<_ACEOF
    12660 /* confdefs.h.  */
    12661 _ACEOF
    12662 cat confdefs.h >>conftest.$ac_ext
    12663 cat >>conftest.$ac_ext <<_ACEOF
    12664 /* end confdefs.h.  */
    12665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12666    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12667 #define $ac_func innocuous_$ac_func
    12668 
    12669 /* System header to define __stub macros and hopefully few prototypes,
    12670     which can conflict with char $ac_func (); below.
    12671     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12672     <limits.h> exists even on freestanding compilers.  */
    12673 
    12674 #ifdef __STDC__
    12675 # include <limits.h>
    12676 #else
    12677 # include <assert.h>
    12678 #endif
    12679 
    12680 #undef $ac_func
    12681 
    12682 /* Override any GCC internal prototype to avoid an error.
    12683    Use char because int might match the return type of a GCC
    12684    builtin and then its argument prototype would still apply.  */
    12685 #ifdef __cplusplus
    12686 extern "C"
    12687 #endif
    12688 char $ac_func ();
    12689 /* The GNU C library defines this for functions which it implements
    12690     to always fail with ENOSYS.  Some functions are actually named
    12691     something starting with __ and the normal name is an alias.  */
    12692 #if defined __stub_$ac_func || defined __stub___$ac_func
    12693 choke me
    12694 #endif
    12695 
    12696 int
    12697 main ()
    12698 {
    12699 return $ac_func ();
    12700   ;
    12701   return 0;
    12702 }
    12703 _ACEOF
    12704 rm -f conftest.$ac_objext conftest$ac_exeext
    12705 if { (ac_try="$ac_link"
    12706 case "(($ac_try" in
    12707   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12708   *) ac_try_echo=$ac_try;;
    12709 esac
    12710 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12711 $as_echo "$ac_try_echo") >&5
    12712   (eval "$ac_link") 2>conftest.er1
    12713   ac_status=$?
    12714   grep -v '^ *+' conftest.er1 >conftest.err
    12715   rm -f conftest.er1
    12716   cat conftest.err >&5
    12717   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12718   (exit $ac_status); } && {
    12719          test -z "$ac_cxx_werror_flag" ||
    12720          test ! -s conftest.err
    12721        } && test -s conftest$ac_exeext && {
    12722          test "$cross_compiling" = yes ||
    12723          $as_test_x conftest$ac_exeext
    12724        }; then
    12725   eval "$as_ac_var=yes"
    12726 else
    12727   $as_echo "$as_me: failed program was:" >&5
    12728 sed 's/^/| /' conftest.$ac_ext >&5
    12729 
    12730         eval "$as_ac_var=no"
    12731 fi
    12732 
    12733 rm -rf conftest.dSYM
    12734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12735       conftest$ac_exeext conftest.$ac_ext
    12736 fi
    12737 ac_res=`eval 'as_val=${'$as_ac_var'}
    12738                  $as_echo "$as_val"'`
    12739                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12740 $as_echo "$ac_res" >&6; }
    12741 as_val=`eval 'as_val=${'$as_ac_var'}
    12742                  $as_echo "$as_val"'`
    12743    if test "x$as_val" = x""yes; then
    12744   cat >>confdefs.h <<_ACEOF
    12745 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12746 _ACEOF
    12747 
    12748 fi
    12749 done
    12750 
    12751 
    12752 for ac_func in avformat_new_stream
    12753 do
    12754 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12755 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12756 $as_echo_n "checking for $ac_func... " >&6; }
    12757 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12758   $as_echo_n "(cached) " >&6
    12759 else
    12760   cat >conftest.$ac_ext <<_ACEOF
    12761 /* confdefs.h.  */
    12762 _ACEOF
    12763 cat confdefs.h >>conftest.$ac_ext
    12764 cat >>conftest.$ac_ext <<_ACEOF
    12765 /* end confdefs.h.  */
    12766 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12767    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12768 #define $ac_func innocuous_$ac_func
    12769 
    12770 /* System header to define __stub macros and hopefully few prototypes,
    12771     which can conflict with char $ac_func (); below.
    12772     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12773     <limits.h> exists even on freestanding compilers.  */
    12774 
    12775 #ifdef __STDC__
    12776 # include <limits.h>
    12777 #else
    12778 # include <assert.h>
    12779 #endif
    12780 
    12781 #undef $ac_func
    12782 
    12783 /* Override any GCC internal prototype to avoid an error.
    12784    Use char because int might match the return type of a GCC
    12785    builtin and then its argument prototype would still apply.  */
    12786 #ifdef __cplusplus
    12787 extern "C"
    12788 #endif
    12789 char $ac_func ();
    12790 /* The GNU C library defines this for functions which it implements
    12791     to always fail with ENOSYS.  Some functions are actually named
    12792     something starting with __ and the normal name is an alias.  */
    12793 #if defined __stub_$ac_func || defined __stub___$ac_func
    12794 choke me
    12795 #endif
    12796 
    12797 int
    12798 main ()
    12799 {
    12800 return $ac_func ();
    12801   ;
    12802   return 0;
    12803 }
    12804 _ACEOF
    12805 rm -f conftest.$ac_objext conftest$ac_exeext
    12806 if { (ac_try="$ac_link"
    12807 case "(($ac_try" in
    12808   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12809   *) ac_try_echo=$ac_try;;
    12810 esac
    12811 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12812 $as_echo "$ac_try_echo") >&5
    12813   (eval "$ac_link") 2>conftest.er1
    12814   ac_status=$?
    12815   grep -v '^ *+' conftest.er1 >conftest.err
    12816   rm -f conftest.er1
    12817   cat conftest.err >&5
    12818   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12819   (exit $ac_status); } && {
    12820          test -z "$ac_cxx_werror_flag" ||
    12821          test ! -s conftest.err
    12822        } && test -s conftest$ac_exeext && {
    12823          test "$cross_compiling" = yes ||
    12824          $as_test_x conftest$ac_exeext
    12825        }; then
    12826   eval "$as_ac_var=yes"
    12827 else
    12828   $as_echo "$as_me: failed program was:" >&5
    12829 sed 's/^/| /' conftest.$ac_ext >&5
    12830 
    12831         eval "$as_ac_var=no"
    12832 fi
    12833 
    12834 rm -rf conftest.dSYM
    12835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12836       conftest$ac_exeext conftest.$ac_ext
    12837 fi
    12838 ac_res=`eval 'as_val=${'$as_ac_var'}
    12839                  $as_echo "$as_val"'`
    12840                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12841 $as_echo "$ac_res" >&6; }
    12842 as_val=`eval 'as_val=${'$as_ac_var'}
    12843                  $as_echo "$as_val"'`
    12844    if test "x$as_val" = x""yes; then
    12845   cat >>confdefs.h <<_ACEOF
    12846 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12847 _ACEOF
    12848 
    12849 fi
    12850 done
    12851 
    12852 
    12853 for ac_func in av_new_stream
    12854 do
    12855 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12856 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12857 $as_echo_n "checking for $ac_func... " >&6; }
    12858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12859   $as_echo_n "(cached) " >&6
    12860 else
    12861   cat >conftest.$ac_ext <<_ACEOF
    12862 /* confdefs.h.  */
    12863 _ACEOF
    12864 cat confdefs.h >>conftest.$ac_ext
    12865 cat >>conftest.$ac_ext <<_ACEOF
    12866 /* end confdefs.h.  */
    12867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12868    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12869 #define $ac_func innocuous_$ac_func
    12870 
    12871 /* System header to define __stub macros and hopefully few prototypes,
    12872     which can conflict with char $ac_func (); below.
    12873     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12874     <limits.h> exists even on freestanding compilers.  */
    12875 
    12876 #ifdef __STDC__
    12877 # include <limits.h>
    12878 #else
    12879 # include <assert.h>
    12880 #endif
    12881 
    12882 #undef $ac_func
    12883 
    12884 /* Override any GCC internal prototype to avoid an error.
    12885    Use char because int might match the return type of a GCC
    12886    builtin and then its argument prototype would still apply.  */
    12887 #ifdef __cplusplus
    12888 extern "C"
    12889 #endif
    12890 char $ac_func ();
    12891 /* The GNU C library defines this for functions which it implements
    12892     to always fail with ENOSYS.  Some functions are actually named
    12893     something starting with __ and the normal name is an alias.  */
    12894 #if defined __stub_$ac_func || defined __stub___$ac_func
    12895 choke me
    12896 #endif
    12897 
    12898 int
    12899 main ()
    12900 {
    12901 return $ac_func ();
    12902   ;
    12903   return 0;
    12904 }
    12905 _ACEOF
    12906 rm -f conftest.$ac_objext conftest$ac_exeext
    12907 if { (ac_try="$ac_link"
    12908 case "(($ac_try" in
    12909   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12910   *) ac_try_echo=$ac_try;;
    12911 esac
    12912 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12913 $as_echo "$ac_try_echo") >&5
    12914   (eval "$ac_link") 2>conftest.er1
    12915   ac_status=$?
    12916   grep -v '^ *+' conftest.er1 >conftest.err
    12917   rm -f conftest.er1
    12918   cat conftest.err >&5
    12919   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12920   (exit $ac_status); } && {
    12921          test -z "$ac_cxx_werror_flag" ||
    12922          test ! -s conftest.err
    12923        } && test -s conftest$ac_exeext && {
    12924          test "$cross_compiling" = yes ||
    12925          $as_test_x conftest$ac_exeext
    12926        }; then
    12927   eval "$as_ac_var=yes"
    12928 else
    12929   $as_echo "$as_me: failed program was:" >&5
    12930 sed 's/^/| /' conftest.$ac_ext >&5
    12931 
    12932         eval "$as_ac_var=no"
    12933 fi
    12934 
    12935 rm -rf conftest.dSYM
    12936 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12937       conftest$ac_exeext conftest.$ac_ext
    12938 fi
    12939 ac_res=`eval 'as_val=${'$as_ac_var'}
    12940                  $as_echo "$as_val"'`
    12941                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12942 $as_echo "$ac_res" >&6; }
    12943 as_val=`eval 'as_val=${'$as_ac_var'}
    12944                  $as_echo "$as_val"'`
    12945    if test "x$as_val" = x""yes; then
    12946   cat >>confdefs.h <<_ACEOF
    12947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12948 _ACEOF
    12949 
    12950 fi
    12951 done
    12952 
    12953 
    12954 for ac_func in avcodec_open
    12955 do
    12956 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12957 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12958 $as_echo_n "checking for $ac_func... " >&6; }
    12959 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12960   $as_echo_n "(cached) " >&6
    12961 else
    12962   cat >conftest.$ac_ext <<_ACEOF
    12963 /* confdefs.h.  */
    12964 _ACEOF
    12965 cat confdefs.h >>conftest.$ac_ext
    12966 cat >>conftest.$ac_ext <<_ACEOF
    12967 /* end confdefs.h.  */
    12968 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12969    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12970 #define $ac_func innocuous_$ac_func
    12971 
    12972 /* System header to define __stub macros and hopefully few prototypes,
    12973     which can conflict with char $ac_func (); below.
    12974     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12975     <limits.h> exists even on freestanding compilers.  */
    12976 
    12977 #ifdef __STDC__
    12978 # include <limits.h>
    12979 #else
    12980 # include <assert.h>
    12981 #endif
    12982 
    12983 #undef $ac_func
    12984 
    12985 /* Override any GCC internal prototype to avoid an error.
    12986    Use char because int might match the return type of a GCC
    12987    builtin and then its argument prototype would still apply.  */
    12988 #ifdef __cplusplus
    12989 extern "C"
    12990 #endif
    12991 char $ac_func ();
    12992 /* The GNU C library defines this for functions which it implements
    12993     to always fail with ENOSYS.  Some functions are actually named
    12994     something starting with __ and the normal name is an alias.  */
    12995 #if defined __stub_$ac_func || defined __stub___$ac_func
    12996 choke me
    12997 #endif
    12998 
    12999 int
    13000 main ()
    13001 {
    13002 return $ac_func ();
    13003   ;
    13004   return 0;
    13005 }
    13006 _ACEOF
    13007 rm -f conftest.$ac_objext conftest$ac_exeext
    13008 if { (ac_try="$ac_link"
    13009 case "(($ac_try" in
    13010   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13011   *) ac_try_echo=$ac_try;;
    13012 esac
    13013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13014 $as_echo "$ac_try_echo") >&5
    13015   (eval "$ac_link") 2>conftest.er1
    13016   ac_status=$?
    13017   grep -v '^ *+' conftest.er1 >conftest.err
    13018   rm -f conftest.er1
    13019   cat conftest.err >&5
    13020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13021   (exit $ac_status); } && {
    13022          test -z "$ac_cxx_werror_flag" ||
    13023          test ! -s conftest.err
    13024        } && test -s conftest$ac_exeext && {
    13025          test "$cross_compiling" = yes ||
    13026          $as_test_x conftest$ac_exeext
    13027        }; then
    13028   eval "$as_ac_var=yes"
    13029 else
    13030   $as_echo "$as_me: failed program was:" >&5
    13031 sed 's/^/| /' conftest.$ac_ext >&5
    13032 
    13033         eval "$as_ac_var=no"
    13034 fi
    13035 
    13036 rm -rf conftest.dSYM
    13037 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13038       conftest$ac_exeext conftest.$ac_ext
    13039 fi
    13040 ac_res=`eval 'as_val=${'$as_ac_var'}
    13041                  $as_echo "$as_val"'`
    13042                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13043 $as_echo "$ac_res" >&6; }
    13044 as_val=`eval 'as_val=${'$as_ac_var'}
    13045                  $as_echo "$as_val"'`
    13046    if test "x$as_val" = x""yes; then
    13047   cat >>confdefs.h <<_ACEOF
    13048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13049 _ACEOF
    13050 
    13051 fi
    13052 done
    13053 
    13054 
    13055 for ac_func in avcodec_open2
    13056 do
    13057 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13058 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13059 $as_echo_n "checking for $ac_func... " >&6; }
    13060 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13061   $as_echo_n "(cached) " >&6
    13062 else
    13063   cat >conftest.$ac_ext <<_ACEOF
    13064 /* confdefs.h.  */
    13065 _ACEOF
    13066 cat confdefs.h >>conftest.$ac_ext
    13067 cat >>conftest.$ac_ext <<_ACEOF
    13068 /* end confdefs.h.  */
    13069 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13070    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13071 #define $ac_func innocuous_$ac_func
    13072 
    13073 /* System header to define __stub macros and hopefully few prototypes,
    13074     which can conflict with char $ac_func (); below.
    13075     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13076     <limits.h> exists even on freestanding compilers.  */
    13077 
    13078 #ifdef __STDC__
    13079 # include <limits.h>
    13080 #else
    13081 # include <assert.h>
    13082 #endif
    13083 
    13084 #undef $ac_func
    13085 
    13086 /* Override any GCC internal prototype to avoid an error.
    13087    Use char because int might match the return type of a GCC
    13088    builtin and then its argument prototype would still apply.  */
    13089 #ifdef __cplusplus
    13090 extern "C"
    13091 #endif
    13092 char $ac_func ();
    13093 /* The GNU C library defines this for functions which it implements
    13094     to always fail with ENOSYS.  Some functions are actually named
    13095     something starting with __ and the normal name is an alias.  */
    13096 #if defined __stub_$ac_func || defined __stub___$ac_func
    13097 choke me
    13098 #endif
    13099 
    13100 int
    13101 main ()
    13102 {
    13103 return $ac_func ();
    13104   ;
    13105   return 0;
    13106 }
    13107 _ACEOF
    13108 rm -f conftest.$ac_objext conftest$ac_exeext
    13109 if { (ac_try="$ac_link"
    13110 case "(($ac_try" in
    13111   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13112   *) ac_try_echo=$ac_try;;
    13113 esac
    13114 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13115 $as_echo "$ac_try_echo") >&5
    13116   (eval "$ac_link") 2>conftest.er1
    13117   ac_status=$?
    13118   grep -v '^ *+' conftest.er1 >conftest.err
    13119   rm -f conftest.er1
    13120   cat conftest.err >&5
    13121   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13122   (exit $ac_status); } && {
    13123          test -z "$ac_cxx_werror_flag" ||
    13124          test ! -s conftest.err
    13125        } && test -s conftest$ac_exeext && {
    13126          test "$cross_compiling" = yes ||
    13127          $as_test_x conftest$ac_exeext
    13128        }; then
    13129   eval "$as_ac_var=yes"
    13130 else
    13131   $as_echo "$as_me: failed program was:" >&5
    13132 sed 's/^/| /' conftest.$ac_ext >&5
    13133 
    13134         eval "$as_ac_var=no"
    13135 fi
    13136 
    13137 rm -rf conftest.dSYM
    13138 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13139       conftest$ac_exeext conftest.$ac_ext
    13140 fi
    13141 ac_res=`eval 'as_val=${'$as_ac_var'}
    13142                  $as_echo "$as_val"'`
    13143                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13144 $as_echo "$ac_res" >&6; }
    13145 as_val=`eval 'as_val=${'$as_ac_var'}
    13146                  $as_echo "$as_val"'`
    13147    if test "x$as_val" = x""yes; then
    13148   cat >>confdefs.h <<_ACEOF
    13149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13150 _ACEOF
    13151 
    13152 fi
    13153 done
    13154 
    13155 
    13156 for ac_func in avcodec_decode_video2
    13157 do
    13158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13159 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13160 $as_echo_n "checking for $ac_func... " >&6; }
    13161 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13162   $as_echo_n "(cached) " >&6
    13163 else
    13164   cat >conftest.$ac_ext <<_ACEOF
    13165 /* confdefs.h.  */
    13166 _ACEOF
    13167 cat confdefs.h >>conftest.$ac_ext
    13168 cat >>conftest.$ac_ext <<_ACEOF
    13169 /* end confdefs.h.  */
    13170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13171    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13172 #define $ac_func innocuous_$ac_func
    13173 
    13174 /* System header to define __stub macros and hopefully few prototypes,
    13175     which can conflict with char $ac_func (); below.
    13176     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13177     <limits.h> exists even on freestanding compilers.  */
    13178 
    13179 #ifdef __STDC__
    13180 # include <limits.h>
    13181 #else
    13182 # include <assert.h>
    13183 #endif
    13184 
    13185 #undef $ac_func
    13186 
    13187 /* Override any GCC internal prototype to avoid an error.
    13188    Use char because int might match the return type of a GCC
    13189    builtin and then its argument prototype would still apply.  */
    13190 #ifdef __cplusplus
    13191 extern "C"
    13192 #endif
    13193 char $ac_func ();
    13194 /* The GNU C library defines this for functions which it implements
    13195     to always fail with ENOSYS.  Some functions are actually named
    13196     something starting with __ and the normal name is an alias.  */
    13197 #if defined __stub_$ac_func || defined __stub___$ac_func
    13198 choke me
    13199 #endif
    13200 
    13201 int
    13202 main ()
    13203 {
    13204 return $ac_func ();
    13205   ;
    13206   return 0;
    13207 }
    13208 _ACEOF
    13209 rm -f conftest.$ac_objext conftest$ac_exeext
    13210 if { (ac_try="$ac_link"
    13211 case "(($ac_try" in
    13212   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13213   *) ac_try_echo=$ac_try;;
    13214 esac
    13215 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13216 $as_echo "$ac_try_echo") >&5
    13217   (eval "$ac_link") 2>conftest.er1
    13218   ac_status=$?
    13219   grep -v '^ *+' conftest.er1 >conftest.err
    13220   rm -f conftest.er1
    13221   cat conftest.err >&5
    13222   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13223   (exit $ac_status); } && {
    13224          test -z "$ac_cxx_werror_flag" ||
    13225          test ! -s conftest.err
    13226        } && test -s conftest$ac_exeext && {
    13227          test "$cross_compiling" = yes ||
    13228          $as_test_x conftest$ac_exeext
    13229        }; then
    13230   eval "$as_ac_var=yes"
    13231 else
    13232   $as_echo "$as_me: failed program was:" >&5
    13233 sed 's/^/| /' conftest.$ac_ext >&5
    13234 
    13235         eval "$as_ac_var=no"
    13236 fi
    13237 
    13238 rm -rf conftest.dSYM
    13239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13240       conftest$ac_exeext conftest.$ac_ext
    13241 fi
    13242 ac_res=`eval 'as_val=${'$as_ac_var'}
    13243                  $as_echo "$as_val"'`
    13244                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13245 $as_echo "$ac_res" >&6; }
    13246 as_val=`eval 'as_val=${'$as_ac_var'}
    13247                  $as_echo "$as_val"'`
    13248    if test "x$as_val" = x""yes; then
    13249   cat >>confdefs.h <<_ACEOF
    13250 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13251 _ACEOF
    13252 
    13253 fi
    13254 done
    13255 
    13256 
    13257 for ac_func in avcodec_decode_video
    13258 do
    13259 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13260 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13261 $as_echo_n "checking for $ac_func... " >&6; }
    13262 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13263   $as_echo_n "(cached) " >&6
    13264 else
    13265   cat >conftest.$ac_ext <<_ACEOF
    13266 /* confdefs.h.  */
    13267 _ACEOF
    13268 cat confdefs.h >>conftest.$ac_ext
    13269 cat >>conftest.$ac_ext <<_ACEOF
    13270 /* end confdefs.h.  */
    13271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13273 #define $ac_func innocuous_$ac_func
    13274 
    13275 /* System header to define __stub macros and hopefully few prototypes,
    13276     which can conflict with char $ac_func (); below.
    13277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13278     <limits.h> exists even on freestanding compilers.  */
    13279 
    13280 #ifdef __STDC__
    13281 # include <limits.h>
    13282 #else
    13283 # include <assert.h>
    13284 #endif
    13285 
    13286 #undef $ac_func
    13287 
    13288 /* Override any GCC internal prototype to avoid an error.
    13289    Use char because int might match the return type of a GCC
    13290    builtin and then its argument prototype would still apply.  */
    13291 #ifdef __cplusplus
    13292 extern "C"
    13293 #endif
    13294 char $ac_func ();
    13295 /* The GNU C library defines this for functions which it implements
    13296     to always fail with ENOSYS.  Some functions are actually named
    13297     something starting with __ and the normal name is an alias.  */
    13298 #if defined __stub_$ac_func || defined __stub___$ac_func
    13299 choke me
    13300 #endif
    13301 
    13302 int
    13303 main ()
    13304 {
    13305 return $ac_func ();
    13306   ;
    13307   return 0;
    13308 }
    13309 _ACEOF
    13310 rm -f conftest.$ac_objext conftest$ac_exeext
    13311 if { (ac_try="$ac_link"
    13312 case "(($ac_try" in
    13313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13314   *) ac_try_echo=$ac_try;;
    13315 esac
    13316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13317 $as_echo "$ac_try_echo") >&5
    13318   (eval "$ac_link") 2>conftest.er1
    13319   ac_status=$?
    13320   grep -v '^ *+' conftest.er1 >conftest.err
    13321   rm -f conftest.er1
    13322   cat conftest.err >&5
    13323   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13324   (exit $ac_status); } && {
    13325          test -z "$ac_cxx_werror_flag" ||
    13326          test ! -s conftest.err
    13327        } && test -s conftest$ac_exeext && {
    13328          test "$cross_compiling" = yes ||
    13329          $as_test_x conftest$ac_exeext
    13330        }; then
    13331   eval "$as_ac_var=yes"
    13332 else
    13333   $as_echo "$as_me: failed program was:" >&5
    13334 sed 's/^/| /' conftest.$ac_ext >&5
    13335 
    13336         eval "$as_ac_var=no"
    13337 fi
    13338 
    13339 rm -rf conftest.dSYM
    13340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13341       conftest$ac_exeext conftest.$ac_ext
    13342 fi
    13343 ac_res=`eval 'as_val=${'$as_ac_var'}
    13344                  $as_echo "$as_val"'`
    13345                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13346 $as_echo "$ac_res" >&6; }
    13347 as_val=`eval 'as_val=${'$as_ac_var'}
    13348                  $as_echo "$as_val"'`
    13349    if test "x$as_val" = x""yes; then
    13350   cat >>confdefs.h <<_ACEOF
    13351 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13352 _ACEOF
    13353 
    13354 fi
    13355 done
    13356 
    13357 
    13358 for ac_func in avcodec_encode_video2
    13359 do
    13360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13361 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13362 $as_echo_n "checking for $ac_func... " >&6; }
    13363 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13364   $as_echo_n "(cached) " >&6
    13365 else
    13366   cat >conftest.$ac_ext <<_ACEOF
    13367 /* confdefs.h.  */
    13368 _ACEOF
    13369 cat confdefs.h >>conftest.$ac_ext
    13370 cat >>conftest.$ac_ext <<_ACEOF
    13371 /* end confdefs.h.  */
    13372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13373    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13374 #define $ac_func innocuous_$ac_func
    13375 
    13376 /* System header to define __stub macros and hopefully few prototypes,
    13377     which can conflict with char $ac_func (); below.
    13378     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13379     <limits.h> exists even on freestanding compilers.  */
    13380 
    13381 #ifdef __STDC__
    13382 # include <limits.h>
    13383 #else
    13384 # include <assert.h>
    13385 #endif
    13386 
    13387 #undef $ac_func
    13388 
    13389 /* Override any GCC internal prototype to avoid an error.
    13390    Use char because int might match the return type of a GCC
    13391    builtin and then its argument prototype would still apply.  */
    13392 #ifdef __cplusplus
    13393 extern "C"
    13394 #endif
    13395 char $ac_func ();
    13396 /* The GNU C library defines this for functions which it implements
    13397     to always fail with ENOSYS.  Some functions are actually named
    13398     something starting with __ and the normal name is an alias.  */
    13399 #if defined __stub_$ac_func || defined __stub___$ac_func
    13400 choke me
    13401 #endif
    13402 
    13403 int
    13404 main ()
    13405 {
    13406 return $ac_func ();
    13407   ;
    13408   return 0;
    13409 }
    13410 _ACEOF
    13411 rm -f conftest.$ac_objext conftest$ac_exeext
    13412 if { (ac_try="$ac_link"
    13413 case "(($ac_try" in
    13414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13415   *) ac_try_echo=$ac_try;;
    13416 esac
    13417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13418 $as_echo "$ac_try_echo") >&5
    13419   (eval "$ac_link") 2>conftest.er1
    13420   ac_status=$?
    13421   grep -v '^ *+' conftest.er1 >conftest.err
    13422   rm -f conftest.er1
    13423   cat conftest.err >&5
    13424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13425   (exit $ac_status); } && {
    13426          test -z "$ac_cxx_werror_flag" ||
    13427          test ! -s conftest.err
    13428        } && test -s conftest$ac_exeext && {
    13429          test "$cross_compiling" = yes ||
    13430          $as_test_x conftest$ac_exeext
    13431        }; then
    13432   eval "$as_ac_var=yes"
    13433 else
    13434   $as_echo "$as_me: failed program was:" >&5
    13435 sed 's/^/| /' conftest.$ac_ext >&5
    13436 
    13437         eval "$as_ac_var=no"
    13438 fi
    13439 
    13440 rm -rf conftest.dSYM
    13441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13442       conftest$ac_exeext conftest.$ac_ext
    13443 fi
    13444 ac_res=`eval 'as_val=${'$as_ac_var'}
    13445                  $as_echo "$as_val"'`
    13446                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13447 $as_echo "$ac_res" >&6; }
    13448 as_val=`eval 'as_val=${'$as_ac_var'}
    13449                  $as_echo "$as_val"'`
    13450    if test "x$as_val" = x""yes; then
    13451   cat >>confdefs.h <<_ACEOF
    13452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13453 _ACEOF
    13454 
    13455 fi
    13456 done
    13457 
    13458 
    13459 for ac_func in avcodec_encode_video
    13460 do
    13461 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13462 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13463 $as_echo_n "checking for $ac_func... " >&6; }
    13464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13465   $as_echo_n "(cached) " >&6
    13466 else
    13467   cat >conftest.$ac_ext <<_ACEOF
    13468 /* confdefs.h.  */
    13469 _ACEOF
    13470 cat confdefs.h >>conftest.$ac_ext
    13471 cat >>conftest.$ac_ext <<_ACEOF
    13472 /* end confdefs.h.  */
    13473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13474    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13475 #define $ac_func innocuous_$ac_func
    13476 
    13477 /* System header to define __stub macros and hopefully few prototypes,
    13478     which can conflict with char $ac_func (); below.
    13479     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13480     <limits.h> exists even on freestanding compilers.  */
    13481 
    13482 #ifdef __STDC__
    13483 # include <limits.h>
    13484 #else
    13485 # include <assert.h>
    13486 #endif
    13487 
    13488 #undef $ac_func
    13489 
    13490 /* Override any GCC internal prototype to avoid an error.
    13491    Use char because int might match the return type of a GCC
    13492    builtin and then its argument prototype would still apply.  */
    13493 #ifdef __cplusplus
    13494 extern "C"
    13495 #endif
    13496 char $ac_func ();
    13497 /* The GNU C library defines this for functions which it implements
    13498     to always fail with ENOSYS.  Some functions are actually named
    13499     something starting with __ and the normal name is an alias.  */
    13500 #if defined __stub_$ac_func || defined __stub___$ac_func
    13501 choke me
    13502 #endif
    13503 
    13504 int
    13505 main ()
    13506 {
    13507 return $ac_func ();
    13508   ;
    13509   return 0;
    13510 }
    13511 _ACEOF
    13512 rm -f conftest.$ac_objext conftest$ac_exeext
    13513 if { (ac_try="$ac_link"
    13514 case "(($ac_try" in
    13515   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13516   *) ac_try_echo=$ac_try;;
    13517 esac
    13518 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13519 $as_echo "$ac_try_echo") >&5
    13520   (eval "$ac_link") 2>conftest.er1
    13521   ac_status=$?
    13522   grep -v '^ *+' conftest.er1 >conftest.err
    13523   rm -f conftest.er1
    13524   cat conftest.err >&5
    13525   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13526   (exit $ac_status); } && {
    13527          test -z "$ac_cxx_werror_flag" ||
    13528          test ! -s conftest.err
    13529        } && test -s conftest$ac_exeext && {
    13530          test "$cross_compiling" = yes ||
    13531          $as_test_x conftest$ac_exeext
    13532        }; then
    13533   eval "$as_ac_var=yes"
    13534 else
    13535   $as_echo "$as_me: failed program was:" >&5
    13536 sed 's/^/| /' conftest.$ac_ext >&5
    13537 
    13538         eval "$as_ac_var=no"
    13539 fi
    13540 
    13541 rm -rf conftest.dSYM
    13542 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13543       conftest$ac_exeext conftest.$ac_ext
    13544 fi
    13545 ac_res=`eval 'as_val=${'$as_ac_var'}
    13546                  $as_echo "$as_val"'`
    13547                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13548 $as_echo "$ac_res" >&6; }
    13549 as_val=`eval 'as_val=${'$as_ac_var'}
    13550                  $as_echo "$as_val"'`
    13551    if test "x$as_val" = x""yes; then
    13552   cat >>confdefs.h <<_ACEOF
    13553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13554 _ACEOF
    13555 
    13556 fi
    13557 done
    13558 
    13559 
    13560 for ac_func in avformat_open_input
    13561 do
    13562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13563 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13564 $as_echo_n "checking for $ac_func... " >&6; }
    13565 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13566   $as_echo_n "(cached) " >&6
    13567 else
    13568   cat >conftest.$ac_ext <<_ACEOF
    13569 /* confdefs.h.  */
    13570 _ACEOF
    13571 cat confdefs.h >>conftest.$ac_ext
    13572 cat >>conftest.$ac_ext <<_ACEOF
    13573 /* end confdefs.h.  */
    13574 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13575    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13576 #define $ac_func innocuous_$ac_func
    13577 
    13578 /* System header to define __stub macros and hopefully few prototypes,
    13579     which can conflict with char $ac_func (); below.
    13580     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13581     <limits.h> exists even on freestanding compilers.  */
    13582 
    13583 #ifdef __STDC__
    13584 # include <limits.h>
    13585 #else
    13586 # include <assert.h>
    13587 #endif
    13588 
    13589 #undef $ac_func
    13590 
    13591 /* Override any GCC internal prototype to avoid an error.
    13592    Use char because int might match the return type of a GCC
    13593    builtin and then its argument prototype would still apply.  */
    13594 #ifdef __cplusplus
    13595 extern "C"
    13596 #endif
    13597 char $ac_func ();
    13598 /* The GNU C library defines this for functions which it implements
    13599     to always fail with ENOSYS.  Some functions are actually named
    13600     something starting with __ and the normal name is an alias.  */
    13601 #if defined __stub_$ac_func || defined __stub___$ac_func
    13602 choke me
    13603 #endif
    13604 
    13605 int
    13606 main ()
    13607 {
    13608 return $ac_func ();
    13609   ;
    13610   return 0;
    13611 }
    13612 _ACEOF
    13613 rm -f conftest.$ac_objext conftest$ac_exeext
    13614 if { (ac_try="$ac_link"
    13615 case "(($ac_try" in
    13616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13617   *) ac_try_echo=$ac_try;;
    13618 esac
    13619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13620 $as_echo "$ac_try_echo") >&5
    13621   (eval "$ac_link") 2>conftest.er1
    13622   ac_status=$?
    13623   grep -v '^ *+' conftest.er1 >conftest.err
    13624   rm -f conftest.er1
    13625   cat conftest.err >&5
    13626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13627   (exit $ac_status); } && {
    13628          test -z "$ac_cxx_werror_flag" ||
    13629          test ! -s conftest.err
    13630        } && test -s conftest$ac_exeext && {
    13631          test "$cross_compiling" = yes ||
    13632          $as_test_x conftest$ac_exeext
    13633        }; then
    13634   eval "$as_ac_var=yes"
    13635 else
    13636   $as_echo "$as_me: failed program was:" >&5
    13637 sed 's/^/| /' conftest.$ac_ext >&5
    13638 
    13639         eval "$as_ac_var=no"
    13640 fi
    13641 
    13642 rm -rf conftest.dSYM
    13643 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13644       conftest$ac_exeext conftest.$ac_ext
    13645 fi
    13646 ac_res=`eval 'as_val=${'$as_ac_var'}
    13647                  $as_echo "$as_val"'`
    13648                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13649 $as_echo "$ac_res" >&6; }
    13650 as_val=`eval 'as_val=${'$as_ac_var'}
    13651                  $as_echo "$as_val"'`
    13652    if test "x$as_val" = x""yes; then
    13653   cat >>confdefs.h <<_ACEOF
    13654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13655 _ACEOF
    13656 
    13657 fi
    13658 done
    13659 
    13660 
    13661 for ac_func in av_open_input_file
    13662 do
    13663 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13664 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13665 $as_echo_n "checking for $ac_func... " >&6; }
    13666 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13667   $as_echo_n "(cached) " >&6
    13668 else
    13669   cat >conftest.$ac_ext <<_ACEOF
    13670 /* confdefs.h.  */
    13671 _ACEOF
    13672 cat confdefs.h >>conftest.$ac_ext
    13673 cat >>conftest.$ac_ext <<_ACEOF
    13674 /* end confdefs.h.  */
    13675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13676    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13677 #define $ac_func innocuous_$ac_func
    13678 
    13679 /* System header to define __stub macros and hopefully few prototypes,
    13680     which can conflict with char $ac_func (); below.
    13681     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13682     <limits.h> exists even on freestanding compilers.  */
    13683 
    13684 #ifdef __STDC__
    13685 # include <limits.h>
    13686 #else
    13687 # include <assert.h>
    13688 #endif
    13689 
    13690 #undef $ac_func
    13691 
    13692 /* Override any GCC internal prototype to avoid an error.
    13693    Use char because int might match the return type of a GCC
    13694    builtin and then its argument prototype would still apply.  */
    13695 #ifdef __cplusplus
    13696 extern "C"
    13697 #endif
    13698 char $ac_func ();
    13699 /* The GNU C library defines this for functions which it implements
    13700     to always fail with ENOSYS.  Some functions are actually named
    13701     something starting with __ and the normal name is an alias.  */
    13702 #if defined __stub_$ac_func || defined __stub___$ac_func
    13703 choke me
    13704 #endif
    13705 
    13706 int
    13707 main ()
    13708 {
    13709 return $ac_func ();
    13710   ;
    13711   return 0;
    13712 }
    13713 _ACEOF
    13714 rm -f conftest.$ac_objext conftest$ac_exeext
    13715 if { (ac_try="$ac_link"
    13716 case "(($ac_try" in
    13717   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13718   *) ac_try_echo=$ac_try;;
    13719 esac
    13720 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13721 $as_echo "$ac_try_echo") >&5
    13722   (eval "$ac_link") 2>conftest.er1
    13723   ac_status=$?
    13724   grep -v '^ *+' conftest.er1 >conftest.err
    13725   rm -f conftest.er1
    13726   cat conftest.err >&5
    13727   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13728   (exit $ac_status); } && {
    13729          test -z "$ac_cxx_werror_flag" ||
    13730          test ! -s conftest.err
    13731        } && test -s conftest$ac_exeext && {
    13732          test "$cross_compiling" = yes ||
    13733          $as_test_x conftest$ac_exeext
    13734        }; then
    13735   eval "$as_ac_var=yes"
    13736 else
    13737   $as_echo "$as_me: failed program was:" >&5
    13738 sed 's/^/| /' conftest.$ac_ext >&5
    13739 
    13740         eval "$as_ac_var=no"
    13741 fi
    13742 
    13743 rm -rf conftest.dSYM
    13744 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13745       conftest$ac_exeext conftest.$ac_ext
    13746 fi
    13747 ac_res=`eval 'as_val=${'$as_ac_var'}
    13748                  $as_echo "$as_val"'`
    13749                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13750 $as_echo "$ac_res" >&6; }
    13751 as_val=`eval 'as_val=${'$as_ac_var'}
    13752                  $as_echo "$as_val"'`
    13753    if test "x$as_val" = x""yes; then
    13754   cat >>confdefs.h <<_ACEOF
    13755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13756 _ACEOF
    13757 
    13758 fi
    13759 done
    13760 
    13761 
    13762 for ac_func in av_guess_format
    13763 do
    13764 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13765 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13766 $as_echo_n "checking for $ac_func... " >&6; }
    13767 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13768   $as_echo_n "(cached) " >&6
    13769 else
    13770   cat >conftest.$ac_ext <<_ACEOF
    13771 /* confdefs.h.  */
    13772 _ACEOF
    13773 cat confdefs.h >>conftest.$ac_ext
    13774 cat >>conftest.$ac_ext <<_ACEOF
    13775 /* end confdefs.h.  */
    13776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13777    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13778 #define $ac_func innocuous_$ac_func
    13779 
    13780 /* System header to define __stub macros and hopefully few prototypes,
    13781     which can conflict with char $ac_func (); below.
    13782     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13783     <limits.h> exists even on freestanding compilers.  */
    13784 
    13785 #ifdef __STDC__
    13786 # include <limits.h>
    13787 #else
    13788 # include <assert.h>
    13789 #endif
    13790 
    13791 #undef $ac_func
    13792 
    13793 /* Override any GCC internal prototype to avoid an error.
    13794    Use char because int might match the return type of a GCC
    13795    builtin and then its argument prototype would still apply.  */
    13796 #ifdef __cplusplus
    13797 extern "C"
    13798 #endif
    13799 char $ac_func ();
    13800 /* The GNU C library defines this for functions which it implements
    13801     to always fail with ENOSYS.  Some functions are actually named
    13802     something starting with __ and the normal name is an alias.  */
    13803 #if defined __stub_$ac_func || defined __stub___$ac_func
    13804 choke me
    13805 #endif
    13806 
    13807 int
    13808 main ()
    13809 {
    13810 return $ac_func ();
    13811   ;
    13812   return 0;
    13813 }
    13814 _ACEOF
    13815 rm -f conftest.$ac_objext conftest$ac_exeext
    13816 if { (ac_try="$ac_link"
    13817 case "(($ac_try" in
    13818   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13819   *) ac_try_echo=$ac_try;;
    13820 esac
    13821 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13822 $as_echo "$ac_try_echo") >&5
    13823   (eval "$ac_link") 2>conftest.er1
    13824   ac_status=$?
    13825   grep -v '^ *+' conftest.er1 >conftest.err
    13826   rm -f conftest.er1
    13827   cat conftest.err >&5
    13828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13829   (exit $ac_status); } && {
    13830          test -z "$ac_cxx_werror_flag" ||
    13831          test ! -s conftest.err
    13832        } && test -s conftest$ac_exeext && {
    13833          test "$cross_compiling" = yes ||
    13834          $as_test_x conftest$ac_exeext
    13835        }; then
    13836   eval "$as_ac_var=yes"
    13837 else
    13838   $as_echo "$as_me: failed program was:" >&5
    13839 sed 's/^/| /' conftest.$ac_ext >&5
    13840 
    13841         eval "$as_ac_var=no"
    13842 fi
    13843 
    13844 rm -rf conftest.dSYM
    13845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13846       conftest$ac_exeext conftest.$ac_ext
    13847 fi
    13848 ac_res=`eval 'as_val=${'$as_ac_var'}
    13849                  $as_echo "$as_val"'`
    13850                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13851 $as_echo "$ac_res" >&6; }
    13852 as_val=`eval 'as_val=${'$as_ac_var'}
    13853                  $as_echo "$as_val"'`
    13854    if test "x$as_val" = x""yes; then
    13855   cat >>confdefs.h <<_ACEOF
    13856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13857 _ACEOF
    13858 
    13859 fi
    13860 done
    13861 
    13862 
    13863 for ac_func in guess_format
    13864 do
    13865 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13866 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13867 $as_echo_n "checking for $ac_func... " >&6; }
    13868 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13869   $as_echo_n "(cached) " >&6
    13870 else
    13871   cat >conftest.$ac_ext <<_ACEOF
    13872 /* confdefs.h.  */
    13873 _ACEOF
    13874 cat confdefs.h >>conftest.$ac_ext
    13875 cat >>conftest.$ac_ext <<_ACEOF
    13876 /* end confdefs.h.  */
    13877 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13878    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13879 #define $ac_func innocuous_$ac_func
    13880 
    13881 /* System header to define __stub macros and hopefully few prototypes,
    13882     which can conflict with char $ac_func (); below.
    13883     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13884     <limits.h> exists even on freestanding compilers.  */
    13885 
    13886 #ifdef __STDC__
    13887 # include <limits.h>
    13888 #else
    13889 # include <assert.h>
    13890 #endif
    13891 
    13892 #undef $ac_func
    13893 
    13894 /* Override any GCC internal prototype to avoid an error.
    13895    Use char because int might match the return type of a GCC
    13896    builtin and then its argument prototype would still apply.  */
    13897 #ifdef __cplusplus
    13898 extern "C"
    13899 #endif
    13900 char $ac_func ();
    13901 /* The GNU C library defines this for functions which it implements
    13902     to always fail with ENOSYS.  Some functions are actually named
    13903     something starting with __ and the normal name is an alias.  */
    13904 #if defined __stub_$ac_func || defined __stub___$ac_func
    13905 choke me
    13906 #endif
    13907 
    13908 int
    13909 main ()
    13910 {
    13911 return $ac_func ();
    13912   ;
    13913   return 0;
    13914 }
    13915 _ACEOF
    13916 rm -f conftest.$ac_objext conftest$ac_exeext
    13917 if { (ac_try="$ac_link"
    13918 case "(($ac_try" in
    13919   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13920   *) ac_try_echo=$ac_try;;
    13921 esac
    13922 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13923 $as_echo "$ac_try_echo") >&5
    13924   (eval "$ac_link") 2>conftest.er1
    13925   ac_status=$?
    13926   grep -v '^ *+' conftest.er1 >conftest.err
    13927   rm -f conftest.er1
    13928   cat conftest.err >&5
    13929   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13930   (exit $ac_status); } && {
    13931          test -z "$ac_cxx_werror_flag" ||
    13932          test ! -s conftest.err
    13933        } && test -s conftest$ac_exeext && {
    13934          test "$cross_compiling" = yes ||
    13935          $as_test_x conftest$ac_exeext
    13936        }; then
    13937   eval "$as_ac_var=yes"
    13938 else
    13939   $as_echo "$as_me: failed program was:" >&5
    13940 sed 's/^/| /' conftest.$ac_ext >&5
    13941 
    13942         eval "$as_ac_var=no"
    13943 fi
    13944 
    13945 rm -rf conftest.dSYM
    13946 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13947       conftest$ac_exeext conftest.$ac_ext
    13948 fi
    13949 ac_res=`eval 'as_val=${'$as_ac_var'}
    13950                  $as_echo "$as_val"'`
    13951                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13952 $as_echo "$ac_res" >&6; }
    13953 as_val=`eval 'as_val=${'$as_ac_var'}
    13954                  $as_echo "$as_val"'`
    13955    if test "x$as_val" = x""yes; then
    13956   cat >>confdefs.h <<_ACEOF
    13957 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    13958 _ACEOF
    13959 
    13960 fi
    13961 done
    13962 
    13963 
    13964 for ac_func in av_dump_format
    13965 do
    13966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    13967 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    13968 $as_echo_n "checking for $ac_func... " >&6; }
    13969 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    13970   $as_echo_n "(cached) " >&6
    13971 else
    13972   cat >conftest.$ac_ext <<_ACEOF
    13973 /* confdefs.h.  */
    13974 _ACEOF
    13975 cat confdefs.h >>conftest.$ac_ext
    13976 cat >>conftest.$ac_ext <<_ACEOF
    13977 /* end confdefs.h.  */
    13978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    13979    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    13980 #define $ac_func innocuous_$ac_func
    13981 
    13982 /* System header to define __stub macros and hopefully few prototypes,
    13983     which can conflict with char $ac_func (); below.
    13984     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13985     <limits.h> exists even on freestanding compilers.  */
    13986 
    13987 #ifdef __STDC__
    13988 # include <limits.h>
    13989 #else
    13990 # include <assert.h>
    13991 #endif
    13992 
    13993 #undef $ac_func
    13994 
    13995 /* Override any GCC internal prototype to avoid an error.
    13996    Use char because int might match the return type of a GCC
    13997    builtin and then its argument prototype would still apply.  */
    13998 #ifdef __cplusplus
    13999 extern "C"
    14000 #endif
    14001 char $ac_func ();
    14002 /* The GNU C library defines this for functions which it implements
    14003     to always fail with ENOSYS.  Some functions are actually named
    14004     something starting with __ and the normal name is an alias.  */
    14005 #if defined __stub_$ac_func || defined __stub___$ac_func
    14006 choke me
    14007 #endif
    14008 
    14009 int
    14010 main ()
    14011 {
    14012 return $ac_func ();
    14013   ;
    14014   return 0;
    14015 }
    14016 _ACEOF
    14017 rm -f conftest.$ac_objext conftest$ac_exeext
    14018 if { (ac_try="$ac_link"
    14019 case "(($ac_try" in
    14020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14021   *) ac_try_echo=$ac_try;;
    14022 esac
    14023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14024 $as_echo "$ac_try_echo") >&5
    14025   (eval "$ac_link") 2>conftest.er1
    14026   ac_status=$?
    14027   grep -v '^ *+' conftest.er1 >conftest.err
    14028   rm -f conftest.er1
    14029   cat conftest.err >&5
    14030   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14031   (exit $ac_status); } && {
    14032          test -z "$ac_cxx_werror_flag" ||
    14033          test ! -s conftest.err
    14034        } && test -s conftest$ac_exeext && {
    14035          test "$cross_compiling" = yes ||
    14036          $as_test_x conftest$ac_exeext
    14037        }; then
    14038   eval "$as_ac_var=yes"
    14039 else
    14040   $as_echo "$as_me: failed program was:" >&5
    14041 sed 's/^/| /' conftest.$ac_ext >&5
    14042 
    14043         eval "$as_ac_var=no"
    14044 fi
    14045 
    14046 rm -rf conftest.dSYM
    14047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14048       conftest$ac_exeext conftest.$ac_ext
    14049 fi
    14050 ac_res=`eval 'as_val=${'$as_ac_var'}
    14051                  $as_echo "$as_val"'`
    14052                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14053 $as_echo "$ac_res" >&6; }
    14054 as_val=`eval 'as_val=${'$as_ac_var'}
    14055                  $as_echo "$as_val"'`
    14056    if test "x$as_val" = x""yes; then
    14057   cat >>confdefs.h <<_ACEOF
    14058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14059 _ACEOF
    14060 
    14061 fi
    14062 done
    14063 
    14064 
    14065 for ac_func in dump_format
    14066 do
    14067 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14068 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14069 $as_echo_n "checking for $ac_func... " >&6; }
    14070 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14071   $as_echo_n "(cached) " >&6
    14072 else
    14073   cat >conftest.$ac_ext <<_ACEOF
    14074 /* confdefs.h.  */
    14075 _ACEOF
    14076 cat confdefs.h >>conftest.$ac_ext
    14077 cat >>conftest.$ac_ext <<_ACEOF
    14078 /* end confdefs.h.  */
    14079 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14080    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14081 #define $ac_func innocuous_$ac_func
    14082 
    14083 /* System header to define __stub macros and hopefully few prototypes,
    14084     which can conflict with char $ac_func (); below.
    14085     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14086     <limits.h> exists even on freestanding compilers.  */
    14087 
    14088 #ifdef __STDC__
    14089 # include <limits.h>
    14090 #else
    14091 # include <assert.h>
    14092 #endif
    14093 
    14094 #undef $ac_func
    14095 
    14096 /* Override any GCC internal prototype to avoid an error.
    14097    Use char because int might match the return type of a GCC
    14098    builtin and then its argument prototype would still apply.  */
    14099 #ifdef __cplusplus
    14100 extern "C"
    14101 #endif
    14102 char $ac_func ();
    14103 /* The GNU C library defines this for functions which it implements
    14104     to always fail with ENOSYS.  Some functions are actually named
    14105     something starting with __ and the normal name is an alias.  */
    14106 #if defined __stub_$ac_func || defined __stub___$ac_func
    14107 choke me
    14108 #endif
    14109 
    14110 int
    14111 main ()
    14112 {
    14113 return $ac_func ();
    14114   ;
    14115   return 0;
    14116 }
    14117 _ACEOF
    14118 rm -f conftest.$ac_objext conftest$ac_exeext
    14119 if { (ac_try="$ac_link"
    14120 case "(($ac_try" in
    14121   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14122   *) ac_try_echo=$ac_try;;
    14123 esac
    14124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14125 $as_echo "$ac_try_echo") >&5
    14126   (eval "$ac_link") 2>conftest.er1
    14127   ac_status=$?
    14128   grep -v '^ *+' conftest.er1 >conftest.err
    14129   rm -f conftest.er1
    14130   cat conftest.err >&5
    14131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14132   (exit $ac_status); } && {
    14133          test -z "$ac_cxx_werror_flag" ||
    14134          test ! -s conftest.err
    14135        } && test -s conftest$ac_exeext && {
    14136          test "$cross_compiling" = yes ||
    14137          $as_test_x conftest$ac_exeext
    14138        }; then
    14139   eval "$as_ac_var=yes"
    14140 else
    14141   $as_echo "$as_me: failed program was:" >&5
    14142 sed 's/^/| /' conftest.$ac_ext >&5
    14143 
    14144         eval "$as_ac_var=no"
    14145 fi
    14146 
    14147 rm -rf conftest.dSYM
    14148 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14149       conftest$ac_exeext conftest.$ac_ext
    14150 fi
    14151 ac_res=`eval 'as_val=${'$as_ac_var'}
    14152                  $as_echo "$as_val"'`
    14153                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14154 $as_echo "$ac_res" >&6; }
    14155 as_val=`eval 'as_val=${'$as_ac_var'}
    14156                  $as_echo "$as_val"'`
    14157    if test "x$as_val" = x""yes; then
    14158   cat >>confdefs.h <<_ACEOF
    14159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14160 _ACEOF
    14161 
    14162 fi
    14163 done
    14164 
    14165 
    14166 for ac_func in avio_open
    14167 do
    14168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14169 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14170 $as_echo_n "checking for $ac_func... " >&6; }
    14171 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14172   $as_echo_n "(cached) " >&6
    14173 else
    14174   cat >conftest.$ac_ext <<_ACEOF
    14175 /* confdefs.h.  */
    14176 _ACEOF
    14177 cat confdefs.h >>conftest.$ac_ext
    14178 cat >>conftest.$ac_ext <<_ACEOF
    14179 /* end confdefs.h.  */
    14180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14181    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14182 #define $ac_func innocuous_$ac_func
    14183 
    14184 /* System header to define __stub macros and hopefully few prototypes,
    14185     which can conflict with char $ac_func (); below.
    14186     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14187     <limits.h> exists even on freestanding compilers.  */
    14188 
    14189 #ifdef __STDC__
    14190 # include <limits.h>
    14191 #else
    14192 # include <assert.h>
    14193 #endif
    14194 
    14195 #undef $ac_func
    14196 
    14197 /* Override any GCC internal prototype to avoid an error.
    14198    Use char because int might match the return type of a GCC
    14199    builtin and then its argument prototype would still apply.  */
    14200 #ifdef __cplusplus
    14201 extern "C"
    14202 #endif
    14203 char $ac_func ();
    14204 /* The GNU C library defines this for functions which it implements
    14205     to always fail with ENOSYS.  Some functions are actually named
    14206     something starting with __ and the normal name is an alias.  */
    14207 #if defined __stub_$ac_func || defined __stub___$ac_func
    14208 choke me
    14209 #endif
    14210 
    14211 int
    14212 main ()
    14213 {
    14214 return $ac_func ();
    14215   ;
    14216   return 0;
    14217 }
    14218 _ACEOF
    14219 rm -f conftest.$ac_objext conftest$ac_exeext
    14220 if { (ac_try="$ac_link"
    14221 case "(($ac_try" in
    14222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14223   *) ac_try_echo=$ac_try;;
    14224 esac
    14225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14226 $as_echo "$ac_try_echo") >&5
    14227   (eval "$ac_link") 2>conftest.er1
    14228   ac_status=$?
    14229   grep -v '^ *+' conftest.er1 >conftest.err
    14230   rm -f conftest.er1
    14231   cat conftest.err >&5
    14232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14233   (exit $ac_status); } && {
    14234          test -z "$ac_cxx_werror_flag" ||
    14235          test ! -s conftest.err
    14236        } && test -s conftest$ac_exeext && {
    14237          test "$cross_compiling" = yes ||
    14238          $as_test_x conftest$ac_exeext
    14239        }; then
    14240   eval "$as_ac_var=yes"
    14241 else
    14242   $as_echo "$as_me: failed program was:" >&5
    14243 sed 's/^/| /' conftest.$ac_ext >&5
    14244 
    14245         eval "$as_ac_var=no"
    14246 fi
    14247 
    14248 rm -rf conftest.dSYM
    14249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14250       conftest$ac_exeext conftest.$ac_ext
    14251 fi
    14252 ac_res=`eval 'as_val=${'$as_ac_var'}
    14253                  $as_echo "$as_val"'`
    14254                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14255 $as_echo "$ac_res" >&6; }
    14256 as_val=`eval 'as_val=${'$as_ac_var'}
    14257                  $as_echo "$as_val"'`
    14258    if test "x$as_val" = x""yes; then
    14259   cat >>confdefs.h <<_ACEOF
    14260 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14261 _ACEOF
    14262 
    14263 fi
    14264 done
    14265 
    14266 
    14267 for ac_func in url_fopen
    14268 do
    14269 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14270 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14271 $as_echo_n "checking for $ac_func... " >&6; }
    14272 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14273   $as_echo_n "(cached) " >&6
    14274 else
    14275   cat >conftest.$ac_ext <<_ACEOF
    14276 /* confdefs.h.  */
    14277 _ACEOF
    14278 cat confdefs.h >>conftest.$ac_ext
    14279 cat >>conftest.$ac_ext <<_ACEOF
    14280 /* end confdefs.h.  */
    14281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14282    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14283 #define $ac_func innocuous_$ac_func
    14284 
    14285 /* System header to define __stub macros and hopefully few prototypes,
    14286     which can conflict with char $ac_func (); below.
    14287     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14288     <limits.h> exists even on freestanding compilers.  */
    14289 
    14290 #ifdef __STDC__
    14291 # include <limits.h>
    14292 #else
    14293 # include <assert.h>
    14294 #endif
    14295 
    14296 #undef $ac_func
    14297 
    14298 /* Override any GCC internal prototype to avoid an error.
    14299    Use char because int might match the return type of a GCC
    14300    builtin and then its argument prototype would still apply.  */
    14301 #ifdef __cplusplus
    14302 extern "C"
    14303 #endif
    14304 char $ac_func ();
    14305 /* The GNU C library defines this for functions which it implements
    14306     to always fail with ENOSYS.  Some functions are actually named
    14307     something starting with __ and the normal name is an alias.  */
    14308 #if defined __stub_$ac_func || defined __stub___$ac_func
    14309 choke me
    14310 #endif
    14311 
    14312 int
    14313 main ()
    14314 {
    14315 return $ac_func ();
    14316   ;
    14317   return 0;
    14318 }
    14319 _ACEOF
    14320 rm -f conftest.$ac_objext conftest$ac_exeext
    14321 if { (ac_try="$ac_link"
    14322 case "(($ac_try" in
    14323   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14324   *) ac_try_echo=$ac_try;;
    14325 esac
    14326 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14327 $as_echo "$ac_try_echo") >&5
    14328   (eval "$ac_link") 2>conftest.er1
    14329   ac_status=$?
    14330   grep -v '^ *+' conftest.er1 >conftest.err
    14331   rm -f conftest.er1
    14332   cat conftest.err >&5
    14333   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14334   (exit $ac_status); } && {
    14335          test -z "$ac_cxx_werror_flag" ||
    14336          test ! -s conftest.err
    14337        } && test -s conftest$ac_exeext && {
    14338          test "$cross_compiling" = yes ||
    14339          $as_test_x conftest$ac_exeext
    14340        }; then
    14341   eval "$as_ac_var=yes"
    14342 else
    14343   $as_echo "$as_me: failed program was:" >&5
    14344 sed 's/^/| /' conftest.$ac_ext >&5
    14345 
    14346         eval "$as_ac_var=no"
    14347 fi
    14348 
    14349 rm -rf conftest.dSYM
    14350 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14351       conftest$ac_exeext conftest.$ac_ext
    14352 fi
    14353 ac_res=`eval 'as_val=${'$as_ac_var'}
    14354                  $as_echo "$as_val"'`
    14355                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14356 $as_echo "$ac_res" >&6; }
    14357 as_val=`eval 'as_val=${'$as_ac_var'}
    14358                  $as_echo "$as_val"'`
    14359    if test "x$as_val" = x""yes; then
    14360   cat >>confdefs.h <<_ACEOF
    14361 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14362 _ACEOF
    14363 
    14364 fi
    14365 done
    14366 
    14367 
    14368 for ac_func in avio_close
    14369 do
    14370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14371 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14372 $as_echo_n "checking for $ac_func... " >&6; }
    14373 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14374   $as_echo_n "(cached) " >&6
    14375 else
    14376   cat >conftest.$ac_ext <<_ACEOF
    14377 /* confdefs.h.  */
    14378 _ACEOF
    14379 cat confdefs.h >>conftest.$ac_ext
    14380 cat >>conftest.$ac_ext <<_ACEOF
    14381 /* end confdefs.h.  */
    14382 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14383    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14384 #define $ac_func innocuous_$ac_func
    14385 
    14386 /* System header to define __stub macros and hopefully few prototypes,
    14387     which can conflict with char $ac_func (); below.
    14388     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14389     <limits.h> exists even on freestanding compilers.  */
    14390 
    14391 #ifdef __STDC__
    14392 # include <limits.h>
    14393 #else
    14394 # include <assert.h>
    14395 #endif
    14396 
    14397 #undef $ac_func
    14398 
    14399 /* Override any GCC internal prototype to avoid an error.
    14400    Use char because int might match the return type of a GCC
    14401    builtin and then its argument prototype would still apply.  */
    14402 #ifdef __cplusplus
    14403 extern "C"
    14404 #endif
    14405 char $ac_func ();
    14406 /* The GNU C library defines this for functions which it implements
    14407     to always fail with ENOSYS.  Some functions are actually named
    14408     something starting with __ and the normal name is an alias.  */
    14409 #if defined __stub_$ac_func || defined __stub___$ac_func
    14410 choke me
    14411 #endif
    14412 
    14413 int
    14414 main ()
    14415 {
    14416 return $ac_func ();
    14417   ;
    14418   return 0;
    14419 }
    14420 _ACEOF
    14421 rm -f conftest.$ac_objext conftest$ac_exeext
    14422 if { (ac_try="$ac_link"
    14423 case "(($ac_try" in
    14424   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14425   *) ac_try_echo=$ac_try;;
    14426 esac
    14427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14428 $as_echo "$ac_try_echo") >&5
    14429   (eval "$ac_link") 2>conftest.er1
    14430   ac_status=$?
    14431   grep -v '^ *+' conftest.er1 >conftest.err
    14432   rm -f conftest.er1
    14433   cat conftest.err >&5
    14434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14435   (exit $ac_status); } && {
    14436          test -z "$ac_cxx_werror_flag" ||
    14437          test ! -s conftest.err
    14438        } && test -s conftest$ac_exeext && {
    14439          test "$cross_compiling" = yes ||
    14440          $as_test_x conftest$ac_exeext
    14441        }; then
    14442   eval "$as_ac_var=yes"
    14443 else
    14444   $as_echo "$as_me: failed program was:" >&5
    14445 sed 's/^/| /' conftest.$ac_ext >&5
    14446 
    14447         eval "$as_ac_var=no"
    14448 fi
    14449 
    14450 rm -rf conftest.dSYM
    14451 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14452       conftest$ac_exeext conftest.$ac_ext
    14453 fi
    14454 ac_res=`eval 'as_val=${'$as_ac_var'}
    14455                  $as_echo "$as_val"'`
    14456                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14457 $as_echo "$ac_res" >&6; }
    14458 as_val=`eval 'as_val=${'$as_ac_var'}
    14459                  $as_echo "$as_val"'`
    14460    if test "x$as_val" = x""yes; then
    14461   cat >>confdefs.h <<_ACEOF
    14462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14463 _ACEOF
    14464 
    14465 fi
    14466 done
    14467 
    14468 
    14469 for ac_func in url_fclose
    14470 do
    14471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14472 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14473 $as_echo_n "checking for $ac_func... " >&6; }
    14474 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14475   $as_echo_n "(cached) " >&6
    14476 else
    14477   cat >conftest.$ac_ext <<_ACEOF
    14478 /* confdefs.h.  */
    14479 _ACEOF
    14480 cat confdefs.h >>conftest.$ac_ext
    14481 cat >>conftest.$ac_ext <<_ACEOF
    14482 /* end confdefs.h.  */
    14483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14484    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14485 #define $ac_func innocuous_$ac_func
    14486 
    14487 /* System header to define __stub macros and hopefully few prototypes,
    14488     which can conflict with char $ac_func (); below.
    14489     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14490     <limits.h> exists even on freestanding compilers.  */
    14491 
    14492 #ifdef __STDC__
    14493 # include <limits.h>
    14494 #else
    14495 # include <assert.h>
    14496 #endif
    14497 
    14498 #undef $ac_func
    14499 
    14500 /* Override any GCC internal prototype to avoid an error.
    14501    Use char because int might match the return type of a GCC
    14502    builtin and then its argument prototype would still apply.  */
    14503 #ifdef __cplusplus
    14504 extern "C"
    14505 #endif
    14506 char $ac_func ();
    14507 /* The GNU C library defines this for functions which it implements
    14508     to always fail with ENOSYS.  Some functions are actually named
    14509     something starting with __ and the normal name is an alias.  */
    14510 #if defined __stub_$ac_func || defined __stub___$ac_func
    14511 choke me
    14512 #endif
    14513 
    14514 int
    14515 main ()
    14516 {
    14517 return $ac_func ();
    14518   ;
    14519   return 0;
    14520 }
    14521 _ACEOF
    14522 rm -f conftest.$ac_objext conftest$ac_exeext
    14523 if { (ac_try="$ac_link"
    14524 case "(($ac_try" in
    14525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14526   *) ac_try_echo=$ac_try;;
    14527 esac
    14528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14529 $as_echo "$ac_try_echo") >&5
    14530   (eval "$ac_link") 2>conftest.er1
    14531   ac_status=$?
    14532   grep -v '^ *+' conftest.er1 >conftest.err
    14533   rm -f conftest.er1
    14534   cat conftest.err >&5
    14535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14536   (exit $ac_status); } && {
    14537          test -z "$ac_cxx_werror_flag" ||
    14538          test ! -s conftest.err
    14539        } && test -s conftest$ac_exeext && {
    14540          test "$cross_compiling" = yes ||
    14541          $as_test_x conftest$ac_exeext
    14542        }; then
    14543   eval "$as_ac_var=yes"
    14544 else
    14545   $as_echo "$as_me: failed program was:" >&5
    14546 sed 's/^/| /' conftest.$ac_ext >&5
    14547 
    14548         eval "$as_ac_var=no"
    14549 fi
    14550 
    14551 rm -rf conftest.dSYM
    14552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14553       conftest$ac_exeext conftest.$ac_ext
    14554 fi
    14555 ac_res=`eval 'as_val=${'$as_ac_var'}
    14556                  $as_echo "$as_val"'`
    14557                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14558 $as_echo "$ac_res" >&6; }
    14559 as_val=`eval 'as_val=${'$as_ac_var'}
    14560                  $as_echo "$as_val"'`
    14561    if test "x$as_val" = x""yes; then
    14562   cat >>confdefs.h <<_ACEOF
    14563 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14564 _ACEOF
    14565 
    14566 fi
    14567 done
    14568 
    14569 
    14570 for ac_func in avformat_alloc_context
    14571 do
    14572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14573 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14574 $as_echo_n "checking for $ac_func... " >&6; }
    14575 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14576   $as_echo_n "(cached) " >&6
    14577 else
    14578   cat >conftest.$ac_ext <<_ACEOF
    14579 /* confdefs.h.  */
    14580 _ACEOF
    14581 cat confdefs.h >>conftest.$ac_ext
    14582 cat >>conftest.$ac_ext <<_ACEOF
    14583 /* end confdefs.h.  */
    14584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14585    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14586 #define $ac_func innocuous_$ac_func
    14587 
    14588 /* System header to define __stub macros and hopefully few prototypes,
    14589     which can conflict with char $ac_func (); below.
    14590     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14591     <limits.h> exists even on freestanding compilers.  */
    14592 
    14593 #ifdef __STDC__
    14594 # include <limits.h>
    14595 #else
    14596 # include <assert.h>
    14597 #endif
    14598 
    14599 #undef $ac_func
    14600 
    14601 /* Override any GCC internal prototype to avoid an error.
    14602    Use char because int might match the return type of a GCC
    14603    builtin and then its argument prototype would still apply.  */
    14604 #ifdef __cplusplus
    14605 extern "C"
    14606 #endif
    14607 char $ac_func ();
    14608 /* The GNU C library defines this for functions which it implements
    14609     to always fail with ENOSYS.  Some functions are actually named
    14610     something starting with __ and the normal name is an alias.  */
    14611 #if defined __stub_$ac_func || defined __stub___$ac_func
    14612 choke me
    14613 #endif
    14614 
    14615 int
    14616 main ()
    14617 {
    14618 return $ac_func ();
    14619   ;
    14620   return 0;
    14621 }
    14622 _ACEOF
    14623 rm -f conftest.$ac_objext conftest$ac_exeext
    14624 if { (ac_try="$ac_link"
    14625 case "(($ac_try" in
    14626   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14627   *) ac_try_echo=$ac_try;;
    14628 esac
    14629 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14630 $as_echo "$ac_try_echo") >&5
    14631   (eval "$ac_link") 2>conftest.er1
    14632   ac_status=$?
    14633   grep -v '^ *+' conftest.er1 >conftest.err
    14634   rm -f conftest.er1
    14635   cat conftest.err >&5
    14636   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14637   (exit $ac_status); } && {
    14638          test -z "$ac_cxx_werror_flag" ||
    14639          test ! -s conftest.err
    14640        } && test -s conftest$ac_exeext && {
    14641          test "$cross_compiling" = yes ||
    14642          $as_test_x conftest$ac_exeext
    14643        }; then
    14644   eval "$as_ac_var=yes"
    14645 else
    14646   $as_echo "$as_me: failed program was:" >&5
    14647 sed 's/^/| /' conftest.$ac_ext >&5
    14648 
    14649         eval "$as_ac_var=no"
    14650 fi
    14651 
    14652 rm -rf conftest.dSYM
    14653 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14654       conftest$ac_exeext conftest.$ac_ext
    14655 fi
    14656 ac_res=`eval 'as_val=${'$as_ac_var'}
    14657                  $as_echo "$as_val"'`
    14658                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14659 $as_echo "$ac_res" >&6; }
    14660 as_val=`eval 'as_val=${'$as_ac_var'}
    14661                  $as_echo "$as_val"'`
    14662    if test "x$as_val" = x""yes; then
    14663   cat >>confdefs.h <<_ACEOF
    14664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14665 _ACEOF
    14666 
    14667 fi
    14668 done
    14669 
    14670 
    14671 for ac_func in av_alloc_format_context
    14672 do
    14673 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14674 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14675 $as_echo_n "checking for $ac_func... " >&6; }
    14676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14677   $as_echo_n "(cached) " >&6
    14678 else
    14679   cat >conftest.$ac_ext <<_ACEOF
    14680 /* confdefs.h.  */
    14681 _ACEOF
    14682 cat confdefs.h >>conftest.$ac_ext
    14683 cat >>conftest.$ac_ext <<_ACEOF
    14684 /* end confdefs.h.  */
    14685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14686    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14687 #define $ac_func innocuous_$ac_func
    14688 
    14689 /* System header to define __stub macros and hopefully few prototypes,
    14690     which can conflict with char $ac_func (); below.
    14691     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14692     <limits.h> exists even on freestanding compilers.  */
    14693 
    14694 #ifdef __STDC__
    14695 # include <limits.h>
    14696 #else
    14697 # include <assert.h>
    14698 #endif
    14699 
    14700 #undef $ac_func
    14701 
    14702 /* Override any GCC internal prototype to avoid an error.
    14703    Use char because int might match the return type of a GCC
    14704    builtin and then its argument prototype would still apply.  */
    14705 #ifdef __cplusplus
    14706 extern "C"
    14707 #endif
    14708 char $ac_func ();
    14709 /* The GNU C library defines this for functions which it implements
    14710     to always fail with ENOSYS.  Some functions are actually named
    14711     something starting with __ and the normal name is an alias.  */
    14712 #if defined __stub_$ac_func || defined __stub___$ac_func
    14713 choke me
    14714 #endif
    14715 
    14716 int
    14717 main ()
    14718 {
    14719 return $ac_func ();
    14720   ;
    14721   return 0;
    14722 }
    14723 _ACEOF
    14724 rm -f conftest.$ac_objext conftest$ac_exeext
    14725 if { (ac_try="$ac_link"
    14726 case "(($ac_try" in
    14727   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14728   *) ac_try_echo=$ac_try;;
    14729 esac
    14730 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14731 $as_echo "$ac_try_echo") >&5
    14732   (eval "$ac_link") 2>conftest.er1
    14733   ac_status=$?
    14734   grep -v '^ *+' conftest.er1 >conftest.err
    14735   rm -f conftest.er1
    14736   cat conftest.err >&5
    14737   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14738   (exit $ac_status); } && {
    14739          test -z "$ac_cxx_werror_flag" ||
    14740          test ! -s conftest.err
    14741        } && test -s conftest$ac_exeext && {
    14742          test "$cross_compiling" = yes ||
    14743          $as_test_x conftest$ac_exeext
    14744        }; then
    14745   eval "$as_ac_var=yes"
    14746 else
    14747   $as_echo "$as_me: failed program was:" >&5
    14748 sed 's/^/| /' conftest.$ac_ext >&5
    14749 
    14750         eval "$as_ac_var=no"
    14751 fi
    14752 
    14753 rm -rf conftest.dSYM
    14754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14755       conftest$ac_exeext conftest.$ac_ext
    14756 fi
    14757 ac_res=`eval 'as_val=${'$as_ac_var'}
    14758                  $as_echo "$as_val"'`
    14759                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14760 $as_echo "$ac_res" >&6; }
    14761 as_val=`eval 'as_val=${'$as_ac_var'}
    14762                  $as_echo "$as_val"'`
    14763    if test "x$as_val" = x""yes; then
    14764   cat >>confdefs.h <<_ACEOF
    14765 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14766 _ACEOF
    14767 
    14768 fi
    14769 done
    14770 
    14771 
    14772 for ac_func in av_set_parameters
    14773 do
    14774 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14775 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14776 $as_echo_n "checking for $ac_func... " >&6; }
    14777 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14778   $as_echo_n "(cached) " >&6
    14779 else
    14780   cat >conftest.$ac_ext <<_ACEOF
    14781 /* confdefs.h.  */
    14782 _ACEOF
    14783 cat confdefs.h >>conftest.$ac_ext
    14784 cat >>conftest.$ac_ext <<_ACEOF
    14785 /* end confdefs.h.  */
    14786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14787    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14788 #define $ac_func innocuous_$ac_func
    14789 
    14790 /* System header to define __stub macros and hopefully few prototypes,
    14791     which can conflict with char $ac_func (); below.
    14792     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14793     <limits.h> exists even on freestanding compilers.  */
    14794 
    14795 #ifdef __STDC__
    14796 # include <limits.h>
    14797 #else
    14798 # include <assert.h>
    14799 #endif
    14800 
    14801 #undef $ac_func
    14802 
    14803 /* Override any GCC internal prototype to avoid an error.
    14804    Use char because int might match the return type of a GCC
    14805    builtin and then its argument prototype would still apply.  */
    14806 #ifdef __cplusplus
    14807 extern "C"
    14808 #endif
    14809 char $ac_func ();
    14810 /* The GNU C library defines this for functions which it implements
    14811     to always fail with ENOSYS.  Some functions are actually named
    14812     something starting with __ and the normal name is an alias.  */
    14813 #if defined __stub_$ac_func || defined __stub___$ac_func
    14814 choke me
    14815 #endif
    14816 
    14817 int
    14818 main ()
    14819 {
    14820 return $ac_func ();
    14821   ;
    14822   return 0;
    14823 }
    14824 _ACEOF
    14825 rm -f conftest.$ac_objext conftest$ac_exeext
    14826 if { (ac_try="$ac_link"
    14827 case "(($ac_try" in
    14828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14829   *) ac_try_echo=$ac_try;;
    14830 esac
    14831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14832 $as_echo "$ac_try_echo") >&5
    14833   (eval "$ac_link") 2>conftest.er1
    14834   ac_status=$?
    14835   grep -v '^ *+' conftest.er1 >conftest.err
    14836   rm -f conftest.er1
    14837   cat conftest.err >&5
    14838   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14839   (exit $ac_status); } && {
    14840          test -z "$ac_cxx_werror_flag" ||
    14841          test ! -s conftest.err
    14842        } && test -s conftest$ac_exeext && {
    14843          test "$cross_compiling" = yes ||
    14844          $as_test_x conftest$ac_exeext
    14845        }; then
    14846   eval "$as_ac_var=yes"
    14847 else
    14848   $as_echo "$as_me: failed program was:" >&5
    14849 sed 's/^/| /' conftest.$ac_ext >&5
    14850 
    14851         eval "$as_ac_var=no"
    14852 fi
    14853 
    14854 rm -rf conftest.dSYM
    14855 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14856       conftest$ac_exeext conftest.$ac_ext
    14857 fi
    14858 ac_res=`eval 'as_val=${'$as_ac_var'}
    14859                  $as_echo "$as_val"'`
    14860                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14861 $as_echo "$ac_res" >&6; }
    14862 as_val=`eval 'as_val=${'$as_ac_var'}
    14863                  $as_echo "$as_val"'`
    14864    if test "x$as_val" = x""yes; then
    14865   cat >>confdefs.h <<_ACEOF
    14866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14867 _ACEOF
    14868 
    14869 fi
    14870 done
    14871 
    14872 
    14873 for ac_func in avformat_write_header
    14874 do
    14875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14876 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14877 $as_echo_n "checking for $ac_func... " >&6; }
    14878 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14879   $as_echo_n "(cached) " >&6
    14880 else
    14881   cat >conftest.$ac_ext <<_ACEOF
    14882 /* confdefs.h.  */
    14883 _ACEOF
    14884 cat confdefs.h >>conftest.$ac_ext
    14885 cat >>conftest.$ac_ext <<_ACEOF
    14886 /* end confdefs.h.  */
    14887 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14888    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14889 #define $ac_func innocuous_$ac_func
    14890 
    14891 /* System header to define __stub macros and hopefully few prototypes,
    14892     which can conflict with char $ac_func (); below.
    14893     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14894     <limits.h> exists even on freestanding compilers.  */
    14895 
    14896 #ifdef __STDC__
    14897 # include <limits.h>
    14898 #else
    14899 # include <assert.h>
    14900 #endif
    14901 
    14902 #undef $ac_func
    14903 
    14904 /* Override any GCC internal prototype to avoid an error.
    14905    Use char because int might match the return type of a GCC
    14906    builtin and then its argument prototype would still apply.  */
    14907 #ifdef __cplusplus
    14908 extern "C"
    14909 #endif
    14910 char $ac_func ();
    14911 /* The GNU C library defines this for functions which it implements
    14912     to always fail with ENOSYS.  Some functions are actually named
    14913     something starting with __ and the normal name is an alias.  */
    14914 #if defined __stub_$ac_func || defined __stub___$ac_func
    14915 choke me
    14916 #endif
    14917 
    14918 int
    14919 main ()
    14920 {
    14921 return $ac_func ();
    14922   ;
    14923   return 0;
    14924 }
    14925 _ACEOF
    14926 rm -f conftest.$ac_objext conftest$ac_exeext
    14927 if { (ac_try="$ac_link"
    14928 case "(($ac_try" in
    14929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    14930   *) ac_try_echo=$ac_try;;
    14931 esac
    14932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    14933 $as_echo "$ac_try_echo") >&5
    14934   (eval "$ac_link") 2>conftest.er1
    14935   ac_status=$?
    14936   grep -v '^ *+' conftest.er1 >conftest.err
    14937   rm -f conftest.er1
    14938   cat conftest.err >&5
    14939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    14940   (exit $ac_status); } && {
    14941          test -z "$ac_cxx_werror_flag" ||
    14942          test ! -s conftest.err
    14943        } && test -s conftest$ac_exeext && {
    14944          test "$cross_compiling" = yes ||
    14945          $as_test_x conftest$ac_exeext
    14946        }; then
    14947   eval "$as_ac_var=yes"
    14948 else
    14949   $as_echo "$as_me: failed program was:" >&5
    14950 sed 's/^/| /' conftest.$ac_ext >&5
    14951 
    14952         eval "$as_ac_var=no"
    14953 fi
    14954 
    14955 rm -rf conftest.dSYM
    14956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    14957       conftest$ac_exeext conftest.$ac_ext
    14958 fi
    14959 ac_res=`eval 'as_val=${'$as_ac_var'}
    14960                  $as_echo "$as_val"'`
    14961                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    14962 $as_echo "$ac_res" >&6; }
    14963 as_val=`eval 'as_val=${'$as_ac_var'}
    14964                  $as_echo "$as_val"'`
    14965    if test "x$as_val" = x""yes; then
    14966   cat >>confdefs.h <<_ACEOF
    14967 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    14968 _ACEOF
    14969 
    14970 fi
    14971 done
    14972 
    14973 
    14974 for ac_func in av_write_header
    14975 do
    14976 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    14977 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    14978 $as_echo_n "checking for $ac_func... " >&6; }
    14979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    14980   $as_echo_n "(cached) " >&6
    14981 else
    14982   cat >conftest.$ac_ext <<_ACEOF
    14983 /* confdefs.h.  */
    14984 _ACEOF
    14985 cat confdefs.h >>conftest.$ac_ext
    14986 cat >>conftest.$ac_ext <<_ACEOF
    14987 /* end confdefs.h.  */
    14988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    14989    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    14990 #define $ac_func innocuous_$ac_func
    14991 
    14992 /* System header to define __stub macros and hopefully few prototypes,
    14993     which can conflict with char $ac_func (); below.
    14994     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    14995     <limits.h> exists even on freestanding compilers.  */
    14996 
    14997 #ifdef __STDC__
    14998 # include <limits.h>
    14999 #else
    15000 # include <assert.h>
    15001 #endif
    15002 
    15003 #undef $ac_func
    15004 
    15005 /* Override any GCC internal prototype to avoid an error.
    15006    Use char because int might match the return type of a GCC
    15007    builtin and then its argument prototype would still apply.  */
    15008 #ifdef __cplusplus
    15009 extern "C"
    15010 #endif
    15011 char $ac_func ();
    15012 /* The GNU C library defines this for functions which it implements
    15013     to always fail with ENOSYS.  Some functions are actually named
    15014     something starting with __ and the normal name is an alias.  */
    15015 #if defined __stub_$ac_func || defined __stub___$ac_func
    15016 choke me
    15017 #endif
    15018 
    15019 int
    15020 main ()
    15021 {
    15022 return $ac_func ();
    15023   ;
    15024   return 0;
    15025 }
    15026 _ACEOF
    15027 rm -f conftest.$ac_objext conftest$ac_exeext
    15028 if { (ac_try="$ac_link"
    15029 case "(($ac_try" in
    15030   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15031   *) ac_try_echo=$ac_try;;
    15032 esac
    15033 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15034 $as_echo "$ac_try_echo") >&5
    15035   (eval "$ac_link") 2>conftest.er1
    15036   ac_status=$?
    15037   grep -v '^ *+' conftest.er1 >conftest.err
    15038   rm -f conftest.er1
    15039   cat conftest.err >&5
    15040   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15041   (exit $ac_status); } && {
    15042          test -z "$ac_cxx_werror_flag" ||
    15043          test ! -s conftest.err
    15044        } && test -s conftest$ac_exeext && {
    15045          test "$cross_compiling" = yes ||
    15046          $as_test_x conftest$ac_exeext
    15047        }; then
    15048   eval "$as_ac_var=yes"
    15049 else
    15050   $as_echo "$as_me: failed program was:" >&5
    15051 sed 's/^/| /' conftest.$ac_ext >&5
    15052 
    15053         eval "$as_ac_var=no"
    15054 fi
    15055 
    15056 rm -rf conftest.dSYM
    15057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15058       conftest$ac_exeext conftest.$ac_ext
    15059 fi
    15060 ac_res=`eval 'as_val=${'$as_ac_var'}
    15061                  $as_echo "$as_val"'`
    15062                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    15063 $as_echo "$ac_res" >&6; }
    15064 as_val=`eval 'as_val=${'$as_ac_var'}
    15065                  $as_echo "$as_val"'`
    15066    if test "x$as_val" = x""yes; then
    15067   cat >>confdefs.h <<_ACEOF
    15068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    15069 _ACEOF
    15070 
    15071 fi
    15072 done
    15073 
    15074 { $as_echo "$as_me:$LINENO: checking for av_write_trailer" >&5
    15075 $as_echo_n "checking for av_write_trailer... " >&6; }
    15076 if test "${ac_cv_func_av_write_trailer+set}" = set; then
    15077   $as_echo_n "(cached) " >&6
    15078 else
    15079   cat >conftest.$ac_ext <<_ACEOF
    15080 /* confdefs.h.  */
    15081 _ACEOF
    15082 cat confdefs.h >>conftest.$ac_ext
    15083 cat >>conftest.$ac_ext <<_ACEOF
    15084 /* end confdefs.h.  */
    15085 /* Define av_write_trailer to an innocuous variant, in case <limits.h> declares av_write_trailer.
    15086    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15087 #define av_write_trailer innocuous_av_write_trailer
    15088 
    15089 /* System header to define __stub macros and hopefully few prototypes,
    15090     which can conflict with char av_write_trailer (); below.
    15091     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15092     <limits.h> exists even on freestanding compilers.  */
    15093 
    15094 #ifdef __STDC__
    15095 # include <limits.h>
    15096 #else
    15097 # include <assert.h>
    15098 #endif
    15099 
    15100 #undef av_write_trailer
    15101 
    15102 /* Override any GCC internal prototype to avoid an error.
    15103    Use char because int might match the return type of a GCC
    15104    builtin and then its argument prototype would still apply.  */
    15105 #ifdef __cplusplus
    15106 extern "C"
    15107 #endif
    15108 char av_write_trailer ();
    15109 /* The GNU C library defines this for functions which it implements
    15110     to always fail with ENOSYS.  Some functions are actually named
    15111     something starting with __ and the normal name is an alias.  */
    15112 #if defined __stub_av_write_trailer || defined __stub___av_write_trailer
    15113 choke me
    15114 #endif
    15115 
    15116 int
    15117 main ()
    15118 {
    15119 return av_write_trailer ();
    15120   ;
    15121   return 0;
    15122 }
    15123 _ACEOF
    15124 rm -f conftest.$ac_objext conftest$ac_exeext
    15125 if { (ac_try="$ac_link"
    15126 case "(($ac_try" in
    15127   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15128   *) ac_try_echo=$ac_try;;
    15129 esac
    15130 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15131 $as_echo "$ac_try_echo") >&5
    15132   (eval "$ac_link") 2>conftest.er1
    15133   ac_status=$?
    15134   grep -v '^ *+' conftest.er1 >conftest.err
    15135   rm -f conftest.er1
    15136   cat conftest.err >&5
    15137   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15138   (exit $ac_status); } && {
    15139          test -z "$ac_cxx_werror_flag" ||
    15140          test ! -s conftest.err
    15141        } && test -s conftest$ac_exeext && {
    15142          test "$cross_compiling" = yes ||
    15143          $as_test_x conftest$ac_exeext
    15144        }; then
    15145   ac_cv_func_av_write_trailer=yes
    15146 else
    15147   $as_echo "$as_me: failed program was:" >&5
    15148 sed 's/^/| /' conftest.$ac_ext >&5
    15149 
    15150         ac_cv_func_av_write_trailer=no
    15151 fi
    15152 
    15153 rm -rf conftest.dSYM
    15154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15155       conftest$ac_exeext conftest.$ac_ext
    15156 fi
    15157 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_trailer" >&5
    15158 $as_echo "$ac_cv_func_av_write_trailer" >&6; }
    15159 if test "x$ac_cv_func_av_write_trailer" = x""yes; then
    15160   :
    15161 else
    15162   { { $as_echo "$as_me:$LINENO: error: oops! no av_write_trailer?!?" >&5
    15163 $as_echo "$as_me: error: oops! no av_write_trailer?!?" >&2;}
    15164    { (exit 1); exit 1; }; }
    15165 fi
    15166 
    15167 { $as_echo "$as_me:$LINENO: checking for av_freep" >&5
    15168 $as_echo_n "checking for av_freep... " >&6; }
    15169 if test "${ac_cv_func_av_freep+set}" = set; then
    15170   $as_echo_n "(cached) " >&6
    15171 else
    15172   cat >conftest.$ac_ext <<_ACEOF
    15173 /* confdefs.h.  */
    15174 _ACEOF
    15175 cat confdefs.h >>conftest.$ac_ext
    15176 cat >>conftest.$ac_ext <<_ACEOF
    15177 /* end confdefs.h.  */
    15178 /* Define av_freep to an innocuous variant, in case <limits.h> declares av_freep.
    15179    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15180 #define av_freep innocuous_av_freep
    15181 
    15182 /* System header to define __stub macros and hopefully few prototypes,
    15183     which can conflict with char av_freep (); below.
    15184     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15185     <limits.h> exists even on freestanding compilers.  */
    15186 
    15187 #ifdef __STDC__
    15188 # include <limits.h>
    15189 #else
    15190 # include <assert.h>
    15191 #endif
    15192 
    15193 #undef av_freep
    15194 
    15195 /* Override any GCC internal prototype to avoid an error.
    15196    Use char because int might match the return type of a GCC
    15197    builtin and then its argument prototype would still apply.  */
    15198 #ifdef __cplusplus
    15199 extern "C"
    15200 #endif
    15201 char av_freep ();
    15202 /* The GNU C library defines this for functions which it implements
    15203     to always fail with ENOSYS.  Some functions are actually named
    15204     something starting with __ and the normal name is an alias.  */
    15205 #if defined __stub_av_freep || defined __stub___av_freep
    15206 choke me
    15207 #endif
    15208 
    15209 int
    15210 main ()
    15211 {
    15212 return av_freep ();
    15213   ;
    15214   return 0;
    15215 }
    15216 _ACEOF
    15217 rm -f conftest.$ac_objext conftest$ac_exeext
    15218 if { (ac_try="$ac_link"
    15219 case "(($ac_try" in
    15220   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15221   *) ac_try_echo=$ac_try;;
    15222 esac
    15223 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15224 $as_echo "$ac_try_echo") >&5
    15225   (eval "$ac_link") 2>conftest.er1
    15226   ac_status=$?
    15227   grep -v '^ *+' conftest.er1 >conftest.err
    15228   rm -f conftest.er1
    15229   cat conftest.err >&5
    15230   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15231   (exit $ac_status); } && {
    15232          test -z "$ac_cxx_werror_flag" ||
    15233          test ! -s conftest.err
    15234        } && test -s conftest$ac_exeext && {
    15235          test "$cross_compiling" = yes ||
    15236          $as_test_x conftest$ac_exeext
    15237        }; then
    15238   ac_cv_func_av_freep=yes
    15239 else
    15240   $as_echo "$as_me: failed program was:" >&5
    15241 sed 's/^/| /' conftest.$ac_ext >&5
    15242 
    15243         ac_cv_func_av_freep=no
    15244 fi
    15245 
    15246 rm -rf conftest.dSYM
    15247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15248       conftest$ac_exeext conftest.$ac_ext
    15249 fi
    15250 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_freep" >&5
    15251 $as_echo "$ac_cv_func_av_freep" >&6; }
    15252 if test "x$ac_cv_func_av_freep" = x""yes; then
    15253   :
    15254 else
    15255   { { $as_echo "$as_me:$LINENO: error: oops! no av_freep ?!?" >&5
    15256 $as_echo "$as_me: error: oops! no av_freep ?!?" >&2;}
    15257    { (exit 1); exit 1; }; }
    15258 fi
    15259 
    15260 { $as_echo "$as_me:$LINENO: checking for av_free" >&5
    15261 $as_echo_n "checking for av_free... " >&6; }
    15262 if test "${ac_cv_func_av_free+set}" = set; then
    15263   $as_echo_n "(cached) " >&6
    15264 else
    15265   cat >conftest.$ac_ext <<_ACEOF
    15266 /* confdefs.h.  */
    15267 _ACEOF
    15268 cat confdefs.h >>conftest.$ac_ext
    15269 cat >>conftest.$ac_ext <<_ACEOF
    15270 /* end confdefs.h.  */
    15271 /* Define av_free to an innocuous variant, in case <limits.h> declares av_free.
    15272    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15273 #define av_free innocuous_av_free
    15274 
    15275 /* System header to define __stub macros and hopefully few prototypes,
    15276     which can conflict with char av_free (); below.
    15277     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15278     <limits.h> exists even on freestanding compilers.  */
    15279 
    15280 #ifdef __STDC__
    15281 # include <limits.h>
    15282 #else
    15283 # include <assert.h>
    15284 #endif
    15285 
    15286 #undef av_free
    15287 
    15288 /* Override any GCC internal prototype to avoid an error.
    15289    Use char because int might match the return type of a GCC
    15290    builtin and then its argument prototype would still apply.  */
    15291 #ifdef __cplusplus
    15292 extern "C"
    15293 #endif
    15294 char av_free ();
    15295 /* The GNU C library defines this for functions which it implements
    15296     to always fail with ENOSYS.  Some functions are actually named
    15297     something starting with __ and the normal name is an alias.  */
    15298 #if defined __stub_av_free || defined __stub___av_free
    15299 choke me
    15300 #endif
    15301 
    15302 int
    15303 main ()
    15304 {
    15305 return av_free ();
    15306   ;
    15307   return 0;
    15308 }
    15309 _ACEOF
    15310 rm -f conftest.$ac_objext conftest$ac_exeext
    15311 if { (ac_try="$ac_link"
    15312 case "(($ac_try" in
    15313   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15314   *) ac_try_echo=$ac_try;;
    15315 esac
    15316 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15317 $as_echo "$ac_try_echo") >&5
    15318   (eval "$ac_link") 2>conftest.er1
    15319   ac_status=$?
    15320   grep -v '^ *+' conftest.er1 >conftest.err
    15321   rm -f conftest.er1
    15322   cat conftest.err >&5
    15323   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15324   (exit $ac_status); } && {
    15325          test -z "$ac_cxx_werror_flag" ||
    15326          test ! -s conftest.err
    15327        } && test -s conftest$ac_exeext && {
    15328          test "$cross_compiling" = yes ||
    15329          $as_test_x conftest$ac_exeext
    15330        }; then
    15331   ac_cv_func_av_free=yes
    15332 else
    15333   $as_echo "$as_me: failed program was:" >&5
    15334 sed 's/^/| /' conftest.$ac_ext >&5
    15335 
    15336         ac_cv_func_av_free=no
    15337 fi
    15338 
    15339 rm -rf conftest.dSYM
    15340 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15341       conftest$ac_exeext conftest.$ac_ext
    15342 fi
    15343 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5
    15344 $as_echo "$ac_cv_func_av_free" >&6; }
    15345 if test "x$ac_cv_func_av_free" = x""yes; then
    15346   :
    15347 else
    15348   { { $as_echo "$as_me:$LINENO: error: oops! no av_free ?!?" >&5
    15349 $as_echo "$as_me: error: oops! no av_free ?!?" >&2;}
    15350    { (exit 1); exit 1; }; }
    15351 fi
    15352 
    15353 { $as_echo "$as_me:$LINENO: checking for av_new_stream" >&5
    15354 $as_echo_n "checking for av_new_stream... " >&6; }
    15355 if test "${ac_cv_func_av_new_stream+set}" = set; then
    15356   $as_echo_n "(cached) " >&6
    15357 else
    15358   cat >conftest.$ac_ext <<_ACEOF
    15359 /* confdefs.h.  */
    15360 _ACEOF
    15361 cat confdefs.h >>conftest.$ac_ext
    15362 cat >>conftest.$ac_ext <<_ACEOF
    15363 /* end confdefs.h.  */
    15364 /* Define av_new_stream to an innocuous variant, in case <limits.h> declares av_new_stream.
    15365    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15366 #define av_new_stream innocuous_av_new_stream
    15367 
    15368 /* System header to define __stub macros and hopefully few prototypes,
    15369     which can conflict with char av_new_stream (); below.
    15370     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15371     <limits.h> exists even on freestanding compilers.  */
    15372 
    15373 #ifdef __STDC__
    15374 # include <limits.h>
    15375 #else
    15376 # include <assert.h>
    15377 #endif
    15378 
    15379 #undef av_new_stream
    15380 
    15381 /* Override any GCC internal prototype to avoid an error.
    15382    Use char because int might match the return type of a GCC
    15383    builtin and then its argument prototype would still apply.  */
    15384 #ifdef __cplusplus
    15385 extern "C"
    15386 #endif
    15387 char av_new_stream ();
    15388 /* The GNU C library defines this for functions which it implements
    15389     to always fail with ENOSYS.  Some functions are actually named
    15390     something starting with __ and the normal name is an alias.  */
    15391 #if defined __stub_av_new_stream || defined __stub___av_new_stream
    15392 choke me
    15393 #endif
    15394 
    15395 int
    15396 main ()
    15397 {
    15398 return av_new_stream ();
    15399   ;
    15400   return 0;
    15401 }
    15402 _ACEOF
    15403 rm -f conftest.$ac_objext conftest$ac_exeext
    15404 if { (ac_try="$ac_link"
    15405 case "(($ac_try" in
    15406   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15407   *) ac_try_echo=$ac_try;;
    15408 esac
    15409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15410 $as_echo "$ac_try_echo") >&5
    15411   (eval "$ac_link") 2>conftest.er1
    15412   ac_status=$?
    15413   grep -v '^ *+' conftest.er1 >conftest.err
    15414   rm -f conftest.er1
    15415   cat conftest.err >&5
    15416   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15417   (exit $ac_status); } && {
    15418          test -z "$ac_cxx_werror_flag" ||
    15419          test ! -s conftest.err
    15420        } && test -s conftest$ac_exeext && {
    15421          test "$cross_compiling" = yes ||
    15422          $as_test_x conftest$ac_exeext
    15423        }; then
    15424   ac_cv_func_av_new_stream=yes
    15425 else
    15426   $as_echo "$as_me: failed program was:" >&5
    15427 sed 's/^/| /' conftest.$ac_ext >&5
    15428 
    15429         ac_cv_func_av_new_stream=no
    15430 fi
    15431 
    15432 rm -rf conftest.dSYM
    15433 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15434       conftest$ac_exeext conftest.$ac_ext
    15435 fi
    15436 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_new_stream" >&5
    15437 $as_echo "$ac_cv_func_av_new_stream" >&6; }
    15438 if test "x$ac_cv_func_av_new_stream" = x""yes; then
    15439   :
    15440 else
    15441   { { $as_echo "$as_me:$LINENO: error: oops! av_new_stream ?!?" >&5
    15442 $as_echo "$as_me: error: oops! av_new_stream ?!?" >&2;}
    15443    { (exit 1); exit 1; }; }
    15444 fi
    15445 
    15446 { $as_echo "$as_me:$LINENO: checking for av_malloc" >&5
    15447 $as_echo_n "checking for av_malloc... " >&6; }
    15448 if test "${ac_cv_func_av_malloc+set}" = set; then
    15449   $as_echo_n "(cached) " >&6
    15450 else
    15451   cat >conftest.$ac_ext <<_ACEOF
    15452 /* confdefs.h.  */
    15453 _ACEOF
    15454 cat confdefs.h >>conftest.$ac_ext
    15455 cat >>conftest.$ac_ext <<_ACEOF
    15456 /* end confdefs.h.  */
    15457 /* Define av_malloc to an innocuous variant, in case <limits.h> declares av_malloc.
    15458    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15459 #define av_malloc innocuous_av_malloc
    15460 
    15461 /* System header to define __stub macros and hopefully few prototypes,
    15462     which can conflict with char av_malloc (); below.
    15463     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15464     <limits.h> exists even on freestanding compilers.  */
    15465 
    15466 #ifdef __STDC__
    15467 # include <limits.h>
    15468 #else
    15469 # include <assert.h>
    15470 #endif
    15471 
    15472 #undef av_malloc
    15473 
    15474 /* Override any GCC internal prototype to avoid an error.
    15475    Use char because int might match the return type of a GCC
    15476    builtin and then its argument prototype would still apply.  */
    15477 #ifdef __cplusplus
    15478 extern "C"
    15479 #endif
    15480 char av_malloc ();
    15481 /* The GNU C library defines this for functions which it implements
    15482     to always fail with ENOSYS.  Some functions are actually named
    15483     something starting with __ and the normal name is an alias.  */
    15484 #if defined __stub_av_malloc || defined __stub___av_malloc
    15485 choke me
    15486 #endif
    15487 
    15488 int
    15489 main ()
    15490 {
    15491 return av_malloc ();
    15492   ;
    15493   return 0;
    15494 }
    15495 _ACEOF
    15496 rm -f conftest.$ac_objext conftest$ac_exeext
    15497 if { (ac_try="$ac_link"
    15498 case "(($ac_try" in
    15499   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15500   *) ac_try_echo=$ac_try;;
    15501 esac
    15502 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15503 $as_echo "$ac_try_echo") >&5
    15504   (eval "$ac_link") 2>conftest.er1
    15505   ac_status=$?
    15506   grep -v '^ *+' conftest.er1 >conftest.err
    15507   rm -f conftest.er1
    15508   cat conftest.err >&5
    15509   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15510   (exit $ac_status); } && {
    15511          test -z "$ac_cxx_werror_flag" ||
    15512          test ! -s conftest.err
    15513        } && test -s conftest$ac_exeext && {
    15514          test "$cross_compiling" = yes ||
    15515          $as_test_x conftest$ac_exeext
    15516        }; then
    15517   ac_cv_func_av_malloc=yes
    15518 else
    15519   $as_echo "$as_me: failed program was:" >&5
    15520 sed 's/^/| /' conftest.$ac_ext >&5
    15521 
    15522         ac_cv_func_av_malloc=no
    15523 fi
    15524 
    15525 rm -rf conftest.dSYM
    15526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15527       conftest$ac_exeext conftest.$ac_ext
    15528 fi
    15529 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_malloc" >&5
    15530 $as_echo "$ac_cv_func_av_malloc" >&6; }
    15531 if test "x$ac_cv_func_av_malloc" = x""yes; then
    15532   :
    15533 else
    15534   { { $as_echo "$as_me:$LINENO: error: oops! no av_malloc ?!?" >&5
    15535 $as_echo "$as_me: error: oops! no av_malloc ?!?" >&2;}
    15536    { (exit 1); exit 1; }; }
    15537 fi
    15538 
    15539 { $as_echo "$as_me:$LINENO: checking for av_init_packet" >&5
    15540 $as_echo_n "checking for av_init_packet... " >&6; }
    15541 if test "${ac_cv_func_av_init_packet+set}" = set; then
    15542   $as_echo_n "(cached) " >&6
    15543 else
    15544   cat >conftest.$ac_ext <<_ACEOF
    15545 /* confdefs.h.  */
    15546 _ACEOF
    15547 cat confdefs.h >>conftest.$ac_ext
    15548 cat >>conftest.$ac_ext <<_ACEOF
    15549 /* end confdefs.h.  */
    15550 /* Define av_init_packet to an innocuous variant, in case <limits.h> declares av_init_packet.
    15551    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15552 #define av_init_packet innocuous_av_init_packet
    15553 
    15554 /* System header to define __stub macros and hopefully few prototypes,
    15555     which can conflict with char av_init_packet (); below.
    15556     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15557     <limits.h> exists even on freestanding compilers.  */
    15558 
    15559 #ifdef __STDC__
    15560 # include <limits.h>
    15561 #else
    15562 # include <assert.h>
    15563 #endif
    15564 
    15565 #undef av_init_packet
    15566 
    15567 /* Override any GCC internal prototype to avoid an error.
    15568    Use char because int might match the return type of a GCC
    15569    builtin and then its argument prototype would still apply.  */
    15570 #ifdef __cplusplus
    15571 extern "C"
    15572 #endif
    15573 char av_init_packet ();
    15574 /* The GNU C library defines this for functions which it implements
    15575     to always fail with ENOSYS.  Some functions are actually named
    15576     something starting with __ and the normal name is an alias.  */
    15577 #if defined __stub_av_init_packet || defined __stub___av_init_packet
    15578 choke me
    15579 #endif
    15580 
    15581 int
    15582 main ()
    15583 {
    15584 return av_init_packet ();
    15585   ;
    15586   return 0;
    15587 }
    15588 _ACEOF
    15589 rm -f conftest.$ac_objext conftest$ac_exeext
    15590 if { (ac_try="$ac_link"
    15591 case "(($ac_try" in
    15592   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15593   *) ac_try_echo=$ac_try;;
    15594 esac
    15595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15596 $as_echo "$ac_try_echo") >&5
    15597   (eval "$ac_link") 2>conftest.er1
    15598   ac_status=$?
    15599   grep -v '^ *+' conftest.er1 >conftest.err
    15600   rm -f conftest.er1
    15601   cat conftest.err >&5
    15602   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15603   (exit $ac_status); } && {
    15604          test -z "$ac_cxx_werror_flag" ||
    15605          test ! -s conftest.err
    15606        } && test -s conftest$ac_exeext && {
    15607          test "$cross_compiling" = yes ||
    15608          $as_test_x conftest$ac_exeext
    15609        }; then
    15610   ac_cv_func_av_init_packet=yes
    15611 else
    15612   $as_echo "$as_me: failed program was:" >&5
    15613 sed 's/^/| /' conftest.$ac_ext >&5
    15614 
    15615         ac_cv_func_av_init_packet=no
    15616 fi
    15617 
    15618 rm -rf conftest.dSYM
    15619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15620       conftest$ac_exeext conftest.$ac_ext
    15621 fi
    15622 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_init_packet" >&5
    15623 $as_echo "$ac_cv_func_av_init_packet" >&6; }
    15624 if test "x$ac_cv_func_av_init_packet" = x""yes; then
    15625   :
    15626 else
    15627   { { $as_echo "$as_me:$LINENO: error: oops! no av_init_packet ?!?" >&5
    15628 $as_echo "$as_me: error: oops! no av_init_packet ?!?" >&2;}
    15629    { (exit 1); exit 1; }; }
    15630 fi
    15631 
    15632 { $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5
    15633 $as_echo_n "checking for av_rescale_q... " >&6; }
    15634 if test "${ac_cv_func_av_rescale_q+set}" = set; then
    15635   $as_echo_n "(cached) " >&6
    15636 else
    15637   cat >conftest.$ac_ext <<_ACEOF
    15638 /* confdefs.h.  */
    15639 _ACEOF
    15640 cat confdefs.h >>conftest.$ac_ext
    15641 cat >>conftest.$ac_ext <<_ACEOF
    15642 /* end confdefs.h.  */
    15643 /* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q.
    15644    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15645 #define av_rescale_q innocuous_av_rescale_q
    15646 
    15647 /* System header to define __stub macros and hopefully few prototypes,
    15648     which can conflict with char av_rescale_q (); below.
    15649     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15650     <limits.h> exists even on freestanding compilers.  */
    15651 
    15652 #ifdef __STDC__
    15653 # include <limits.h>
    15654 #else
    15655 # include <assert.h>
    15656 #endif
    15657 
    15658 #undef av_rescale_q
    15659 
    15660 /* Override any GCC internal prototype to avoid an error.
    15661    Use char because int might match the return type of a GCC
    15662    builtin and then its argument prototype would still apply.  */
    15663 #ifdef __cplusplus
    15664 extern "C"
    15665 #endif
    15666 char av_rescale_q ();
    15667 /* The GNU C library defines this for functions which it implements
    15668     to always fail with ENOSYS.  Some functions are actually named
    15669     something starting with __ and the normal name is an alias.  */
    15670 #if defined __stub_av_rescale_q || defined __stub___av_rescale_q
    15671 choke me
    15672 #endif
    15673 
    15674 int
    15675 main ()
    15676 {
    15677 return av_rescale_q ();
    15678   ;
    15679   return 0;
    15680 }
    15681 _ACEOF
    15682 rm -f conftest.$ac_objext conftest$ac_exeext
    15683 if { (ac_try="$ac_link"
    15684 case "(($ac_try" in
    15685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15686   *) ac_try_echo=$ac_try;;
    15687 esac
    15688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15689 $as_echo "$ac_try_echo") >&5
    15690   (eval "$ac_link") 2>conftest.er1
    15691   ac_status=$?
    15692   grep -v '^ *+' conftest.er1 >conftest.err
    15693   rm -f conftest.er1
    15694   cat conftest.err >&5
    15695   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15696   (exit $ac_status); } && {
    15697          test -z "$ac_cxx_werror_flag" ||
    15698          test ! -s conftest.err
    15699        } && test -s conftest$ac_exeext && {
    15700          test "$cross_compiling" = yes ||
    15701          $as_test_x conftest$ac_exeext
    15702        }; then
    15703   ac_cv_func_av_rescale_q=yes
    15704 else
    15705   $as_echo "$as_me: failed program was:" >&5
    15706 sed 's/^/| /' conftest.$ac_ext >&5
    15707 
    15708         ac_cv_func_av_rescale_q=no
    15709 fi
    15710 
    15711 rm -rf conftest.dSYM
    15712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15713       conftest$ac_exeext conftest.$ac_ext
    15714 fi
    15715 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5
    15716 $as_echo "$ac_cv_func_av_rescale_q" >&6; }
    15717 if test "x$ac_cv_func_av_rescale_q" = x""yes; then
    15718   :
    15719 else
    15720   { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5
    15721 $as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;}
    15722    { (exit 1); exit 1; }; }
    15723 fi
    15724 
    15725 { $as_echo "$as_me:$LINENO: checking for av_write_frame" >&5
    15726 $as_echo_n "checking for av_write_frame... " >&6; }
    15727 if test "${ac_cv_func_av_write_frame+set}" = set; then
    15728   $as_echo_n "(cached) " >&6
    15729 else
    15730   cat >conftest.$ac_ext <<_ACEOF
    15731 /* confdefs.h.  */
    15732 _ACEOF
    15733 cat confdefs.h >>conftest.$ac_ext
    15734 cat >>conftest.$ac_ext <<_ACEOF
    15735 /* end confdefs.h.  */
    15736 /* Define av_write_frame to an innocuous variant, in case <limits.h> declares av_write_frame.
    15737    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15738 #define av_write_frame innocuous_av_write_frame
    15739 
    15740 /* System header to define __stub macros and hopefully few prototypes,
    15741     which can conflict with char av_write_frame (); below.
    15742     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15743     <limits.h> exists even on freestanding compilers.  */
    15744 
    15745 #ifdef __STDC__
    15746 # include <limits.h>
    15747 #else
    15748 # include <assert.h>
    15749 #endif
    15750 
    15751 #undef av_write_frame
    15752 
    15753 /* Override any GCC internal prototype to avoid an error.
    15754    Use char because int might match the return type of a GCC
    15755    builtin and then its argument prototype would still apply.  */
    15756 #ifdef __cplusplus
    15757 extern "C"
    15758 #endif
    15759 char av_write_frame ();
    15760 /* The GNU C library defines this for functions which it implements
    15761     to always fail with ENOSYS.  Some functions are actually named
    15762     something starting with __ and the normal name is an alias.  */
    15763 #if defined __stub_av_write_frame || defined __stub___av_write_frame
    15764 choke me
    15765 #endif
    15766 
    15767 int
    15768 main ()
    15769 {
    15770 return av_write_frame ();
    15771   ;
    15772   return 0;
    15773 }
    15774 _ACEOF
    15775 rm -f conftest.$ac_objext conftest$ac_exeext
    15776 if { (ac_try="$ac_link"
    15777 case "(($ac_try" in
    15778   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15779   *) ac_try_echo=$ac_try;;
    15780 esac
    15781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15782 $as_echo "$ac_try_echo") >&5
    15783   (eval "$ac_link") 2>conftest.er1
    15784   ac_status=$?
    15785   grep -v '^ *+' conftest.er1 >conftest.err
    15786   rm -f conftest.er1
    15787   cat conftest.err >&5
    15788   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15789   (exit $ac_status); } && {
    15790          test -z "$ac_cxx_werror_flag" ||
    15791          test ! -s conftest.err
    15792        } && test -s conftest$ac_exeext && {
    15793          test "$cross_compiling" = yes ||
    15794          $as_test_x conftest$ac_exeext
    15795        }; then
    15796   ac_cv_func_av_write_frame=yes
    15797 else
    15798   $as_echo "$as_me: failed program was:" >&5
    15799 sed 's/^/| /' conftest.$ac_ext >&5
    15800 
    15801         ac_cv_func_av_write_frame=no
    15802 fi
    15803 
    15804 rm -rf conftest.dSYM
    15805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15806       conftest$ac_exeext conftest.$ac_ext
    15807 fi
    15808 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_frame" >&5
    15809 $as_echo "$ac_cv_func_av_write_frame" >&6; }
    15810 if test "x$ac_cv_func_av_write_frame" = x""yes; then
    15811   :
    15812 else
    15813   { { $as_echo "$as_me:$LINENO: error: oops! av_write_frame ?!?" >&5
    15814 $as_echo "$as_me: error: oops! av_write_frame ?!?" >&2;}
    15815    { (exit 1); exit 1; }; }
    15816 fi
    15817 
    15818 
    15819 for ac_func in img_convert
    15820 do
    15821 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    15822 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    15823 $as_echo_n "checking for $ac_func... " >&6; }
    15824 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    15825   $as_echo_n "(cached) " >&6
    15826 else
    15827   cat >conftest.$ac_ext <<_ACEOF
    15828 /* confdefs.h.  */
    15829 _ACEOF
    15830 cat confdefs.h >>conftest.$ac_ext
    15831 cat >>conftest.$ac_ext <<_ACEOF
    15832 /* end confdefs.h.  */
    15833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    15834    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15835 #define $ac_func innocuous_$ac_func
    15836 
    15837 /* System header to define __stub macros and hopefully few prototypes,
    15838     which can conflict with char $ac_func (); below.
    15839     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15840     <limits.h> exists even on freestanding compilers.  */
    15841 
    15842 #ifdef __STDC__
    15843 # include <limits.h>
    15844 #else
    15845 # include <assert.h>
    15846 #endif
    15847 
    15848 #undef $ac_func
    15849 
    15850 /* Override any GCC internal prototype to avoid an error.
    15851    Use char because int might match the return type of a GCC
    15852    builtin and then its argument prototype would still apply.  */
    15853 #ifdef __cplusplus
    15854 extern "C"
    15855 #endif
    15856 char $ac_func ();
    15857 /* The GNU C library defines this for functions which it implements
    15858     to always fail with ENOSYS.  Some functions are actually named
    15859     something starting with __ and the normal name is an alias.  */
    15860 #if defined __stub_$ac_func || defined __stub___$ac_func
    15861 choke me
    15862 #endif
    15863 
    15864 int
    15865 main ()
    15866 {
    15867 return $ac_func ();
    15868   ;
    15869   return 0;
    15870 }
    15871 _ACEOF
    15872 rm -f conftest.$ac_objext conftest$ac_exeext
    15873 if { (ac_try="$ac_link"
    15874 case "(($ac_try" in
    15875   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15876   *) ac_try_echo=$ac_try;;
    15877 esac
    15878 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15879 $as_echo "$ac_try_echo") >&5
    15880   (eval "$ac_link") 2>conftest.er1
    15881   ac_status=$?
    15882   grep -v '^ *+' conftest.er1 >conftest.err
    15883   rm -f conftest.er1
    15884   cat conftest.err >&5
    15885   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15886   (exit $ac_status); } && {
    15887          test -z "$ac_cxx_werror_flag" ||
    15888          test ! -s conftest.err
    15889        } && test -s conftest$ac_exeext && {
    15890          test "$cross_compiling" = yes ||
    15891          $as_test_x conftest$ac_exeext
    15892        }; then
    15893   eval "$as_ac_var=yes"
    15894 else
    15895   $as_echo "$as_me: failed program was:" >&5
    15896 sed 's/^/| /' conftest.$ac_ext >&5
    15897 
    15898         eval "$as_ac_var=no"
    15899 fi
    15900 
    15901 rm -rf conftest.dSYM
    15902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    15903       conftest$ac_exeext conftest.$ac_ext
    15904 fi
    15905 ac_res=`eval 'as_val=${'$as_ac_var'}
    15906                  $as_echo "$as_val"'`
    15907                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    15908 $as_echo "$ac_res" >&6; }
    15909 as_val=`eval 'as_val=${'$as_ac_var'}
    15910                  $as_echo "$as_val"'`
    15911    if test "x$as_val" = x""yes; then
    15912   cat >>confdefs.h <<_ACEOF
    15913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    15914 _ACEOF
    15915 
    15916 fi
    15917 done
    15918 
    15919 
    15920 for ac_func in sws_scale
    15921 do
    15922 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    15923 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    15924 $as_echo_n "checking for $ac_func... " >&6; }
    15925 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    15926   $as_echo_n "(cached) " >&6
    15927 else
    15928   cat >conftest.$ac_ext <<_ACEOF
    15929 /* confdefs.h.  */
    15930 _ACEOF
    15931 cat confdefs.h >>conftest.$ac_ext
    15932 cat >>conftest.$ac_ext <<_ACEOF
    15933 /* end confdefs.h.  */
    15934 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    15935    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    15936 #define $ac_func innocuous_$ac_func
    15937 
    15938 /* System header to define __stub macros and hopefully few prototypes,
    15939     which can conflict with char $ac_func (); below.
    15940     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    15941     <limits.h> exists even on freestanding compilers.  */
    15942 
    15943 #ifdef __STDC__
    15944 # include <limits.h>
    15945 #else
    15946 # include <assert.h>
    15947 #endif
    15948 
    15949 #undef $ac_func
    15950 
    15951 /* Override any GCC internal prototype to avoid an error.
    15952    Use char because int might match the return type of a GCC
    15953    builtin and then its argument prototype would still apply.  */
    15954 #ifdef __cplusplus
    15955 extern "C"
    15956 #endif
    15957 char $ac_func ();
    15958 /* The GNU C library defines this for functions which it implements
    15959     to always fail with ENOSYS.  Some functions are actually named
    15960     something starting with __ and the normal name is an alias.  */
    15961 #if defined __stub_$ac_func || defined __stub___$ac_func
    15962 choke me
    15963 #endif
    15964 
    15965 int
    15966 main ()
    15967 {
    15968 return $ac_func ();
    15969   ;
    15970   return 0;
    15971 }
    15972 _ACEOF
    15973 rm -f conftest.$ac_objext conftest$ac_exeext
    15974 if { (ac_try="$ac_link"
    15975 case "(($ac_try" in
    15976   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    15977   *) ac_try_echo=$ac_try;;
    15978 esac
    15979 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    15980 $as_echo "$ac_try_echo") >&5
    15981   (eval "$ac_link") 2>conftest.er1
    15982   ac_status=$?
    15983   grep -v '^ *+' conftest.er1 >conftest.err
    15984   rm -f conftest.er1
    15985   cat conftest.err >&5
    15986   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    15987   (exit $ac_status); } && {
    15988          test -z "$ac_cxx_werror_flag" ||
    15989          test ! -s conftest.err
    15990        } && test -s conftest$ac_exeext && {
    15991          test "$cross_compiling" = yes ||
    15992          $as_test_x conftest$ac_exeext
    15993        }; then
    15994   eval "$as_ac_var=yes"
    15995 else
    15996   $as_echo "$as_me: failed program was:" >&5
    15997 sed 's/^/| /' conftest.$ac_ext >&5
    15998 
    15999         eval "$as_ac_var=no"
    16000 fi
    16001 
    16002 rm -rf conftest.dSYM
    16003 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16004       conftest$ac_exeext conftest.$ac_ext
    16005 fi
    16006 ac_res=`eval 'as_val=${'$as_ac_var'}
    16007                  $as_echo "$as_val"'`
    16008                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    16009 $as_echo "$ac_res" >&6; }
    16010 as_val=`eval 'as_val=${'$as_ac_var'}
    16011                  $as_echo "$as_val"'`
    16012    if test "x$as_val" = x""yes; then
    16013   cat >>confdefs.h <<_ACEOF
    16014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    16015 _ACEOF
    16016 
    16017 fi
    16018 done
    16019 
    16020 cat >conftest.$ac_ext <<_ACEOF
    16021 /* confdefs.h.  */
    16022 _ACEOF
    16023 cat confdefs.h >>conftest.$ac_ext
    16024 cat >>conftest.$ac_ext <<_ACEOF
    16025 /* end confdefs.h.  */
    16026 
    16027 #define __STDC_CONSTANT_MACROS 1
    16028 #include <stdlib.h>
    16029 #ifdef HAVE_FFMPEG_AVCODEC_H
    16030 # include <ffmpeg/avcodec.h>
    16031 #endif
    16032 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
    16033 # include <libavcodec/avcodec.h>
    16034 #endif
    16035 int x = AVMEDIA_TYPE_VIDEO;
    16036 
    16037 int
    16038 main ()
    16039 {
    16040 
    16041   ;
    16042   return 0;
    16043 }
    16044 _ACEOF
    16045 rm -f conftest.$ac_objext
    16046 if { (ac_try="$ac_compile"
    16047 case "(($ac_try" in
    16048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16049   *) ac_try_echo=$ac_try;;
    16050 esac
    16051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16052 $as_echo "$ac_try_echo") >&5
    16053   (eval "$ac_compile") 2>conftest.er1
    16054   ac_status=$?
    16055   grep -v '^ *+' conftest.er1 >conftest.err
    16056   rm -f conftest.er1
    16057   cat conftest.err >&5
    16058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16059   (exit $ac_status); } && {
    16060          test -z "$ac_cxx_werror_flag" ||
    16061          test ! -s conftest.err
    16062        } && test -s conftest.$ac_objext; then
    16063   ac_avmedia_type_video="yes"
    16064 else
    16065   $as_echo "$as_me: failed program was:" >&5
    16066 sed 's/^/| /' conftest.$ac_ext >&5
    16067 
    16068         ac_avmedia_type_video="no"
    16069 fi
    16070 
    16071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16072 if test "$ac_avmedia_type_video" == "yes" ; then
    16073 
    16074 cat >>confdefs.h <<\_ACEOF
    16075 #define HAVE_AVMEDIA_TYPE_VIDEO 1
    16076 _ACEOF
    16077 
    16078 fi
    16079 
    16080 
    16081 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5
    16082 $as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; }
    16083 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then
    16084   $as_echo_n "(cached) " >&6
    16085 else
    16086   ac_check_lib_save_LIBS=$LIBS
    16087 LIBS="-lavcodec  $LIBS"
    16088 cat >conftest.$ac_ext <<_ACEOF
    16089 /* confdefs.h.  */
    16090 _ACEOF
    16091 cat confdefs.h >>conftest.$ac_ext
    16092 cat >>conftest.$ac_ext <<_ACEOF
    16093 /* end confdefs.h.  */
    16094 
    16095 /* Override any GCC internal prototype to avoid an error.
    16096    Use char because int might match the return type of a GCC
    16097    builtin and then its argument prototype would still apply.  */
    16098 #ifdef __cplusplus
    16099 extern "C"
    16100 #endif
    16101 char avcodec_alloc_frame ();
    16102 int
    16103 main ()
    16104 {
    16105 return avcodec_alloc_frame ();
    16106   ;
    16107   return 0;
    16108 }
    16109 _ACEOF
    16110 rm -f conftest.$ac_objext conftest$ac_exeext
    16111 if { (ac_try="$ac_link"
    16112 case "(($ac_try" in
    16113   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16114   *) ac_try_echo=$ac_try;;
    16115 esac
    16116 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16117 $as_echo "$ac_try_echo") >&5
    16118   (eval "$ac_link") 2>conftest.er1
    16119   ac_status=$?
    16120   grep -v '^ *+' conftest.er1 >conftest.err
    16121   rm -f conftest.er1
    16122   cat conftest.err >&5
    16123   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16124   (exit $ac_status); } && {
    16125          test -z "$ac_cxx_werror_flag" ||
    16126          test ! -s conftest.err
    16127        } && test -s conftest$ac_exeext && {
    16128          test "$cross_compiling" = yes ||
    16129          $as_test_x conftest$ac_exeext
    16130        }; then
    16131   ac_cv_lib_avcodec_avcodec_alloc_frame=yes
    16132 else
    16133   $as_echo "$as_me: failed program was:" >&5
    16134 sed 's/^/| /' conftest.$ac_ext >&5
    16135 
    16136         ac_cv_lib_avcodec_avcodec_alloc_frame=no
    16137 fi
    16138 
    16139 rm -rf conftest.dSYM
    16140 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16141       conftest$ac_exeext conftest.$ac_ext
    16142 LIBS=$ac_check_lib_save_LIBS
    16143 fi
    16144 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
    16145 $as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; }
    16146 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then
    16147   cat >>confdefs.h <<_ACEOF
    16148 #define HAVE_LIBAVCODEC 1
    16149 _ACEOF
    16150 
    16151   LIBS="-lavcodec $LIBS"
    16152 
    16153 fi
    16154 
    16155 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found
    16156 
    16157 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5
    16158 $as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; }
    16159 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then
    16160   $as_echo_n "(cached) " >&6
    16161 else
    16162   ac_check_lib_save_LIBS=$LIBS
    16163 LIBS="-lavformat  $LIBS"
    16164 cat >conftest.$ac_ext <<_ACEOF
    16165 /* confdefs.h.  */
    16166 _ACEOF
    16167 cat confdefs.h >>conftest.$ac_ext
    16168 cat >>conftest.$ac_ext <<_ACEOF
    16169 /* end confdefs.h.  */
    16170 
    16171 /* Override any GCC internal prototype to avoid an error.
    16172    Use char because int might match the return type of a GCC
    16173    builtin and then its argument prototype would still apply.  */
    16174 #ifdef __cplusplus
    16175 extern "C"
    16176 #endif
    16177 char avformat_alloc_context ();
    16178 int
    16179 main ()
    16180 {
    16181 return avformat_alloc_context ();
    16182   ;
    16183   return 0;
    16184 }
    16185 _ACEOF
    16186 rm -f conftest.$ac_objext conftest$ac_exeext
    16187 if { (ac_try="$ac_link"
    16188 case "(($ac_try" in
    16189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16190   *) ac_try_echo=$ac_try;;
    16191 esac
    16192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16193 $as_echo "$ac_try_echo") >&5
    16194   (eval "$ac_link") 2>conftest.er1
    16195   ac_status=$?
    16196   grep -v '^ *+' conftest.er1 >conftest.err
    16197   rm -f conftest.er1
    16198   cat conftest.err >&5
    16199   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16200   (exit $ac_status); } && {
    16201          test -z "$ac_cxx_werror_flag" ||
    16202          test ! -s conftest.err
    16203        } && test -s conftest$ac_exeext && {
    16204          test "$cross_compiling" = yes ||
    16205          $as_test_x conftest$ac_exeext
    16206        }; then
    16207   ac_cv_lib_avformat_avformat_alloc_context=yes
    16208 else
    16209   $as_echo "$as_me: failed program was:" >&5
    16210 sed 's/^/| /' conftest.$ac_ext >&5
    16211 
    16212         ac_cv_lib_avformat_avformat_alloc_context=no
    16213 fi
    16214 
    16215 rm -rf conftest.dSYM
    16216 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16217       conftest$ac_exeext conftest.$ac_ext
    16218 LIBS=$ac_check_lib_save_LIBS
    16219 fi
    16220 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
    16221 $as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; }
    16222 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then
    16223   cat >>confdefs.h <<_ACEOF
    16224 #define HAVE_LIBAVFORMAT 1
    16225 _ACEOF
    16226 
    16227   LIBS="-lavformat $LIBS"
    16228 
    16229 else
    16230 
    16231 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5
    16232 $as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; }
    16233 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then
    16234   $as_echo_n "(cached) " >&6
    16235 else
    16236   ac_check_lib_save_LIBS=$LIBS
    16237 LIBS="-lavformat  $LIBS"
    16238 cat >conftest.$ac_ext <<_ACEOF
    16239 /* confdefs.h.  */
    16240 _ACEOF
    16241 cat confdefs.h >>conftest.$ac_ext
    16242 cat >>conftest.$ac_ext <<_ACEOF
    16243 /* end confdefs.h.  */
    16244 
    16245 /* Override any GCC internal prototype to avoid an error.
    16246    Use char because int might match the return type of a GCC
    16247    builtin and then its argument prototype would still apply.  */
    16248 #ifdef __cplusplus
    16249 extern "C"
    16250 #endif
    16251 char av_alloc_format_context ();
    16252 int
    16253 main ()
    16254 {
    16255 return av_alloc_format_context ();
    16256   ;
    16257   return 0;
    16258 }
    16259 _ACEOF
    16260 rm -f conftest.$ac_objext conftest$ac_exeext
    16261 if { (ac_try="$ac_link"
    16262 case "(($ac_try" in
    16263   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16264   *) ac_try_echo=$ac_try;;
    16265 esac
    16266 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16267 $as_echo "$ac_try_echo") >&5
    16268   (eval "$ac_link") 2>conftest.er1
    16269   ac_status=$?
    16270   grep -v '^ *+' conftest.er1 >conftest.err
    16271   rm -f conftest.er1
    16272   cat conftest.err >&5
    16273   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16274   (exit $ac_status); } && {
    16275          test -z "$ac_cxx_werror_flag" ||
    16276          test ! -s conftest.err
    16277        } && test -s conftest$ac_exeext && {
    16278          test "$cross_compiling" = yes ||
    16279          $as_test_x conftest$ac_exeext
    16280        }; then
    16281   ac_cv_lib_avformat_av_alloc_format_context=yes
    16282 else
    16283   $as_echo "$as_me: failed program was:" >&5
    16284 sed 's/^/| /' conftest.$ac_ext >&5
    16285 
    16286         ac_cv_lib_avformat_av_alloc_format_context=no
    16287 fi
    16288 
    16289 rm -rf conftest.dSYM
    16290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    16291       conftest$ac_exeext conftest.$ac_ext
    16292 LIBS=$ac_check_lib_save_LIBS
    16293 fi
    16294 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
    16295 $as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; }
    16296 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then
    16297   cat >>confdefs.h <<_ACEOF
    16298 #define HAVE_LIBAVFORMAT 1
    16299 _ACEOF
    16300 
    16301   LIBS="-lavformat $LIBS"
    16302 
    16303 else
    16304   { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5
    16305 $as_echo "$as_me: WARNING: libavformat not usable" >&2;}
    16306 fi
    16307 
    16308 fi
    16309 
    16310 
    16311 
    16312 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     8417fi
     8418FFMPEG=$ac_cv_path_FFMPEG
     8419if test -n "$FFMPEG"; then
     8420  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FFMPEG" >&5
     8421$as_echo "$FFMPEG" >&6; }
     8422else
     8423  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8424$as_echo "no" >&6; }
     8425fi
     8426
     8427
     8428  fi
     8429  if test "${FFMPEG}x" != "x" ; then
     8430
     8431$as_echo "#define HAVE_FFMPEG 1" >>confdefs.h
     8432
     8433  fi
     8434fi
     8435
     8436{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
    163138437$as_echo_n "checking for nVidia Cg installation... " >&6; }
    163148438CG_DIR=""
     
    163238447  fi
    163248448done
    16325 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     8449{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
    163268450$as_echo "${CG_DIR}" >&6; }
    163278451
     
    163308454save_CPPFLAGS=$CPPFLAGS
    163318455CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS"
    16332 
    163338456for ac_header in Cg/cgGL.h
    16334 do
    16335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    16336 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    16337   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    16338 $as_echo_n "checking for $ac_header... " >&6; }
    16339 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    16340   $as_echo_n "(cached) " >&6
    16341 fi
    16342 ac_res=`eval 'as_val=${'$as_ac_Header'}
    16343                  $as_echo "$as_val"'`
    16344                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    16345 $as_echo "$ac_res" >&6; }
    16346 else
    16347   # Is the header compilable?
    16348 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    16349 $as_echo_n "checking $ac_header usability... " >&6; }
    16350 cat >conftest.$ac_ext <<_ACEOF
    16351 /* confdefs.h.  */
    16352 _ACEOF
    16353 cat confdefs.h >>conftest.$ac_ext
    16354 cat >>conftest.$ac_ext <<_ACEOF
    16355 /* end confdefs.h.  */
    16356 $ac_includes_default
    16357 #include <$ac_header>
    16358 _ACEOF
    16359 rm -f conftest.$ac_objext
    16360 if { (ac_try="$ac_compile"
    16361 case "(($ac_try" in
    16362   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16363   *) ac_try_echo=$ac_try;;
    16364 esac
    16365 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16366 $as_echo "$ac_try_echo") >&5
    16367   (eval "$ac_compile") 2>conftest.er1
    16368   ac_status=$?
    16369   grep -v '^ *+' conftest.er1 >conftest.err
    16370   rm -f conftest.er1
    16371   cat conftest.err >&5
    16372   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16373   (exit $ac_status); } && {
    16374          test -z "$ac_cxx_werror_flag" ||
    16375          test ! -s conftest.err
    16376        } && test -s conftest.$ac_objext; then
    16377   ac_header_compiler=yes
    16378 else
    16379   $as_echo "$as_me: failed program was:" >&5
    16380 sed 's/^/| /' conftest.$ac_ext >&5
    16381 
    16382         ac_header_compiler=no
    16383 fi
    16384 
    16385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    16386 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    16387 $as_echo "$ac_header_compiler" >&6; }
    16388 
    16389 # Is the header present?
    16390 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    16391 $as_echo_n "checking $ac_header presence... " >&6; }
    16392 cat >conftest.$ac_ext <<_ACEOF
    16393 /* confdefs.h.  */
    16394 _ACEOF
    16395 cat confdefs.h >>conftest.$ac_ext
    16396 cat >>conftest.$ac_ext <<_ACEOF
    16397 /* end confdefs.h.  */
    16398 #include <$ac_header>
    16399 _ACEOF
    16400 if { (ac_try="$ac_cpp conftest.$ac_ext"
    16401 case "(($ac_try" in
    16402   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    16403   *) ac_try_echo=$ac_try;;
    16404 esac
    16405 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    16406 $as_echo "$ac_try_echo") >&5
    16407   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    16408   ac_status=$?
    16409   grep -v '^ *+' conftest.er1 >conftest.err
    16410   rm -f conftest.er1
    16411   cat conftest.err >&5
    16412   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    16413   (exit $ac_status); } >/dev/null && {
    16414          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    16415          test ! -s conftest.err
    16416        }; then
    16417   ac_header_preproc=yes
    16418 else
    16419   $as_echo "$as_me: failed program was:" >&5
    16420 sed 's/^/| /' conftest.$ac_ext >&5
    16421 
    16422   ac_header_preproc=no
    16423 fi
    16424 
    16425 rm -f conftest.err conftest.$ac_ext
    16426 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    16427 $as_echo "$ac_header_preproc" >&6; }
    16428 
    16429 # So?  What about this header?
    16430 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    16431   yes:no: )
    16432     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    16433 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    16434     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    16435 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    16436     ac_header_preproc=yes
    16437     ;;
    16438   no:yes:* )
    16439     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    16440 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    16441     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    16442 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    16443     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    16444 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    16445     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    16446 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    16447     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    16448 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    16449     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    16450 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    16451     ( cat <<\_ASBOX
    16452 ## ----------------------------------- ##
    16453 ## Report this to rappture@nanohub.org ##
    16454 ## ----------------------------------- ##
    16455 _ASBOX
    16456      ) | sed "s/^/$as_me: WARNING:     /" >&2
    16457     ;;
    16458 esac
    16459 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    16460 $as_echo_n "checking for $ac_header... " >&6; }
    16461 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    16462   $as_echo_n "(cached) " >&6
    16463 else
    16464   eval "$as_ac_Header=\$ac_header_preproc"
    16465 fi
    16466 ac_res=`eval 'as_val=${'$as_ac_Header'}
    16467                  $as_echo "$as_val"'`
    16468                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    16469 $as_echo "$ac_res" >&6; }
    16470 
    16471 fi
    16472 as_val=`eval 'as_val=${'$as_ac_Header'}
    16473                  $as_echo "$as_val"'`
    16474    if test "x$as_val" = x""yes; then
     8457do :
     8458  ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
     8459if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then :
    164758460  cat >>confdefs.h <<_ACEOF
    16476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    16477 _ACEOF
    16478 
    16479 else
    16480   { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5
     8461#define HAVE_CG_CGGL_H 1
     8462_ACEOF
     8463
     8464else
     8465  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5
    164818466$as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;}
    164828467fi
     
    165418526
    165428527
     8528
    165438529ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl nanovis/Doxyfile nanovis/Makefile nanovis/graphics/Makefile nanovis/imgLoaders/Makefile nanovis/newmat11/Makefile nanovis/util/Makefile nanovis/vrmath/Makefile pymolproxy/Makefile vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"
    165448530
     
    165708556    *${as_nl}*)
    165718557      case $ac_var in #(
    16572       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     8558      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    165738559$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    165748560      esac
     
    165768562      _ | IFS | as_nl) ;; #(
    165778563      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    16578       *) $as_unset $ac_var ;;
     8564      *) { eval $ac_var=; unset $ac_var;} ;;
    165798565      esac ;;
    165808566    esac
     
    165848570    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    165858571    *${as_nl}ac_space=\ *)
    16586       # `set' does not quote correctly, so add quotes (double-quote
    16587       # substitution turns \\\\ into \\, and sed turns \\ into \).
     8572      # `set' does not quote correctly, so add quotes: double-quote
     8573      # substitution turns \\\\ into \\, and sed turns \\ into \.
    165888574      sed -n \
    165898575        "s/'/'\\\\''/g;
     
    166078593if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    166088594  if test -w "$cache_file"; then
    16609     test "x$cache_file" != "x/dev/null" &&
    16610       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     8595    if test "x$cache_file" != "x/dev/null"; then
     8596      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    166118597$as_echo "$as_me: updating cache $cache_file" >&6;}
    16612     cat confcache >$cache_file
     8598      if test ! -f "$cache_file" || test -h "$cache_file"; then
     8599        cat confcache >"$cache_file"
     8600      else
     8601        case $cache_file in #(
     8602        */* | ?:*)
     8603          mv -f confcache "$cache_file"$$ &&
     8604          mv -f "$cache_file"$$ "$cache_file" ;; #(
     8605        *)
     8606          mv -f confcache "$cache_file" ;;
     8607        esac
     8608      fi
     8609    fi
    166138610  else
    16614     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     8611    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    166158612$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    166168613  fi
     
    166268623ac_libobjs=
    166278624ac_ltlibobjs=
     8625U=
    166288626for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    166298627  # 1. Remove the extension, and $U if already installed.
     
    166328630  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    166338631  #    will be set to the directory where LIBOBJS objects are built.
    16634   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    16635   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     8632  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8633  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    166368634done
    166378635LIBOBJS=$ac_libobjs
     
    166428640
    166438641
    16644 : ${CONFIG_STATUS=./config.status}
     8642: "${CONFIG_STATUS=./config.status}"
    166458643ac_write_fail=0
    166468644ac_clean_files_save=$ac_clean_files
    166478645ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    16648 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     8646{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    166498647$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    16650 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8648as_write_fail=0
     8649cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    166518650#! $SHELL
    166528651# Generated by $as_me.
     
    166588657ac_cs_recheck=false
    166598658ac_cs_silent=false
     8659
    166608660SHELL=\${CONFIG_SHELL-$SHELL}
    16661 _ACEOF
    16662 
    16663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    16664 ## --------------------- ##
    16665 ## M4sh Initialization.  ##
    16666 ## --------------------- ##
     8661export SHELL
     8662_ASEOF
     8663cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     8664## -------------------- ##
     8665## M4sh Initialization. ##
     8666## -------------------- ##
    166678667
    166688668# Be more Bourne compatible
    166698669DUALCASE=1; export DUALCASE # for MKS sh
    16670 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     8670if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    166718671  emulate sh
    166728672  NULLCMD=:
     
    166768676  setopt NO_GLOB_SUBST
    166778677else
    16678   case `(set -o) 2>/dev/null` in
    16679   *posix*) set -o posix ;;
     8678  case `(set -o) 2>/dev/null` in #(
     8679  *posix*) :
     8680    set -o posix ;; #(
     8681  *) :
     8682     ;;
    166808683esac
    16681 
    16682 fi
    16683 
    16684 
    16685 
    16686 
    16687 # PATH needs CR
    16688 # Avoid depending upon Character Ranges.
    16689 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    16690 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    16691 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    16692 as_cr_digits='0123456789'
    16693 as_cr_alnum=$as_cr_Letters$as_cr_digits
     8684fi
     8685
    166948686
    166958687as_nl='
     
    167008692as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    167018693as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    16702 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     8694# Prefer a ksh shell builtin over an external printf program on Solaris,
     8695# but without wasting forks for bash or zsh.
     8696if test -z "$BASH_VERSION$ZSH_VERSION" \
     8697    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     8698  as_echo='print -r --'
     8699  as_echo_n='print -rn --'
     8700elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    167038701  as_echo='printf %s\n'
    167048702  as_echo_n='printf %s'
     
    167118709    as_echo_n_body='eval
    167128710      arg=$1;
    16713       case $arg in
     8711      case $arg in #(
    167148712      *"$as_nl"*)
    167158713        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    167348732fi
    167358733
    16736 # Support unset when possible.
    16737 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    16738   as_unset=unset
    16739 else
    16740   as_unset=false
    16741 fi
    16742 
    167438734
    167448735# IFS
     
    167508741
    167518742# Find who we are.  Look in the path if we contain no directory separator.
    16752 case $0 in
     8743as_myself=
     8744case $0 in #((
    167538745  *[\\/]* ) as_myself=$0 ;;
    167548746  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    167578749  IFS=$as_save_IFS
    167588750  test -z "$as_dir" && as_dir=.
    16759   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    16760 done
     8751    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     8752  done
    167618753IFS=$as_save_IFS
    167628754
     
    167708762if test ! -f "$as_myself"; then
    167718763  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    16772   { (exit 1); exit 1; }
    16773 fi
    16774 
    16775 # Work around bugs in pre-3.0 UWIN ksh.
    16776 for as_var in ENV MAIL MAILPATH
    16777 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     8764  exit 1
     8765fi
     8766
     8767# Unset variables that we do not need and which cause bugs (e.g. in
     8768# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     8769# suppresses any "Segmentation fault" message there.  '((' could
     8770# trigger a bug in pdksh 5.2.14.
     8771for as_var in BASH_ENV ENV MAIL MAILPATH
     8772do eval test x\${$as_var+set} = xset \
     8773  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    167788774done
    167798775PS1='$ '
     
    167878783export LANGUAGE
    167888784
    16789 # Required to use basename.
     8785# CDPATH.
     8786(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     8787
     8788
     8789# as_fn_error STATUS ERROR [LINENO LOG_FD]
     8790# ----------------------------------------
     8791# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     8792# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     8793# script with STATUS, using 1 if that was 0.
     8794as_fn_error ()
     8795{
     8796  as_status=$1; test $as_status -eq 0 && as_status=1
     8797  if test "$4"; then
     8798    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     8799    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     8800  fi
     8801  $as_echo "$as_me: error: $2" >&2
     8802  as_fn_exit $as_status
     8803} # as_fn_error
     8804
     8805
     8806# as_fn_set_status STATUS
     8807# -----------------------
     8808# Set $? to STATUS, without forking.
     8809as_fn_set_status ()
     8810{
     8811  return $1
     8812} # as_fn_set_status
     8813
     8814# as_fn_exit STATUS
     8815# -----------------
     8816# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     8817as_fn_exit ()
     8818{
     8819  set +e
     8820  as_fn_set_status $1
     8821  exit $1
     8822} # as_fn_exit
     8823
     8824# as_fn_unset VAR
     8825# ---------------
     8826# Portably unset VAR.
     8827as_fn_unset ()
     8828{
     8829  { eval $1=; unset $1;}
     8830}
     8831as_unset=as_fn_unset
     8832# as_fn_append VAR VALUE
     8833# ----------------------
     8834# Append the text in VALUE to the end of the definition contained in VAR. Take
     8835# advantage of any shell optimizations that allow amortized linear growth over
     8836# repeated appends, instead of the typical quadratic growth present in naive
     8837# implementations.
     8838if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     8839  eval 'as_fn_append ()
     8840  {
     8841    eval $1+=\$2
     8842  }'
     8843else
     8844  as_fn_append ()
     8845  {
     8846    eval $1=\$$1\$2
     8847  }
     8848fi # as_fn_append
     8849
     8850# as_fn_arith ARG...
     8851# ------------------
     8852# Perform arithmetic evaluation on the ARGs, and store the result in the
     8853# global $as_val. Take advantage of shells that can avoid forks. The arguments
     8854# must be portable across $(()) and expr.
     8855if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     8856  eval 'as_fn_arith ()
     8857  {
     8858    as_val=$(( $* ))
     8859  }'
     8860else
     8861  as_fn_arith ()
     8862  {
     8863    as_val=`expr "$@" || test $? -eq 1`
     8864  }
     8865fi # as_fn_arith
     8866
     8867
    167908868if expr a : '\(a\)' >/dev/null 2>&1 &&
    167918869   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    168018879fi
    168028880
    16803 
    16804 # Name of the executable.
     8881if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     8882  as_dirname=dirname
     8883else
     8884  as_dirname=false
     8885fi
     8886
    168058887as_me=`$as_basename -- "$0" ||
    168068888$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    168228904          s/.*/./; q'`
    168238905
    16824 # CDPATH.
    16825 $as_unset CDPATH
    16826 
    16827 
    16828 
    16829   as_lineno_1=$LINENO
    16830   as_lineno_2=$LINENO
    16831   test "x$as_lineno_1" != "x$as_lineno_2" &&
    16832   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    16833 
    16834   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    16835   # uniformly replaced by the line number.  The first 'sed' inserts a
    16836   # line-number line after each line using $LINENO; the second 'sed'
    16837   # does the real work.  The second script uses 'N' to pair each
    16838   # line-number line with the line containing $LINENO, and appends
    16839   # trailing '-' during substitution so that $LINENO is not a special
    16840   # case at line end.
    16841   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    16842   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    16843   # E. McMahon (1931-1989) for sed's syntax.  :-)
    16844   sed -n '
    16845     p
    16846     /[$]LINENO/=
    16847   ' <$as_myself |
    16848     sed '
    16849       s/[$]LINENO.*/&-/
    16850       t lineno
    16851       b
    16852       :lineno
    16853       N
    16854       :loop
    16855       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    16856       t loop
    16857       s/-\n.*//
    16858     ' >$as_me.lineno &&
    16859   chmod +x "$as_me.lineno" ||
    16860     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    16861    { (exit 1); exit 1; }; }
    16862 
    16863   # Don't try to exec as it changes $[0], causing all sort of problems
    16864   # (the dirname of $[0] is not the place where we might find the
    16865   # original and so on.  Autoconf is especially sensitive to this).
    16866   . "./$as_me.lineno"
    16867   # Exit status is that of the last command.
    16868   exit
    16869 }
    16870 
    16871 
    16872 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    16873   as_dirname=dirname
    16874 else
    16875   as_dirname=false
    16876 fi
     8906# Avoid depending upon Character Ranges.
     8907as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     8908as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     8909as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     8910as_cr_digits='0123456789'
     8911as_cr_alnum=$as_cr_Letters$as_cr_digits
    168778912
    168788913ECHO_C= ECHO_N= ECHO_T=
    16879 case `echo -n x` in
     8914case `echo -n x` in #(((((
    168808915-n*)
    16881   case `echo 'x\c'` in
     8916  case `echo 'xy\c'` in
    168828917  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    16883   *)   ECHO_C='\c';;
     8918  xy)  ECHO_C='\c';;
     8919  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     8920       ECHO_T=' ';;
    168848921  esac;;
    168858922*)
    168868923  ECHO_N='-n';;
    168878924esac
    16888 if expr a : '\(a\)' >/dev/null 2>&1 &&
    16889    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    16890   as_expr=expr
    16891 else
    16892   as_expr=false
    16893 fi
    168948925
    168958926rm -f conf$$ conf$$.exe conf$$.file
     
    169068937    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    169078938    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    16908     # In both cases, we have to default to `cp -p'.
     8939    # In both cases, we have to default to `cp -pR'.
    169098940    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    16910       as_ln_s='cp -p'
     8941      as_ln_s='cp -pR'
    169118942  elif ln conf$$.file conf$$ 2>/dev/null; then
    169128943    as_ln_s=ln
    169138944  else
    16914     as_ln_s='cp -p'
     8945    as_ln_s='cp -pR'
    169158946  fi
    169168947else
    16917   as_ln_s='cp -p'
     8948  as_ln_s='cp -pR'
    169188949fi
    169198950rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
    169208951rmdir conf$$.dir 2>/dev/null
    169218952
     8953
     8954# as_fn_mkdir_p
     8955# -------------
     8956# Create "$as_dir" as a directory, including parents if necessary.
     8957as_fn_mkdir_p ()
     8958{
     8959
     8960  case $as_dir in #(
     8961  -*) as_dir=./$as_dir;;
     8962  esac
     8963  test -d "$as_dir" || eval $as_mkdir_p || {
     8964    as_dirs=
     8965    while :; do
     8966      case $as_dir in #(
     8967      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     8968      *) as_qdir=$as_dir;;
     8969      esac
     8970      as_dirs="'$as_qdir' $as_dirs"
     8971      as_dir=`$as_dirname -- "$as_dir" ||
     8972$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8973         X"$as_dir" : 'X\(//\)[^/]' \| \
     8974         X"$as_dir" : 'X\(//\)$' \| \
     8975         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8976$as_echo X"$as_dir" |
     8977    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8978            s//\1/
     8979            q
     8980          }
     8981          /^X\(\/\/\)[^/].*/{
     8982            s//\1/
     8983            q
     8984          }
     8985          /^X\(\/\/\)$/{
     8986            s//\1/
     8987            q
     8988          }
     8989          /^X\(\/\).*/{
     8990            s//\1/
     8991            q
     8992          }
     8993          s/.*/./; q'`
     8994      test -d "$as_dir" && break
     8995    done
     8996    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8997  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     8998
     8999
     9000} # as_fn_mkdir_p
    169229001if mkdir -p . 2>/dev/null; then
    16923   as_mkdir_p=:
     9002  as_mkdir_p='mkdir -p "$as_dir"'
    169249003else
    169259004  test -d ./-p && rmdir ./-p
     
    169279006fi
    169289007
    16929 if test -x / >/dev/null 2>&1; then
    16930   as_test_x='test -x'
    16931 else
    16932   if ls -dL / >/dev/null 2>&1; then
    16933     as_ls_L_option=L
    16934   else
    16935     as_ls_L_option=
    16936   fi
    16937   as_test_x='
    16938     eval sh -c '\''
    16939       if test -d "$1"; then
    16940         test -d "$1/.";
    16941       else
    16942         case $1 in
    16943         -*)set "./$1";;
    16944         esac;
    16945         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    16946         ???[sx]*):;;*)false;;esac;fi
    16947     '\'' sh
    16948   '
    16949 fi
    16950 as_executable_p=$as_test_x
     9008
     9009# as_fn_executable_p FILE
     9010# -----------------------
     9011# Test if FILE is an executable regular file.
     9012as_fn_executable_p ()
     9013{
     9014  test -f "$1" && test -x "$1"
     9015} # as_fn_executable_p
     9016as_test_x='test -x'
     9017as_executable_p=as_fn_executable_p
    169519018
    169529019# Sed expression to map a string onto a valid CPP name.
     
    169589025
    169599026exec 6>&1
    16960 
    16961 # Save the log message, to keep $[0] and so on meaningful, and to
     9027## ----------------------------------- ##
     9028## Main body of $CONFIG_STATUS script. ##
     9029## ----------------------------------- ##
     9030_ASEOF
     9031test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     9032
     9033cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9034# Save the log message, to keep $0 and so on meaningful, and to
    169629035# report actual input values of CONFIG_FILES etc. instead of their
    169639036# values after options handling.
    169649037ac_log="
    169659038This file was extended by vizservers $as_me 0.1, which was
    16966 generated by GNU Autoconf 2.63.  Invocation command line was
     9039generated by GNU Autoconf 2.69.  Invocation command line was
    169679040
    169689041  CONFIG_FILES    = $CONFIG_FILES
     
    169959068cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    169969069ac_cs_usage="\
    16997 \`$as_me' instantiates files from templates according to the
    16998 current configuration.
    16999 
    17000 Usage: $0 [OPTION]... [FILE]...
     9070\`$as_me' instantiates files and other configuration actions
     9071from templates according to the current configuration.  Unless the files
     9072and actions are specified as TAGs, all are instantiated by default.
     9073
     9074Usage: $0 [OPTION]... [TAG]...
    170019075
    170029076  -h, --help       print this help, then exit
    170039077  -V, --version    print version number and configuration settings, then exit
     9078      --config     print configuration, then exit
    170049079  -q, --quiet, --silent
    170059080                   do not print progress messages
     
    170179092$config_headers
    170189093
    17019 Report bugs to <bug-autoconf@gnu.org>."
     9094Report bugs to <rappture@nanohub.org>."
    170209095
    170219096_ACEOF
    170229097cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9098ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    170239099ac_cs_version="\\
    170249100vizservers config.status 0.1
    17025 configured by $0, generated by GNU Autoconf 2.63,
    17026   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    17027 
    17028 Copyright (C) 2008 Free Software Foundation, Inc.
     9101configured by $0, generated by GNU Autoconf 2.69,
     9102  with options \\"\$ac_cs_config\\"
     9103
     9104Copyright (C) 2012 Free Software Foundation, Inc.
    170299105This config.status script is free software; the Free Software Foundation
    170309106gives unlimited permission to copy, distribute and modify it."
     
    170439119do
    170449120  case $1 in
    17045   --*=*)
     9121  --*=?*)
    170469122    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    170479123    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     9124    ac_shift=:
     9125    ;;
     9126  --*=)
     9127    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9128    ac_optarg=
    170489129    ac_shift=:
    170499130    ;;
     
    170619142  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    170629143    $as_echo "$ac_cs_version"; exit ;;
     9144  --config | --confi | --conf | --con | --co | --c )
     9145    $as_echo "$ac_cs_config"; exit ;;
    170639146  --debug | --debu | --deb | --de | --d | -d )
    170649147    debug=: ;;
     
    170679150    case $ac_optarg in
    170689151    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9152    '') as_fn_error $? "missing file argument" ;;
    170699153    esac
    17070     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     9154    as_fn_append CONFIG_FILES " '$ac_optarg'"
    170719155    ac_need_defaults=false;;
    170729156  --header | --heade | --head | --hea )
     
    170759159    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    170769160    esac
    17077     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     9161    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    170789162    ac_need_defaults=false;;
    170799163  --he | --h)
    170809164    # Conflict between --help and --header
    17081     { $as_echo "$as_me: error: ambiguous option: $1
    17082 Try \`$0 --help' for more information." >&2
    17083    { (exit 1); exit 1; }; };;
     9165    as_fn_error $? "ambiguous option: \`$1'
     9166Try \`$0 --help' for more information.";;
    170849167  --help | --hel | -h )
    170859168    $as_echo "$ac_cs_usage"; exit ;;
     
    170899172
    170909173  # This is an error.
    17091   -*) { $as_echo "$as_me: error: unrecognized option: $1
    17092 Try \`$0 --help' for more information." >&2
    17093    { (exit 1); exit 1; }; } ;;
    17094 
    17095   *) ac_config_targets="$ac_config_targets $1"
     9174  -*) as_fn_error $? "unrecognized option: \`$1'
     9175Try \`$0 --help' for more information." ;;
     9176
     9177  *) as_fn_append ac_config_targets " $1"
    170969178     ac_need_defaults=false ;;
    170979179
     
    171109192cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    171119193if \$ac_cs_recheck; then
    17112   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     9194  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    171139195  shift
    171149196  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
     
    171579239    "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;;
    171589240
    17159   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    17160 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    17161    { (exit 1); exit 1; }; };;
     9241  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    171629242  esac
    171639243done
     
    171819261$debug ||
    171829262{
    17183   tmp=
     9263  tmp= ac_tmp=
    171849264  trap 'exit_status=$?
    17185   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9265  : "${ac_tmp:=$tmp}"
     9266  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    171869267' 0
    17187   trap '{ (exit 1); exit 1; }' 1 2 13 15
     9268  trap 'as_fn_exit 1' 1 2 13 15
    171889269}
    171899270# Create a (secure) tmp directory for tmp files.
     
    171919272{
    171929273  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    17193   test -n "$tmp" && test -d "$tmp"
     9274  test -d "$tmp"
    171949275}  ||
    171959276{
    171969277  tmp=./conf$$-$RANDOM
    171979278  (umask 077 && mkdir "$tmp")
    17198 } ||
    17199 {
    17200    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    17201    { (exit 1); exit 1; }
    17202 }
     9279} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     9280ac_tmp=$tmp
    172039281
    172049282# Set up the scripts for CONFIG_FILES section.
     
    172089286
    172099287
    17210 ac_cr='
    17211 '
     9288ac_cr=`echo X | tr X '\015'`
     9289# On cygwin, bash can eat \r inside `` if the user requested igncr.
     9290# But we know of no other shell where ac_cr would be empty at this
     9291# point, so we can use a bashism as a fallback.
     9292if test "x$ac_cr" = x; then
     9293  eval ac_cr=\$\'\\r\'
     9294fi
    172129295ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    172139296if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    172179300fi
    172189301
    17219 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9302echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    172209303_ACEOF
    172219304
     
    172269309  echo "_ACEOF"
    172279310} >conf$$subs.sh ||
    17228   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    17229 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    17230    { (exit 1); exit 1; }; }
    17231 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     9311  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9312ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    172329313ac_delim='%!_!# '
    172339314for ac_last_try in false false false false false :; do
    172349315  . ./conf$$subs.sh ||
    17235     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    17236 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    17237    { (exit 1); exit 1; }; }
     9316    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    172389317
    172399318  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    172419320    break
    172429321  elif $ac_last_try; then
    17243     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    17244 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    17245    { (exit 1); exit 1; }; }
     9322    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    172469323  else
    172479324    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    172519328
    172529329cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    17253 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9330cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    172549331_ACEOF
    172559332sed -n '
     
    172659342:nl
    172669343h
    17267 s/\(.\{148\}\).*/\1/
     9344s/\(.\{148\}\)..*/\1/
    172689345t more1
    172699346s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    172799356:delim
    172809357h
    17281 s/\(.\{148\}\).*/\1/
     9358s/\(.\{148\}\)..*/\1/
    172829359t more2
    172839360s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    172999376cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    173009377_ACAWK
    17301 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9378cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    173029379  for (key in S) S_is_set[key] = 1
    173039380  FS = ""
     
    173319408else
    173329409  cat
    17333 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    17334   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    17335 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    17336    { (exit 1); exit 1; }; }
    17337 _ACEOF
    17338 
    17339 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    17340 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     9410fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     9411  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     9412_ACEOF
     9413
     9414# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     9415# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    173419416# trailing colons and then remove the whole line if VPATH becomes empty
    173429417# (actually we leave an empty line to preserve line numbers).
    173439418if test "x$srcdir" = x.; then
    17344   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    17345 s/:*\$(srcdir):*/:/
    17346 s/:*\${srcdir}:*/:/
    17347 s/:*@srcdir@:*/:/
    17348 s/^\([^=]*=[     ]*\):*/\1/
     9419  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     9420h
     9421s///
     9422s/^/:/
     9423s/[      ]*$/:/
     9424s/:\$(srcdir):/:/g
     9425s/:\${srcdir}:/:/g
     9426s/:@srcdir@:/:/g
     9427s/^:*//
    173499428s/:*$//
     9429x
     9430s/\(=[   ]*\).*/\1/
     9431G
     9432s/\n//
    173509433s/^[^=]*=[       ]*$//
    173519434}'
     
    173599442# This happens for instance with `./config.status Makefile'.
    173609443if test -n "$CONFIG_HEADERS"; then
    17361 cat >"$tmp/defines.awk" <<\_ACAWK ||
     9444cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    173629445BEGIN {
    173639446_ACEOF
     
    173719454ac_delim='%!_!# '
    173729455for ac_last_try in false false :; do
    17373   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    17374   if test -z "$ac_t"; then
     9456  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     9457  if test -z "$ac_tt"; then
    173759458    break
    173769459  elif $ac_last_try; then
    17377     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    17378 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    17379    { (exit 1); exit 1; }; }
     9460    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    173809461  else
    173819462    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    174629543_ACEOF
    174639544cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    17464   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    17465 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    17466    { (exit 1); exit 1; }; }
     9545  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    174679546fi # test -n "$CONFIG_HEADERS"
    174689547
     
    174779556  case $ac_mode$ac_tag in
    174789557  :[FHL]*:*);;
    17479   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    17480 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    17481    { (exit 1); exit 1; }; };;
     9558  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    174829559  :[FH]-) ac_tag=-:-;;
    174839560  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    174989575    do
    174999576      case $ac_f in
    17500       -) ac_f="$tmp/stdin";;
     9577      -) ac_f="$ac_tmp/stdin";;
    175019578      *) # Look for the file first in the build tree, then in the source tree
    175029579         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    175079584           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    175089585           esac ||
    17509            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    17510 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    17511    { (exit 1); exit 1; }; };;
     9586           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    175129587      esac
    175139588      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    17514       ac_file_inputs="$ac_file_inputs '$ac_f'"
     9589      as_fn_append ac_file_inputs " '$ac_f'"
    175159590    done
    175169591
     
    175239598    if test x"$ac_file" != x-; then
    175249599      configure_input="$ac_file.  $configure_input"
    17525       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     9600      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    175269601$as_echo "$as_me: creating $ac_file" >&6;}
    175279602    fi
     
    175359610
    175369611    case $ac_tag in
    17537     *:-:* | *:-) cat >"$tmp/stdin" \
    17538       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    17539 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    17540    { (exit 1); exit 1; }; } ;;
     9612    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     9613      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    175419614    esac
    175429615    ;;
     
    175669639          }
    175679640          s/.*/./; q'`
    17568   { as_dir="$ac_dir"
    17569   case $as_dir in #(
    17570   -*) as_dir=./$as_dir;;
    17571   esac
    17572   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    17573     as_dirs=
    17574     while :; do
    17575       case $as_dir in #(
    17576       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    17577       *) as_qdir=$as_dir;;
    17578       esac
    17579       as_dirs="'$as_qdir' $as_dirs"
    17580       as_dir=`$as_dirname -- "$as_dir" ||
    17581 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    17582          X"$as_dir" : 'X\(//\)[^/]' \| \
    17583          X"$as_dir" : 'X\(//\)$' \| \
    17584          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    17585 $as_echo X"$as_dir" |
    17586     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    17587             s//\1/
    17588             q
    17589           }
    17590           /^X\(\/\/\)[^/].*/{
    17591             s//\1/
    17592             q
    17593           }
    17594           /^X\(\/\/\)$/{
    17595             s//\1/
    17596             q
    17597           }
    17598           /^X\(\/\).*/{
    17599             s//\1/
    17600             q
    17601           }
    17602           s/.*/./; q'`
    17603       test -d "$as_dir" && break
    17604     done
    17605     test -z "$as_dirs" || eval "mkdir $as_dirs"
    17606   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    17607 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    17608    { (exit 1); exit 1; }; }; }
     9641  as_dir="$ac_dir"; as_fn_mkdir_p
    176099642  ac_builddir=.
    176109643
     
    176639696# FIXME: This hack should be removed a few years after 2.60.
    176649697ac_datarootdir_hack=; ac_datarootdir_seen=
    17665 
    176669698ac_sed_dataroot='
    176679699/datarootdir/ {
     
    176739705/@infodir@/p
    176749706/@localedir@/p
    17675 /@mandir@/p
    17676 '
     9707/@mandir@/p'
    176779708case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    176789709*datarootdir*) ac_datarootdir_seen=yes;;
    176799710*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    17680   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     9711  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    176819712$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    176829713_ACEOF
     
    176889719  s&@localedir@&$localedir&g
    176899720  s&@mandir@&$mandir&g
    17690     s&\\\${datarootdir}&$datarootdir&g' ;;
     9721  s&\\\${datarootdir}&$datarootdir&g' ;;
    176919722esac
    176929723_ACEOF
     
    177169747$ac_datarootdir_hack
    177179748"
    17718 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    17719   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    17720 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    17721    { (exit 1); exit 1; }; }
     9749eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     9750  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    177229751
    177239752test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    17724   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    17725   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    17726   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    17727 which seems to be undefined.  Please make sure it is defined." >&5
     9753  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     9754  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     9755      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     9756  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     9757which seems to be undefined.  Please make sure it is defined" >&5
    177289758$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    17729 which seems to be undefined.  Please make sure it is defined." >&2;}
    17730 
    17731   rm -f "$tmp/stdin"
     9759which seems to be undefined.  Please make sure it is defined" >&2;}
     9760
     9761  rm -f "$ac_tmp/stdin"
    177329762  case $ac_file in
    17733   -) cat "$tmp/out" && rm -f "$tmp/out";;
    17734   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     9763  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     9764  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    177359765  esac \
    17736   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    17737 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    17738    { (exit 1); exit 1; }; }
     9766  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    177399767 ;;
    177409768  :H)
     
    177459773    {
    177469774      $as_echo "/* $configure_input  */" \
    17747       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    17748     } >"$tmp/config.h" \
    17749       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    17750 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    17751    { (exit 1); exit 1; }; }
    17752     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    17753       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     9775      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     9776    } >"$ac_tmp/config.h" \
     9777      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     9778    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     9779      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    177549780$as_echo "$as_me: $ac_file is unchanged" >&6;}
    177559781    else
    177569782      rm -f "$ac_file"
    17757       mv "$tmp/config.h" "$ac_file" \
    17758         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    17759 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    17760    { (exit 1); exit 1; }; }
     9783      mv "$ac_tmp/config.h" "$ac_file" \
     9784        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    177619785    fi
    177629786  else
    177639787    $as_echo "/* $configure_input  */" \
    17764       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    17765       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    17766 $as_echo "$as_me: error: could not create -" >&2;}
    17767    { (exit 1); exit 1; }; }
     9788      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     9789      || as_fn_error $? "could not create -" "$LINENO" 5
    177689790  fi
    177699791 ;;
     
    177759797
    177769798
    17777 { (exit 0); exit 0; }
    17778 _ACEOF
    17779 chmod +x $CONFIG_STATUS
     9799as_fn_exit 0
     9800_ACEOF
    177809801ac_clean_files=$ac_clean_files_save
    177819802
    177829803test $ac_write_fail = 0 ||
    17783   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    17784 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    17785    { (exit 1); exit 1; }; }
     9804  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    177869805
    177879806
     
    178049823  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    178059824  # would make configure fail if this is the last instruction.
    17806   $ac_cs_success || { (exit 1); exit 1; }
     9825  $ac_cs_success || as_fn_exit 1
    178079826fi
    178089827if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    17809   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     9828  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    178109829$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    178119830fi
  • trunk/packages/vizservers/configure.in

    r3465 r3560  
    3838    [with_vtk=$withval],
    3939    [with_vtk=yes])
     40
     41AC_ARG_WITH(
     42    [ffmpeg],
     43    [AS_HELP_STRING([--with-ffmpeg[=DIR]],
     44      [location of ffmpeg @<:@default=yes@:>@])],
     45    [],
     46    [with_ffmpeg=yes])
    4047
    4148RP_LANG_PYTHON
     
    206213
    207214save_CPPFLAGS=$CPPFLAGS
    208 # Test for redhat-specific location of ffmpeg headers.
    209 if test -d "/usr/include/ffmpeg" ; then
    210   CPPFLAGS="$CPPFLAGS -I/usr/include/ffmpeg"
    211   FF_INC_SPEC="-I/usr/include/ffmpeg"
    212 fi
    213 
    214 AC_CHECK_HEADERS([ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h],,,[
    215 #define __STDC_CONSTANT_MACROS 1
    216 ])
    217 CPPFLAGS=$save_CPPFLAGS
    218 
    219 AC_CHECK_LIB(avcodec, main,,AC_MSG_ERROR(requires libavcodec))
    220 AC_CHECK_LIB(avutil, main,,AC_MSG_ERROR(requires libavutil))
    221 AC_CHECK_LIB(avformat, main,,AC_MSG_ERROR(requires libavformat))
    222 AC_CHECK_LIB(swscale, main)
    223 AC_CHECK_FUNCS(avcodec_register_all)
    224 AC_CHECK_FUNCS(avcodec_init)
    225 AC_CHECK_FUNCS(avformat_new_stream)
    226 AC_CHECK_FUNCS(av_new_stream)
    227 AC_CHECK_FUNCS(avcodec_open)
    228 AC_CHECK_FUNCS(avcodec_open2)
    229 AC_CHECK_FUNCS(avcodec_decode_video2)
    230 AC_CHECK_FUNCS(avcodec_decode_video)
    231 AC_CHECK_FUNCS(avcodec_encode_video2)
    232 AC_CHECK_FUNCS(avcodec_encode_video)
    233 AC_CHECK_FUNCS(avformat_open_input)
    234 AC_CHECK_FUNCS(av_open_input_file)
    235 AC_CHECK_FUNCS(av_guess_format)
    236 AC_CHECK_FUNCS(guess_format)
    237 AC_CHECK_FUNCS(av_dump_format)
    238 AC_CHECK_FUNCS(dump_format)
    239 AC_CHECK_FUNCS(avio_open)
    240 AC_CHECK_FUNCS(url_fopen)
    241 AC_CHECK_FUNCS(avio_close)
    242 AC_CHECK_FUNCS(url_fclose)
    243 AC_CHECK_FUNCS(avformat_alloc_context)
    244 AC_CHECK_FUNCS(av_alloc_format_context)
    245 AC_CHECK_FUNCS(av_set_parameters)
    246 AC_CHECK_FUNCS(avformat_write_header)
    247 AC_CHECK_FUNCS(av_write_header)
    248 AC_CHECK_FUNC(av_write_trailer,,
    249   AC_MSG_ERROR(oops! no av_write_trailer?!?))
    250 AC_CHECK_FUNC(av_freep,, AC_MSG_ERROR(oops! no av_freep ?!?))
    251 AC_CHECK_FUNC(av_free,,AC_MSG_ERROR(oops! no av_free ?!?))
    252 AC_CHECK_FUNC(av_new_stream,,AC_MSG_ERROR(oops! av_new_stream ?!?))
    253 AC_CHECK_FUNC(av_malloc,, AC_MSG_ERROR(oops! no av_malloc ?!?))
    254 AC_CHECK_FUNC(av_init_packet,,AC_MSG_ERROR(oops! no av_init_packet ?!?))
    255 AC_CHECK_FUNC(av_rescale_q,,AC_MSG_ERROR(oops! no av_rescale_q ?!?))
    256 AC_CHECK_FUNC(av_write_frame,,AC_MSG_ERROR(oops! av_write_frame ?!?))
    257 AC_CHECK_FUNCS(img_convert)
    258 AC_CHECK_FUNCS(sws_scale)
    259 AC_TRY_COMPILE([
    260 #define __STDC_CONSTANT_MACROS 1
    261 #include <stdlib.h>
    262 #ifdef HAVE_FFMPEG_AVCODEC_H
    263 # include <ffmpeg/avcodec.h>
    264 #endif
    265 #ifdef HAVE_LIBAVCODEC_AVCODEC_H
    266 # include <libavcodec/avcodec.h>
    267 #endif
    268 int x = AVMEDIA_TYPE_VIDEO;
    269 ],, ac_avmedia_type_video="yes", ac_avmedia_type_video="no")
    270 if test "$ac_avmedia_type_video" == "yes" ; then
    271   AC_DEFINE(HAVE_AVMEDIA_TYPE_VIDEO,1,[Define if AVMEDIA_TYPE_VIDEO enum exists. ])
    272 fi
    273 
    274 AC_CHECK_LIB([avcodec], [avcodec_alloc_frame])
    275 # Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found
    276 AC_CHECK_LIB([avformat], [avformat_alloc_context], [],
    277     AC_CHECK_LIB([avformat], [av_alloc_format_context], [],
    278         [AC_MSG_WARN([libavformat not usable])]))
    279 
     215
     216
     217#--------------------------------------------------------------------
     218# search for ffmpeg executable
     219#--------------------------------------------------------------------
     220if test "${with_ffmpeg}" != "no" ; then
     221  if test "${with_ffmpeg}" = "yes" ; then
     222    AC_PATH_PROG(FFMPEG, ffmpeg)
     223  else
     224    AC_PATH_PROG(FFMPEG, ffmpeg, [], [${with_ffmpeg}/bin:${with_ffmpeg}])
     225  fi
     226  if test "${FFMPEG}x" != "x" ; then
     227    AC_DEFINE(HAVE_FFMPEG, 1, [nanovis can use ffmpeg to create videos.])
     228  fi
     229fi
    280230
    281231AC_MSG_CHECKING([for nVidia Cg installation])
     
    330280AC_SUBST(CG_INC_SPEC)
    331281AC_SUBST(CG_LIB_SPEC)
     282AC_SUBST(FFMPEG)
    332283AC_SUBST(FF_INC_SPEC)
    333284AC_SUBST(LD_RPATH)
Note: See TracChangeset for help on using the changeset viewer.