Changeset 2829 for trunk


Ignore:
Timestamp:
Mar 8, 2012 11:54:08 PM (12 years ago)
Author:
ldelgass
Message:

Fix build for when Cg is intalled in /usr

Location:
trunk/packages/vizservers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r2727 r2829  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.63 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 #
    87# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    10 # Foundation, Inc.
    11 #
    12 #
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    139# This configure script is free software; the Free Software Foundation
    1410# gives unlimited permission to copy, distribute and modify it.
    15 ## -------------------- ##
    16 ## M4sh Initialization. ##
    17 ## -------------------- ##
     11## --------------------- ##
     12## M4sh Initialization.  ##
     13## --------------------- ##
    1814
    1915# Be more Bourne compatible
    2016DUALCASE=1; export DUALCASE # for MKS sh
    21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2218  emulate sh
    2319  NULLCMD=:
     
    2723  setopt NO_GLOB_SUBST
    2824else
    29   case `(set -o) 2>/dev/null` in #(
    30   *posix*) :
    31     set -o posix ;; #(
    32   *) :
    33      ;;
    34 esac
    35 fi
    36 
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
     35# Avoid depending upon Character Ranges.
     36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39as_cr_digits='0123456789'
     40as_cr_alnum=$as_cr_Letters$as_cr_digits
    3741
    3842as_nl='
     
    4347as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    45 # Prefer a ksh shell builtin over an external printf program on Solaris,
    46 # but without wasting forks for bash or zsh.
    47 if test -z "$BASH_VERSION$ZSH_VERSION" \
    48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    49   as_echo='print -r --'
    50   as_echo_n='print -rn --'
    51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5250  as_echo='printf %s\n'
    5351  as_echo_n='printf %s'
     
    6058    as_echo_n_body='eval
    6159      arg=$1;
    62       case $arg in #(
     60      case $arg in
    6361      *"$as_nl"*)
    6462        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8381fi
    8482
     83# Support unset when possible.
     84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85  as_unset=unset
     86else
     87  as_unset=false
     88fi
     89
    8590
    8691# IFS
     
    9297
    9398# Find who we are.  Look in the path if we contain no directory separator.
    94 as_myself=
    95 case $0 in #((
     99case $0 in
    96100  *[\\/]* ) as_myself=$0 ;;
    97101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    100104  IFS=$as_save_IFS
    101105  test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
     106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     107done
    104108IFS=$as_save_IFS
    105109
     
    113117if test ! -f "$as_myself"; then
    114118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     119  { (exit 1); exit 1; }
     120fi
     121
     122# Work around bugs in pre-3.0 UWIN ksh.
     123for as_var in ENV MAIL MAILPATH
     124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125125done
    126126PS1='$ '
     
    134134export LANGUAGE
    135135
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194          /*)
    195            for as_base in sh bash ksh sh5; do
    196              # Try only shells that exist, to save several forks.
    197              as_shell=$as_dir/$as_base
    198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205            done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218         # neutralization value for shells without unset; and this also
    219         # works around shells that cannot unset nonexistent variables.
    220         # Preserve -v and -x to the replacement shell.
    221         BASH_ENV=/dev/null
    222         ENV=/dev/null
    223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224         export CONFIG_SHELL
    225         case $- in # ((((
    226           *v*x* | *x*v* ) as_opts=-vx ;;
    227           *v* ) as_opts=-v ;;
    228           *x* ) as_opts=-x ;;
    229           * ) as_opts= ;;
    230         esac
    231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
    242 $0: rappture@nanohub.org about your system, including any
    243 $0: error possibly output before this message. Then install
    244 $0: a modern shell, or manually run the script under such a
    245 $0: shell if you do have one."
    246   fi
    247   exit 1
    248 fi
    249 fi
    250 fi
    251 SHELL=${CONFIG_SHELL-/bin/sh}
    252 export SHELL
    253 # Unset more variables known to interfere with behavior of common tools.
    254 CLICOLOR_FORCE= GREP_OPTIONS=
    255 unset CLICOLOR_FORCE GREP_OPTIONS
    256 
    257 ## --------------------- ##
    258 ## M4sh Shell Functions. ##
    259 ## --------------------- ##
    260 # as_fn_unset VAR
    261 # ---------------
    262 # Portably unset VAR.
    263 as_fn_unset ()
    264 {
    265   { eval $1=; unset $1;}
    266 }
    267 as_unset=as_fn_unset
    268 
    269 # as_fn_set_status STATUS
    270 # -----------------------
    271 # Set $? to STATUS, without forking.
    272 as_fn_set_status ()
    273 {
    274   return $1
    275 } # as_fn_set_status
    276 
    277 # as_fn_exit STATUS
    278 # -----------------
    279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    280 as_fn_exit ()
    281 {
    282   set +e
    283   as_fn_set_status $1
    284   exit $1
    285 } # as_fn_exit
    286 
    287 # as_fn_mkdir_p
    288 # -------------
    289 # Create "$as_dir" as a directory, including parents if necessary.
    290 as_fn_mkdir_p ()
    291 {
    292 
    293   case $as_dir in #(
    294   -*) as_dir=./$as_dir;;
    295   esac
    296   test -d "$as_dir" || eval $as_mkdir_p || {
    297     as_dirs=
    298     while :; do
    299       case $as_dir in #(
    300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    301       *) as_qdir=$as_dir;;
    302       esac
    303       as_dirs="'$as_qdir' $as_dirs"
    304       as_dir=`$as_dirname -- "$as_dir" ||
    305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    306          X"$as_dir" : 'X\(//\)[^/]' \| \
    307          X"$as_dir" : 'X\(//\)$' \| \
    308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    309 $as_echo X"$as_dir" |
    310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    311             s//\1/
    312             q
    313           }
    314           /^X\(\/\/\)[^/].*/{
    315             s//\1/
    316             q
    317           }
    318           /^X\(\/\/\)$/{
    319             s//\1/
    320             q
    321           }
    322           /^X\(\/\).*/{
    323             s//\1/
    324             q
    325           }
    326           s/.*/./; q'`
    327       test -d "$as_dir" && break
    328     done
    329     test -z "$as_dirs" || eval "mkdir $as_dirs"
    330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    331 
    332 
    333 } # as_fn_mkdir_p
    334 # as_fn_append VAR VALUE
    335 # ----------------------
    336 # Append the text in VALUE to the end of the definition contained in VAR. Take
    337 # advantage of any shell optimizations that allow amortized linear growth over
    338 # repeated appends, instead of the typical quadratic growth present in naive
    339 # implementations.
    340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    341   eval 'as_fn_append ()
    342   {
    343     eval $1+=\$2
    344   }'
    345 else
    346   as_fn_append ()
    347   {
    348     eval $1=\$$1\$2
    349   }
    350 fi # as_fn_append
    351 
    352 # as_fn_arith ARG...
    353 # ------------------
    354 # Perform arithmetic evaluation on the ARGs, and store the result in the
    355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    356 # must be portable across $(()) and expr.
    357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    358   eval 'as_fn_arith ()
    359   {
    360     as_val=$(( $* ))
    361   }'
    362 else
    363   as_fn_arith ()
    364   {
    365     as_val=`expr "$@" || test $? -eq 1`
    366   }
    367 fi # as_fn_arith
    368 
    369 
    370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    371 # ----------------------------------------
    372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    374 # script with STATUS, using 1 if that was 0.
    375 as_fn_error ()
    376 {
    377   as_status=$1; test $as_status -eq 0 && as_status=1
    378   if test "$4"; then
    379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    381   fi
    382   $as_echo "$as_me: error: $2" >&2
    383   as_fn_exit $as_status
    384 } # as_fn_error
    385 
     136# Required to use basename.
    386137if expr a : '\(a\)' >/dev/null 2>&1 &&
    387138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    397148fi
    398149
    399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    400   as_dirname=dirname
    401 else
    402   as_dirname=false
    403 fi
    404 
     150
     151# Name of the executable.
    405152as_me=`$as_basename -- "$0" ||
    406153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    422169          s/.*/./; q'`
    423170
    424 # Avoid depending upon Character Ranges.
    425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    428 as_cr_digits='0123456789'
    429 as_cr_alnum=$as_cr_Letters$as_cr_digits
    430 
    431 
    432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     171# CDPATH.
     172$as_unset CDPATH
     173
     174
     175if test "x$CONFIG_SHELL" = x; then
     176  if (eval ":") 2>/dev/null; then
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181
     182  if test $as_have_required = yes &&     (eval ":
     183(as_func_return () {
     184  (exit \$1)
     185}
     186as_func_success () {
     187  as_func_return 0
     188}
     189as_func_failure () {
     190  as_func_return 1
     191}
     192as_func_ret_success () {
     193  return 0
     194}
     195as_func_ret_failure () {
     196  return 1
     197}
     198
     199exitcode=0
     200if as_func_success; then
     201  :
     202else
     203  exitcode=1
     204  echo as_func_success failed.
     205fi
     206
     207if as_func_failure; then
     208  exitcode=1
     209  echo as_func_failure succeeded.
     210fi
     211
     212if as_func_ret_success; then
     213  :
     214else
     215  exitcode=1
     216  echo as_func_ret_success failed.
     217fi
     218
     219if as_func_ret_failure; then
     220  exitcode=1
     221  echo as_func_ret_failure succeeded.
     222fi
     223
     224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     225  :
     226else
     227  exitcode=1
     228  echo positional parameters were not saved.
     229fi
     230
     231test \$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  :
     240else
     241  as_candidate_shells=
     242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     244do
     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
     253done
     254IFS=$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
     261if 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
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     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
     282if 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
     289else
     290  case `(set -o) 2>/dev/null` in
     291  *posix*) set -o posix ;;
     292esac
     293
     294fi
     295
     296
     297:
     298(as_func_return () {
     299  (exit $1)
     300}
     301as_func_success () {
     302  as_func_return 0
     303}
     304as_func_failure () {
     305  as_func_return 1
     306}
     307as_func_ret_success () {
     308  return 0
     309}
     310as_func_ret_failure () {
     311  return 1
     312}
     313
     314exitcode=0
     315if as_func_success; then
     316  :
     317else
     318  exitcode=1
     319  echo as_func_success failed.
     320fi
     321
     322if as_func_failure; then
     323  exitcode=1
     324  echo as_func_failure succeeded.
     325fi
     326
     327if as_func_ret_success; then
     328  :
     329else
     330  exitcode=1
     331  echo as_func_ret_success failed.
     332fi
     333
     334if as_func_ret_failure; then
     335  exitcode=1
     336  echo as_func_ret_failure succeeded.
     337fi
     338
     339if ( set x; as_func_ret_success y && test x = "$1" ); then
     340  :
     341else
     342  exitcode=1
     343  echo positional parameters were not saved.
     344fi
     345
     346test $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
     357fi
     358
     359fi
     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+"$@"}
     369fi
     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; }
     378fi
     379
     380
     381fi
     382
     383fi
     384
     385
     386
     387(eval "as_func_return () {
     388  (exit \$1)
     389}
     390as_func_success () {
     391  as_func_return 0
     392}
     393as_func_failure () {
     394  as_func_return 1
     395}
     396as_func_ret_success () {
     397  return 0
     398}
     399as_func_ret_failure () {
     400  return 1
     401}
     402
     403exitcode=0
     404if as_func_success; then
     405  :
     406else
     407  exitcode=1
     408  echo as_func_success failed.
     409fi
     410
     411if as_func_failure; then
     412  exitcode=1
     413  echo as_func_failure succeeded.
     414fi
     415
     416if as_func_ret_success; then
     417  :
     418else
     419  exitcode=1
     420  echo as_func_ret_success failed.
     421fi
     422
     423if as_func_ret_failure; then
     424  exitcode=1
     425  echo as_func_ret_failure succeeded.
     426fi
     427
     428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     429  :
     430else
     431  exitcode=1
     432  echo positional parameters were not saved.
     433fi
     434
     435test \$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.  :-)
    437460  sed -n '
    438461    p
     
    451474    ' >$as_me.lineno &&
    452475  chmod +x "$as_me.lineno" ||
    453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     477   { (exit 1); exit 1; }; }
    454478
    455479  # Don't try to exec as it changes $[0], causing all sort of problems
     
    461485}
    462486
     487
     488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     489  as_dirname=dirname
     490else
     491  as_dirname=false
     492fi
     493
    463494ECHO_C= ECHO_N= ECHO_T=
    464 case `echo -n x` in #(((((
     495case `echo -n x` in
    465496-n*)
    466   case `echo 'xy\c'` in
     497  case `echo 'x\c'` in
    467498  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    468   xy)  ECHO_C='\c';;
    469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    470        ECHO_T=' ';;
     499  *)   ECHO_C='\c';;
    471500  esac;;
    472501*)
    473502  ECHO_N='-n';;
    474503esac
     504if expr a : '\(a\)' >/dev/null 2>&1 &&
     505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     506  as_expr=expr
     507else
     508  as_expr=false
     509fi
    475510
    476511rm -f conf$$ conf$$.exe conf$$.file
     
    502537
    503538if mkdir -p . 2>/dev/null; then
    504   as_mkdir_p='mkdir -p "$as_dir"'
     539  as_mkdir_p=:
    505540else
    506541  test -d ./-p && rmdir ./-p
     
    521556        test -d "$1/.";
    522557      else
    523         case $1 in #(
     558        case $1 in
    524559        -*)set "./$1";;
    525560        esac;
    526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     561        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    527562        ???[sx]*):;;*)false;;esac;fi
    528563    '\'' sh
     
    538573
    539574
    540 test -n "$DJDIR" || exec 7<&0 </dev/null
    541 exec 6>&1
     575
     576exec 7<&0 </dev/null 6>&1
    542577
    543578# Name of the host.
    544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    545580# so uname gets run too.
    546581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    557592MFLAGS=
    558593MAKEFLAGS=
     594SHELL=${CONFIG_SHELL-/bin/sh}
    559595
    560596# Identity of this package.
     
    564600PACKAGE_STRING='vizservers 0.1'
    565601PACKAGE_BUGREPORT='rappture@nanohub.org'
    566 PACKAGE_URL=''
    567602
    568603# Factoring default headers for most tests.
     
    624659DX_LIB_SPEC
    625660DX_INC_SPEC
    626 CG_LIB_DIR
    627 CG_INC_DIR
    628 CG_DIR
     661CG_LIB_SPEC
     662CG_INC_SPEC
    629663CXXCPP
    630664ac_ct_CXX
     
    702736prefix
    703737exec_prefix
    704 PACKAGE_URL
    705738PACKAGE_BUGREPORT
    706739PACKAGE_STRING
     
    801834
    802835  case $ac_option in
    803   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    804   *=)   ac_optarg= ;;
    805   *)    ac_optarg=yes ;;
     836  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     837  *)    ac_optarg=yes ;;
    806838  esac
    807839
     
    848880    # Reject names that are not valid shell variable names.
    849881    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    850       as_fn_error $? "invalid feature name: $ac_useropt"
     882      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     883   { (exit 1); exit 1; }; }
    851884    ac_useropt_orig=$ac_useropt
    852885    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    874907    # Reject names that are not valid shell variable names.
    875908    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    876       as_fn_error $? "invalid feature name: $ac_useropt"
     909      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     910   { (exit 1); exit 1; }; }
    877911    ac_useropt_orig=$ac_useropt
    878912    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10781112    # Reject names that are not valid shell variable names.
    10791113    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1080       as_fn_error $? "invalid package name: $ac_useropt"
     1114      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1115   { (exit 1); exit 1; }; }
    10811116    ac_useropt_orig=$ac_useropt
    10821117    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10941129    # Reject names that are not valid shell variable names.
    10951130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1096       as_fn_error $? "invalid package name: $ac_useropt"
     1131      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1132   { (exit 1); exit 1; }; }
    10971133    ac_useropt_orig=$ac_useropt
    10981134    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11241160    x_libraries=$ac_optarg ;;
    11251161
    1126   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1127 Try \`$0 --help' for more information"
     1162  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1163Try \`$0 --help' for more information." >&2
     1164   { (exit 1); exit 1; }; }
    11281165    ;;
    11291166
     
    11311168    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11321169    # Reject names that are not valid shell variable names.
    1133     case $ac_envvar in #(
    1134       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1135       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1136     esac
     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; }; }
    11371173    eval $ac_envvar=\$ac_optarg
    11381174    export $ac_envvar ;;
     
    11431179    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11441180      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1145     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     1181    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    11461182    ;;
    11471183
     
    11511187if test -n "$ac_prev"; then
    11521188  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1153   as_fn_error $? "missing argument to $ac_option"
     1189  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1190   { (exit 1); exit 1; }; }
    11541191fi
    11551192
     
    11571194  case $enable_option_checking in
    11581195    no) ;;
    1159     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1196    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1197   { (exit 1); exit 1; }; } ;;
    11601198    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11611199  esac
     
    11801218    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11811219  esac
    1182   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
     1220  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1221   { (exit 1); exit 1; }; }
    11831222done
    11841223
     
    11941233  if test "x$build_alias" = x; then
    11951234    cross_compiling=maybe
    1196     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1197     If a cross compiler is detected then cross compile mode will be used" >&2
     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
    11981237  elif test "x$build_alias" != "x$host_alias"; then
    11991238    cross_compiling=yes
     
    12101249ac_ls_di=`ls -di .` &&
    12111250ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1212   as_fn_error $? "working directory cannot be determined"
     1251  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1252   { (exit 1); exit 1; }; }
    12131253test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1214   as_fn_error $? "pwd does not report name of working directory"
     1254  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1255   { (exit 1); exit 1; }; }
    12151256
    12161257
     
    12511292if test ! -r "$srcdir/$ac_unique_file"; then
    12521293  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1253   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1294  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1295   { (exit 1); exit 1; }; }
    12541296fi
    12551297ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12561298ac_abs_confdir=`(
    1257         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1299        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1300   { (exit 1); exit 1; }; }
    12581301        pwd)`
    12591302# When building in place, set srcdir=.
     
    12951338      --help=recursive    display the short help of all the included packages
    12961339  -V, --version           display version information and exit
    1297   -q, --quiet, --silent   do not print \`checking ...' messages
     1340  -q, --quiet, --silent   do not print \`checking...' messages
    12981341      --cache-file=FILE   cache test results in FILE [disabled]
    12991342  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13781421              nonstandard directory <lib dir>
    13791422  LIBS        libraries to pass to the linker, e.g. -l<library>
    1380   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1423  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    13811424              you have headers in a nonstandard directory <include dir>
    13821425  CPP         C preprocessor
     
    14531496  cat <<\_ACEOF
    14541497vizservers configure 0.1
    1455 generated by GNU Autoconf 2.68
    1456 
    1457 Copyright (C) 2010 Free Software Foundation, Inc.
     1498generated by GNU Autoconf 2.63
     1499
     1500Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     15012002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    14581502This configure script is free software; the Free Software Foundation
    14591503gives unlimited permission to copy, distribute and modify it.
     
    14611505  exit
    14621506fi
    1463 
    1464 ## ------------------------ ##
    1465 ## Autoconf initialization. ##
    1466 ## ------------------------ ##
    1467 
    1468 # ac_fn_c_try_compile LINENO
    1469 # --------------------------
    1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1471 ac_fn_c_try_compile ()
    1472 {
    1473   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1474   rm -f conftest.$ac_objext
    1475   if { { ac_try="$ac_compile"
    1476 case "(($ac_try" in
    1477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1478   *) ac_try_echo=$ac_try;;
    1479 esac
    1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1481 $as_echo "$ac_try_echo"; } >&5
    1482   (eval "$ac_compile") 2>conftest.err
    1483   ac_status=$?
    1484   if test -s conftest.err; then
    1485     grep -v '^ *+' conftest.err >conftest.er1
    1486     cat conftest.er1 >&5
    1487     mv -f conftest.er1 conftest.err
    1488   fi
    1489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1490   test $ac_status = 0; } && {
    1491          test -z "$ac_c_werror_flag" ||
    1492          test ! -s conftest.err
    1493        } && test -s conftest.$ac_objext; then :
    1494   ac_retval=0
    1495 else
    1496   $as_echo "$as_me: failed program was:" >&5
    1497 sed 's/^/| /' conftest.$ac_ext >&5
    1498 
    1499         ac_retval=1
    1500 fi
    1501   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1502   as_fn_set_status $ac_retval
    1503 
    1504 } # ac_fn_c_try_compile
    1505 
    1506 # ac_fn_c_try_cpp LINENO
    1507 # ----------------------
    1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1509 ac_fn_c_try_cpp ()
    1510 {
    1511   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1512   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1513 case "(($ac_try" in
    1514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1515   *) ac_try_echo=$ac_try;;
    1516 esac
    1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1518 $as_echo "$ac_try_echo"; } >&5
    1519   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1520   ac_status=$?
    1521   if test -s conftest.err; then
    1522     grep -v '^ *+' conftest.err >conftest.er1
    1523     cat conftest.er1 >&5
    1524     mv -f conftest.er1 conftest.err
    1525   fi
    1526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1527   test $ac_status = 0; } > conftest.i && {
    1528          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1529          test ! -s conftest.err
    1530        }; then :
    1531   ac_retval=0
    1532 else
    1533   $as_echo "$as_me: failed program was:" >&5
    1534 sed 's/^/| /' conftest.$ac_ext >&5
    1535 
    1536     ac_retval=1
    1537 fi
    1538   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1539   as_fn_set_status $ac_retval
    1540 
    1541 } # ac_fn_c_try_cpp
    1542 
    1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1544 # -------------------------------------------------------
    1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1546 # the include files in INCLUDES and setting the cache variable VAR
    1547 # accordingly.
    1548 ac_fn_c_check_header_mongrel ()
    1549 {
    1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1551   if eval \${$3+:} false; then :
    1552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1553 $as_echo_n "checking for $2... " >&6; }
    1554 if eval \${$3+:} false; then :
    1555   $as_echo_n "(cached) " >&6
    1556 fi
    1557 eval ac_res=\$$3
    1558                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1559 $as_echo "$ac_res" >&6; }
    1560 else
    1561   # Is the header compilable?
    1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1563 $as_echo_n "checking $2 usability... " >&6; }
    1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1565 /* end confdefs.h.  */
    1566 $4
    1567 #include <$2>
    1568 _ACEOF
    1569 if ac_fn_c_try_compile "$LINENO"; then :
    1570   ac_header_compiler=yes
    1571 else
    1572   ac_header_compiler=no
    1573 fi
    1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1576 $as_echo "$ac_header_compiler" >&6; }
    1577 
    1578 # Is the header present?
    1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1580 $as_echo_n "checking $2 presence... " >&6; }
    1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1582 /* end confdefs.h.  */
    1583 #include <$2>
    1584 _ACEOF
    1585 if ac_fn_c_try_cpp "$LINENO"; then :
    1586   ac_header_preproc=yes
    1587 else
    1588   ac_header_preproc=no
    1589 fi
    1590 rm -f conftest.err conftest.i conftest.$ac_ext
    1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1592 $as_echo "$ac_header_preproc" >&6; }
    1593 
    1594 # So?  What about this header?
    1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1596   yes:no: )
    1597     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1599     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1601     ;;
    1602   no:yes:* )
    1603     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1605     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1606 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1610 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1611     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1613 ( $as_echo "## ----------------------------------- ##
    1614 ## Report this to rappture@nanohub.org ##
    1615 ## ----------------------------------- ##"
    1616      ) | sed "s/^/$as_me: WARNING:     /" >&2
    1617     ;;
    1618 esac
    1619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1620 $as_echo_n "checking for $2... " >&6; }
    1621 if eval \${$3+:} false; then :
    1622   $as_echo_n "(cached) " >&6
    1623 else
    1624   eval "$3=\$ac_header_compiler"
    1625 fi
    1626 eval ac_res=\$$3
    1627                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1628 $as_echo "$ac_res" >&6; }
    1629 fi
    1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1631 
    1632 } # ac_fn_c_check_header_mongrel
    1633 
    1634 # ac_fn_c_try_run LINENO
    1635 # ----------------------
    1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1637 # that executables *can* be run.
    1638 ac_fn_c_try_run ()
    1639 {
    1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1641   if { { ac_try="$ac_link"
    1642 case "(($ac_try" in
    1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1644   *) ac_try_echo=$ac_try;;
    1645 esac
    1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1647 $as_echo "$ac_try_echo"; } >&5
    1648   (eval "$ac_link") 2>&5
    1649   ac_status=$?
    1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1651   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1652   { { case "(($ac_try" in
    1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1654   *) ac_try_echo=$ac_try;;
    1655 esac
    1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1657 $as_echo "$ac_try_echo"; } >&5
    1658   (eval "$ac_try") 2>&5
    1659   ac_status=$?
    1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1661   test $ac_status = 0; }; }; then :
    1662   ac_retval=0
    1663 else
    1664   $as_echo "$as_me: program exited with status $ac_status" >&5
    1665        $as_echo "$as_me: failed program was:" >&5
    1666 sed 's/^/| /' conftest.$ac_ext >&5
    1667 
    1668        ac_retval=$ac_status
    1669 fi
    1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1672   as_fn_set_status $ac_retval
    1673 
    1674 } # ac_fn_c_try_run
    1675 
    1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1677 # -------------------------------------------------------
    1678 # Tests whether HEADER exists and can be compiled using the include files in
    1679 # INCLUDES, setting the cache variable VAR accordingly.
    1680 ac_fn_c_check_header_compile ()
    1681 {
    1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1684 $as_echo_n "checking for $2... " >&6; }
    1685 if eval \${$3+:} false; then :
    1686   $as_echo_n "(cached) " >&6
    1687 else
    1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1689 /* end confdefs.h.  */
    1690 $4
    1691 #include <$2>
    1692 _ACEOF
    1693 if ac_fn_c_try_compile "$LINENO"; then :
    1694   eval "$3=yes"
    1695 else
    1696   eval "$3=no"
    1697 fi
    1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1699 fi
    1700 eval ac_res=\$$3
    1701                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1702 $as_echo "$ac_res" >&6; }
    1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1704 
    1705 } # ac_fn_c_check_header_compile
    1706 
    1707 # ac_fn_c_try_link LINENO
    1708 # -----------------------
    1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1710 ac_fn_c_try_link ()
    1711 {
    1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1713   rm -f conftest.$ac_objext conftest$ac_exeext
    1714   if { { ac_try="$ac_link"
    1715 case "(($ac_try" in
    1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1717   *) ac_try_echo=$ac_try;;
    1718 esac
    1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1720 $as_echo "$ac_try_echo"; } >&5
    1721   (eval "$ac_link") 2>conftest.err
    1722   ac_status=$?
    1723   if test -s conftest.err; then
    1724     grep -v '^ *+' conftest.err >conftest.er1
    1725     cat conftest.er1 >&5
    1726     mv -f conftest.er1 conftest.err
    1727   fi
    1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1729   test $ac_status = 0; } && {
    1730          test -z "$ac_c_werror_flag" ||
    1731          test ! -s conftest.err
    1732        } && test -s conftest$ac_exeext && {
    1733          test "$cross_compiling" = yes ||
    1734          $as_test_x conftest$ac_exeext
    1735        }; then :
    1736   ac_retval=0
    1737 else
    1738   $as_echo "$as_me: failed program was:" >&5
    1739 sed 's/^/| /' conftest.$ac_ext >&5
    1740 
    1741         ac_retval=1
    1742 fi
    1743   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1744   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1745   # interfere with the next link command; also delete a directory that is
    1746   # left behind by Apple's compiler.  We do this before executing the actions.
    1747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1749   as_fn_set_status $ac_retval
    1750 
    1751 } # ac_fn_c_try_link
    1752 
    1753 # ac_fn_cxx_try_compile LINENO
    1754 # ----------------------------
    1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1756 ac_fn_cxx_try_compile ()
    1757 {
    1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1759   rm -f conftest.$ac_objext
    1760   if { { ac_try="$ac_compile"
    1761 case "(($ac_try" in
    1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1763   *) ac_try_echo=$ac_try;;
    1764 esac
    1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1766 $as_echo "$ac_try_echo"; } >&5
    1767   (eval "$ac_compile") 2>conftest.err
    1768   ac_status=$?
    1769   if test -s conftest.err; then
    1770     grep -v '^ *+' conftest.err >conftest.er1
    1771     cat conftest.er1 >&5
    1772     mv -f conftest.er1 conftest.err
    1773   fi
    1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1775   test $ac_status = 0; } && {
    1776          test -z "$ac_cxx_werror_flag" ||
    1777          test ! -s conftest.err
    1778        } && test -s conftest.$ac_objext; then :
    1779   ac_retval=0
    1780 else
    1781   $as_echo "$as_me: failed program was:" >&5
    1782 sed 's/^/| /' conftest.$ac_ext >&5
    1783 
    1784         ac_retval=1
    1785 fi
    1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1787   as_fn_set_status $ac_retval
    1788 
    1789 } # ac_fn_cxx_try_compile
    1790 
    1791 # ac_fn_cxx_try_cpp LINENO
    1792 # ------------------------
    1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1794 ac_fn_cxx_try_cpp ()
    1795 {
    1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1797   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1798 case "(($ac_try" in
    1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1800   *) ac_try_echo=$ac_try;;
    1801 esac
    1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1803 $as_echo "$ac_try_echo"; } >&5
    1804   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1805   ac_status=$?
    1806   if test -s conftest.err; then
    1807     grep -v '^ *+' conftest.err >conftest.er1
    1808     cat conftest.er1 >&5
    1809     mv -f conftest.er1 conftest.err
    1810   fi
    1811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1812   test $ac_status = 0; } > conftest.i && {
    1813          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1814          test ! -s conftest.err
    1815        }; then :
    1816   ac_retval=0
    1817 else
    1818   $as_echo "$as_me: failed program was:" >&5
    1819 sed 's/^/| /' conftest.$ac_ext >&5
    1820 
    1821     ac_retval=1
    1822 fi
    1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1824   as_fn_set_status $ac_retval
    1825 
    1826 } # ac_fn_cxx_try_cpp
    1827 
    1828 # ac_fn_cxx_try_run LINENO
    1829 # ------------------------
    1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1831 # that executables *can* be run.
    1832 ac_fn_cxx_try_run ()
    1833 {
    1834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1835   if { { ac_try="$ac_link"
    1836 case "(($ac_try" in
    1837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1838   *) ac_try_echo=$ac_try;;
    1839 esac
    1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1841 $as_echo "$ac_try_echo"; } >&5
    1842   (eval "$ac_link") 2>&5
    1843   ac_status=$?
    1844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1845   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1846   { { case "(($ac_try" in
    1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1848   *) ac_try_echo=$ac_try;;
    1849 esac
    1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1851 $as_echo "$ac_try_echo"; } >&5
    1852   (eval "$ac_try") 2>&5
    1853   ac_status=$?
    1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1855   test $ac_status = 0; }; }; then :
    1856   ac_retval=0
    1857 else
    1858   $as_echo "$as_me: program exited with status $ac_status" >&5
    1859        $as_echo "$as_me: failed program was:" >&5
    1860 sed 's/^/| /' conftest.$ac_ext >&5
    1861 
    1862        ac_retval=$ac_status
    1863 fi
    1864   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1866   as_fn_set_status $ac_retval
    1867 
    1868 } # ac_fn_cxx_try_run
    1869 
    1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
    1871 # ----------------------------------------------
    1872 # Tries to find the compile-time value of EXPR in a program that includes
    1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be
    1874 # computed
    1875 ac_fn_cxx_compute_int ()
    1876 {
    1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1878   if test "$cross_compiling" = yes; then
    1879     # Depending upon the size, compute the lo and hi bounds.
    1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1881 /* end confdefs.h.  */
    1882 $4
    1883 int
    1884 main ()
    1885 {
    1886 static int test_array [1 - 2 * !(($2) >= 0)];
    1887 test_array [0] = 0
    1888 
    1889   ;
    1890   return 0;
    1891 }
    1892 _ACEOF
    1893 if ac_fn_cxx_try_compile "$LINENO"; then :
    1894   ac_lo=0 ac_mid=0
    1895   while :; do
    1896     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1897 /* end confdefs.h.  */
    1898 $4
    1899 int
    1900 main ()
    1901 {
    1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1903 test_array [0] = 0
    1904 
    1905   ;
    1906   return 0;
    1907 }
    1908 _ACEOF
    1909 if ac_fn_cxx_try_compile "$LINENO"; then :
    1910   ac_hi=$ac_mid; break
    1911 else
    1912   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    1913                         if test $ac_lo -le $ac_mid; then
    1914                           ac_lo= ac_hi=
    1915                           break
    1916                         fi
    1917                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    1918 fi
    1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1920   done
    1921 else
    1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1923 /* end confdefs.h.  */
    1924 $4
    1925 int
    1926 main ()
    1927 {
    1928 static int test_array [1 - 2 * !(($2) < 0)];
    1929 test_array [0] = 0
    1930 
    1931   ;
    1932   return 0;
    1933 }
    1934 _ACEOF
    1935 if ac_fn_cxx_try_compile "$LINENO"; then :
    1936   ac_hi=-1 ac_mid=-1
    1937   while :; do
    1938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1939 /* end confdefs.h.  */
    1940 $4
    1941 int
    1942 main ()
    1943 {
    1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    1945 test_array [0] = 0
    1946 
    1947   ;
    1948   return 0;
    1949 }
    1950 _ACEOF
    1951 if ac_fn_cxx_try_compile "$LINENO"; then :
    1952   ac_lo=$ac_mid; break
    1953 else
    1954   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    1955                         if test $ac_mid -le $ac_hi; then
    1956                           ac_lo= ac_hi=
    1957                           break
    1958                         fi
    1959                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
    1960 fi
    1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1962   done
    1963 else
    1964   ac_lo= ac_hi=
    1965 fi
    1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1967 fi
    1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1969 # Binary search between lo and hi bounds.
    1970 while test "x$ac_lo" != "x$ac_hi"; do
    1971   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
    1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1973 /* end confdefs.h.  */
    1974 $4
    1975 int
    1976 main ()
    1977 {
    1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1979 test_array [0] = 0
    1980 
    1981   ;
    1982   return 0;
    1983 }
    1984 _ACEOF
    1985 if ac_fn_cxx_try_compile "$LINENO"; then :
    1986   ac_hi=$ac_mid
    1987 else
    1988   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
    1989 fi
    1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1991 done
    1992 case $ac_lo in #((
    1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
    1994 '') ac_retval=1 ;;
    1995 esac
    1996   else
    1997     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1998 /* end confdefs.h.  */
    1999 $4
    2000 static long int longval () { return $2; }
    2001 static unsigned long int ulongval () { return $2; }
    2002 #include <stdio.h>
    2003 #include <stdlib.h>
    2004 int
    2005 main ()
    2006 {
    2007 
    2008   FILE *f = fopen ("conftest.val", "w");
    2009   if (! f)
    2010     return 1;
    2011   if (($2) < 0)
    2012     {
    2013       long int i = longval ();
    2014       if (i != ($2))
    2015         return 1;
    2016       fprintf (f, "%ld", i);
    2017     }
    2018   else
    2019     {
    2020       unsigned long int i = ulongval ();
    2021       if (i != ($2))
    2022         return 1;
    2023       fprintf (f, "%lu", i);
    2024     }
    2025   /* Do not output a trailing newline, as this causes \r\n confusion
    2026      on some platforms.  */
    2027   return ferror (f) || fclose (f) != 0;
    2028 
    2029   ;
    2030   return 0;
    2031 }
    2032 _ACEOF
    2033 if ac_fn_cxx_try_run "$LINENO"; then :
    2034   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
    2035 else
    2036   ac_retval=1
    2037 fi
    2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    2039   conftest.$ac_objext conftest.beam conftest.$ac_ext
    2040 rm -f conftest.val
    2041 
    2042   fi
    2043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2044   as_fn_set_status $ac_retval
    2045 
    2046 } # ac_fn_cxx_compute_int
    2047 
    2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
    2049 # ---------------------------------------------------------
    2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2051 # the include files in INCLUDES and setting the cache variable VAR
    2052 # accordingly.
    2053 ac_fn_cxx_check_header_mongrel ()
    2054 {
    2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2056   if eval \${$3+:} false; then :
    2057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2058 $as_echo_n "checking for $2... " >&6; }
    2059 if eval \${$3+:} false; then :
    2060   $as_echo_n "(cached) " >&6
    2061 fi
    2062 eval ac_res=\$$3
    2063                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2064 $as_echo "$ac_res" >&6; }
    2065 else
    2066   # Is the header compilable?
    2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2068 $as_echo_n "checking $2 usability... " >&6; }
    2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2070 /* end confdefs.h.  */
    2071 $4
    2072 #include <$2>
    2073 _ACEOF
    2074 if ac_fn_cxx_try_compile "$LINENO"; then :
    2075   ac_header_compiler=yes
    2076 else
    2077   ac_header_compiler=no
    2078 fi
    2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2081 $as_echo "$ac_header_compiler" >&6; }
    2082 
    2083 # Is the header present?
    2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2085 $as_echo_n "checking $2 presence... " >&6; }
    2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2087 /* end confdefs.h.  */
    2088 #include <$2>
    2089 _ACEOF
    2090 if ac_fn_cxx_try_cpp "$LINENO"; then :
    2091   ac_header_preproc=yes
    2092 else
    2093   ac_header_preproc=no
    2094 fi
    2095 rm -f conftest.err conftest.i conftest.$ac_ext
    2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2097 $as_echo "$ac_header_preproc" >&6; }
    2098 
    2099 # So?  What about this header?
    2100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
    2101   yes:no: )
    2102     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2103 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2104     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2106     ;;
    2107   no:yes:* )
    2108     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2109 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2110     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2111 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2112     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2113 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2115 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2116     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2118 ( $as_echo "## ----------------------------------- ##
    2119 ## Report this to rappture@nanohub.org ##
    2120 ## ----------------------------------- ##"
    2121      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2122     ;;
    2123 esac
    2124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2125 $as_echo_n "checking for $2... " >&6; }
    2126 if eval \${$3+:} false; then :
    2127   $as_echo_n "(cached) " >&6
    2128 else
    2129   eval "$3=\$ac_header_compiler"
    2130 fi
    2131 eval ac_res=\$$3
    2132                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2133 $as_echo "$ac_res" >&6; }
    2134 fi
    2135   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2136 
    2137 } # ac_fn_cxx_check_header_mongrel
    2138 
    2139 # ac_fn_cxx_try_link LINENO
    2140 # -------------------------
    2141 # Try to link conftest.$ac_ext, and return whether this succeeded.
    2142 ac_fn_cxx_try_link ()
    2143 {
    2144   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2145   rm -f conftest.$ac_objext conftest$ac_exeext
    2146   if { { ac_try="$ac_link"
    2147 case "(($ac_try" in
    2148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2149   *) ac_try_echo=$ac_try;;
    2150 esac
    2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2152 $as_echo "$ac_try_echo"; } >&5
    2153   (eval "$ac_link") 2>conftest.err
    2154   ac_status=$?
    2155   if test -s conftest.err; then
    2156     grep -v '^ *+' conftest.err >conftest.er1
    2157     cat conftest.er1 >&5
    2158     mv -f conftest.er1 conftest.err
    2159   fi
    2160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2161   test $ac_status = 0; } && {
    2162          test -z "$ac_cxx_werror_flag" ||
    2163          test ! -s conftest.err
    2164        } && test -s conftest$ac_exeext && {
    2165          test "$cross_compiling" = yes ||
    2166          $as_test_x conftest$ac_exeext
    2167        }; then :
    2168   ac_retval=0
    2169 else
    2170   $as_echo "$as_me: failed program was:" >&5
    2171 sed 's/^/| /' conftest.$ac_ext >&5
    2172 
    2173         ac_retval=1
    2174 fi
    2175   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    2176   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    2177   # interfere with the next link command; also delete a directory that is
    2178   # left behind by Apple's compiler.  We do this before executing the actions.
    2179   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2180   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2181   as_fn_set_status $ac_retval
    2182 
    2183 } # ac_fn_cxx_try_link
    2184 
    2185 # ac_fn_cxx_check_func LINENO FUNC VAR
    2186 # ------------------------------------
    2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    2188 ac_fn_cxx_check_func ()
    2189 {
    2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2192 $as_echo_n "checking for $2... " >&6; }
    2193 if eval \${$3+:} false; then :
    2194   $as_echo_n "(cached) " >&6
    2195 else
    2196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2197 /* end confdefs.h.  */
    2198 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    2199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    2200 #define $2 innocuous_$2
    2201 
    2202 /* System header to define __stub macros and hopefully few prototypes,
    2203     which can conflict with char $2 (); below.
    2204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2205     <limits.h> exists even on freestanding compilers.  */
    2206 
    2207 #ifdef __STDC__
    2208 # include <limits.h>
    2209 #else
    2210 # include <assert.h>
    2211 #endif
    2212 
    2213 #undef $2
    2214 
    2215 /* Override any GCC internal prototype to avoid an error.
    2216    Use char because int might match the return type of a GCC
    2217    builtin and then its argument prototype would still apply.  */
    2218 #ifdef __cplusplus
    2219 extern "C"
    2220 #endif
    2221 char $2 ();
    2222 /* The GNU C library defines this for functions which it implements
    2223     to always fail with ENOSYS.  Some functions are actually named
    2224     something starting with __ and the normal name is an alias.  */
    2225 #if defined __stub_$2 || defined __stub___$2
    2226 choke me
    2227 #endif
    2228 
    2229 int
    2230 main ()
    2231 {
    2232 return $2 ();
    2233   ;
    2234   return 0;
    2235 }
    2236 _ACEOF
    2237 if ac_fn_cxx_try_link "$LINENO"; then :
    2238   eval "$3=yes"
    2239 else
    2240   eval "$3=no"
    2241 fi
    2242 rm -f core conftest.err conftest.$ac_objext \
    2243     conftest$ac_exeext conftest.$ac_ext
    2244 fi
    2245 eval ac_res=\$$3
    2246                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2247 $as_echo "$ac_res" >&6; }
    2248   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2249 
    2250 } # ac_fn_cxx_check_func
    2251 
    2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
    2253 # ---------------------------------------------------------
    2254 # Tests whether HEADER exists and can be compiled using the include files in
    2255 # INCLUDES, setting the cache variable VAR accordingly.
    2256 ac_fn_cxx_check_header_compile ()
    2257 {
    2258   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2260 $as_echo_n "checking for $2... " >&6; }
    2261 if eval \${$3+:} false; then :
    2262   $as_echo_n "(cached) " >&6
    2263 else
    2264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2265 /* end confdefs.h.  */
    2266 $4
    2267 #include <$2>
    2268 _ACEOF
    2269 if ac_fn_cxx_try_compile "$LINENO"; then :
    2270   eval "$3=yes"
    2271 else
    2272   eval "$3=no"
    2273 fi
    2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2275 fi
    2276 eval ac_res=\$$3
    2277                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2278 $as_echo "$ac_res" >&6; }
    2279   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2280 
    2281 } # ac_fn_cxx_check_header_compile
    22821507cat >config.log <<_ACEOF
    22831508This file contains any messages produced by compilers while
     
    22851510
    22861511It was created by vizservers $as_me 0.1, which was
    2287 generated by GNU Autoconf 2.68.  Invocation command line was
     1512generated by GNU Autoconf 2.63.  Invocation command line was
    22881513
    22891514  $ $0 $@
     
    23211546  IFS=$as_save_IFS
    23221547  test -z "$as_dir" && as_dir=.
    2323     $as_echo "PATH: $as_dir"
    2324   done
     1548  $as_echo "PATH: $as_dir"
     1549done
    23251550IFS=$as_save_IFS
    23261551
     
    23591584    esac
    23601585    case $ac_pass in
    2361     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1586    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    23621587    2)
    2363       as_fn_append ac_configure_args1 " '$ac_arg'"
     1588      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    23641589      if test $ac_must_keep_next = true; then
    23651590        ac_must_keep_next=false # Got value, back to normal.
     
    23771602        esac
    23781603      fi
    2379       as_fn_append ac_configure_args " '$ac_arg'"
     1604      ac_configure_args="$ac_configure_args '$ac_arg'"
    23801605      ;;
    23811606    esac
    23821607  done
    23831608done
    2384 { ac_configure_args0=; unset ac_configure_args0;}
    2385 { ac_configure_args1=; unset ac_configure_args1;}
     1609$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1610$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    23861611
    23871612# When interrupted or exit'd, cleanup temporary files, and complete
     
    23951620    echo
    23961621
    2397     $as_echo "## ---------------- ##
     1622    cat <<\_ASBOX
     1623## ---------------- ##
    23981624## Cache variables. ##
    2399 ## ---------------- ##"
     1625## ---------------- ##
     1626_ASBOX
    24001627    echo
    24011628    # The following way of writing the cache mishandles newlines in values,
     
    24061633    *${as_nl}*)
    24071634      case $ac_var in #(
    2408       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1635      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    24091636$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    24101637      esac
     
    24121639      _ | IFS | as_nl) ;; #(
    24131640      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2414       *) { eval $ac_var=; unset $ac_var;} ;;
     1641      *) $as_unset $ac_var ;;
    24151642      esac ;;
    24161643    esac
     
    24311658    echo
    24321659
    2433     $as_echo "## ----------------- ##
     1660    cat <<\_ASBOX
     1661## ----------------- ##
    24341662## Output variables. ##
    2435 ## ----------------- ##"
     1663## ----------------- ##
     1664_ASBOX
    24361665    echo
    24371666    for ac_var in $ac_subst_vars
     
    24461675
    24471676    if test -n "$ac_subst_files"; then
    2448       $as_echo "## ------------------- ##
     1677      cat <<\_ASBOX
     1678## ------------------- ##
    24491679## File substitutions. ##
    2450 ## ------------------- ##"
     1680## ------------------- ##
     1681_ASBOX
    24511682      echo
    24521683      for ac_var in $ac_subst_files
     
    24621693
    24631694    if test -s confdefs.h; then
    2464       $as_echo "## ----------- ##
     1695      cat <<\_ASBOX
     1696## ----------- ##
    24651697## confdefs.h. ##
    2466 ## ----------- ##"
     1698## ----------- ##
     1699_ASBOX
    24671700      echo
    24681701      cat confdefs.h
     
    24781711' 0
    24791712for ac_signal in 1 2 13 15; do
    2480   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1713  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    24811714done
    24821715ac_signal=0
     
    24851718rm -f -r conftest* confdefs.h
    24861719
    2487 $as_echo "/* confdefs.h */" > confdefs.h
    2488 
    24891720# Predefined preprocessor variables.
    24901721
     
    24931724_ACEOF
    24941725
     1726
    24951727cat >>confdefs.h <<_ACEOF
    24961728#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    24971729_ACEOF
    24981730
     1731
    24991732cat >>confdefs.h <<_ACEOF
    25001733#define PACKAGE_VERSION "$PACKAGE_VERSION"
    25011734_ACEOF
    25021735
     1736
    25031737cat >>confdefs.h <<_ACEOF
    25041738#define PACKAGE_STRING "$PACKAGE_STRING"
    25051739_ACEOF
    25061740
     1741
    25071742cat >>confdefs.h <<_ACEOF
    25081743#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    2509 _ACEOF
    2510 
    2511 cat >>confdefs.h <<_ACEOF
    2512 #define PACKAGE_URL "$PACKAGE_URL"
    25131744_ACEOF
    25141745
     
    25191750ac_site_file2=NONE
    25201751if test -n "$CONFIG_SITE"; then
    2521   # We do not want a PATH search for config.site.
    2522   case $CONFIG_SITE in #((
    2523     -*)  ac_site_file1=./$CONFIG_SITE;;
    2524     */*) ac_site_file1=$CONFIG_SITE;;
    2525     *)   ac_site_file1=./$CONFIG_SITE;;
    2526   esac
     1752  ac_site_file1=$CONFIG_SITE
    25271753elif test "x$prefix" != xNONE; then
    25281754  ac_site_file1=$prefix/share/config.site
     
    25351761do
    25361762  test "x$ac_site_file" = xNONE && continue
    2537   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2538     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     1763  if test -r "$ac_site_file"; then
     1764    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    25391765$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    25401766    sed 's/^/| /' "$ac_site_file" >&5
    2541     . "$ac_site_file" \
    2542       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2544 as_fn_error $? "failed to load site script $ac_site_file
    2545 See \`config.log' for more details" "$LINENO" 5; }
     1767    . "$ac_site_file"
    25461768  fi
    25471769done
    25481770
    25491771if test -r "$cache_file"; then
    2550   # Some versions of bash will fail to source /dev/null (special files
    2551   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2552   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2553     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     1772  # Some versions of bash will fail to source /dev/null (special
     1773  # files actually), so we avoid doing that.
     1774  if test -f "$cache_file"; then
     1775    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    25541776$as_echo "$as_me: loading cache $cache_file" >&6;}
    25551777    case $cache_file in
     
    25591781  fi
    25601782else
    2561   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     1783  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    25621784$as_echo "$as_me: creating cache $cache_file" >&6;}
    25631785  >$cache_file
     
    25741796  case $ac_old_set,$ac_new_set in
    25751797    set,)
    2576       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1798      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    25771799$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    25781800      ac_cache_corrupted=: ;;
    25791801    ,set)
    2580       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     1802      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    25811803$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    25821804      ac_cache_corrupted=: ;;
     
    25881810        ac_new_val_w=`echo x $ac_new_val`
    25891811        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2590           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     1812          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    25911813$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    25921814          ac_cache_corrupted=:
    25931815        else
    2594           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1816          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    25951817$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    25961818          eval $ac_var=\$ac_old_val
    25971819        fi
    2598         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     1820        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    25991821$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2600         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     1822        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    26011823$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    26021824      fi;;
     
    26101832    case " $ac_configure_args " in
    26111833      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2612       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1834      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    26131835    esac
    26141836  fi
    26151837done
    26161838if $ac_cache_corrupted; then
    2617   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1839  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    26181840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2619   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     1841  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    26201842$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2621   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2622 fi
    2623 ## -------------------- ##
    2624 ## Main body of script. ##
    2625 ## -------------------- ##
     1843  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1844$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1845   { (exit 1); exit 1; }; }
     1846fi
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
     1858
     1859
     1860
     1861
     1862
     1863
     1864
     1865
     1866
     1867
     1868
     1869
     1870
    26261871
    26271872ac_ext=c
     
    26491894done
    26501895if test -z "$ac_aux_dir"; then
    2651   as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     1896  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
     1897$as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
     1898   { (exit 1); exit 1; }; }
    26521899fi
    26531900
     
    26661913
    26671914# Check whether --with-tcllib was given.
    2668 if test "${with_tcllib+set}" = set; then :
     1915if test "${with_tcllib+set}" = set; then
    26691916  withval=$with_tcllib; with_tcllib=$withval
    26701917else
     
    26751922
    26761923# Check whether --with-rappture was given.
    2677 if test "${with_rappture+set}" = set; then :
     1924if test "${with_rappture+set}" = set; then
    26781925  withval=$with_rappture; with_rappture=$withval
    26791926else
     
    26841931
    26851932# Check whether --with-vtk-includes was given.
    2686 if test "${with_vtk_includes+set}" = set; then :
     1933if test "${with_vtk_includes+set}" = set; then
    26871934  withval=$with_vtk_includes; with_vtk_includes=$withval
    26881935else
     
    26931940
    26941941# Check whether --with-vtk-libs was given.
    2695 if test "${with_vtk_libs+set}" = set; then :
     1942if test "${with_vtk_libs+set}" = set; then
    26961943  withval=$with_vtk_libs; with_vtk_libs=$withval
    26971944else
     
    27021949
    27031950# Check whether --with-vtk was given.
    2704 if test "${with_vtk+set}" = set; then :
     1951if test "${with_vtk+set}" = set; then
    27051952  withval=$with_vtk; with_vtk=$withval
    27061953else
     
    27171964  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    27181965set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1966{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27201967$as_echo_n "checking for $ac_word... " >&6; }
    2721 if ${ac_cv_prog_CC+:} false; then :
     1968if test "${ac_cv_prog_CC+set}" = set; then
    27221969  $as_echo_n "(cached) " >&6
    27231970else
     
    27301977  IFS=$as_save_IFS
    27311978  test -z "$as_dir" && as_dir=.
    2732     for ac_exec_ext in '' $ac_executable_extensions; do
     1979  for ac_exec_ext in '' $ac_executable_extensions; do
    27331980  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27341981    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1982    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27361983    break 2
    27371984  fi
    27381985done
    2739   done
     1986done
    27401987IFS=$as_save_IFS
    27411988
     
    27441991CC=$ac_cv_prog_CC
    27451992if test -n "$CC"; then
    2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     1993  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    27471994$as_echo "$CC" >&6; }
    27481995else
    2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     1996  { $as_echo "$as_me:$LINENO: result: no" >&5
    27501997$as_echo "no" >&6; }
    27511998fi
     
    27572004  # Extract the first word of "gcc", so it can be a program name with args.
    27582005set dummy gcc; ac_word=$2
    2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2006{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27602007$as_echo_n "checking for $ac_word... " >&6; }
    2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2008if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    27622009  $as_echo_n "(cached) " >&6
    27632010else
     
    27702017  IFS=$as_save_IFS
    27712018  test -z "$as_dir" && as_dir=.
    2772     for ac_exec_ext in '' $ac_executable_extensions; do
     2019  for ac_exec_ext in '' $ac_executable_extensions; do
    27732020  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27742021    ac_cv_prog_ac_ct_CC="gcc"
    2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2022    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27762023    break 2
    27772024  fi
    27782025done
    2779   done
     2026done
    27802027IFS=$as_save_IFS
    27812028
     
    27842031ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27852032if test -n "$ac_ct_CC"; then
    2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2033  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    27872034$as_echo "$ac_ct_CC" >&6; }
    27882035else
    2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2036  { $as_echo "$as_me:$LINENO: result: no" >&5
    27902037$as_echo "no" >&6; }
    27912038fi
     
    27962043    case $cross_compiling:$ac_tool_warned in
    27972044yes:)
    2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2045{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    27992046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28002047ac_tool_warned=yes ;;
     
    28102057    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    28112058set dummy ${ac_tool_prefix}cc; ac_word=$2
    2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2059{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28132060$as_echo_n "checking for $ac_word... " >&6; }
    2814 if ${ac_cv_prog_CC+:} false; then :
     2061if test "${ac_cv_prog_CC+set}" = set; then
    28152062  $as_echo_n "(cached) " >&6
    28162063else
     
    28232070  IFS=$as_save_IFS
    28242071  test -z "$as_dir" && as_dir=.
    2825     for ac_exec_ext in '' $ac_executable_extensions; do
     2072  for ac_exec_ext in '' $ac_executable_extensions; do
    28262073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28272074    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2075    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28292076    break 2
    28302077  fi
    28312078done
    2832   done
     2079done
    28332080IFS=$as_save_IFS
    28342081
     
    28372084CC=$ac_cv_prog_CC
    28382085if test -n "$CC"; then
    2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2086  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28402087$as_echo "$CC" >&6; }
    28412088else
    2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2089  { $as_echo "$as_me:$LINENO: result: no" >&5
    28432090$as_echo "no" >&6; }
    28442091fi
     
    28502097  # Extract the first word of "cc", so it can be a program name with args.
    28512098set dummy cc; ac_word=$2
    2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2099{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28532100$as_echo_n "checking for $ac_word... " >&6; }
    2854 if ${ac_cv_prog_CC+:} false; then :
     2101if test "${ac_cv_prog_CC+set}" = set; then
    28552102  $as_echo_n "(cached) " >&6
    28562103else
     
    28642111  IFS=$as_save_IFS
    28652112  test -z "$as_dir" && as_dir=.
    2866     for ac_exec_ext in '' $ac_executable_extensions; do
     2113  for ac_exec_ext in '' $ac_executable_extensions; do
    28672114  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28682115    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    28712118     fi
    28722119    ac_cv_prog_CC="cc"
    2873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2120    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28742121    break 2
    28752122  fi
    28762123done
    2877   done
     2124done
    28782125IFS=$as_save_IFS
    28792126
     
    28942141CC=$ac_cv_prog_CC
    28952142if test -n "$CC"; then
    2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2143  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28972144$as_echo "$CC" >&6; }
    28982145else
    2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2146  { $as_echo "$as_me:$LINENO: result: no" >&5
    29002147$as_echo "no" >&6; }
    29012148fi
     
    29092156    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29102157set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2158{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29122159$as_echo_n "checking for $ac_word... " >&6; }
    2913 if ${ac_cv_prog_CC+:} false; then :
     2160if test "${ac_cv_prog_CC+set}" = set; then
    29142161  $as_echo_n "(cached) " >&6
    29152162else
     
    29222169  IFS=$as_save_IFS
    29232170  test -z "$as_dir" && as_dir=.
    2924     for ac_exec_ext in '' $ac_executable_extensions; do
     2171  for ac_exec_ext in '' $ac_executable_extensions; do
    29252172  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29262173    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2174    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29282175    break 2
    29292176  fi
    29302177done
    2931   done
     2178done
    29322179IFS=$as_save_IFS
    29332180
     
    29362183CC=$ac_cv_prog_CC
    29372184if test -n "$CC"; then
    2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2185  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    29392186$as_echo "$CC" >&6; }
    29402187else
    2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2188  { $as_echo "$as_me:$LINENO: result: no" >&5
    29422189$as_echo "no" >&6; }
    29432190fi
     
    29532200  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29542201set dummy $ac_prog; ac_word=$2
    2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2202{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29562203$as_echo_n "checking for $ac_word... " >&6; }
    2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2204if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    29582205  $as_echo_n "(cached) " >&6
    29592206else
     
    29662213  IFS=$as_save_IFS
    29672214  test -z "$as_dir" && as_dir=.
    2968     for ac_exec_ext in '' $ac_executable_extensions; do
     2215  for ac_exec_ext in '' $ac_executable_extensions; do
    29692216  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29702217    ac_cv_prog_ac_ct_CC="$ac_prog"
    2971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2218    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29722219    break 2
    29732220  fi
    29742221done
    2975   done
     2222done
    29762223IFS=$as_save_IFS
    29772224
     
    29802227ac_ct_CC=$ac_cv_prog_ac_ct_CC
    29812228if test -n "$ac_ct_CC"; then
    2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2229  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    29832230$as_echo "$ac_ct_CC" >&6; }
    29842231else
    2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2232  { $as_echo "$as_me:$LINENO: result: no" >&5
    29862233$as_echo "no" >&6; }
    29872234fi
     
    29962243    case $cross_compiling:$ac_tool_warned in
    29972244yes:)
    2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2245{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    29992246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30002247ac_tool_warned=yes ;;
     
    30072254
    30082255
    3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2256test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    30102257$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3011 as_fn_error $? "no acceptable C compiler found in \$PATH
    3012 See \`config.log' for more details" "$LINENO" 5; }
     2258{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2259See \`config.log' for more details." >&5
     2260$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2261See \`config.log' for more details." >&2;}
     2262   { (exit 1); exit 1; }; }; }
    30132263
    30142264# Provide some information about the compiler.
    3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2265$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    30162266set X $ac_compile
    30172267ac_compiler=$2
    3018 for ac_option in --version -v -V -qversion; do
    3019   { { ac_try="$ac_compiler $ac_option >&5"
     2268{ (ac_try="$ac_compiler --version >&5"
    30202269case "(($ac_try" in
    30212270  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30222271  *) ac_try_echo=$ac_try;;
    30232272esac
    3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3025 $as_echo "$ac_try_echo"; } >&5
    3026   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     2273eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2274$as_echo "$ac_try_echo") >&5
     2275  (eval "$ac_compiler --version >&5") 2>&5
    30272276  ac_status=$?
    3028   if test -s conftest.err; then
    3029     sed '10a\
    3030 ... rest of stderr output deleted ...
    3031          10q' conftest.err >conftest.er1
    3032     cat conftest.er1 >&5
    3033   fi
    3034   rm -f conftest.er1 conftest.err
    3035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3036   test $ac_status = 0; }
    3037 done
    3038 
    3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2277  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2278  (exit $ac_status); }
     2279{ (ac_try="$ac_compiler -v >&5"
     2280case "(($ac_try" in
     2281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2282  *) ac_try_echo=$ac_try;;
     2283esac
     2284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2285$as_echo "$ac_try_echo") >&5
     2286  (eval "$ac_compiler -v >&5") 2>&5
     2287  ac_status=$?
     2288  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2289  (exit $ac_status); }
     2290{ (ac_try="$ac_compiler -V >&5"
     2291case "(($ac_try" in
     2292  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2293  *) ac_try_echo=$ac_try;;
     2294esac
     2295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2296$as_echo "$ac_try_echo") >&5
     2297  (eval "$ac_compiler -V >&5") 2>&5
     2298  ac_status=$?
     2299  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2300  (exit $ac_status); }
     2301
     2302cat >conftest.$ac_ext <<_ACEOF
     2303/* confdefs.h.  */
     2304_ACEOF
     2305cat confdefs.h >>conftest.$ac_ext
     2306cat >>conftest.$ac_ext <<_ACEOF
    30402307/* end confdefs.h.  */
    30412308
     
    30532320# It will help us diagnose broken compilers, and finding out an intuition
    30542321# of exeext.
    3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3056 $as_echo_n "checking whether the C compiler works... " >&6; }
     2322{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2323$as_echo_n "checking for C compiler default output file name... " >&6; }
    30572324ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    30582325
     
    30702337rm -f $ac_rmfiles
    30712338
    3072 if { { ac_try="$ac_link_default"
     2339if { (ac_try="$ac_link_default"
    30732340case "(($ac_try" in
    30742341  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30752342  *) ac_try_echo=$ac_try;;
    30762343esac
    3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3078 $as_echo "$ac_try_echo"; } >&5
     2344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2345$as_echo "$ac_try_echo") >&5
    30792346  (eval "$ac_link_default") 2>&5
    30802347  ac_status=$?
    3081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3082   test $ac_status = 0; }; then :
     2348  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2349  (exit $ac_status); }; then
    30832350  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    30842351# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    30972364        break;;
    30982365    *.* )
    3099         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2366        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    31002367        then :; else
    31012368           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    31162383  ac_file=''
    31172384fi
    3118 if test -z "$ac_file"; then :
    3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3120 $as_echo "no" >&6; }
    3121 $as_echo "$as_me: failed program was:" >&5
     2385
     2386{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2387$as_echo "$ac_file" >&6; }
     2388if test -z "$ac_file"; then
     2389  $as_echo "$as_me: failed program was:" >&5
    31222390sed 's/^/| /' conftest.$ac_ext >&5
    31232391
    3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2392{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31252393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3126 as_fn_error 77 "C compiler cannot create executables
    3127 See \`config.log' for more details" "$LINENO" 5; }
    3128 else
    3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2394{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2395See \`config.log' for more details." >&5
     2396$as_echo "$as_me: error: C compiler cannot create executables
     2397See \`config.log' for more details." >&2;}
     2398   { (exit 77); exit 77; }; }; }
     2399fi
     2400
     2401ac_exeext=$ac_cv_exeext
     2402
     2403# Check that the compiler produces executables we can run.  If not, either
     2404# the compiler is broken, or we cross compile.
     2405{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2406$as_echo_n "checking whether the C compiler works... " >&6; }
     2407# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2408# If not cross compiling, check that we can run a simple program.
     2409if test "$cross_compiling" != yes; then
     2410  if { ac_try='./$ac_file'
     2411  { (case "(($ac_try" in
     2412  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2413  *) ac_try_echo=$ac_try;;
     2414esac
     2415eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2416$as_echo "$ac_try_echo") >&5
     2417  (eval "$ac_try") 2>&5
     2418  ac_status=$?
     2419  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2420  (exit $ac_status); }; }; then
     2421    cross_compiling=no
     2422  else
     2423    if test "$cross_compiling" = maybe; then
     2424        cross_compiling=yes
     2425    else
     2426        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2427$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2428{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2429If you meant to cross compile, use \`--host'.
     2430See \`config.log' for more details." >&5
     2431$as_echo "$as_me: error: cannot run C compiled programs.
     2432If you meant to cross compile, use \`--host'.
     2433See \`config.log' for more details." >&2;}
     2434   { (exit 1); exit 1; }; }; }
     2435    fi
     2436  fi
     2437fi
     2438{ $as_echo "$as_me:$LINENO: result: yes" >&5
    31302439$as_echo "yes" >&6; }
    3131 fi
    3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3133 $as_echo_n "checking for C compiler default output file name... " >&6; }
    3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    3135 $as_echo "$ac_file" >&6; }
    3136 ac_exeext=$ac_cv_exeext
    31372440
    31382441rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    31392442ac_clean_files=$ac_clean_files_save
    3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2443# Check that the compiler produces executables we can run.  If not, either
     2444# the compiler is broken, or we cross compile.
     2445{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2446$as_echo_n "checking whether we are cross compiling... " >&6; }
     2447{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2448$as_echo "$cross_compiling" >&6; }
     2449
     2450{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    31412451$as_echo_n "checking for suffix of executables... " >&6; }
    3142 if { { ac_try="$ac_link"
     2452if { (ac_try="$ac_link"
    31432453case "(($ac_try" in
    31442454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31452455  *) ac_try_echo=$ac_try;;
    31462456esac
    3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3148 $as_echo "$ac_try_echo"; } >&5
     2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2458$as_echo "$ac_try_echo") >&5
    31492459  (eval "$ac_link") 2>&5
    31502460  ac_status=$?
    3151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3152   test $ac_status = 0; }; then :
     2461  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2462  (exit $ac_status); }; then
    31532463  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    31542464# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    31652475done
    31662476else
    3167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2477  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31682478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3170 See \`config.log' for more details" "$LINENO" 5; }
    3171 fi
    3172 rm -f conftest conftest$ac_cv_exeext
    3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2479{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2480See \`config.log' for more details." >&5
     2481$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2482See \`config.log' for more details." >&2;}
     2483   { (exit 1); exit 1; }; }; }
     2484fi
     2485
     2486rm -f conftest$ac_cv_exeext
     2487{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    31742488$as_echo "$ac_cv_exeext" >&6; }
    31752489
     
    31772491EXEEXT=$ac_cv_exeext
    31782492ac_exeext=$EXEEXT
    3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2493{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2494$as_echo_n "checking for suffix of object files... " >&6; }
     2495if test "${ac_cv_objext+set}" = set; then
     2496  $as_echo_n "(cached) " >&6
     2497else
     2498  cat >conftest.$ac_ext <<_ACEOF
     2499/* confdefs.h.  */
     2500_ACEOF
     2501cat confdefs.h >>conftest.$ac_ext
     2502cat >>conftest.$ac_ext <<_ACEOF
    31802503/* end confdefs.h.  */
    3181 #include <stdio.h>
     2504
    31822505int
    31832506main ()
    31842507{
    3185 FILE *f = fopen ("conftest.out", "w");
    3186  return ferror (f) || fclose (f) != 0;
    31872508
    31882509  ;
     
    31902511}
    31912512_ACEOF
    3192 ac_clean_files="$ac_clean_files conftest.out"
    3193 # Check that the compiler produces executables we can run.  If not, either
    3194 # the compiler is broken, or we cross compile.
    3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3196 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3197 if test "$cross_compiling" != yes; then
    3198   { { ac_try="$ac_link"
     2513rm -f conftest.o conftest.obj
     2514if { (ac_try="$ac_compile"
    31992515case "(($ac_try" in
    32002516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32012517  *) ac_try_echo=$ac_try;;
    32022518esac
    3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3204 $as_echo "$ac_try_echo"; } >&5
    3205   (eval "$ac_link") 2>&5
    3206   ac_status=$?
    3207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3208   test $ac_status = 0; }
    3209   if { ac_try='./conftest$ac_cv_exeext'
    3210   { { case "(($ac_try" in
    3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3212   *) ac_try_echo=$ac_try;;
    3213 esac
    3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3215 $as_echo "$ac_try_echo"; } >&5
    3216   (eval "$ac_try") 2>&5
    3217   ac_status=$?
    3218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3219   test $ac_status = 0; }; }; then
    3220     cross_compiling=no
    3221   else
    3222     if test "$cross_compiling" = maybe; then
    3223         cross_compiling=yes
    3224     else
    3225         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3227 as_fn_error $? "cannot run C compiled programs.
    3228 If you meant to cross compile, use \`--host'.
    3229 See \`config.log' for more details" "$LINENO" 5; }
    3230     fi
    3231   fi
    3232 fi
    3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3234 $as_echo "$cross_compiling" >&6; }
    3235 
    3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3237 ac_clean_files=$ac_clean_files_save
    3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3239 $as_echo_n "checking for suffix of object files... " >&6; }
    3240 if ${ac_cv_objext+:} false; then :
    3241   $as_echo_n "(cached) " >&6
    3242 else
    3243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3244 /* end confdefs.h.  */
    3245 
    3246 int
    3247 main ()
    3248 {
    3249 
    3250   ;
    3251   return 0;
    3252 }
    3253 _ACEOF
    3254 rm -f conftest.o conftest.obj
    3255 if { { ac_try="$ac_compile"
    3256 case "(($ac_try" in
    3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3258   *) ac_try_echo=$ac_try;;
    3259 esac
    3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3261 $as_echo "$ac_try_echo"; } >&5
     2519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2520$as_echo "$ac_try_echo") >&5
    32622521  (eval "$ac_compile") 2>&5
    32632522  ac_status=$?
    3264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3265   test $ac_status = 0; }; then :
     2523  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2524  (exit $ac_status); }; then
    32662525  for ac_file in conftest.o conftest.obj conftest.*; do
    32672526  test -f "$ac_file" || continue;
     
    32762535sed 's/^/| /' conftest.$ac_ext >&5
    32772536
    3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2537{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    32792538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3280 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3281 See \`config.log' for more details" "$LINENO" 5; }
    3282 fi
     2539{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2540See \`config.log' for more details." >&5
     2541$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2542See \`config.log' for more details." >&2;}
     2543   { (exit 1); exit 1; }; }; }
     2544fi
     2545
    32832546rm -f conftest.$ac_cv_objext conftest.$ac_ext
    32842547fi
    3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2548{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    32862549$as_echo "$ac_cv_objext" >&6; }
    32872550OBJEXT=$ac_cv_objext
    32882551ac_objext=$OBJEXT
    3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2552{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32902553$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3291 if ${ac_cv_c_compiler_gnu+:} false; then :
     2554if test "${ac_cv_c_compiler_gnu+set}" = set; then
    32922555  $as_echo_n "(cached) " >&6
    32932556else
    3294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2557  cat >conftest.$ac_ext <<_ACEOF
     2558/* confdefs.h.  */
     2559_ACEOF
     2560cat confdefs.h >>conftest.$ac_ext
     2561cat >>conftest.$ac_ext <<_ACEOF
    32952562/* end confdefs.h.  */
    32962563
     
    33062573}
    33072574_ACEOF
    3308 if ac_fn_c_try_compile "$LINENO"; then :
     2575rm -f conftest.$ac_objext
     2576if { (ac_try="$ac_compile"
     2577case "(($ac_try" in
     2578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2579  *) ac_try_echo=$ac_try;;
     2580esac
     2581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2582$as_echo "$ac_try_echo") >&5
     2583  (eval "$ac_compile") 2>conftest.er1
     2584  ac_status=$?
     2585  grep -v '^ *+' conftest.er1 >conftest.err
     2586  rm -f conftest.er1
     2587  cat conftest.err >&5
     2588  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2589  (exit $ac_status); } && {
     2590         test -z "$ac_c_werror_flag" ||
     2591         test ! -s conftest.err
     2592       } && test -s conftest.$ac_objext; then
    33092593  ac_compiler_gnu=yes
    33102594else
    3311   ac_compiler_gnu=no
    3312 fi
     2595  $as_echo "$as_me: failed program was:" >&5
     2596sed 's/^/| /' conftest.$ac_ext >&5
     2597
     2598        ac_compiler_gnu=no
     2599fi
     2600
    33132601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33142602ac_cv_c_compiler_gnu=$ac_compiler_gnu
    33152603
    33162604fi
    3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2605{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    33182606$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    33192607if test $ac_compiler_gnu = yes; then
     
    33242612ac_test_CFLAGS=${CFLAGS+set}
    33252613ac_save_CFLAGS=$CFLAGS
    3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2614{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    33272615$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3328 if ${ac_cv_prog_cc_g+:} false; then :
     2616if test "${ac_cv_prog_cc_g+set}" = set; then
    33292617  $as_echo_n "(cached) " >&6
    33302618else
     
    33332621   ac_cv_prog_cc_g=no
    33342622   CFLAGS="-g"
    3335    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2623   cat >conftest.$ac_ext <<_ACEOF
     2624/* confdefs.h.  */
     2625_ACEOF
     2626cat confdefs.h >>conftest.$ac_ext
     2627cat >>conftest.$ac_ext <<_ACEOF
    33362628/* end confdefs.h.  */
    33372629
     
    33442636}
    33452637_ACEOF
    3346 if ac_fn_c_try_compile "$LINENO"; then :
     2638rm -f conftest.$ac_objext
     2639if { (ac_try="$ac_compile"
     2640case "(($ac_try" in
     2641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2642  *) ac_try_echo=$ac_try;;
     2643esac
     2644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2645$as_echo "$ac_try_echo") >&5
     2646  (eval "$ac_compile") 2>conftest.er1
     2647  ac_status=$?
     2648  grep -v '^ *+' conftest.er1 >conftest.err
     2649  rm -f conftest.er1
     2650  cat conftest.err >&5
     2651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2652  (exit $ac_status); } && {
     2653         test -z "$ac_c_werror_flag" ||
     2654         test ! -s conftest.err
     2655       } && test -s conftest.$ac_objext; then
    33472656  ac_cv_prog_cc_g=yes
    33482657else
    3349   CFLAGS=""
    3350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2658  $as_echo "$as_me: failed program was:" >&5
     2659sed 's/^/| /' conftest.$ac_ext >&5
     2660
     2661        CFLAGS=""
     2662      cat >conftest.$ac_ext <<_ACEOF
     2663/* confdefs.h.  */
     2664_ACEOF
     2665cat confdefs.h >>conftest.$ac_ext
     2666cat >>conftest.$ac_ext <<_ACEOF
    33512667/* end confdefs.h.  */
    33522668
     
    33592675}
    33602676_ACEOF
    3361 if ac_fn_c_try_compile "$LINENO"; then :
    3362 
    3363 else
    3364   ac_c_werror_flag=$ac_save_c_werror_flag
     2677rm -f conftest.$ac_objext
     2678if { (ac_try="$ac_compile"
     2679case "(($ac_try" in
     2680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2681  *) ac_try_echo=$ac_try;;
     2682esac
     2683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2684$as_echo "$ac_try_echo") >&5
     2685  (eval "$ac_compile") 2>conftest.er1
     2686  ac_status=$?
     2687  grep -v '^ *+' conftest.er1 >conftest.err
     2688  rm -f conftest.er1
     2689  cat conftest.err >&5
     2690  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2691  (exit $ac_status); } && {
     2692         test -z "$ac_c_werror_flag" ||
     2693         test ! -s conftest.err
     2694       } && test -s conftest.$ac_objext; then
     2695  :
     2696else
     2697  $as_echo "$as_me: failed program was:" >&5
     2698sed 's/^/| /' conftest.$ac_ext >&5
     2699
     2700        ac_c_werror_flag=$ac_save_c_werror_flag
    33652701         CFLAGS="-g"
    3366          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2702         cat >conftest.$ac_ext <<_ACEOF
     2703/* confdefs.h.  */
     2704_ACEOF
     2705cat confdefs.h >>conftest.$ac_ext
     2706cat >>conftest.$ac_ext <<_ACEOF
    33672707/* end confdefs.h.  */
    33682708
     
    33752715}
    33762716_ACEOF
    3377 if ac_fn_c_try_compile "$LINENO"; then :
     2717rm -f conftest.$ac_objext
     2718if { (ac_try="$ac_compile"
     2719case "(($ac_try" in
     2720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2721  *) ac_try_echo=$ac_try;;
     2722esac
     2723eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2724$as_echo "$ac_try_echo") >&5
     2725  (eval "$ac_compile") 2>conftest.er1
     2726  ac_status=$?
     2727  grep -v '^ *+' conftest.er1 >conftest.err
     2728  rm -f conftest.er1
     2729  cat conftest.err >&5
     2730  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2731  (exit $ac_status); } && {
     2732         test -z "$ac_c_werror_flag" ||
     2733         test ! -s conftest.err
     2734       } && test -s conftest.$ac_objext; then
    33782735  ac_cv_prog_cc_g=yes
    3379 fi
     2736else
     2737  $as_echo "$as_me: failed program was:" >&5
     2738sed 's/^/| /' conftest.$ac_ext >&5
     2739
     2740
     2741fi
     2742
    33802743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33812744fi
     2745
    33822746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33832747fi
     2748
    33842749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33852750   ac_c_werror_flag=$ac_save_c_werror_flag
    33862751fi
    3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2752{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    33882753$as_echo "$ac_cv_prog_cc_g" >&6; }
    33892754if test "$ac_test_CFLAGS" = set; then
     
    34022767  fi
    34032768fi
    3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2769{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    34052770$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3406 if ${ac_cv_prog_cc_c89+:} false; then :
     2771if test "${ac_cv_prog_cc_c89+set}" = set; then
    34072772  $as_echo_n "(cached) " >&6
    34082773else
    34092774  ac_cv_prog_cc_c89=no
    34102775ac_save_CC=$CC
    3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2776cat >conftest.$ac_ext <<_ACEOF
     2777/* confdefs.h.  */
     2778_ACEOF
     2779cat confdefs.h >>conftest.$ac_ext
     2780cat >>conftest.$ac_ext <<_ACEOF
    34122781/* end confdefs.h.  */
    34132782#include <stdarg.h>
     
    34662835do
    34672836  CC="$ac_save_CC $ac_arg"
    3468   if ac_fn_c_try_compile "$LINENO"; then :
     2837  rm -f conftest.$ac_objext
     2838if { (ac_try="$ac_compile"
     2839case "(($ac_try" in
     2840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2841  *) ac_try_echo=$ac_try;;
     2842esac
     2843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2844$as_echo "$ac_try_echo") >&5
     2845  (eval "$ac_compile") 2>conftest.er1
     2846  ac_status=$?
     2847  grep -v '^ *+' conftest.er1 >conftest.err
     2848  rm -f conftest.er1
     2849  cat conftest.err >&5
     2850  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2851  (exit $ac_status); } && {
     2852         test -z "$ac_c_werror_flag" ||
     2853         test ! -s conftest.err
     2854       } && test -s conftest.$ac_objext; then
    34692855  ac_cv_prog_cc_c89=$ac_arg
    3470 fi
     2856else
     2857  $as_echo "$as_me: failed program was:" >&5
     2858sed 's/^/| /' conftest.$ac_ext >&5
     2859
     2860
     2861fi
     2862
    34712863rm -f core conftest.err conftest.$ac_objext
    34722864  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    34792871case "x$ac_cv_prog_cc_c89" in
    34802872  x)
    3481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     2873    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    34822874$as_echo "none needed" >&6; } ;;
    34832875  xno)
    3484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     2876    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    34852877$as_echo "unsupported" >&6; } ;;
    34862878  *)
    34872879    CC="$CC $ac_cv_prog_cc_c89"
    3488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     2880    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    34892881$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    34902882esac
    3491 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3492 
    3493 fi
     2883
    34942884
    34952885ac_ext=c
     
    35052895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35062896ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     2897{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    35082898$as_echo_n "checking how to run the C preprocessor... " >&6; }
    35092899# On Suns, sometimes $CPP names a directory.
     
    35122902fi
    35132903if test -z "$CPP"; then
    3514   if ${ac_cv_prog_CPP+:} false; then :
     2904  if test "${ac_cv_prog_CPP+set}" = set; then
    35152905  $as_echo_n "(cached) " >&6
    35162906else
     
    35272917  # On the NeXT, cc -E runs the code through the compiler's parser,
    35282918  # not just through cpp. "Syntax error" is here to catch this case.
    3529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2919  cat >conftest.$ac_ext <<_ACEOF
     2920/* confdefs.h.  */
     2921_ACEOF
     2922cat confdefs.h >>conftest.$ac_ext
     2923cat >>conftest.$ac_ext <<_ACEOF
    35302924/* end confdefs.h.  */
    35312925#ifdef __STDC__
     
    35362930                     Syntax error
    35372931_ACEOF
    3538 if ac_fn_c_try_cpp "$LINENO"; then :
    3539 
    3540 else
     2932if { (ac_try="$ac_cpp conftest.$ac_ext"
     2933case "(($ac_try" in
     2934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2935  *) ac_try_echo=$ac_try;;
     2936esac
     2937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2938$as_echo "$ac_try_echo") >&5
     2939  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2940  ac_status=$?
     2941  grep -v '^ *+' conftest.er1 >conftest.err
     2942  rm -f conftest.er1
     2943  cat conftest.err >&5
     2944  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2945  (exit $ac_status); } >/dev/null && {
     2946         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2947         test ! -s conftest.err
     2948       }; then
     2949  :
     2950else
     2951  $as_echo "$as_me: failed program was:" >&5
     2952sed 's/^/| /' conftest.$ac_ext >&5
     2953
    35412954  # Broken: fails on valid input.
    35422955continue
    35432956fi
    3544 rm -f conftest.err conftest.i conftest.$ac_ext
     2957
     2958rm -f conftest.err conftest.$ac_ext
    35452959
    35462960  # OK, works on sane cases.  Now check whether nonexistent headers
    35472961  # can be detected and how.
    3548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2962  cat >conftest.$ac_ext <<_ACEOF
     2963/* confdefs.h.  */
     2964_ACEOF
     2965cat confdefs.h >>conftest.$ac_ext
     2966cat >>conftest.$ac_ext <<_ACEOF
    35492967/* end confdefs.h.  */
    35502968#include <ac_nonexistent.h>
    35512969_ACEOF
    3552 if ac_fn_c_try_cpp "$LINENO"; then :
     2970if { (ac_try="$ac_cpp conftest.$ac_ext"
     2971case "(($ac_try" in
     2972  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2973  *) ac_try_echo=$ac_try;;
     2974esac
     2975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2976$as_echo "$ac_try_echo") >&5
     2977  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2978  ac_status=$?
     2979  grep -v '^ *+' conftest.er1 >conftest.err
     2980  rm -f conftest.er1
     2981  cat conftest.err >&5
     2982  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2983  (exit $ac_status); } >/dev/null && {
     2984         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2985         test ! -s conftest.err
     2986       }; then
    35532987  # Broken: success on invalid input.
    35542988continue
    35552989else
     2990  $as_echo "$as_me: failed program was:" >&5
     2991sed 's/^/| /' conftest.$ac_ext >&5
     2992
    35562993  # Passes both tests.
    35572994ac_preproc_ok=:
    35582995break
    35592996fi
    3560 rm -f conftest.err conftest.i conftest.$ac_ext
     2997
     2998rm -f conftest.err conftest.$ac_ext
    35612999
    35623000done
    35633001# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3564 rm -f conftest.i conftest.err conftest.$ac_ext
    3565 if $ac_preproc_ok; then :
     3002rm -f conftest.err conftest.$ac_ext
     3003if $ac_preproc_ok; then
    35663004  break
    35673005fi
     
    35753013  ac_cv_prog_CPP=$CPP
    35763014fi
    3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3015{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    35783016$as_echo "$CPP" >&6; }
    35793017ac_preproc_ok=false
     
    35863024  # On the NeXT, cc -E runs the code through the compiler's parser,
    35873025  # not just through cpp. "Syntax error" is here to catch this case.
    3588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3026  cat >conftest.$ac_ext <<_ACEOF
     3027/* confdefs.h.  */
     3028_ACEOF
     3029cat confdefs.h >>conftest.$ac_ext
     3030cat >>conftest.$ac_ext <<_ACEOF
    35893031/* end confdefs.h.  */
    35903032#ifdef __STDC__
     
    35953037                     Syntax error
    35963038_ACEOF
    3597 if ac_fn_c_try_cpp "$LINENO"; then :
    3598 
    3599 else
     3039if { (ac_try="$ac_cpp conftest.$ac_ext"
     3040case "(($ac_try" in
     3041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3042  *) ac_try_echo=$ac_try;;
     3043esac
     3044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3045$as_echo "$ac_try_echo") >&5
     3046  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3047  ac_status=$?
     3048  grep -v '^ *+' conftest.er1 >conftest.err
     3049  rm -f conftest.er1
     3050  cat conftest.err >&5
     3051  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3052  (exit $ac_status); } >/dev/null && {
     3053         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3054         test ! -s conftest.err
     3055       }; then
     3056  :
     3057else
     3058  $as_echo "$as_me: failed program was:" >&5
     3059sed 's/^/| /' conftest.$ac_ext >&5
     3060
    36003061  # Broken: fails on valid input.
    36013062continue
    36023063fi
    3603 rm -f conftest.err conftest.i conftest.$ac_ext
     3064
     3065rm -f conftest.err conftest.$ac_ext
    36043066
    36053067  # OK, works on sane cases.  Now check whether nonexistent headers
    36063068  # can be detected and how.
    3607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3069  cat >conftest.$ac_ext <<_ACEOF
     3070/* confdefs.h.  */
     3071_ACEOF
     3072cat confdefs.h >>conftest.$ac_ext
     3073cat >>conftest.$ac_ext <<_ACEOF
    36083074/* end confdefs.h.  */
    36093075#include <ac_nonexistent.h>
    36103076_ACEOF
    3611 if ac_fn_c_try_cpp "$LINENO"; then :
     3077if { (ac_try="$ac_cpp conftest.$ac_ext"
     3078case "(($ac_try" in
     3079  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3080  *) ac_try_echo=$ac_try;;
     3081esac
     3082eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3083$as_echo "$ac_try_echo") >&5
     3084  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3085  ac_status=$?
     3086  grep -v '^ *+' conftest.er1 >conftest.err
     3087  rm -f conftest.er1
     3088  cat conftest.err >&5
     3089  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3090  (exit $ac_status); } >/dev/null && {
     3091         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3092         test ! -s conftest.err
     3093       }; then
    36123094  # Broken: success on invalid input.
    36133095continue
    36143096else
     3097  $as_echo "$as_me: failed program was:" >&5
     3098sed 's/^/| /' conftest.$ac_ext >&5
     3099
    36153100  # Passes both tests.
    36163101ac_preproc_ok=:
    36173102break
    36183103fi
    3619 rm -f conftest.err conftest.i conftest.$ac_ext
     3104
     3105rm -f conftest.err conftest.$ac_ext
    36203106
    36213107done
    36223108# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3623 rm -f conftest.i conftest.err conftest.$ac_ext
    3624 if $ac_preproc_ok; then :
    3625 
    3626 else
    3627   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3109rm -f conftest.err conftest.$ac_ext
     3110if $ac_preproc_ok; then
     3111  :
     3112else
     3113  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    36283114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    3630 See \`config.log' for more details" "$LINENO" 5; }
     3115{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3116See \`config.log' for more details." >&5
     3117$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3118See \`config.log' for more details." >&2;}
     3119   { (exit 1); exit 1; }; }; }
    36313120fi
    36323121
     
    36383127
    36393128
    3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3129{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    36413130$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3642 if ${ac_cv_path_GREP+:} false; then :
     3131if test "${ac_cv_path_GREP+set}" = set; then
    36433132  $as_echo_n "(cached) " >&6
    36443133else
     
    36513140  IFS=$as_save_IFS
    36523141  test -z "$as_dir" && as_dir=.
    3653     for ac_prog in grep ggrep; do
     3142  for ac_prog in grep ggrep; do
    36543143    for ac_exec_ext in '' $ac_executable_extensions; do
    36553144      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    36713160    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    36723161    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3673     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3162    ac_count=`expr $ac_count + 1`
    36743163    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    36753164      # Best one so far, save it but keep looking for a better one
     
    36863175    done
    36873176  done
    3688   done
     3177done
    36893178IFS=$as_save_IFS
    36903179  if test -z "$ac_cv_path_GREP"; then
    3691     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3180    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3181$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3182   { (exit 1); exit 1; }; }
    36923183  fi
    36933184else
     
    36963187
    36973188fi
    3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3189{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    36993190$as_echo "$ac_cv_path_GREP" >&6; }
    37003191 GREP="$ac_cv_path_GREP"
    37013192
    37023193
    3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3194{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
    37043195$as_echo_n "checking for egrep... " >&6; }
    3705 if ${ac_cv_path_EGREP+:} false; then :
     3196if test "${ac_cv_path_EGREP+set}" = set; then
    37063197  $as_echo_n "(cached) " >&6
    37073198else
     
    37173208  IFS=$as_save_IFS
    37183209  test -z "$as_dir" && as_dir=.
    3719     for ac_prog in egrep; do
     3210  for ac_prog in egrep; do
    37203211    for ac_exec_ext in '' $ac_executable_extensions; do
    37213212      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    37373228    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    37383229    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3739     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3230    ac_count=`expr $ac_count + 1`
    37403231    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    37413232      # Best one so far, save it but keep looking for a better one
     
    37523243    done
    37533244  done
    3754   done
     3245done
    37553246IFS=$as_save_IFS
    37563247  if test -z "$ac_cv_path_EGREP"; then
    3757     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3248    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3249$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3250   { (exit 1); exit 1; }; }
    37583251  fi
    37593252else
     
    37633256   fi
    37643257fi
    3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3258{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    37663259$as_echo "$ac_cv_path_EGREP" >&6; }
    37673260 EGREP="$ac_cv_path_EGREP"
    37683261
    37693262
    3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3263{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    37713264$as_echo_n "checking for ANSI C header files... " >&6; }
    3772 if ${ac_cv_header_stdc+:} false; then :
     3265if test "${ac_cv_header_stdc+set}" = set; then
    37733266  $as_echo_n "(cached) " >&6
    37743267else
    3775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3268  cat >conftest.$ac_ext <<_ACEOF
     3269/* confdefs.h.  */
     3270_ACEOF
     3271cat confdefs.h >>conftest.$ac_ext
     3272cat >>conftest.$ac_ext <<_ACEOF
    37763273/* end confdefs.h.  */
    37773274#include <stdlib.h>
     
    37883285}
    37893286_ACEOF
    3790 if ac_fn_c_try_compile "$LINENO"; then :
     3287rm -f conftest.$ac_objext
     3288if { (ac_try="$ac_compile"
     3289case "(($ac_try" in
     3290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3291  *) ac_try_echo=$ac_try;;
     3292esac
     3293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3294$as_echo "$ac_try_echo") >&5
     3295  (eval "$ac_compile") 2>conftest.er1
     3296  ac_status=$?
     3297  grep -v '^ *+' conftest.er1 >conftest.err
     3298  rm -f conftest.er1
     3299  cat conftest.err >&5
     3300  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3301  (exit $ac_status); } && {
     3302         test -z "$ac_c_werror_flag" ||
     3303         test ! -s conftest.err
     3304       } && test -s conftest.$ac_objext; then
    37913305  ac_cv_header_stdc=yes
    37923306else
    3793   ac_cv_header_stdc=no
    3794 fi
     3307  $as_echo "$as_me: failed program was:" >&5
     3308sed 's/^/| /' conftest.$ac_ext >&5
     3309
     3310        ac_cv_header_stdc=no
     3311fi
     3312
    37953313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37963314
    37973315if test $ac_cv_header_stdc = yes; then
    37983316  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3317  cat >conftest.$ac_ext <<_ACEOF
     3318/* confdefs.h.  */
     3319_ACEOF
     3320cat confdefs.h >>conftest.$ac_ext
     3321cat >>conftest.$ac_ext <<_ACEOF
    38003322/* end confdefs.h.  */
    38013323#include <string.h>
     
    38033325_ACEOF
    38043326if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3805   $EGREP "memchr" >/dev/null 2>&1; then :
    3806 
     3327  $EGREP "memchr" >/dev/null 2>&1; then
     3328  :
    38073329else
    38083330  ac_cv_header_stdc=no
     
    38143336if test $ac_cv_header_stdc = yes; then
    38153337  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3338  cat >conftest.$ac_ext <<_ACEOF
     3339/* confdefs.h.  */
     3340_ACEOF
     3341cat confdefs.h >>conftest.$ac_ext
     3342cat >>conftest.$ac_ext <<_ACEOF
    38173343/* end confdefs.h.  */
    38183344#include <stdlib.h>
     
    38203346_ACEOF
    38213347if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3822   $EGREP "free" >/dev/null 2>&1; then :
    3823 
     3348  $EGREP "free" >/dev/null 2>&1; then
     3349  :
    38243350else
    38253351  ac_cv_header_stdc=no
     
    38313357if test $ac_cv_header_stdc = yes; then
    38323358  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3833   if test "$cross_compiling" = yes; then :
     3359  if test "$cross_compiling" = yes; then
    38343360  :
    38353361else
    3836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3362  cat >conftest.$ac_ext <<_ACEOF
     3363/* confdefs.h.  */
     3364_ACEOF
     3365cat confdefs.h >>conftest.$ac_ext
     3366cat >>conftest.$ac_ext <<_ACEOF
    38373367/* end confdefs.h.  */
    38383368#include <ctype.h>
     
    38613391}
    38623392_ACEOF
    3863 if ac_fn_c_try_run "$LINENO"; then :
    3864 
    3865 else
    3866   ac_cv_header_stdc=no
    3867 fi
    3868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    3869   conftest.$ac_objext conftest.beam conftest.$ac_ext
    3870 fi
    3871 
    3872 fi
    3873 fi
    3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3393rm -f conftest$ac_exeext
     3394if { (ac_try="$ac_link"
     3395case "(($ac_try" in
     3396  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3397  *) ac_try_echo=$ac_try;;
     3398esac
     3399eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3400$as_echo "$ac_try_echo") >&5
     3401  (eval "$ac_link") 2>&5
     3402  ac_status=$?
     3403  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3404  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3405  { (case "(($ac_try" in
     3406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3407  *) ac_try_echo=$ac_try;;
     3408esac
     3409eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3410$as_echo "$ac_try_echo") >&5
     3411  (eval "$ac_try") 2>&5
     3412  ac_status=$?
     3413  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3414  (exit $ac_status); }; }; then
     3415  :
     3416else
     3417  $as_echo "$as_me: program exited with status $ac_status" >&5
     3418$as_echo "$as_me: failed program was:" >&5
     3419sed 's/^/| /' conftest.$ac_ext >&5
     3420
     3421( exit $ac_status )
     3422ac_cv_header_stdc=no
     3423fi
     3424rm -rf conftest.dSYM
     3425rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3426fi
     3427
     3428
     3429fi
     3430fi
     3431{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    38753432$as_echo "$ac_cv_header_stdc" >&6; }
    38763433if test $ac_cv_header_stdc = yes; then
    38773434
    3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3435cat >>confdefs.h <<\_ACEOF
     3436#define STDC_HEADERS 1
     3437_ACEOF
    38793438
    38803439fi
    38813440
    38823441# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3442
     3443
     3444
     3445
     3446
     3447
     3448
     3449
     3450
    38833451for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    38843452                  inttypes.h stdint.h unistd.h
    3885 do :
    3886   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    3888 "
    3889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3453do
     3454as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3455{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3456$as_echo_n "checking for $ac_header... " >&6; }
     3457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3458  $as_echo_n "(cached) " >&6
     3459else
     3460  cat >conftest.$ac_ext <<_ACEOF
     3461/* confdefs.h.  */
     3462_ACEOF
     3463cat confdefs.h >>conftest.$ac_ext
     3464cat >>conftest.$ac_ext <<_ACEOF
     3465/* end confdefs.h.  */
     3466$ac_includes_default
     3467
     3468#include <$ac_header>
     3469_ACEOF
     3470rm -f conftest.$ac_objext
     3471if { (ac_try="$ac_compile"
     3472case "(($ac_try" in
     3473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3474  *) ac_try_echo=$ac_try;;
     3475esac
     3476eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3477$as_echo "$ac_try_echo") >&5
     3478  (eval "$ac_compile") 2>conftest.er1
     3479  ac_status=$?
     3480  grep -v '^ *+' conftest.er1 >conftest.err
     3481  rm -f conftest.er1
     3482  cat conftest.err >&5
     3483  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3484  (exit $ac_status); } && {
     3485         test -z "$ac_c_werror_flag" ||
     3486         test ! -s conftest.err
     3487       } && test -s conftest.$ac_objext; then
     3488  eval "$as_ac_Header=yes"
     3489else
     3490  $as_echo "$as_me: failed program was:" >&5
     3491sed 's/^/| /' conftest.$ac_ext >&5
     3492
     3493        eval "$as_ac_Header=no"
     3494fi
     3495
     3496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3497fi
     3498ac_res=`eval 'as_val=${'$as_ac_Header'}
     3499                 $as_echo "$as_val"'`
     3500               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3501$as_echo "$ac_res" >&6; }
     3502as_val=`eval 'as_val=${'$as_ac_Header'}
     3503                 $as_echo "$as_val"'`
     3504   if test "x$as_val" = x""yes; then
    38903505  cat >>confdefs.h <<_ACEOF
    38913506#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    39123527
    39133528# Check whether --with-python was given.
    3914 if test "${with_python+set}" = set; then :
     3529if test "${with_python+set}" = set; then
    39153530  withval=$with_python;
    39163531else
     
    39233538    # 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.
    39243539set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3540{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39263541$as_echo_n "checking for $ac_word... " >&6; }
    3927 if ${ac_cv_path_PYTHON+:} false; then :
     3542if test "${ac_cv_path_PYTHON+set}" = set; then
    39283543  $as_echo_n "(cached) " >&6
    39293544else
     
    39383553  IFS=$as_save_IFS
    39393554  test -z "$as_dir" && as_dir=.
    3940     for ac_exec_ext in '' $ac_executable_extensions; do
     3555  for ac_exec_ext in '' $ac_executable_extensions; do
    39413556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39423557    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3558    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39443559    break 2
    39453560  fi
    39463561done
    3947   done
     3562done
    39483563IFS=$as_save_IFS
    39493564
     
    39533568PYTHON=$ac_cv_path_PYTHON
    39543569if test -n "$PYTHON"; then
    3955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3570  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    39563571$as_echo "$PYTHON" >&6; }
    39573572else
    3958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3573  { $as_echo "$as_me:$LINENO: result: no" >&5
    39593574$as_echo "no" >&6; }
    39603575fi
     
    39643579    # Extract the first word of "python", so it can be a program name with args.
    39653580set dummy python; ac_word=$2
    3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3581{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39673582$as_echo_n "checking for $ac_word... " >&6; }
    3968 if ${ac_cv_path_PYTHON+:} false; then :
     3583if test "${ac_cv_path_PYTHON+set}" = set; then
    39693584  $as_echo_n "(cached) " >&6
    39703585else
     
    39803595  IFS=$as_save_IFS
    39813596  test -z "$as_dir" && as_dir=.
    3982     for ac_exec_ext in '' $ac_executable_extensions; do
     3597  for ac_exec_ext in '' $ac_executable_extensions; do
    39833598  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39843599    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3600    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39863601    break 2
    39873602  fi
    39883603done
    3989   done
     3604done
    39903605IFS=$as_save_IFS
    39913606
     
    39953610PYTHON=$ac_cv_path_PYTHON
    39963611if test -n "$PYTHON"; then
    3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3612  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    39983613$as_echo "$PYTHON" >&6; }
    39993614else
    4000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3615  { $as_echo "$as_me:$LINENO: result: no" >&5
    40013616$as_echo "no" >&6; }
    40023617fi
     
    40043619
    40053620  fi
    4006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
     3621  { $as_echo "$as_me:$LINENO: checking for Python version" >&5
    40073622$as_echo_n "checking for Python version... " >&6; }
    40083623  if test "x${PYTHON}" != "x"; then
    40093624    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    40103625  fi
    4011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
     3626  { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
    40123627$as_echo "$PYTHON_VERSION" >&6; }
    40133628fi
     
    40153630if test "x${PYTHON_VERSION}" != "x"; then
    40163631  PYTHON_INCLUDES=$incdir
    4017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
     3632  { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
    40183633$as_echo_n "checking for Python distutils... " >&6; }
    40193634  PYTHON_DISTUTILS=""
     
    40233638    PYTHON_DISTUTILS="yes"
    40243639  fi
    4025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
     3640  { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
    40263641$as_echo "$PYTHON_DISTUTILS" >&6; }
    40273642  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    40303645    # Check for Python include path
    40313646    #
    4032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
     3647    { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
    40333648$as_echo_n "checking path to Python headers... " >&6; }
    40343649    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    40353650     print distutils.sysconfig.get_python_inc();"`
    4036     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
     3651    { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
    40373652$as_echo "$PYTHON_INCDIR" >&6; }
    40383653    #
     
    40473662    save_CPPFLAGS=$CPPFLAGS
    40483663    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    4049     for ac_header in Python.h
    4050 do :
    4051   ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
    4052 if test "x$ac_cv_header_Python_h" = xyes; then :
     3664
     3665for ac_header in Python.h
     3666do
     3667as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3668if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3669  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3670$as_echo_n "checking for $ac_header... " >&6; }
     3671if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3672  $as_echo_n "(cached) " >&6
     3673fi
     3674ac_res=`eval 'as_val=${'$as_ac_Header'}
     3675                 $as_echo "$as_val"'`
     3676               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3677$as_echo "$ac_res" >&6; }
     3678else
     3679  # Is the header compilable?
     3680{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3681$as_echo_n "checking $ac_header usability... " >&6; }
     3682cat >conftest.$ac_ext <<_ACEOF
     3683/* confdefs.h.  */
     3684_ACEOF
     3685cat confdefs.h >>conftest.$ac_ext
     3686cat >>conftest.$ac_ext <<_ACEOF
     3687/* end confdefs.h.  */
     3688$ac_includes_default
     3689#include <$ac_header>
     3690_ACEOF
     3691rm -f conftest.$ac_objext
     3692if { (ac_try="$ac_compile"
     3693case "(($ac_try" in
     3694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3695  *) ac_try_echo=$ac_try;;
     3696esac
     3697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3698$as_echo "$ac_try_echo") >&5
     3699  (eval "$ac_compile") 2>conftest.er1
     3700  ac_status=$?
     3701  grep -v '^ *+' conftest.er1 >conftest.err
     3702  rm -f conftest.er1
     3703  cat conftest.err >&5
     3704  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3705  (exit $ac_status); } && {
     3706         test -z "$ac_c_werror_flag" ||
     3707         test ! -s conftest.err
     3708       } && test -s conftest.$ac_objext; then
     3709  ac_header_compiler=yes
     3710else
     3711  $as_echo "$as_me: failed program was:" >&5
     3712sed 's/^/| /' conftest.$ac_ext >&5
     3713
     3714        ac_header_compiler=no
     3715fi
     3716
     3717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3718{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3719$as_echo "$ac_header_compiler" >&6; }
     3720
     3721# Is the header present?
     3722{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3723$as_echo_n "checking $ac_header presence... " >&6; }
     3724cat >conftest.$ac_ext <<_ACEOF
     3725/* confdefs.h.  */
     3726_ACEOF
     3727cat confdefs.h >>conftest.$ac_ext
     3728cat >>conftest.$ac_ext <<_ACEOF
     3729/* end confdefs.h.  */
     3730#include <$ac_header>
     3731_ACEOF
     3732if { (ac_try="$ac_cpp conftest.$ac_ext"
     3733case "(($ac_try" in
     3734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3735  *) ac_try_echo=$ac_try;;
     3736esac
     3737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3738$as_echo "$ac_try_echo") >&5
     3739  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3740  ac_status=$?
     3741  grep -v '^ *+' conftest.er1 >conftest.err
     3742  rm -f conftest.er1
     3743  cat conftest.err >&5
     3744  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3745  (exit $ac_status); } >/dev/null && {
     3746         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3747         test ! -s conftest.err
     3748       }; then
     3749  ac_header_preproc=yes
     3750else
     3751  $as_echo "$as_me: failed program was:" >&5
     3752sed 's/^/| /' conftest.$ac_ext >&5
     3753
     3754  ac_header_preproc=no
     3755fi
     3756
     3757rm -f conftest.err conftest.$ac_ext
     3758{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3759$as_echo "$ac_header_preproc" >&6; }
     3760
     3761# So?  What about this header?
     3762case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     3763  yes:no: )
     3764    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     3765$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     3766    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     3767$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     3768    ac_header_preproc=yes
     3769    ;;
     3770  no:yes:* )
     3771    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     3772$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     3773    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     3774$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     3775    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     3776$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     3777    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     3778$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     3779    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3780$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     3781    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     3782$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     3783    ( cat <<\_ASBOX
     3784## ----------------------------------- ##
     3785## Report this to rappture@nanohub.org ##
     3786## ----------------------------------- ##
     3787_ASBOX
     3788     ) | sed "s/^/$as_me: WARNING:     /" >&2
     3789    ;;
     3790esac
     3791{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3792$as_echo_n "checking for $ac_header... " >&6; }
     3793if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3794  $as_echo_n "(cached) " >&6
     3795else
     3796  eval "$as_ac_Header=\$ac_header_preproc"
     3797fi
     3798ac_res=`eval 'as_val=${'$as_ac_Header'}
     3799                 $as_echo "$as_val"'`
     3800               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3801$as_echo "$ac_res" >&6; }
     3802
     3803fi
     3804as_val=`eval 'as_val=${'$as_ac_Header'}
     3805                 $as_echo "$as_val"'`
     3806   if test "x$as_val" = x""yes; then
    40533807  cat >>confdefs.h <<_ACEOF
    4054 #define HAVE_PYTHON_H 1
     3808#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    40553809_ACEOF
    40563810 found=yes
     
    40963850  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    40973851set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3852{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    40993853$as_echo_n "checking for $ac_word... " >&6; }
    4100 if ${ac_cv_prog_RANLIB+:} false; then :
     3854if test "${ac_cv_prog_RANLIB+set}" = set; then
    41013855  $as_echo_n "(cached) " >&6
    41023856else
     
    41093863  IFS=$as_save_IFS
    41103864  test -z "$as_dir" && as_dir=.
    4111     for ac_exec_ext in '' $ac_executable_extensions; do
     3865  for ac_exec_ext in '' $ac_executable_extensions; do
    41123866  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41133867    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3868    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41153869    break 2
    41163870  fi
    41173871done
    4118   done
     3872done
    41193873IFS=$as_save_IFS
    41203874
     
    41233877RANLIB=$ac_cv_prog_RANLIB
    41243878if test -n "$RANLIB"; then
    4125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     3879  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    41263880$as_echo "$RANLIB" >&6; }
    41273881else
    4128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3882  { $as_echo "$as_me:$LINENO: result: no" >&5
    41293883$as_echo "no" >&6; }
    41303884fi
     
    41363890  # Extract the first word of "ranlib", so it can be a program name with args.
    41373891set dummy ranlib; ac_word=$2
    4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3892{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    41393893$as_echo_n "checking for $ac_word... " >&6; }
    4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     3894if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    41413895  $as_echo_n "(cached) " >&6
    41423896else
     
    41493903  IFS=$as_save_IFS
    41503904  test -z "$as_dir" && as_dir=.
    4151     for ac_exec_ext in '' $ac_executable_extensions; do
     3905  for ac_exec_ext in '' $ac_executable_extensions; do
    41523906  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41533907    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3908    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41553909    break 2
    41563910  fi
    41573911done
    4158   done
     3912done
    41593913IFS=$as_save_IFS
    41603914
     
    41633917ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    41643918if test -n "$ac_ct_RANLIB"; then
    4165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     3919  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    41663920$as_echo "$ac_ct_RANLIB" >&6; }
    41673921else
    4168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3922  { $as_echo "$as_me:$LINENO: result: no" >&5
    41693923$as_echo "no" >&6; }
    41703924fi
     
    41753929    case $cross_compiling:$ac_tool_warned in
    41763930yes:)
    4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3931{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    41783932$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    41793933ac_tool_warned=yes ;;
     
    41893943    # Step 0.a: Enable 64 bit support?
    41903944
    4191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     3945    { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    41923946$as_echo_n "checking if 64bit support is requested... " >&6; }
    41933947    # Check whether --enable-64bit was given.
    4194 if test "${enable_64bit+set}" = set; then :
     3948if test "${enable_64bit+set}" = set; then
    41953949  enableval=$enable_64bit; do64bit=$enableval
    41963950else
     
    41983952fi
    41993953
    4200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     3954    { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    42013955$as_echo "$do64bit" >&6; }
    42023956
    42033957    # Step 0.b: Enable Solaris 64 bit VIS support?
    42043958
    4205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     3959    { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    42063960$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    42073961    # Check whether --enable-64bit-vis was given.
    4208 if test "${enable_64bit_vis+set}" = set; then :
     3962if test "${enable_64bit_vis+set}" = set; then
    42093963  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    42103964else
     
    42123966fi
    42133967
    4214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     3968    { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    42153969$as_echo "$do64bitVIS" >&6; }
    42163970
     
    42243978
    42253979
    4226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     3980    { $as_echo "$as_me:$LINENO: checking system version" >&5
    42273981$as_echo_n "checking system version... " >&6; }
    4228 if ${tcl_cv_sys_version+:} false; then :
     3982if test "${tcl_cv_sys_version+set}" = set; then
    42293983  $as_echo_n "(cached) " >&6
    42303984else
     
    42353989            tcl_cv_sys_version=`uname -s`-`uname -r`
    42363990            if test "$?" -ne 0 ; then
    4237                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     3991                { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    42383992$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    42393993                tcl_cv_sys_version=unknown
     
    42524006
    42534007fi
    4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     4008{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    42554009$as_echo "$tcl_cv_sys_version" >&6; }
    42564010    system=$tcl_cv_sys_version
     
    42604014    # Linux can use either -ldl or -ldld for dynamic loading.
    42614015
    4262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     4016    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    42634017$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4264 if ${ac_cv_lib_dl_dlopen+:} false; then :
     4018if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    42654019  $as_echo_n "(cached) " >&6
    42664020else
    42674021  ac_check_lib_save_LIBS=$LIBS
    42684022LIBS="-ldl  $LIBS"
    4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4023cat >conftest.$ac_ext <<_ACEOF
     4024/* confdefs.h.  */
     4025_ACEOF
     4026cat confdefs.h >>conftest.$ac_ext
     4027cat >>conftest.$ac_ext <<_ACEOF
    42704028/* end confdefs.h.  */
    42714029
     
    42854043}
    42864044_ACEOF
    4287 if ac_fn_c_try_link "$LINENO"; then :
     4045rm -f conftest.$ac_objext conftest$ac_exeext
     4046if { (ac_try="$ac_link"
     4047case "(($ac_try" in
     4048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4049  *) ac_try_echo=$ac_try;;
     4050esac
     4051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4052$as_echo "$ac_try_echo") >&5
     4053  (eval "$ac_link") 2>conftest.er1
     4054  ac_status=$?
     4055  grep -v '^ *+' conftest.er1 >conftest.err
     4056  rm -f conftest.er1
     4057  cat conftest.err >&5
     4058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4059  (exit $ac_status); } && {
     4060         test -z "$ac_c_werror_flag" ||
     4061         test ! -s conftest.err
     4062       } && test -s conftest$ac_exeext && {
     4063         test "$cross_compiling" = yes ||
     4064         $as_test_x conftest$ac_exeext
     4065       }; then
    42884066  ac_cv_lib_dl_dlopen=yes
    42894067else
    4290   ac_cv_lib_dl_dlopen=no
    4291 fi
    4292 rm -f core conftest.err conftest.$ac_objext \
    4293     conftest$ac_exeext conftest.$ac_ext
     4068  $as_echo "$as_me: failed program was:" >&5
     4069sed 's/^/| /' conftest.$ac_ext >&5
     4070
     4071        ac_cv_lib_dl_dlopen=no
     4072fi
     4073
     4074rm -rf conftest.dSYM
     4075rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4076      conftest$ac_exeext conftest.$ac_ext
    42944077LIBS=$ac_check_lib_save_LIBS
    42954078fi
    4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     4079{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    42974080$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4298 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     4081if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    42994082  have_dl=yes
    43004083else
     
    43284111    # Extract the first word of "ar", so it can be a program name with args.
    43294112set dummy ar; ac_word=$2
    4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4113{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    43314114$as_echo_n "checking for $ac_word... " >&6; }
    4332 if ${ac_cv_prog_AR+:} false; then :
     4115if test "${ac_cv_prog_AR+set}" = set; then
    43334116  $as_echo_n "(cached) " >&6
    43344117else
     
    43414124  IFS=$as_save_IFS
    43424125  test -z "$as_dir" && as_dir=.
    4343     for ac_exec_ext in '' $ac_executable_extensions; do
     4126  for ac_exec_ext in '' $ac_executable_extensions; do
    43444127  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    43454128    ac_cv_prog_AR="ar"
    4346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4129    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    43474130    break 2
    43484131  fi
    43494132done
    4350   done
     4133done
    43514134IFS=$as_save_IFS
    43524135
     
    43554138AR=$ac_cv_prog_AR
    43564139if test -n "$AR"; then
    4357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     4140  { $as_echo "$as_me:$LINENO: result: $AR" >&5
    43584141$as_echo "$AR" >&6; }
    43594142else
    4360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4143  { $as_echo "$as_me:$LINENO: result: no" >&5
    43614144$as_echo "no" >&6; }
    43624145fi
     
    43644147
    43654148    if test "${AR}" = "" ; then
    4366         as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
     4149        { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     4150$as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     4151   { (exit 1); exit 1; }; }
    43674152    fi
    43684153    STLIB_LD='${AR} cr'
     
    43824167                        ;;
    43834168                esac
    4384                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     4169                { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    43854170$as_echo "Using $CC for compiling with threads" >&6; }
    43864171            fi
     
    43984183            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    43994184                if test "$GCC" = "yes" ; then
    4400                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4185                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    44014186$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    44024187                else
     
    44534238            # known GMT value.
    44544239
    4455             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     4240            { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    44564241$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
     4242if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    44584243  $as_echo_n "(cached) " >&6
    44594244else
    44604245  ac_check_lib_save_LIBS=$LIBS
    44614246LIBS="-lbsd  $LIBS"
    4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4247cat >conftest.$ac_ext <<_ACEOF
     4248/* confdefs.h.  */
     4249_ACEOF
     4250cat confdefs.h >>conftest.$ac_ext
     4251cat >>conftest.$ac_ext <<_ACEOF
    44634252/* end confdefs.h.  */
    44644253
     
    44784267}
    44794268_ACEOF
    4480 if ac_fn_c_try_link "$LINENO"; then :
     4269rm -f conftest.$ac_objext conftest$ac_exeext
     4270if { (ac_try="$ac_link"
     4271case "(($ac_try" in
     4272  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4273  *) ac_try_echo=$ac_try;;
     4274esac
     4275eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4276$as_echo "$ac_try_echo") >&5
     4277  (eval "$ac_link") 2>conftest.er1
     4278  ac_status=$?
     4279  grep -v '^ *+' conftest.er1 >conftest.err
     4280  rm -f conftest.er1
     4281  cat conftest.err >&5
     4282  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4283  (exit $ac_status); } && {
     4284         test -z "$ac_c_werror_flag" ||
     4285         test ! -s conftest.err
     4286       } && test -s conftest$ac_exeext && {
     4287         test "$cross_compiling" = yes ||
     4288         $as_test_x conftest$ac_exeext
     4289       }; then
    44814290  ac_cv_lib_bsd_gettimeofday=yes
    44824291else
    4483   ac_cv_lib_bsd_gettimeofday=no
    4484 fi
    4485 rm -f core conftest.err conftest.$ac_objext \
    4486     conftest$ac_exeext conftest.$ac_ext
     4292  $as_echo "$as_me: failed program was:" >&5
     4293sed 's/^/| /' conftest.$ac_ext >&5
     4294
     4295        ac_cv_lib_bsd_gettimeofday=no
     4296fi
     4297
     4298rm -rf conftest.dSYM
     4299rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4300      conftest$ac_exeext conftest.$ac_ext
    44874301LIBS=$ac_check_lib_save_LIBS
    44884302fi
    4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4303{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    44904304$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4491 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
     4305if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    44924306  libbsd=yes
    44934307else
     
    44974311            if test $libbsd = yes; then
    44984312                MATH_LIBS="$MATH_LIBS -lbsd"
    4499                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
     4313                cat >>confdefs.h <<\_ACEOF
     4314#define USE_DELTA_FOR_TZ 1
     4315_ACEOF
    45004316
    45014317            fi
     
    45144330            # is always linked to, for compatibility.
    45154331            #-----------------------------------------------------------
    4516             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     4332            { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    45174333$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
     4334if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    45194335  $as_echo_n "(cached) " >&6
    45204336else
    45214337  ac_check_lib_save_LIBS=$LIBS
    45224338LIBS="-lbind  $LIBS"
    4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4339cat >conftest.$ac_ext <<_ACEOF
     4340/* confdefs.h.  */
     4341_ACEOF
     4342cat confdefs.h >>conftest.$ac_ext
     4343cat >>conftest.$ac_ext <<_ACEOF
    45244344/* end confdefs.h.  */
    45254345
     
    45394359}
    45404360_ACEOF
    4541 if ac_fn_c_try_link "$LINENO"; then :
     4361rm -f conftest.$ac_objext conftest$ac_exeext
     4362if { (ac_try="$ac_link"
     4363case "(($ac_try" in
     4364  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4365  *) ac_try_echo=$ac_try;;
     4366esac
     4367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4368$as_echo "$ac_try_echo") >&5
     4369  (eval "$ac_link") 2>conftest.er1
     4370  ac_status=$?
     4371  grep -v '^ *+' conftest.er1 >conftest.err
     4372  rm -f conftest.er1
     4373  cat conftest.err >&5
     4374  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4375  (exit $ac_status); } && {
     4376         test -z "$ac_c_werror_flag" ||
     4377         test ! -s conftest.err
     4378       } && test -s conftest$ac_exeext && {
     4379         test "$cross_compiling" = yes ||
     4380         $as_test_x conftest$ac_exeext
     4381       }; then
    45424382  ac_cv_lib_bind_inet_ntoa=yes
    45434383else
    4544   ac_cv_lib_bind_inet_ntoa=no
    4545 fi
    4546 rm -f core conftest.err conftest.$ac_objext \
    4547     conftest$ac_exeext conftest.$ac_ext
     4384  $as_echo "$as_me: failed program was:" >&5
     4385sed 's/^/| /' conftest.$ac_ext >&5
     4386
     4387        ac_cv_lib_bind_inet_ntoa=no
     4388fi
     4389
     4390rm -rf conftest.dSYM
     4391rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4392      conftest$ac_exeext conftest.$ac_ext
    45484393LIBS=$ac_check_lib_save_LIBS
    45494394fi
    4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4395{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    45514396$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4552 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
     4397if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    45534398  LIBS="$LIBS -lbind -lsocket"
    45544399fi
     
    45884433        HP-UX-*.11.*)
    45894434            # Use updated header definitions where possible
    4590             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
     4435            cat >>confdefs.h <<\_ACEOF
     4436#define _XOPEN_SOURCE 1
     4437_ACEOF
    45914438          # Use the XOPEN network library
    4592             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     4439            cat >>confdefs.h <<\_ACEOF
     4440#define _XOPEN_SOURCE_EXTENDED 1
     4441_ACEOF
    45934442 # Use the XOPEN network library
    45944443            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    45994448                SHLIB_SUFFIX=".sl"
    46004449            fi
    4601             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4450            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    46024451$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4603 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4452if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    46044453  $as_echo_n "(cached) " >&6
    46054454else
    46064455  ac_check_lib_save_LIBS=$LIBS
    46074456LIBS="-ldld  $LIBS"
    4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4457cat >conftest.$ac_ext <<_ACEOF
     4458/* confdefs.h.  */
     4459_ACEOF
     4460cat confdefs.h >>conftest.$ac_ext
     4461cat >>conftest.$ac_ext <<_ACEOF
    46094462/* end confdefs.h.  */
    46104463
     
    46244477}
    46254478_ACEOF
    4626 if ac_fn_c_try_link "$LINENO"; then :
     4479rm -f conftest.$ac_objext conftest$ac_exeext
     4480if { (ac_try="$ac_link"
     4481case "(($ac_try" in
     4482  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4483  *) ac_try_echo=$ac_try;;
     4484esac
     4485eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4486$as_echo "$ac_try_echo") >&5
     4487  (eval "$ac_link") 2>conftest.er1
     4488  ac_status=$?
     4489  grep -v '^ *+' conftest.er1 >conftest.err
     4490  rm -f conftest.er1
     4491  cat conftest.err >&5
     4492  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4493  (exit $ac_status); } && {
     4494         test -z "$ac_c_werror_flag" ||
     4495         test ! -s conftest.err
     4496       } && test -s conftest$ac_exeext && {
     4497         test "$cross_compiling" = yes ||
     4498         $as_test_x conftest$ac_exeext
     4499       }; then
    46274500  ac_cv_lib_dld_shl_load=yes
    46284501else
    4629   ac_cv_lib_dld_shl_load=no
    4630 fi
    4631 rm -f core conftest.err conftest.$ac_objext \
    4632     conftest$ac_exeext conftest.$ac_ext
     4502  $as_echo "$as_me: failed program was:" >&5
     4503sed 's/^/| /' conftest.$ac_ext >&5
     4504
     4505        ac_cv_lib_dld_shl_load=no
     4506fi
     4507
     4508rm -rf conftest.dSYM
     4509rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4510      conftest$ac_exeext conftest.$ac_ext
    46334511LIBS=$ac_check_lib_save_LIBS
    46344512fi
    4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4513{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    46364514$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4637 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4515if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    46384516  tcl_ok=yes
    46394517else
     
    46754553                            ;;
    46764554                        *)
    4677                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4555                            { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    46784556$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    46794557                            ;;
     
    46884566        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    46894567            SHLIB_SUFFIX=".sl"
    4690             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4568            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    46914569$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4692 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4570if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    46934571  $as_echo_n "(cached) " >&6
    46944572else
    46954573  ac_check_lib_save_LIBS=$LIBS
    46964574LIBS="-ldld  $LIBS"
    4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4575cat >conftest.$ac_ext <<_ACEOF
     4576/* confdefs.h.  */
     4577_ACEOF
     4578cat confdefs.h >>conftest.$ac_ext
     4579cat >>conftest.$ac_ext <<_ACEOF
    46984580/* end confdefs.h.  */
    46994581
     
    47134595}
    47144596_ACEOF
    4715 if ac_fn_c_try_link "$LINENO"; then :
     4597rm -f conftest.$ac_objext conftest$ac_exeext
     4598if { (ac_try="$ac_link"
     4599case "(($ac_try" in
     4600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4601  *) ac_try_echo=$ac_try;;
     4602esac
     4603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4604$as_echo "$ac_try_echo") >&5
     4605  (eval "$ac_link") 2>conftest.er1
     4606  ac_status=$?
     4607  grep -v '^ *+' conftest.er1 >conftest.err
     4608  rm -f conftest.er1
     4609  cat conftest.err >&5
     4610  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4611  (exit $ac_status); } && {
     4612         test -z "$ac_c_werror_flag" ||
     4613         test ! -s conftest.err
     4614       } && test -s conftest$ac_exeext && {
     4615         test "$cross_compiling" = yes ||
     4616         $as_test_x conftest$ac_exeext
     4617       }; then
    47164618  ac_cv_lib_dld_shl_load=yes
    47174619else
    4718   ac_cv_lib_dld_shl_load=no
    4719 fi
    4720 rm -f core conftest.err conftest.$ac_objext \
    4721     conftest$ac_exeext conftest.$ac_ext
     4620  $as_echo "$as_me: failed program was:" >&5
     4621sed 's/^/| /' conftest.$ac_ext >&5
     4622
     4623        ac_cv_lib_dld_shl_load=no
     4624fi
     4625
     4626rm -rf conftest.dSYM
     4627rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4628      conftest$ac_exeext conftest.$ac_ext
    47224629LIBS=$ac_check_lib_save_LIBS
    47234630fi
    4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4631{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    47254632$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4726 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4633if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    47274634  tcl_ok=yes
    47284635else
     
    48034710            if test "$do64bit" = "yes" ; then
    48044711                if test "$GCC" = "yes" ; then
    4805                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
     4712                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    48064713$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    48074714                else
     
    48324739                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    48334740            else
    4834                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4835 if test "x$ac_cv_header_dld_h" = xyes; then :
     4741                if test "${ac_cv_header_dld_h+set}" = set; then
     4742  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4743$as_echo_n "checking for dld.h... " >&6; }
     4744if test "${ac_cv_header_dld_h+set}" = set; then
     4745  $as_echo_n "(cached) " >&6
     4746fi
     4747{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4748$as_echo "$ac_cv_header_dld_h" >&6; }
     4749else
     4750  # Is the header compilable?
     4751{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4752$as_echo_n "checking dld.h usability... " >&6; }
     4753cat >conftest.$ac_ext <<_ACEOF
     4754/* confdefs.h.  */
     4755_ACEOF
     4756cat confdefs.h >>conftest.$ac_ext
     4757cat >>conftest.$ac_ext <<_ACEOF
     4758/* end confdefs.h.  */
     4759$ac_includes_default
     4760#include <dld.h>
     4761_ACEOF
     4762rm -f conftest.$ac_objext
     4763if { (ac_try="$ac_compile"
     4764case "(($ac_try" in
     4765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4766  *) ac_try_echo=$ac_try;;
     4767esac
     4768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4769$as_echo "$ac_try_echo") >&5
     4770  (eval "$ac_compile") 2>conftest.er1
     4771  ac_status=$?
     4772  grep -v '^ *+' conftest.er1 >conftest.err
     4773  rm -f conftest.er1
     4774  cat conftest.err >&5
     4775  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4776  (exit $ac_status); } && {
     4777         test -z "$ac_c_werror_flag" ||
     4778         test ! -s conftest.err
     4779       } && test -s conftest.$ac_objext; then
     4780  ac_header_compiler=yes
     4781else
     4782  $as_echo "$as_me: failed program was:" >&5
     4783sed 's/^/| /' conftest.$ac_ext >&5
     4784
     4785        ac_header_compiler=no
     4786fi
     4787
     4788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4789{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4790$as_echo "$ac_header_compiler" >&6; }
     4791
     4792# Is the header present?
     4793{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     4794$as_echo_n "checking dld.h presence... " >&6; }
     4795cat >conftest.$ac_ext <<_ACEOF
     4796/* confdefs.h.  */
     4797_ACEOF
     4798cat confdefs.h >>conftest.$ac_ext
     4799cat >>conftest.$ac_ext <<_ACEOF
     4800/* end confdefs.h.  */
     4801#include <dld.h>
     4802_ACEOF
     4803if { (ac_try="$ac_cpp conftest.$ac_ext"
     4804case "(($ac_try" in
     4805  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4806  *) ac_try_echo=$ac_try;;
     4807esac
     4808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4809$as_echo "$ac_try_echo") >&5
     4810  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4811  ac_status=$?
     4812  grep -v '^ *+' conftest.er1 >conftest.err
     4813  rm -f conftest.er1
     4814  cat conftest.err >&5
     4815  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4816  (exit $ac_status); } >/dev/null && {
     4817         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4818         test ! -s conftest.err
     4819       }; then
     4820  ac_header_preproc=yes
     4821else
     4822  $as_echo "$as_me: failed program was:" >&5
     4823sed 's/^/| /' conftest.$ac_ext >&5
     4824
     4825  ac_header_preproc=no
     4826fi
     4827
     4828rm -f conftest.err conftest.$ac_ext
     4829{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4830$as_echo "$ac_header_preproc" >&6; }
     4831
     4832# So?  What about this header?
     4833case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4834  yes:no: )
     4835    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4836$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4837    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4838$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4839    ac_header_preproc=yes
     4840    ;;
     4841  no:yes:* )
     4842    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4843$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4844    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4845$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4846    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4847$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4848    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4849$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4850    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4851$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4852    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4853$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4854    ( cat <<\_ASBOX
     4855## ----------------------------------- ##
     4856## Report this to rappture@nanohub.org ##
     4857## ----------------------------------- ##
     4858_ASBOX
     4859     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4860    ;;
     4861esac
     4862{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4863$as_echo_n "checking for dld.h... " >&6; }
     4864if test "${ac_cv_header_dld_h+set}" = set; then
     4865  $as_echo_n "(cached) " >&6
     4866else
     4867  ac_cv_header_dld_h=$ac_header_preproc
     4868fi
     4869{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4870$as_echo "$ac_cv_header_dld_h" >&6; }
     4871
     4872fi
     4873if test "x$ac_cv_header_dld_h" = x""yes; then
    48364874
    48374875                    SHLIB_LD="ld -shared"
     
    48484886            fi
    48494887            if test $do64bit = yes; then
    4850                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
     4888                { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    48514889$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4852 if ${tcl_cv_cc_m64+:} false; then :
     4890if test "${tcl_cv_cc_m64+set}" = set; then
    48534891  $as_echo_n "(cached) " >&6
    48544892else
     
    48564894                    hold_cflags=$CFLAGS
    48574895                    CFLAGS="$CFLAGS -m64"
    4858                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4896                    cat >conftest.$ac_ext <<_ACEOF
     4897/* confdefs.h.  */
     4898_ACEOF
     4899cat confdefs.h >>conftest.$ac_ext
     4900cat >>conftest.$ac_ext <<_ACEOF
    48594901/* end confdefs.h.  */
    48604902
     
    48674909}
    48684910_ACEOF
    4869 if ac_fn_c_try_link "$LINENO"; then :
     4911rm -f conftest.$ac_objext conftest$ac_exeext
     4912if { (ac_try="$ac_link"
     4913case "(($ac_try" in
     4914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4915  *) ac_try_echo=$ac_try;;
     4916esac
     4917eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4918$as_echo "$ac_try_echo") >&5
     4919  (eval "$ac_link") 2>conftest.er1
     4920  ac_status=$?
     4921  grep -v '^ *+' conftest.er1 >conftest.err
     4922  rm -f conftest.er1
     4923  cat conftest.err >&5
     4924  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4925  (exit $ac_status); } && {
     4926         test -z "$ac_c_werror_flag" ||
     4927         test ! -s conftest.err
     4928       } && test -s conftest$ac_exeext && {
     4929         test "$cross_compiling" = yes ||
     4930         $as_test_x conftest$ac_exeext
     4931       }; then
    48704932  tcl_cv_cc_m64=yes
    48714933else
    4872   tcl_cv_cc_m64=no
    4873 fi
    4874 rm -f core conftest.err conftest.$ac_objext \
    4875     conftest$ac_exeext conftest.$ac_ext
     4934  $as_echo "$as_me: failed program was:" >&5
     4935sed 's/^/| /' conftest.$ac_ext >&5
     4936
     4937        tcl_cv_cc_m64=no
     4938fi
     4939
     4940rm -rf conftest.dSYM
     4941rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4942      conftest$ac_exeext conftest.$ac_ext
    48764943                    CFLAGS=$hold_cflags
    48774944fi
    4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
     4945{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    48794946$as_echo "$tcl_cv_cc_m64" >&6; }
    48804947                if test $tcl_cv_cc_m64 = yes; then
     
    48964963
    48974964            # XIM peeking works under XFree86.
    4898             $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
     4965            cat >>confdefs.h <<\_ACEOF
     4966#define PEEK_XCLOSEIM 1
     4967_ACEOF
    48994968
    49004969
     
    49134982                LD_SEARCH_FLAGS=""
    49144983            else
    4915                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4916 if test "x$ac_cv_header_dld_h" = xyes; then :
     4984                if test "${ac_cv_header_dld_h+set}" = set; then
     4985  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4986$as_echo_n "checking for dld.h... " >&6; }
     4987if test "${ac_cv_header_dld_h+set}" = set; then
     4988  $as_echo_n "(cached) " >&6
     4989fi
     4990{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4991$as_echo "$ac_cv_header_dld_h" >&6; }
     4992else
     4993  # Is the header compilable?
     4994{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4995$as_echo_n "checking dld.h usability... " >&6; }
     4996cat >conftest.$ac_ext <<_ACEOF
     4997/* confdefs.h.  */
     4998_ACEOF
     4999cat confdefs.h >>conftest.$ac_ext
     5000cat >>conftest.$ac_ext <<_ACEOF
     5001/* end confdefs.h.  */
     5002$ac_includes_default
     5003#include <dld.h>
     5004_ACEOF
     5005rm -f conftest.$ac_objext
     5006if { (ac_try="$ac_compile"
     5007case "(($ac_try" in
     5008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5009  *) ac_try_echo=$ac_try;;
     5010esac
     5011eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5012$as_echo "$ac_try_echo") >&5
     5013  (eval "$ac_compile") 2>conftest.er1
     5014  ac_status=$?
     5015  grep -v '^ *+' conftest.er1 >conftest.err
     5016  rm -f conftest.er1
     5017  cat conftest.err >&5
     5018  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5019  (exit $ac_status); } && {
     5020         test -z "$ac_c_werror_flag" ||
     5021         test ! -s conftest.err
     5022       } && test -s conftest.$ac_objext; then
     5023  ac_header_compiler=yes
     5024else
     5025  $as_echo "$as_me: failed program was:" >&5
     5026sed 's/^/| /' conftest.$ac_ext >&5
     5027
     5028        ac_header_compiler=no
     5029fi
     5030
     5031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5032{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5033$as_echo "$ac_header_compiler" >&6; }
     5034
     5035# Is the header present?
     5036{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     5037$as_echo_n "checking dld.h presence... " >&6; }
     5038cat >conftest.$ac_ext <<_ACEOF
     5039/* confdefs.h.  */
     5040_ACEOF
     5041cat confdefs.h >>conftest.$ac_ext
     5042cat >>conftest.$ac_ext <<_ACEOF
     5043/* end confdefs.h.  */
     5044#include <dld.h>
     5045_ACEOF
     5046if { (ac_try="$ac_cpp conftest.$ac_ext"
     5047case "(($ac_try" in
     5048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5049  *) ac_try_echo=$ac_try;;
     5050esac
     5051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5052$as_echo "$ac_try_echo") >&5
     5053  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5054  ac_status=$?
     5055  grep -v '^ *+' conftest.er1 >conftest.err
     5056  rm -f conftest.er1
     5057  cat conftest.err >&5
     5058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5059  (exit $ac_status); } >/dev/null && {
     5060         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5061         test ! -s conftest.err
     5062       }; then
     5063  ac_header_preproc=yes
     5064else
     5065  $as_echo "$as_me: failed program was:" >&5
     5066sed 's/^/| /' conftest.$ac_ext >&5
     5067
     5068  ac_header_preproc=no
     5069fi
     5070
     5071rm -f conftest.err conftest.$ac_ext
     5072{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5073$as_echo "$ac_header_preproc" >&6; }
     5074
     5075# So?  What about this header?
     5076case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5077  yes:no: )
     5078    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5079$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5080    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     5081$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     5082    ac_header_preproc=yes
     5083    ;;
     5084  no:yes:* )
     5085    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     5086$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     5087    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     5088$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     5089    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     5090$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     5091    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     5092$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5093    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     5094$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     5095    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     5096$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     5097    ( cat <<\_ASBOX
     5098## ----------------------------------- ##
     5099## Report this to rappture@nanohub.org ##
     5100## ----------------------------------- ##
     5101_ASBOX
     5102     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5103    ;;
     5104esac
     5105{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     5106$as_echo_n "checking for dld.h... " >&6; }
     5107if test "${ac_cv_header_dld_h+set}" = set; then
     5108  $as_echo_n "(cached) " >&6
     5109else
     5110  ac_cv_header_dld_h=$ac_header_preproc
     5111fi
     5112{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     5113$as_echo "$ac_cv_header_dld_h" >&6; }
     5114
     5115fi
     5116if test "x$ac_cv_header_dld_h" = x""yes; then
    49175117
    49185118                    SHLIB_LD="ld -shared"
     
    49645164        NetBSD-*|FreeBSD-[1-2].*)
    49655165            # Not available on all versions:  check for include file.
    4966             ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
    4967 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     5166            if test "${ac_cv_header_dlfcn_h+set}" = set; then
     5167  { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     5168$as_echo_n "checking for dlfcn.h... " >&6; }
     5169if test "${ac_cv_header_dlfcn_h+set}" = set; then
     5170  $as_echo_n "(cached) " >&6
     5171fi
     5172{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     5173$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     5174else
     5175  # Is the header compilable?
     5176{ $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
     5177$as_echo_n "checking dlfcn.h usability... " >&6; }
     5178cat >conftest.$ac_ext <<_ACEOF
     5179/* confdefs.h.  */
     5180_ACEOF
     5181cat confdefs.h >>conftest.$ac_ext
     5182cat >>conftest.$ac_ext <<_ACEOF
     5183/* end confdefs.h.  */
     5184$ac_includes_default
     5185#include <dlfcn.h>
     5186_ACEOF
     5187rm -f conftest.$ac_objext
     5188if { (ac_try="$ac_compile"
     5189case "(($ac_try" in
     5190  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5191  *) ac_try_echo=$ac_try;;
     5192esac
     5193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5194$as_echo "$ac_try_echo") >&5
     5195  (eval "$ac_compile") 2>conftest.er1
     5196  ac_status=$?
     5197  grep -v '^ *+' conftest.er1 >conftest.err
     5198  rm -f conftest.er1
     5199  cat conftest.err >&5
     5200  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5201  (exit $ac_status); } && {
     5202         test -z "$ac_c_werror_flag" ||
     5203         test ! -s conftest.err
     5204       } && test -s conftest.$ac_objext; then
     5205  ac_header_compiler=yes
     5206else
     5207  $as_echo "$as_me: failed program was:" >&5
     5208sed 's/^/| /' conftest.$ac_ext >&5
     5209
     5210        ac_header_compiler=no
     5211fi
     5212
     5213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5214{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5215$as_echo "$ac_header_compiler" >&6; }
     5216
     5217# Is the header present?
     5218{ $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
     5219$as_echo_n "checking dlfcn.h presence... " >&6; }
     5220cat >conftest.$ac_ext <<_ACEOF
     5221/* confdefs.h.  */
     5222_ACEOF
     5223cat confdefs.h >>conftest.$ac_ext
     5224cat >>conftest.$ac_ext <<_ACEOF
     5225/* end confdefs.h.  */
     5226#include <dlfcn.h>
     5227_ACEOF
     5228if { (ac_try="$ac_cpp conftest.$ac_ext"
     5229case "(($ac_try" in
     5230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5231  *) ac_try_echo=$ac_try;;
     5232esac
     5233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5234$as_echo "$ac_try_echo") >&5
     5235  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5236  ac_status=$?
     5237  grep -v '^ *+' conftest.er1 >conftest.err
     5238  rm -f conftest.er1
     5239  cat conftest.err >&5
     5240  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5241  (exit $ac_status); } >/dev/null && {
     5242         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5243         test ! -s conftest.err
     5244       }; then
     5245  ac_header_preproc=yes
     5246else
     5247  $as_echo "$as_me: failed program was:" >&5
     5248sed 's/^/| /' conftest.$ac_ext >&5
     5249
     5250  ac_header_preproc=no
     5251fi
     5252
     5253rm -f conftest.err conftest.$ac_ext
     5254{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5255$as_echo "$ac_header_preproc" >&6; }
     5256
     5257# So?  What about this header?
     5258case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5259  yes:no: )
     5260    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5261$as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5262    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
     5263$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
     5264    ac_header_preproc=yes
     5265    ;;
     5266  no:yes:* )
     5267    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
     5268$as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
     5269    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
     5270$as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
     5271    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
     5272$as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
     5273    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
     5274$as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5275    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
     5276$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
     5277    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
     5278$as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
     5279    ( cat <<\_ASBOX
     5280## ----------------------------------- ##
     5281## Report this to rappture@nanohub.org ##
     5282## ----------------------------------- ##
     5283_ASBOX
     5284     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5285    ;;
     5286esac
     5287{ $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     5288$as_echo_n "checking for dlfcn.h... " >&6; }
     5289if test "${ac_cv_header_dlfcn_h+set}" = set; then
     5290  $as_echo_n "(cached) " >&6
     5291else
     5292  ac_cv_header_dlfcn_h=$ac_header_preproc
     5293fi
     5294{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     5295$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     5296
     5297fi
     5298if test "x$ac_cv_header_dlfcn_h" = x""yes; then
    49685299
    49695300                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    49765307                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    49775308                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4978                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     5309                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    49795310$as_echo_n "checking for ELF... " >&6; }
    4980 if ${tcl_cv_ld_elf+:} false; then :
     5311if test "${tcl_cv_ld_elf+set}" = set; then
    49815312  $as_echo_n "(cached) " >&6
    49825313else
    49835314
    4984                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5315                    cat >conftest.$ac_ext <<_ACEOF
     5316/* confdefs.h.  */
     5317_ACEOF
     5318cat confdefs.h >>conftest.$ac_ext
     5319cat >>conftest.$ac_ext <<_ACEOF
    49855320/* end confdefs.h.  */
    49865321
     
    49915326_ACEOF
    49925327if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4993   $EGREP "yes" >/dev/null 2>&1; then :
     5328  $EGREP "yes" >/dev/null 2>&1; then
    49945329  tcl_cv_ld_elf=yes
    49955330else
     
    49995334
    50005335fi
    5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     5336{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    50025337$as_echo "$tcl_cv_ld_elf" >&6; }
    50035338                if test $tcl_cv_ld_elf = yes; then
     
    50585393                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    50595394                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5060                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     5395                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    50615396$as_echo_n "checking for ELF... " >&6; }
    5062 if ${tcl_cv_ld_elf+:} false; then :
     5397if test "${tcl_cv_ld_elf+set}" = set; then
    50635398  $as_echo_n "(cached) " >&6
    50645399else
    50655400
    5066                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5401                    cat >conftest.$ac_ext <<_ACEOF
     5402/* confdefs.h.  */
     5403_ACEOF
     5404cat confdefs.h >>conftest.$ac_ext
     5405cat >>conftest.$ac_ext <<_ACEOF
    50675406/* end confdefs.h.  */
    50685407
     
    50735412_ACEOF
    50745413if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5075   $EGREP "yes" >/dev/null 2>&1; then :
     5414  $EGREP "yes" >/dev/null 2>&1; then
    50765415  tcl_cv_ld_elf=yes
    50775416else
     
    50815420
    50825421fi
    5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     5422{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    50845423$as_echo "$tcl_cv_ld_elf" >&6; }
    50855424                if test $tcl_cv_ld_elf = yes; then
     
    51365475                case `arch` in
    51375476                    ppc)
    5138                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
     5477                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    51395478$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5140 if ${tcl_cv_cc_arch_ppc64+:} false; then :
     5479if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    51415480  $as_echo_n "(cached) " >&6
    51425481else
     
    51445483                            hold_cflags=$CFLAGS
    51455484                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5146                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5485                            cat >conftest.$ac_ext <<_ACEOF
     5486/* confdefs.h.  */
     5487_ACEOF
     5488cat confdefs.h >>conftest.$ac_ext
     5489cat >>conftest.$ac_ext <<_ACEOF
    51475490/* end confdefs.h.  */
    51485491
     
    51555498}
    51565499_ACEOF
    5157 if ac_fn_c_try_link "$LINENO"; then :
     5500rm -f conftest.$ac_objext conftest$ac_exeext
     5501if { (ac_try="$ac_link"
     5502case "(($ac_try" in
     5503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5504  *) ac_try_echo=$ac_try;;
     5505esac
     5506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5507$as_echo "$ac_try_echo") >&5
     5508  (eval "$ac_link") 2>conftest.er1
     5509  ac_status=$?
     5510  grep -v '^ *+' conftest.er1 >conftest.err
     5511  rm -f conftest.er1
     5512  cat conftest.err >&5
     5513  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5514  (exit $ac_status); } && {
     5515         test -z "$ac_c_werror_flag" ||
     5516         test ! -s conftest.err
     5517       } && test -s conftest$ac_exeext && {
     5518         test "$cross_compiling" = yes ||
     5519         $as_test_x conftest$ac_exeext
     5520       }; then
    51585521  tcl_cv_cc_arch_ppc64=yes
    51595522else
    5160   tcl_cv_cc_arch_ppc64=no
    5161 fi
    5162 rm -f core conftest.err conftest.$ac_objext \
    5163     conftest$ac_exeext conftest.$ac_ext
     5523  $as_echo "$as_me: failed program was:" >&5
     5524sed 's/^/| /' conftest.$ac_ext >&5
     5525
     5526        tcl_cv_cc_arch_ppc64=no
     5527fi
     5528
     5529rm -rf conftest.dSYM
     5530rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5531      conftest$ac_exeext conftest.$ac_ext
    51645532                            CFLAGS=$hold_cflags
    51655533fi
    5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
     5534{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    51675535$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    51685536                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    51715539                        fi;;
    51725540                    i386)
    5173                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
     5541                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    51745542$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5175 if ${tcl_cv_cc_arch_x86_64+:} false; then :
     5543if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    51765544  $as_echo_n "(cached) " >&6
    51775545else
     
    51795547                            hold_cflags=$CFLAGS
    51805548                            CFLAGS="$CFLAGS -arch x86_64"
    5181                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5549                            cat >conftest.$ac_ext <<_ACEOF
     5550/* confdefs.h.  */
     5551_ACEOF
     5552cat confdefs.h >>conftest.$ac_ext
     5553cat >>conftest.$ac_ext <<_ACEOF
    51825554/* end confdefs.h.  */
    51835555
     
    51905562}
    51915563_ACEOF
    5192 if ac_fn_c_try_link "$LINENO"; then :
     5564rm -f conftest.$ac_objext conftest$ac_exeext
     5565if { (ac_try="$ac_link"
     5566case "(($ac_try" in
     5567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5568  *) ac_try_echo=$ac_try;;
     5569esac
     5570eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5571$as_echo "$ac_try_echo") >&5
     5572  (eval "$ac_link") 2>conftest.er1
     5573  ac_status=$?
     5574  grep -v '^ *+' conftest.er1 >conftest.err
     5575  rm -f conftest.er1
     5576  cat conftest.err >&5
     5577  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5578  (exit $ac_status); } && {
     5579         test -z "$ac_c_werror_flag" ||
     5580         test ! -s conftest.err
     5581       } && test -s conftest$ac_exeext && {
     5582         test "$cross_compiling" = yes ||
     5583         $as_test_x conftest$ac_exeext
     5584       }; then
    51935585  tcl_cv_cc_arch_x86_64=yes
    51945586else
    5195   tcl_cv_cc_arch_x86_64=no
    5196 fi
    5197 rm -f core conftest.err conftest.$ac_objext \
    5198     conftest$ac_exeext conftest.$ac_ext
     5587  $as_echo "$as_me: failed program was:" >&5
     5588sed 's/^/| /' conftest.$ac_ext >&5
     5589
     5590        tcl_cv_cc_arch_x86_64=no
     5591fi
     5592
     5593rm -rf conftest.dSYM
     5594rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5595      conftest$ac_exeext conftest.$ac_ext
    51995596                            CFLAGS=$hold_cflags
    52005597fi
    5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
     5598{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    52025599$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    52035600                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    52065603                        fi;;
    52075604                    *)
    5208                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5605                        { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    52095606$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    52105607                esac
     
    52165613            fi
    52175614            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5218             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
     5615            { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    52195616$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5220 if ${tcl_cv_ld_single_module+:} false; then :
     5617if test "${tcl_cv_ld_single_module+set}" = set; then
    52215618  $as_echo_n "(cached) " >&6
    52225619else
     
    52245621                hold_ldflags=$LDFLAGS
    52255622                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5226                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5623                cat >conftest.$ac_ext <<_ACEOF
     5624/* confdefs.h.  */
     5625_ACEOF
     5626cat confdefs.h >>conftest.$ac_ext
     5627cat >>conftest.$ac_ext <<_ACEOF
    52275628/* end confdefs.h.  */
    52285629
     
    52355636}
    52365637_ACEOF
    5237 if ac_fn_c_try_link "$LINENO"; then :
     5638rm -f conftest.$ac_objext conftest$ac_exeext
     5639if { (ac_try="$ac_link"
     5640case "(($ac_try" in
     5641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5642  *) ac_try_echo=$ac_try;;
     5643esac
     5644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5645$as_echo "$ac_try_echo") >&5
     5646  (eval "$ac_link") 2>conftest.er1
     5647  ac_status=$?
     5648  grep -v '^ *+' conftest.er1 >conftest.err
     5649  rm -f conftest.er1
     5650  cat conftest.err >&5
     5651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5652  (exit $ac_status); } && {
     5653         test -z "$ac_c_werror_flag" ||
     5654         test ! -s conftest.err
     5655       } && test -s conftest$ac_exeext && {
     5656         test "$cross_compiling" = yes ||
     5657         $as_test_x conftest$ac_exeext
     5658       }; then
    52385659  tcl_cv_ld_single_module=yes
    52395660else
    5240   tcl_cv_ld_single_module=no
    5241 fi
    5242 rm -f core conftest.err conftest.$ac_objext \
    5243     conftest$ac_exeext conftest.$ac_ext
     5661  $as_echo "$as_me: failed program was:" >&5
     5662sed 's/^/| /' conftest.$ac_ext >&5
     5663
     5664        tcl_cv_ld_single_module=no
     5665fi
     5666
     5667rm -rf conftest.dSYM
     5668rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5669      conftest$ac_exeext conftest.$ac_ext
    52445670                LDFLAGS=$hold_ldflags
    52455671fi
    5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
     5672{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    52475673$as_echo "$tcl_cv_ld_single_module" >&6; }
    52485674            if test $tcl_cv_ld_single_module = yes; then
     
    52585684                LDFLAGS="$LDFLAGS -prebind"
    52595685            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5260             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
     5686            { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    52615687$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5262 if ${tcl_cv_ld_search_paths_first+:} false; then :
     5688if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    52635689  $as_echo_n "(cached) " >&6
    52645690else
     
    52665692                hold_ldflags=$LDFLAGS
    52675693                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5268                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5694                cat >conftest.$ac_ext <<_ACEOF
     5695/* confdefs.h.  */
     5696_ACEOF
     5697cat confdefs.h >>conftest.$ac_ext
     5698cat >>conftest.$ac_ext <<_ACEOF
    52695699/* end confdefs.h.  */
    52705700
     
    52775707}
    52785708_ACEOF
    5279 if ac_fn_c_try_link "$LINENO"; then :
     5709rm -f conftest.$ac_objext conftest$ac_exeext
     5710if { (ac_try="$ac_link"
     5711case "(($ac_try" in
     5712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5713  *) ac_try_echo=$ac_try;;
     5714esac
     5715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5716$as_echo "$ac_try_echo") >&5
     5717  (eval "$ac_link") 2>conftest.er1
     5718  ac_status=$?
     5719  grep -v '^ *+' conftest.er1 >conftest.err
     5720  rm -f conftest.er1
     5721  cat conftest.err >&5
     5722  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5723  (exit $ac_status); } && {
     5724         test -z "$ac_c_werror_flag" ||
     5725         test ! -s conftest.err
     5726       } && test -s conftest$ac_exeext && {
     5727         test "$cross_compiling" = yes ||
     5728         $as_test_x conftest$ac_exeext
     5729       }; then
    52805730  tcl_cv_ld_search_paths_first=yes
    52815731else
    5282   tcl_cv_ld_search_paths_first=no
    5283 fi
    5284 rm -f core conftest.err conftest.$ac_objext \
    5285     conftest$ac_exeext conftest.$ac_ext
     5732  $as_echo "$as_me: failed program was:" >&5
     5733sed 's/^/| /' conftest.$ac_ext >&5
     5734
     5735        tcl_cv_ld_search_paths_first=no
     5736fi
     5737
     5738rm -rf conftest.dSYM
     5739rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5740      conftest$ac_exeext conftest.$ac_ext
    52865741                LDFLAGS=$hold_ldflags
    52875742fi
    5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
     5743{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    52895744$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    52905745            if test $tcl_cv_ld_search_paths_first = yes; then
     
    52965751            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    52975752            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5298             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
     5753            { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    52995754$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    53005755            # Check whether --enable-corefoundation was given.
    5301 if test "${enable_corefoundation+set}" = set; then :
     5756if test "${enable_corefoundation+set}" = set; then
    53025757  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    53035758else
     
    53055760fi
    53065761
    5307             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
     5762            { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    53085763$as_echo "$tcl_corefoundation" >&6; }
    53095764            if test $tcl_corefoundation = yes; then
    5310                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
     5765                { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    53115766$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5312 if ${tcl_cv_lib_corefoundation+:} false; then :
     5767if test "${tcl_cv_lib_corefoundation+set}" = set; then
    53135768  $as_echo_n "(cached) " >&6
    53145769else
     
    53225777                    done; fi
    53235778                    LIBS="$LIBS -framework CoreFoundation"
    5324                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5779                    cat >conftest.$ac_ext <<_ACEOF
     5780/* confdefs.h.  */
     5781_ACEOF
     5782cat confdefs.h >>conftest.$ac_ext
     5783cat >>conftest.$ac_ext <<_ACEOF
    53255784/* end confdefs.h.  */
    53265785#include <CoreFoundation/CoreFoundation.h>
     
    53335792}
    53345793_ACEOF
    5335 if ac_fn_c_try_link "$LINENO"; then :
     5794rm -f conftest.$ac_objext conftest$ac_exeext
     5795if { (ac_try="$ac_link"
     5796case "(($ac_try" in
     5797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5798  *) ac_try_echo=$ac_try;;
     5799esac
     5800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5801$as_echo "$ac_try_echo") >&5
     5802  (eval "$ac_link") 2>conftest.er1
     5803  ac_status=$?
     5804  grep -v '^ *+' conftest.er1 >conftest.err
     5805  rm -f conftest.er1
     5806  cat conftest.err >&5
     5807  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5808  (exit $ac_status); } && {
     5809         test -z "$ac_c_werror_flag" ||
     5810         test ! -s conftest.err
     5811       } && test -s conftest$ac_exeext && {
     5812         test "$cross_compiling" = yes ||
     5813         $as_test_x conftest$ac_exeext
     5814       }; then
    53365815  tcl_cv_lib_corefoundation=yes
    53375816else
    5338   tcl_cv_lib_corefoundation=no
    5339 fi
    5340 rm -f core conftest.err conftest.$ac_objext \
    5341     conftest$ac_exeext conftest.$ac_ext
     5817  $as_echo "$as_me: failed program was:" >&5
     5818sed 's/^/| /' conftest.$ac_ext >&5
     5819
     5820        tcl_cv_lib_corefoundation=no
     5821fi
     5822
     5823rm -rf conftest.dSYM
     5824rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5825      conftest$ac_exeext conftest.$ac_ext
    53425826                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    53435827                        eval $v'="$hold_'$v'"'
    53445828                    done; fi; LIBS=$hold_libs
    53455829fi
    5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
     5830{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    53475831$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    53485832                if test $tcl_cv_lib_corefoundation = yes; then
    53495833                    LIBS="$LIBS -framework CoreFoundation"
    5350                     $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
     5834                    cat >>confdefs.h <<\_ACEOF
     5835#define HAVE_COREFOUNDATION 1
     5836_ACEOF
    53515837
    53525838                else
     
    53545840                fi
    53555841                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5356                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
     5842                    { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    53575843$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5358 if ${tcl_cv_lib_corefoundation_64+:} false; then :
     5844if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    53595845  $as_echo_n "(cached) " >&6
    53605846else
     
    53635849                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    53645850                        done
    5365                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5851                        cat >conftest.$ac_ext <<_ACEOF
     5852/* confdefs.h.  */
     5853_ACEOF
     5854cat confdefs.h >>conftest.$ac_ext
     5855cat >>conftest.$ac_ext <<_ACEOF
    53665856/* end confdefs.h.  */
    53675857#include <CoreFoundation/CoreFoundation.h>
     
    53745864}
    53755865_ACEOF
    5376 if ac_fn_c_try_link "$LINENO"; then :
     5866rm -f conftest.$ac_objext conftest$ac_exeext
     5867if { (ac_try="$ac_link"
     5868case "(($ac_try" in
     5869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5870  *) ac_try_echo=$ac_try;;
     5871esac
     5872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5873$as_echo "$ac_try_echo") >&5
     5874  (eval "$ac_link") 2>conftest.er1
     5875  ac_status=$?
     5876  grep -v '^ *+' conftest.er1 >conftest.err
     5877  rm -f conftest.er1
     5878  cat conftest.err >&5
     5879  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5880  (exit $ac_status); } && {
     5881         test -z "$ac_c_werror_flag" ||
     5882         test ! -s conftest.err
     5883       } && test -s conftest$ac_exeext && {
     5884         test "$cross_compiling" = yes ||
     5885         $as_test_x conftest$ac_exeext
     5886       }; then
    53775887  tcl_cv_lib_corefoundation_64=yes
    53785888else
    5379   tcl_cv_lib_corefoundation_64=no
    5380 fi
    5381 rm -f core conftest.err conftest.$ac_objext \
    5382     conftest$ac_exeext conftest.$ac_ext
     5889  $as_echo "$as_me: failed program was:" >&5
     5890sed 's/^/| /' conftest.$ac_ext >&5
     5891
     5892        tcl_cv_lib_corefoundation_64=no
     5893fi
     5894
     5895rm -rf conftest.dSYM
     5896rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5897      conftest$ac_exeext conftest.$ac_ext
    53835898                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    53845899                            eval $v'="$hold_'$v'"'
    53855900                        done
    53865901fi
    5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
     5902{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    53885903$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    53895904                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5390                         $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
     5905                        cat >>confdefs.h <<\_ACEOF
     5906#define NO_COREFOUNDATION_64 1
     5907_ACEOF
    53915908
    53925909                    fi
    53935910                fi
    53945911            fi
    5395             $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
     5912            cat >>confdefs.h <<\_ACEOF
     5913#define MAC_OSX_TCL 1
     5914_ACEOF
    53965915
    53975916            ;;
     
    54085927        OS/390-*)
    54095928            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5410             $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
     5929            cat >>confdefs.h <<\_ACEOF
     5930#define _OE_SOCKETS 1
     5931_ACEOF
    54115932        # needed in sys/socket.h
    54125933            ;;
     
    55496070            # won't define thread-safe library routines.
    55506071
    5551             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5552 
    5553             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     6072            cat >>confdefs.h <<\_ACEOF
     6073#define _REENTRANT 1
     6074_ACEOF
     6075
     6076            cat >>confdefs.h <<\_ACEOF
     6077#define _POSIX_PTHREAD_SEMANTICS 1
     6078_ACEOF
    55546079
    55556080
     
    55776102            # won't define thread-safe library routines.
    55786103
    5579             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5580 
    5581             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     6104            cat >>confdefs.h <<\_ACEOF
     6105#define _REENTRANT 1
     6106_ACEOF
     6107
     6108            cat >>confdefs.h <<\_ACEOF
     6109#define _POSIX_PTHREAD_SEMANTICS 1
     6110_ACEOF
    55826111
    55836112
     
    55906119                        if test "$GCC" = "yes" ; then
    55916120                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5592                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     6121                                { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    55936122$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    55946123                            else
     
    56126141                elif test "$arch" = "amd64 i386" ; then
    56136142                    if test "$GCC" = "yes" ; then
    5614                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     6143                        { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    56156144$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    56166145                    else
     
    56206149                    fi
    56216150                else
    5622                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
     6151                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    56236152$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    56246153                fi
     
    56796208            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    56806209            # that don't grok the -Bexport option.  Test that it does.
    5681             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
     6210            { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    56826211$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5683 if ${tcl_cv_ld_Bexport+:} false; then :
     6212if test "${tcl_cv_ld_Bexport+set}" = set; then
    56846213  $as_echo_n "(cached) " >&6
    56856214else
     
    56876216                hold_ldflags=$LDFLAGS
    56886217                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5689                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6218                cat >conftest.$ac_ext <<_ACEOF
     6219/* confdefs.h.  */
     6220_ACEOF
     6221cat confdefs.h >>conftest.$ac_ext
     6222cat >>conftest.$ac_ext <<_ACEOF
    56906223/* end confdefs.h.  */
    56916224
     
    56986231}
    56996232_ACEOF
    5700 if ac_fn_c_try_link "$LINENO"; then :
     6233rm -f conftest.$ac_objext conftest$ac_exeext
     6234if { (ac_try="$ac_link"
     6235case "(($ac_try" in
     6236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6237  *) ac_try_echo=$ac_try;;
     6238esac
     6239eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6240$as_echo "$ac_try_echo") >&5
     6241  (eval "$ac_link") 2>conftest.er1
     6242  ac_status=$?
     6243  grep -v '^ *+' conftest.er1 >conftest.err
     6244  rm -f conftest.er1
     6245  cat conftest.err >&5
     6246  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6247  (exit $ac_status); } && {
     6248         test -z "$ac_c_werror_flag" ||
     6249         test ! -s conftest.err
     6250       } && test -s conftest$ac_exeext && {
     6251         test "$cross_compiling" = yes ||
     6252         $as_test_x conftest$ac_exeext
     6253       }; then
    57016254  tcl_cv_ld_Bexport=yes
    57026255else
    5703   tcl_cv_ld_Bexport=no
    5704 fi
    5705 rm -f core conftest.err conftest.$ac_objext \
    5706     conftest$ac_exeext conftest.$ac_ext
     6256  $as_echo "$as_me: failed program was:" >&5
     6257sed 's/^/| /' conftest.$ac_ext >&5
     6258
     6259        tcl_cv_ld_Bexport=no
     6260fi
     6261
     6262rm -rf conftest.dSYM
     6263rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6264      conftest$ac_exeext conftest.$ac_ext
    57076265                LDFLAGS=$hold_ldflags
    57086266fi
    5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
     6267{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    57106268$as_echo "$tcl_cv_ld_Bexport" >&6; }
    57116269            if test $tcl_cv_ld_Bexport = yes; then
     
    57186276
    57196277    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5720         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     6278        { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    57216279$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    57226280    fi
     
    57456303
    57466304    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5747         { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
     6305        { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
    57486306$as_echo_n "checking sys/exec.h... " >&6; }
    5749 if ${tcl_cv_sysexec_h+:} false; then :
     6307if test "${tcl_cv_sysexec_h+set}" = set; then
    57506308  $as_echo_n "(cached) " >&6
    57516309else
    57526310
    5753         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6311        cat >conftest.$ac_ext <<_ACEOF
     6312/* confdefs.h.  */
     6313_ACEOF
     6314cat confdefs.h >>conftest.$ac_ext
     6315cat >>conftest.$ac_ext <<_ACEOF
    57546316/* end confdefs.h.  */
    57556317#include <sys/exec.h>
     
    57736335}
    57746336_ACEOF
    5775 if ac_fn_c_try_compile "$LINENO"; then :
     6337rm -f conftest.$ac_objext
     6338if { (ac_try="$ac_compile"
     6339case "(($ac_try" in
     6340  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6341  *) ac_try_echo=$ac_try;;
     6342esac
     6343eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6344$as_echo "$ac_try_echo") >&5
     6345  (eval "$ac_compile") 2>conftest.er1
     6346  ac_status=$?
     6347  grep -v '^ *+' conftest.er1 >conftest.err
     6348  rm -f conftest.er1
     6349  cat conftest.err >&5
     6350  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6351  (exit $ac_status); } && {
     6352         test -z "$ac_c_werror_flag" ||
     6353         test ! -s conftest.err
     6354       } && test -s conftest.$ac_objext; then
    57766355  tcl_cv_sysexec_h=usable
    57776356else
    5778   tcl_cv_sysexec_h=unusable
    5779 fi
     6357  $as_echo "$as_me: failed program was:" >&5
     6358sed 's/^/| /' conftest.$ac_ext >&5
     6359
     6360        tcl_cv_sysexec_h=unusable
     6361fi
     6362
    57806363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    57816364fi
    5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
     6365{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    57836366$as_echo "$tcl_cv_sysexec_h" >&6; }
    57846367        if test $tcl_cv_sysexec_h = usable; then
    5785             $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
     6368            cat >>confdefs.h <<\_ACEOF
     6369#define USE_SYS_EXEC_H 1
     6370_ACEOF
    57866371
    57876372        else
    5788             { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
     6373            { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
    57896374$as_echo_n "checking a.out.h... " >&6; }
    5790 if ${tcl_cv_aout_h+:} false; then :
     6375if test "${tcl_cv_aout_h+set}" = set; then
    57916376  $as_echo_n "(cached) " >&6
    57926377else
    57936378
    5794             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6379            cat >conftest.$ac_ext <<_ACEOF
     6380/* confdefs.h.  */
     6381_ACEOF
     6382cat confdefs.h >>conftest.$ac_ext
     6383cat >>conftest.$ac_ext <<_ACEOF
    57956384/* end confdefs.h.  */
    57966385#include <a.out.h>
     
    58146403}
    58156404_ACEOF
    5816 if ac_fn_c_try_compile "$LINENO"; then :
     6405rm -f conftest.$ac_objext
     6406if { (ac_try="$ac_compile"
     6407case "(($ac_try" in
     6408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6409  *) ac_try_echo=$ac_try;;
     6410esac
     6411eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6412$as_echo "$ac_try_echo") >&5
     6413  (eval "$ac_compile") 2>conftest.er1
     6414  ac_status=$?
     6415  grep -v '^ *+' conftest.er1 >conftest.err
     6416  rm -f conftest.er1
     6417  cat conftest.err >&5
     6418  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6419  (exit $ac_status); } && {
     6420         test -z "$ac_c_werror_flag" ||
     6421         test ! -s conftest.err
     6422       } && test -s conftest.$ac_objext; then
    58176423  tcl_cv_aout_h=usable
    58186424else
    5819   tcl_cv_aout_h=unusable
    5820 fi
     6425  $as_echo "$as_me: failed program was:" >&5
     6426sed 's/^/| /' conftest.$ac_ext >&5
     6427
     6428        tcl_cv_aout_h=unusable
     6429fi
     6430
    58216431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    58226432fi
    5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
     6433{ $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    58246434$as_echo "$tcl_cv_aout_h" >&6; }
    58256435            if test $tcl_cv_aout_h = usable; then
    5826                 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
     6436                cat >>confdefs.h <<\_ACEOF
     6437#define USE_A_OUT_H 1
     6438_ACEOF
    58276439
    58286440            else
    5829                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
     6441                { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    58306442$as_echo_n "checking sys/exec_aout.h... " >&6; }
    5831 if ${tcl_cv_sysexecaout_h+:} false; then :
     6443if test "${tcl_cv_sysexecaout_h+set}" = set; then
    58326444  $as_echo_n "(cached) " >&6
    58336445else
    58346446
    5835                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6447                cat >conftest.$ac_ext <<_ACEOF
     6448/* confdefs.h.  */
     6449_ACEOF
     6450cat confdefs.h >>conftest.$ac_ext
     6451cat >>conftest.$ac_ext <<_ACEOF
    58366452/* end confdefs.h.  */
    58376453#include <sys/exec_aout.h>
     
    58556471}
    58566472_ACEOF
    5857 if ac_fn_c_try_compile "$LINENO"; then :
     6473rm -f conftest.$ac_objext
     6474if { (ac_try="$ac_compile"
     6475case "(($ac_try" in
     6476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6477  *) ac_try_echo=$ac_try;;
     6478esac
     6479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6480$as_echo "$ac_try_echo") >&5
     6481  (eval "$ac_compile") 2>conftest.er1
     6482  ac_status=$?
     6483  grep -v '^ *+' conftest.er1 >conftest.err
     6484  rm -f conftest.er1
     6485  cat conftest.err >&5
     6486  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6487  (exit $ac_status); } && {
     6488         test -z "$ac_c_werror_flag" ||
     6489         test ! -s conftest.err
     6490       } && test -s conftest.$ac_objext; then
    58586491  tcl_cv_sysexecaout_h=usable
    58596492else
    5860   tcl_cv_sysexecaout_h=unusable
    5861 fi
     6493  $as_echo "$as_me: failed program was:" >&5
     6494sed 's/^/| /' conftest.$ac_ext >&5
     6495
     6496        tcl_cv_sysexecaout_h=unusable
     6497fi
     6498
    58626499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    58636500fi
    5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
     6501{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    58656502$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    58666503                if test $tcl_cv_sysexecaout_h = usable; then
    5867                     $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
     6504                    cat >>confdefs.h <<\_ACEOF
     6505#define USE_SYS_EXEC_AOUT_H 1
     6506_ACEOF
    58686507
    58696508                else
     
    58776516
    58786517    # Check whether --enable-load was given.
    5879 if test "${enable_load+set}" = set; then :
     6518if test "${enable_load+set}" = set; then
    58806519  enableval=$enable_load; tcl_ok=$enableval
    58816520else
     
    60006639
    60016640
    6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
     6641{ $as_echo "$as_me:$LINENO: checking for X" >&5
    60036642$as_echo_n "checking for X... " >&6; }
    60046643
    60056644
    60066645# Check whether --with-x was given.
    6007 if test "${with_x+set}" = set; then :
     6646if test "${with_x+set}" = set; then
    60086647  withval=$with_x;
    60096648fi
     
    60156654else
    60166655  case $x_includes,$x_libraries in #(
    6017     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
    6018     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
     6656    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
     6657$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
     6658   { (exit 1); exit 1; }; };; #(
     6659    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
    60196660  $as_echo_n "(cached) " >&6
    60206661else
     
    60336674_ACEOF
    60346675  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    6035     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     6676    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    60366677    for ac_var in incroot usrlibdir libdir; do
    60376678      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    60646705ac_x_header_dirs='
    60656706/usr/X11/include
    6066 /usr/X11R7/include
    60676707/usr/X11R6/include
    60686708/usr/X11R5/include
     
    60706710
    60716711/usr/include/X11
    6072 /usr/include/X11R7
    60736712/usr/include/X11R6
    60746713/usr/include/X11R5
     
    60766715
    60776716/usr/local/X11/include
    6078 /usr/local/X11R7/include
    60796717/usr/local/X11R6/include
    60806718/usr/local/X11R5/include
     
    60826720
    60836721/usr/local/include/X11
    6084 /usr/local/include/X11R7
    60856722/usr/local/include/X11R6
    60866723/usr/local/include/X11R5
     
    61046741  # Guess where to find include files, by looking for Xlib.h.
    61056742  # First, try using that file with no special directory specified.
    6106   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6743  cat >conftest.$ac_ext <<_ACEOF
     6744/* confdefs.h.  */
     6745_ACEOF
     6746cat confdefs.h >>conftest.$ac_ext
     6747cat >>conftest.$ac_ext <<_ACEOF
    61076748/* end confdefs.h.  */
    61086749#include <X11/Xlib.h>
    61096750_ACEOF
    6110 if ac_fn_c_try_cpp "$LINENO"; then :
     6751if { (ac_try="$ac_cpp conftest.$ac_ext"
     6752case "(($ac_try" in
     6753  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6754  *) ac_try_echo=$ac_try;;
     6755esac
     6756eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6757$as_echo "$ac_try_echo") >&5
     6758  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6759  ac_status=$?
     6760  grep -v '^ *+' conftest.er1 >conftest.err
     6761  rm -f conftest.er1
     6762  cat conftest.err >&5
     6763  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6764  (exit $ac_status); } >/dev/null && {
     6765         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6766         test ! -s conftest.err
     6767       }; then
    61116768  # We can compile using X headers with no special include directory.
    61126769ac_x_includes=
    61136770else
     6771  $as_echo "$as_me: failed program was:" >&5
     6772sed 's/^/| /' conftest.$ac_ext >&5
     6773
    61146774  for ac_dir in $ac_x_header_dirs; do
    61156775  if test -r "$ac_dir/X11/Xlib.h"; then
     
    61196779done
    61206780fi
    6121 rm -f conftest.err conftest.i conftest.$ac_ext
     6781
     6782rm -f conftest.err conftest.$ac_ext
    61226783fi # $ac_x_includes = no
    61236784
     
    61286789  ac_save_LIBS=$LIBS
    61296790  LIBS="-lX11 $LIBS"
    6130   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6791  cat >conftest.$ac_ext <<_ACEOF
     6792/* confdefs.h.  */
     6793_ACEOF
     6794cat confdefs.h >>conftest.$ac_ext
     6795cat >>conftest.$ac_ext <<_ACEOF
    61316796/* end confdefs.h.  */
    61326797#include <X11/Xlib.h>
     
    61396804}
    61406805_ACEOF
    6141 if ac_fn_c_try_link "$LINENO"; then :
     6806rm -f conftest.$ac_objext conftest$ac_exeext
     6807if { (ac_try="$ac_link"
     6808case "(($ac_try" in
     6809  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6810  *) ac_try_echo=$ac_try;;
     6811esac
     6812eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6813$as_echo "$ac_try_echo") >&5
     6814  (eval "$ac_link") 2>conftest.er1
     6815  ac_status=$?
     6816  grep -v '^ *+' conftest.er1 >conftest.err
     6817  rm -f conftest.er1
     6818  cat conftest.err >&5
     6819  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6820  (exit $ac_status); } && {
     6821         test -z "$ac_c_werror_flag" ||
     6822         test ! -s conftest.err
     6823       } && test -s conftest$ac_exeext && {
     6824         test "$cross_compiling" = yes ||
     6825         $as_test_x conftest$ac_exeext
     6826       }; then
    61426827  LIBS=$ac_save_LIBS
    61436828# We can link X programs with no special library path.
    61446829ac_x_libraries=
    61456830else
    6146   LIBS=$ac_save_LIBS
     6831  $as_echo "$as_me: failed program was:" >&5
     6832sed 's/^/| /' conftest.$ac_ext >&5
     6833
     6834        LIBS=$ac_save_LIBS
    61476835for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    61486836do
     
    61566844done
    61576845fi
    6158 rm -f core conftest.err conftest.$ac_objext \
    6159     conftest$ac_exeext conftest.$ac_ext
     6846
     6847rm -rf conftest.dSYM
     6848rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6849      conftest$ac_exeext conftest.$ac_ext
    61606850fi # $ac_x_libraries = no
    61616851
     
    61786868
    61796869if test "$have_x" != yes; then
    6180   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
     6870  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
    61816871$as_echo "$have_x" >&6; }
    61826872  no_x=yes
     
    61896879        ac_x_includes='$x_includes'\
    61906880        ac_x_libraries='$x_libraries'"
    6191   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
     6881  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
    61926882$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    61936883fi
     
    62086898# ./install, which can be erroneously created by make from ./install.sh.
    62096899# Reject install programs that cannot install multiple files.
    6210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     6900{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    62116901$as_echo_n "checking for a BSD-compatible install... " >&6; }
    62126902if test -z "$INSTALL"; then
    6213 if ${ac_cv_path_install+:} false; then :
     6903if test "${ac_cv_path_install+set}" = set; then
    62146904  $as_echo_n "(cached) " >&6
    62156905else
     
    62196909  IFS=$as_save_IFS
    62206910  test -z "$as_dir" && as_dir=.
    6221     # Account for people who put trailing slashes in PATH elements.
    6222 case $as_dir/ in #((
    6223   ./ | .// | /[cC]/* | \
     6911  # Account for people who put trailing slashes in PATH elements.
     6912case $as_dir/ in
     6913  ./ | .// | /cC/* | \
    62246914  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6225   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     6915  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    62266916  /usr/ucb/* ) ;;
    62276917  *)
     
    62606950esac
    62616951
    6262   done
     6952done
    62636953IFS=$as_save_IFS
    62646954
     
    62766966  fi
    62776967fi
    6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     6968{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    62796969$as_echo "$INSTALL" >&6; }
    62806970
     
    62906980  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    62916981set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6982{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    62936983$as_echo_n "checking for $ac_word... " >&6; }
    6294 if ${ac_cv_prog_RANLIB+:} false; then :
     6984if test "${ac_cv_prog_RANLIB+set}" = set; then
    62956985  $as_echo_n "(cached) " >&6
    62966986else
     
    63036993  IFS=$as_save_IFS
    63046994  test -z "$as_dir" && as_dir=.
    6305     for ac_exec_ext in '' $ac_executable_extensions; do
     6995  for ac_exec_ext in '' $ac_executable_extensions; do
    63066996  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63076997    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6308     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6998    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63096999    break 2
    63107000  fi
    63117001done
    6312   done
     7002done
    63137003IFS=$as_save_IFS
    63147004
     
    63177007RANLIB=$ac_cv_prog_RANLIB
    63187008if test -n "$RANLIB"; then
    6319   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     7009  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    63207010$as_echo "$RANLIB" >&6; }
    63217011else
    6322   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7012  { $as_echo "$as_me:$LINENO: result: no" >&5
    63237013$as_echo "no" >&6; }
    63247014fi
     
    63307020  # Extract the first word of "ranlib", so it can be a program name with args.
    63317021set dummy ranlib; ac_word=$2
    6332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7022{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    63337023$as_echo_n "checking for $ac_word... " >&6; }
    6334 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     7024if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    63357025  $as_echo_n "(cached) " >&6
    63367026else
     
    63437033  IFS=$as_save_IFS
    63447034  test -z "$as_dir" && as_dir=.
    6345     for ac_exec_ext in '' $ac_executable_extensions; do
     7035  for ac_exec_ext in '' $ac_executable_extensions; do
    63467036  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63477037    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6348     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7038    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63497039    break 2
    63507040  fi
    63517041done
    6352   done
     7042done
    63537043IFS=$as_save_IFS
    63547044
     
    63577047ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    63587048if test -n "$ac_ct_RANLIB"; then
    6359   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     7049  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    63607050$as_echo "$ac_ct_RANLIB" >&6; }
    63617051else
    6362   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7052  { $as_echo "$as_me:$LINENO: result: no" >&5
    63637053$as_echo "no" >&6; }
    63647054fi
     
    63697059    case $cross_compiling:$ac_tool_warned in
    63707060yes:)
    6371 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7061{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    63727062$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    63737063ac_tool_warned=yes ;;
     
    63797069fi
    63807070
    6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     7071{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
    63827072$as_echo_n "checking whether ln -s works... " >&6; }
    63837073LN_S=$as_ln_s
    63847074if test "$LN_S" = "ln -s"; then
    6385   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     7075  { $as_echo "$as_me:$LINENO: result: yes" >&5
    63867076$as_echo "yes" >&6; }
    63877077else
    6388   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     7078  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    63897079$as_echo "no, using $LN_S" >&6; }
    63907080fi
    63917081
    6392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     7082{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    63937083$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    63947084if test -z "$MKDIR_P"; then
    6395   if ${ac_cv_path_mkdir+:} false; then :
     7085  if test "${ac_cv_path_mkdir+set}" = set; then
    63967086  $as_echo_n "(cached) " >&6
    63977087else
     
    64017091  IFS=$as_save_IFS
    64027092  test -z "$as_dir" && as_dir=.
    6403     for ac_prog in mkdir gmkdir; do
     7093  for ac_prog in mkdir gmkdir; do
    64047094         for ac_exec_ext in '' $ac_executable_extensions; do
    64057095           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    64137103         done
    64147104       done
    6415   done
     7105done
    64167106IFS=$as_save_IFS
    64177107
    64187108fi
    64197109
    6420   test -d ./--version && rmdir ./--version
    64217110  if test "${ac_cv_path_mkdir+set}" = set; then
    64227111    MKDIR_P="$ac_cv_path_mkdir -p"
     
    64267115    # break other packages using the cache if that directory is
    64277116    # removed, or if the value is a relative name.
     7117    test -d ./--version && rmdir ./--version
    64287118    MKDIR_P="$ac_install_sh -d"
    64297119  fi
    64307120fi
    6431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     7121{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    64327122$as_echo "$MKDIR_P" >&6; }
    64337123
     
    64417131  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    64427132set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7133{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    64447134$as_echo_n "checking for $ac_word... " >&6; }
    6445 if ${ac_cv_prog_CC+:} false; then :
     7135if test "${ac_cv_prog_CC+set}" = set; then
    64467136  $as_echo_n "(cached) " >&6
    64477137else
     
    64547144  IFS=$as_save_IFS
    64557145  test -z "$as_dir" && as_dir=.
    6456     for ac_exec_ext in '' $ac_executable_extensions; do
     7146  for ac_exec_ext in '' $ac_executable_extensions; do
    64577147  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64587148    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6459     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7149    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64607150    break 2
    64617151  fi
    64627152done
    6463   done
     7153done
    64647154IFS=$as_save_IFS
    64657155
     
    64687158CC=$ac_cv_prog_CC
    64697159if test -n "$CC"; then
    6470   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     7160  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    64717161$as_echo "$CC" >&6; }
    64727162else
    6473   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7163  { $as_echo "$as_me:$LINENO: result: no" >&5
    64747164$as_echo "no" >&6; }
    64757165fi
     
    64817171  # Extract the first word of "gcc", so it can be a program name with args.
    64827172set dummy gcc; ac_word=$2
    6483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7173{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    64847174$as_echo_n "checking for $ac_word... " >&6; }
    6485 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     7175if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    64867176  $as_echo_n "(cached) " >&6
    64877177else
     
    64947184  IFS=$as_save_IFS
    64957185  test -z "$as_dir" && as_dir=.
    6496     for ac_exec_ext in '' $ac_executable_extensions; do
     7186  for ac_exec_ext in '' $ac_executable_extensions; do
    64977187  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64987188    ac_cv_prog_ac_ct_CC="gcc"
    6499     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7189    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65007190    break 2
    65017191  fi
    65027192done
    6503   done
     7193done
    65047194IFS=$as_save_IFS
    65057195
     
    65087198ac_ct_CC=$ac_cv_prog_ac_ct_CC
    65097199if test -n "$ac_ct_CC"; then
    6510   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     7200  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    65117201$as_echo "$ac_ct_CC" >&6; }
    65127202else
    6513   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7203  { $as_echo "$as_me:$LINENO: result: no" >&5
    65147204$as_echo "no" >&6; }
    65157205fi
     
    65207210    case $cross_compiling:$ac_tool_warned in
    65217211yes:)
    6522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7212{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    65237213$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    65247214ac_tool_warned=yes ;;
     
    65347224    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    65357225set dummy ${ac_tool_prefix}cc; ac_word=$2
    6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7226{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    65377227$as_echo_n "checking for $ac_word... " >&6; }
    6538 if ${ac_cv_prog_CC+:} false; then :
     7228if test "${ac_cv_prog_CC+set}" = set; then
    65397229  $as_echo_n "(cached) " >&6
    65407230else
     
    65477237  IFS=$as_save_IFS
    65487238  test -z "$as_dir" && as_dir=.
    6549     for ac_exec_ext in '' $ac_executable_extensions; do
     7239  for ac_exec_ext in '' $ac_executable_extensions; do
    65507240  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65517241    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6552     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7242    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65537243    break 2
    65547244  fi
    65557245done
    6556   done
     7246done
    65577247IFS=$as_save_IFS
    65587248
     
    65617251CC=$ac_cv_prog_CC
    65627252if test -n "$CC"; then
    6563   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     7253  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    65647254$as_echo "$CC" >&6; }
    65657255else
    6566   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7256  { $as_echo "$as_me:$LINENO: result: no" >&5
    65677257$as_echo "no" >&6; }
    65687258fi
     
    65747264  # Extract the first word of "cc", so it can be a program name with args.
    65757265set dummy cc; ac_word=$2
    6576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7266{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    65777267$as_echo_n "checking for $ac_word... " >&6; }
    6578 if ${ac_cv_prog_CC+:} false; then :
     7268if test "${ac_cv_prog_CC+set}" = set; then
    65797269  $as_echo_n "(cached) " >&6
    65807270else
     
    65887278  IFS=$as_save_IFS
    65897279  test -z "$as_dir" && as_dir=.
    6590     for ac_exec_ext in '' $ac_executable_extensions; do
     7280  for ac_exec_ext in '' $ac_executable_extensions; do
    65917281  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65927282    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    65957285     fi
    65967286    ac_cv_prog_CC="cc"
    6597     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7287    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65987288    break 2
    65997289  fi
    66007290done
    6601   done
     7291done
    66027292IFS=$as_save_IFS
    66037293
     
    66187308CC=$ac_cv_prog_CC
    66197309if test -n "$CC"; then
    6620   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     7310  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    66217311$as_echo "$CC" >&6; }
    66227312else
    6623   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7313  { $as_echo "$as_me:$LINENO: result: no" >&5
    66247314$as_echo "no" >&6; }
    66257315fi
     
    66337323    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    66347324set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7325{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    66367326$as_echo_n "checking for $ac_word... " >&6; }
    6637 if ${ac_cv_prog_CC+:} false; then :
     7327if test "${ac_cv_prog_CC+set}" = set; then
    66387328  $as_echo_n "(cached) " >&6
    66397329else
     
    66467336  IFS=$as_save_IFS
    66477337  test -z "$as_dir" && as_dir=.
    6648     for ac_exec_ext in '' $ac_executable_extensions; do
     7338  for ac_exec_ext in '' $ac_executable_extensions; do
    66497339  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    66507340    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    6651     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7341    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    66527342    break 2
    66537343  fi
    66547344done
    6655   done
     7345done
    66567346IFS=$as_save_IFS
    66577347
     
    66607350CC=$ac_cv_prog_CC
    66617351if test -n "$CC"; then
    6662   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     7352  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    66637353$as_echo "$CC" >&6; }
    66647354else
    6665   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7355  { $as_echo "$as_me:$LINENO: result: no" >&5
    66667356$as_echo "no" >&6; }
    66677357fi
     
    66777367  # Extract the first word of "$ac_prog", so it can be a program name with args.
    66787368set dummy $ac_prog; ac_word=$2
    6679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7369{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    66807370$as_echo_n "checking for $ac_word... " >&6; }
    6681 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     7371if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    66827372  $as_echo_n "(cached) " >&6
    66837373else
     
    66907380  IFS=$as_save_IFS
    66917381  test -z "$as_dir" && as_dir=.
    6692     for ac_exec_ext in '' $ac_executable_extensions; do
     7382  for ac_exec_ext in '' $ac_executable_extensions; do
    66937383  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    66947384    ac_cv_prog_ac_ct_CC="$ac_prog"
    6695     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7385    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    66967386    break 2
    66977387  fi
    66987388done
    6699   done
     7389done
    67007390IFS=$as_save_IFS
    67017391
     
    67047394ac_ct_CC=$ac_cv_prog_ac_ct_CC
    67057395if test -n "$ac_ct_CC"; then
    6706   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     7396  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    67077397$as_echo "$ac_ct_CC" >&6; }
    67087398else
    6709   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7399  { $as_echo "$as_me:$LINENO: result: no" >&5
    67107400$as_echo "no" >&6; }
    67117401fi
     
    67207410    case $cross_compiling:$ac_tool_warned in
    67217411yes:)
    6722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7412{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    67237413$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    67247414ac_tool_warned=yes ;;
     
    67317421
    67327422
    6733 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7423test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    67347424$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6735 as_fn_error $? "no acceptable C compiler found in \$PATH
    6736 See \`config.log' for more details" "$LINENO" 5; }
     7425{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     7426See \`config.log' for more details." >&5
     7427$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     7428See \`config.log' for more details." >&2;}
     7429   { (exit 1); exit 1; }; }; }
    67377430
    67387431# Provide some information about the compiler.
    6739 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     7432$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    67407433set X $ac_compile
    67417434ac_compiler=$2
    6742 for ac_option in --version -v -V -qversion; do
    6743   { { ac_try="$ac_compiler $ac_option >&5"
     7435{ (ac_try="$ac_compiler --version >&5"
    67447436case "(($ac_try" in
    67457437  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    67467438  *) ac_try_echo=$ac_try;;
    67477439esac
    6748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    6749 $as_echo "$ac_try_echo"; } >&5
    6750   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     7440eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7441$as_echo "$ac_try_echo") >&5
     7442  (eval "$ac_compiler --version >&5") 2>&5
    67517443  ac_status=$?
    6752   if test -s conftest.err; then
    6753     sed '10a\
    6754 ... rest of stderr output deleted ...
    6755          10q' conftest.err >conftest.er1
    6756     cat conftest.er1 >&5
    6757   fi
    6758   rm -f conftest.er1 conftest.err
    6759   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6760   test $ac_status = 0; }
    6761 done
    6762 
    6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     7444  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7445  (exit $ac_status); }
     7446{ (ac_try="$ac_compiler -v >&5"
     7447case "(($ac_try" in
     7448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7449  *) ac_try_echo=$ac_try;;
     7450esac
     7451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7452$as_echo "$ac_try_echo") >&5
     7453  (eval "$ac_compiler -v >&5") 2>&5
     7454  ac_status=$?
     7455  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7456  (exit $ac_status); }
     7457{ (ac_try="$ac_compiler -V >&5"
     7458case "(($ac_try" in
     7459  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7460  *) ac_try_echo=$ac_try;;
     7461esac
     7462eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7463$as_echo "$ac_try_echo") >&5
     7464  (eval "$ac_compiler -V >&5") 2>&5
     7465  ac_status=$?
     7466  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7467  (exit $ac_status); }
     7468
     7469{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    67647470$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    6765 if ${ac_cv_c_compiler_gnu+:} false; then :
     7471if test "${ac_cv_c_compiler_gnu+set}" = set; then
    67667472  $as_echo_n "(cached) " >&6
    67677473else
    6768   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7474  cat >conftest.$ac_ext <<_ACEOF
     7475/* confdefs.h.  */
     7476_ACEOF
     7477cat confdefs.h >>conftest.$ac_ext
     7478cat >>conftest.$ac_ext <<_ACEOF
    67697479/* end confdefs.h.  */
    67707480
     
    67807490}
    67817491_ACEOF
    6782 if ac_fn_c_try_compile "$LINENO"; then :
     7492rm -f conftest.$ac_objext
     7493if { (ac_try="$ac_compile"
     7494case "(($ac_try" in
     7495  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7496  *) ac_try_echo=$ac_try;;
     7497esac
     7498eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7499$as_echo "$ac_try_echo") >&5
     7500  (eval "$ac_compile") 2>conftest.er1
     7501  ac_status=$?
     7502  grep -v '^ *+' conftest.er1 >conftest.err
     7503  rm -f conftest.er1
     7504  cat conftest.err >&5
     7505  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7506  (exit $ac_status); } && {
     7507         test -z "$ac_c_werror_flag" ||
     7508         test ! -s conftest.err
     7509       } && test -s conftest.$ac_objext; then
    67837510  ac_compiler_gnu=yes
    67847511else
    6785   ac_compiler_gnu=no
    6786 fi
     7512  $as_echo "$as_me: failed program was:" >&5
     7513sed 's/^/| /' conftest.$ac_ext >&5
     7514
     7515        ac_compiler_gnu=no
     7516fi
     7517
    67877518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    67887519ac_cv_c_compiler_gnu=$ac_compiler_gnu
    67897520
    67907521fi
    6791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     7522{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    67927523$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    67937524if test $ac_compiler_gnu = yes; then
     
    67987529ac_test_CFLAGS=${CFLAGS+set}
    67997530ac_save_CFLAGS=$CFLAGS
    6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     7531{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    68017532$as_echo_n "checking whether $CC accepts -g... " >&6; }
    6802 if ${ac_cv_prog_cc_g+:} false; then :
     7533if test "${ac_cv_prog_cc_g+set}" = set; then
    68037534  $as_echo_n "(cached) " >&6
    68047535else
     
    68077538   ac_cv_prog_cc_g=no
    68087539   CFLAGS="-g"
    6809    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7540   cat >conftest.$ac_ext <<_ACEOF
     7541/* confdefs.h.  */
     7542_ACEOF
     7543cat confdefs.h >>conftest.$ac_ext
     7544cat >>conftest.$ac_ext <<_ACEOF
    68107545/* end confdefs.h.  */
    68117546
     
    68187553}
    68197554_ACEOF
    6820 if ac_fn_c_try_compile "$LINENO"; then :
     7555rm -f conftest.$ac_objext
     7556if { (ac_try="$ac_compile"
     7557case "(($ac_try" in
     7558  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7559  *) ac_try_echo=$ac_try;;
     7560esac
     7561eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7562$as_echo "$ac_try_echo") >&5
     7563  (eval "$ac_compile") 2>conftest.er1
     7564  ac_status=$?
     7565  grep -v '^ *+' conftest.er1 >conftest.err
     7566  rm -f conftest.er1
     7567  cat conftest.err >&5
     7568  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7569  (exit $ac_status); } && {
     7570         test -z "$ac_c_werror_flag" ||
     7571         test ! -s conftest.err
     7572       } && test -s conftest.$ac_objext; then
    68217573  ac_cv_prog_cc_g=yes
    68227574else
    6823   CFLAGS=""
    6824       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7575  $as_echo "$as_me: failed program was:" >&5
     7576sed 's/^/| /' conftest.$ac_ext >&5
     7577
     7578        CFLAGS=""
     7579      cat >conftest.$ac_ext <<_ACEOF
     7580/* confdefs.h.  */
     7581_ACEOF
     7582cat confdefs.h >>conftest.$ac_ext
     7583cat >>conftest.$ac_ext <<_ACEOF
    68257584/* end confdefs.h.  */
    68267585
     
    68337592}
    68347593_ACEOF
    6835 if ac_fn_c_try_compile "$LINENO"; then :
    6836 
    6837 else
    6838   ac_c_werror_flag=$ac_save_c_werror_flag
     7594rm -f conftest.$ac_objext
     7595if { (ac_try="$ac_compile"
     7596case "(($ac_try" in
     7597  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7598  *) ac_try_echo=$ac_try;;
     7599esac
     7600eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7601$as_echo "$ac_try_echo") >&5
     7602  (eval "$ac_compile") 2>conftest.er1
     7603  ac_status=$?
     7604  grep -v '^ *+' conftest.er1 >conftest.err
     7605  rm -f conftest.er1
     7606  cat conftest.err >&5
     7607  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7608  (exit $ac_status); } && {
     7609         test -z "$ac_c_werror_flag" ||
     7610         test ! -s conftest.err
     7611       } && test -s conftest.$ac_objext; then
     7612  :
     7613else
     7614  $as_echo "$as_me: failed program was:" >&5
     7615sed 's/^/| /' conftest.$ac_ext >&5
     7616
     7617        ac_c_werror_flag=$ac_save_c_werror_flag
    68397618         CFLAGS="-g"
    6840          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7619         cat >conftest.$ac_ext <<_ACEOF
     7620/* confdefs.h.  */
     7621_ACEOF
     7622cat confdefs.h >>conftest.$ac_ext
     7623cat >>conftest.$ac_ext <<_ACEOF
    68417624/* end confdefs.h.  */
    68427625
     
    68497632}
    68507633_ACEOF
    6851 if ac_fn_c_try_compile "$LINENO"; then :
     7634rm -f conftest.$ac_objext
     7635if { (ac_try="$ac_compile"
     7636case "(($ac_try" in
     7637  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7638  *) ac_try_echo=$ac_try;;
     7639esac
     7640eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7641$as_echo "$ac_try_echo") >&5
     7642  (eval "$ac_compile") 2>conftest.er1
     7643  ac_status=$?
     7644  grep -v '^ *+' conftest.er1 >conftest.err
     7645  rm -f conftest.er1
     7646  cat conftest.err >&5
     7647  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7648  (exit $ac_status); } && {
     7649         test -z "$ac_c_werror_flag" ||
     7650         test ! -s conftest.err
     7651       } && test -s conftest.$ac_objext; then
    68527652  ac_cv_prog_cc_g=yes
    6853 fi
     7653else
     7654  $as_echo "$as_me: failed program was:" >&5
     7655sed 's/^/| /' conftest.$ac_ext >&5
     7656
     7657
     7658fi
     7659
    68547660rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    68557661fi
     7662
    68567663rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    68577664fi
     7665
    68587666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    68597667   ac_c_werror_flag=$ac_save_c_werror_flag
    68607668fi
    6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     7669{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    68627670$as_echo "$ac_cv_prog_cc_g" >&6; }
    68637671if test "$ac_test_CFLAGS" = set; then
     
    68767684  fi
    68777685fi
    6878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     7686{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    68797687$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    6880 if ${ac_cv_prog_cc_c89+:} false; then :
     7688if test "${ac_cv_prog_cc_c89+set}" = set; then
    68817689  $as_echo_n "(cached) " >&6
    68827690else
    68837691  ac_cv_prog_cc_c89=no
    68847692ac_save_CC=$CC
    6885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7693cat >conftest.$ac_ext <<_ACEOF
     7694/* confdefs.h.  */
     7695_ACEOF
     7696cat confdefs.h >>conftest.$ac_ext
     7697cat >>conftest.$ac_ext <<_ACEOF
    68867698/* end confdefs.h.  */
    68877699#include <stdarg.h>
     
    69407752do
    69417753  CC="$ac_save_CC $ac_arg"
    6942   if ac_fn_c_try_compile "$LINENO"; then :
     7754  rm -f conftest.$ac_objext
     7755if { (ac_try="$ac_compile"
     7756case "(($ac_try" in
     7757  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7758  *) ac_try_echo=$ac_try;;
     7759esac
     7760eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7761$as_echo "$ac_try_echo") >&5
     7762  (eval "$ac_compile") 2>conftest.er1
     7763  ac_status=$?
     7764  grep -v '^ *+' conftest.er1 >conftest.err
     7765  rm -f conftest.er1
     7766  cat conftest.err >&5
     7767  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7768  (exit $ac_status); } && {
     7769         test -z "$ac_c_werror_flag" ||
     7770         test ! -s conftest.err
     7771       } && test -s conftest.$ac_objext; then
    69437772  ac_cv_prog_cc_c89=$ac_arg
    6944 fi
     7773else
     7774  $as_echo "$as_me: failed program was:" >&5
     7775sed 's/^/| /' conftest.$ac_ext >&5
     7776
     7777
     7778fi
     7779
    69457780rm -f core conftest.err conftest.$ac_objext
    69467781  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    69537788case "x$ac_cv_prog_cc_c89" in
    69547789  x)
    6955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     7790    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    69567791$as_echo "none needed" >&6; } ;;
    69577792  xno)
    6958     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     7793    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    69597794$as_echo "unsupported" >&6; } ;;
    69607795  *)
    69617796    CC="$CC $ac_cv_prog_cc_c89"
    6962     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     7797    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    69637798$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    69647799esac
    6965 if test "x$ac_cv_prog_cc_c89" != xno; then :
    6966 
    6967 fi
     7800
    69687801
    69697802ac_ext=c
     
    69787811ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    69797812ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     7813{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    69817814$as_echo_n "checking how to run the C preprocessor... " >&6; }
    69827815# On Suns, sometimes $CPP names a directory.
     
    69857818fi
    69867819if test -z "$CPP"; then
    6987   if ${ac_cv_prog_CPP+:} false; then :
     7820  if test "${ac_cv_prog_CPP+set}" = set; then
    69887821  $as_echo_n "(cached) " >&6
    69897822else
     
    70007833  # On the NeXT, cc -E runs the code through the compiler's parser,
    70017834  # not just through cpp. "Syntax error" is here to catch this case.
    7002   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7835  cat >conftest.$ac_ext <<_ACEOF
     7836/* confdefs.h.  */
     7837_ACEOF
     7838cat confdefs.h >>conftest.$ac_ext
     7839cat >>conftest.$ac_ext <<_ACEOF
    70037840/* end confdefs.h.  */
    70047841#ifdef __STDC__
     
    70097846                     Syntax error
    70107847_ACEOF
    7011 if ac_fn_c_try_cpp "$LINENO"; then :
    7012 
    7013 else
     7848if { (ac_try="$ac_cpp conftest.$ac_ext"
     7849case "(($ac_try" in
     7850  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7851  *) ac_try_echo=$ac_try;;
     7852esac
     7853eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7854$as_echo "$ac_try_echo") >&5
     7855  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7856  ac_status=$?
     7857  grep -v '^ *+' conftest.er1 >conftest.err
     7858  rm -f conftest.er1
     7859  cat conftest.err >&5
     7860  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7861  (exit $ac_status); } >/dev/null && {
     7862         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7863         test ! -s conftest.err
     7864       }; then
     7865  :
     7866else
     7867  $as_echo "$as_me: failed program was:" >&5
     7868sed 's/^/| /' conftest.$ac_ext >&5
     7869
    70147870  # Broken: fails on valid input.
    70157871continue
    70167872fi
    7017 rm -f conftest.err conftest.i conftest.$ac_ext
     7873
     7874rm -f conftest.err conftest.$ac_ext
    70187875
    70197876  # OK, works on sane cases.  Now check whether nonexistent headers
    70207877  # can be detected and how.
    7021   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7878  cat >conftest.$ac_ext <<_ACEOF
     7879/* confdefs.h.  */
     7880_ACEOF
     7881cat confdefs.h >>conftest.$ac_ext
     7882cat >>conftest.$ac_ext <<_ACEOF
    70227883/* end confdefs.h.  */
    70237884#include <ac_nonexistent.h>
    70247885_ACEOF
    7025 if ac_fn_c_try_cpp "$LINENO"; then :
     7886if { (ac_try="$ac_cpp conftest.$ac_ext"
     7887case "(($ac_try" in
     7888  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7889  *) ac_try_echo=$ac_try;;
     7890esac
     7891eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7892$as_echo "$ac_try_echo") >&5
     7893  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7894  ac_status=$?
     7895  grep -v '^ *+' conftest.er1 >conftest.err
     7896  rm -f conftest.er1
     7897  cat conftest.err >&5
     7898  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7899  (exit $ac_status); } >/dev/null && {
     7900         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7901         test ! -s conftest.err
     7902       }; then
    70267903  # Broken: success on invalid input.
    70277904continue
    70287905else
     7906  $as_echo "$as_me: failed program was:" >&5
     7907sed 's/^/| /' conftest.$ac_ext >&5
     7908
    70297909  # Passes both tests.
    70307910ac_preproc_ok=:
    70317911break
    70327912fi
    7033 rm -f conftest.err conftest.i conftest.$ac_ext
     7913
     7914rm -f conftest.err conftest.$ac_ext
    70347915
    70357916done
    70367917# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7037 rm -f conftest.i conftest.err conftest.$ac_ext
    7038 if $ac_preproc_ok; then :
     7918rm -f conftest.err conftest.$ac_ext
     7919if $ac_preproc_ok; then
    70397920  break
    70407921fi
     
    70487929  ac_cv_prog_CPP=$CPP
    70497930fi
    7050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     7931{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    70517932$as_echo "$CPP" >&6; }
    70527933ac_preproc_ok=false
     
    70597940  # On the NeXT, cc -E runs the code through the compiler's parser,
    70607941  # not just through cpp. "Syntax error" is here to catch this case.
    7061   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7942  cat >conftest.$ac_ext <<_ACEOF
     7943/* confdefs.h.  */
     7944_ACEOF
     7945cat confdefs.h >>conftest.$ac_ext
     7946cat >>conftest.$ac_ext <<_ACEOF
    70627947/* end confdefs.h.  */
    70637948#ifdef __STDC__
     
    70687953                     Syntax error
    70697954_ACEOF
    7070 if ac_fn_c_try_cpp "$LINENO"; then :
    7071 
    7072 else
     7955if { (ac_try="$ac_cpp conftest.$ac_ext"
     7956case "(($ac_try" in
     7957  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7958  *) ac_try_echo=$ac_try;;
     7959esac
     7960eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7961$as_echo "$ac_try_echo") >&5
     7962  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7963  ac_status=$?
     7964  grep -v '^ *+' conftest.er1 >conftest.err
     7965  rm -f conftest.er1
     7966  cat conftest.err >&5
     7967  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7968  (exit $ac_status); } >/dev/null && {
     7969         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7970         test ! -s conftest.err
     7971       }; then
     7972  :
     7973else
     7974  $as_echo "$as_me: failed program was:" >&5
     7975sed 's/^/| /' conftest.$ac_ext >&5
     7976
    70737977  # Broken: fails on valid input.
    70747978continue
    70757979fi
    7076 rm -f conftest.err conftest.i conftest.$ac_ext
     7980
     7981rm -f conftest.err conftest.$ac_ext
    70777982
    70787983  # OK, works on sane cases.  Now check whether nonexistent headers
    70797984  # can be detected and how.
    7080   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7985  cat >conftest.$ac_ext <<_ACEOF
     7986/* confdefs.h.  */
     7987_ACEOF
     7988cat confdefs.h >>conftest.$ac_ext
     7989cat >>conftest.$ac_ext <<_ACEOF
    70817990/* end confdefs.h.  */
    70827991#include <ac_nonexistent.h>
    70837992_ACEOF
    7084 if ac_fn_c_try_cpp "$LINENO"; then :
     7993if { (ac_try="$ac_cpp conftest.$ac_ext"
     7994case "(($ac_try" in
     7995  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7996  *) ac_try_echo=$ac_try;;
     7997esac
     7998eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7999$as_echo "$ac_try_echo") >&5
     8000  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8001  ac_status=$?
     8002  grep -v '^ *+' conftest.er1 >conftest.err
     8003  rm -f conftest.er1
     8004  cat conftest.err >&5
     8005  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8006  (exit $ac_status); } >/dev/null && {
     8007         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     8008         test ! -s conftest.err
     8009       }; then
    70858010  # Broken: success on invalid input.
    70868011continue
    70878012else
     8013  $as_echo "$as_me: failed program was:" >&5
     8014sed 's/^/| /' conftest.$ac_ext >&5
     8015
    70888016  # Passes both tests.
    70898017ac_preproc_ok=:
    70908018break
    70918019fi
    7092 rm -f conftest.err conftest.i conftest.$ac_ext
     8020
     8021rm -f conftest.err conftest.$ac_ext
    70938022
    70948023done
    70958024# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7096 rm -f conftest.i conftest.err conftest.$ac_ext
    7097 if $ac_preproc_ok; then :
    7098 
    7099 else
    7100   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8025rm -f conftest.err conftest.$ac_ext
     8026if $ac_preproc_ok; then
     8027  :
     8028else
     8029  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    71018030$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7102 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    7103 See \`config.log' for more details" "$LINENO" 5; }
     8031{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     8032See \`config.log' for more details." >&5
     8033$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     8034See \`config.log' for more details." >&2;}
     8035   { (exit 1); exit 1; }; }; }
    71048036fi
    71058037
     
    71248056    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    71258057set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8058{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    71278059$as_echo_n "checking for $ac_word... " >&6; }
    7128 if ${ac_cv_prog_CXX+:} false; then :
     8060if test "${ac_cv_prog_CXX+set}" = set; then
    71298061  $as_echo_n "(cached) " >&6
    71308062else
     
    71378069  IFS=$as_save_IFS
    71388070  test -z "$as_dir" && as_dir=.
    7139     for ac_exec_ext in '' $ac_executable_extensions; do
     8071  for ac_exec_ext in '' $ac_executable_extensions; do
    71408072  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    71418073    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7142     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8074    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    71438075    break 2
    71448076  fi
    71458077done
    7146   done
     8078done
    71478079IFS=$as_save_IFS
    71488080
     
    71518083CXX=$ac_cv_prog_CXX
    71528084if test -n "$CXX"; then
    7153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     8085  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    71548086$as_echo "$CXX" >&6; }
    71558087else
    7156   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8088  { $as_echo "$as_me:$LINENO: result: no" >&5
    71578089$as_echo "no" >&6; }
    71588090fi
     
    71688100  # Extract the first word of "$ac_prog", so it can be a program name with args.
    71698101set dummy $ac_prog; ac_word=$2
    7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8102{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    71718103$as_echo_n "checking for $ac_word... " >&6; }
    7172 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     8104if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    71738105  $as_echo_n "(cached) " >&6
    71748106else
     
    71818113  IFS=$as_save_IFS
    71828114  test -z "$as_dir" && as_dir=.
    7183     for ac_exec_ext in '' $ac_executable_extensions; do
     8115  for ac_exec_ext in '' $ac_executable_extensions; do
    71848116  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    71858117    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7186     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8118    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    71878119    break 2
    71888120  fi
    71898121done
    7190   done
     8122done
    71918123IFS=$as_save_IFS
    71928124
     
    71958127ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    71968128if test -n "$ac_ct_CXX"; then
    7197   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     8129  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    71988130$as_echo "$ac_ct_CXX" >&6; }
    71998131else
    7200   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8132  { $as_echo "$as_me:$LINENO: result: no" >&5
    72018133$as_echo "no" >&6; }
    72028134fi
     
    72118143    case $cross_compiling:$ac_tool_warned in
    72128144yes:)
    7213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8145{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    72148146$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    72158147ac_tool_warned=yes ;;
     
    72228154fi
    72238155# Provide some information about the compiler.
    7224 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     8156$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    72258157set X $ac_compile
    72268158ac_compiler=$2
    7227 for ac_option in --version -v -V -qversion; do
    7228   { { ac_try="$ac_compiler $ac_option >&5"
     8159{ (ac_try="$ac_compiler --version >&5"
    72298160case "(($ac_try" in
    72308161  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    72318162  *) ac_try_echo=$ac_try;;
    72328163esac
    7233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    7234 $as_echo "$ac_try_echo"; } >&5
    7235   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     8164eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8165$as_echo "$ac_try_echo") >&5
     8166  (eval "$ac_compiler --version >&5") 2>&5
    72368167  ac_status=$?
    7237   if test -s conftest.err; then
    7238     sed '10a\
    7239 ... rest of stderr output deleted ...
    7240          10q' conftest.err >conftest.er1
    7241     cat conftest.er1 >&5
    7242   fi
    7243   rm -f conftest.er1 conftest.err
    7244   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7245   test $ac_status = 0; }
    7246 done
    7247 
    7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     8168  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8169  (exit $ac_status); }
     8170{ (ac_try="$ac_compiler -v >&5"
     8171case "(($ac_try" in
     8172  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8173  *) ac_try_echo=$ac_try;;
     8174esac
     8175eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8176$as_echo "$ac_try_echo") >&5
     8177  (eval "$ac_compiler -v >&5") 2>&5
     8178  ac_status=$?
     8179  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8180  (exit $ac_status); }
     8181{ (ac_try="$ac_compiler -V >&5"
     8182case "(($ac_try" in
     8183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8184  *) ac_try_echo=$ac_try;;
     8185esac
     8186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8187$as_echo "$ac_try_echo") >&5
     8188  (eval "$ac_compiler -V >&5") 2>&5
     8189  ac_status=$?
     8190  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8191  (exit $ac_status); }
     8192
     8193{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    72498194$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7250 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     8195if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    72518196  $as_echo_n "(cached) " >&6
    72528197else
    7253   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8198  cat >conftest.$ac_ext <<_ACEOF
     8199/* confdefs.h.  */
     8200_ACEOF
     8201cat confdefs.h >>conftest.$ac_ext
     8202cat >>conftest.$ac_ext <<_ACEOF
    72548203/* end confdefs.h.  */
    72558204
     
    72658214}
    72668215_ACEOF
    7267 if ac_fn_cxx_try_compile "$LINENO"; then :
     8216rm -f conftest.$ac_objext
     8217if { (ac_try="$ac_compile"
     8218case "(($ac_try" in
     8219  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8220  *) ac_try_echo=$ac_try;;
     8221esac
     8222eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8223$as_echo "$ac_try_echo") >&5
     8224  (eval "$ac_compile") 2>conftest.er1
     8225  ac_status=$?
     8226  grep -v '^ *+' conftest.er1 >conftest.err
     8227  rm -f conftest.er1
     8228  cat conftest.err >&5
     8229  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8230  (exit $ac_status); } && {
     8231         test -z "$ac_cxx_werror_flag" ||
     8232         test ! -s conftest.err
     8233       } && test -s conftest.$ac_objext; then
    72688234  ac_compiler_gnu=yes
    72698235else
    7270   ac_compiler_gnu=no
    7271 fi
     8236  $as_echo "$as_me: failed program was:" >&5
     8237sed 's/^/| /' conftest.$ac_ext >&5
     8238
     8239        ac_compiler_gnu=no
     8240fi
     8241
    72728242rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    72738243ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    72748244
    72758245fi
    7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     8246{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    72778247$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    72788248if test $ac_compiler_gnu = yes; then
     
    72838253ac_test_CXXFLAGS=${CXXFLAGS+set}
    72848254ac_save_CXXFLAGS=$CXXFLAGS
    7285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     8255{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    72868256$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7287 if ${ac_cv_prog_cxx_g+:} false; then :
     8257if test "${ac_cv_prog_cxx_g+set}" = set; then
    72888258  $as_echo_n "(cached) " >&6
    72898259else
     
    72928262   ac_cv_prog_cxx_g=no
    72938263   CXXFLAGS="-g"
    7294    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8264   cat >conftest.$ac_ext <<_ACEOF
     8265/* confdefs.h.  */
     8266_ACEOF
     8267cat confdefs.h >>conftest.$ac_ext
     8268cat >>conftest.$ac_ext <<_ACEOF
    72958269/* end confdefs.h.  */
    72968270
     
    73038277}
    73048278_ACEOF
    7305 if ac_fn_cxx_try_compile "$LINENO"; then :
     8279rm -f conftest.$ac_objext
     8280if { (ac_try="$ac_compile"
     8281case "(($ac_try" in
     8282  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8283  *) ac_try_echo=$ac_try;;
     8284esac
     8285eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8286$as_echo "$ac_try_echo") >&5
     8287  (eval "$ac_compile") 2>conftest.er1
     8288  ac_status=$?
     8289  grep -v '^ *+' conftest.er1 >conftest.err
     8290  rm -f conftest.er1
     8291  cat conftest.err >&5
     8292  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8293  (exit $ac_status); } && {
     8294         test -z "$ac_cxx_werror_flag" ||
     8295         test ! -s conftest.err
     8296       } && test -s conftest.$ac_objext; then
    73068297  ac_cv_prog_cxx_g=yes
    73078298else
    7308   CXXFLAGS=""
    7309       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8299  $as_echo "$as_me: failed program was:" >&5
     8300sed 's/^/| /' conftest.$ac_ext >&5
     8301
     8302        CXXFLAGS=""
     8303      cat >conftest.$ac_ext <<_ACEOF
     8304/* confdefs.h.  */
     8305_ACEOF
     8306cat confdefs.h >>conftest.$ac_ext
     8307cat >>conftest.$ac_ext <<_ACEOF
    73108308/* end confdefs.h.  */
    73118309
     
    73188316}
    73198317_ACEOF
    7320 if ac_fn_cxx_try_compile "$LINENO"; then :
    7321 
    7322 else
    7323   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     8318rm -f conftest.$ac_objext
     8319if { (ac_try="$ac_compile"
     8320case "(($ac_try" in
     8321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8322  *) ac_try_echo=$ac_try;;
     8323esac
     8324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8325$as_echo "$ac_try_echo") >&5
     8326  (eval "$ac_compile") 2>conftest.er1
     8327  ac_status=$?
     8328  grep -v '^ *+' conftest.er1 >conftest.err
     8329  rm -f conftest.er1
     8330  cat conftest.err >&5
     8331  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8332  (exit $ac_status); } && {
     8333         test -z "$ac_cxx_werror_flag" ||
     8334         test ! -s conftest.err
     8335       } && test -s conftest.$ac_objext; then
     8336  :
     8337else
     8338  $as_echo "$as_me: failed program was:" >&5
     8339sed 's/^/| /' conftest.$ac_ext >&5
     8340
     8341        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    73248342         CXXFLAGS="-g"
    7325          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8343         cat >conftest.$ac_ext <<_ACEOF
     8344/* confdefs.h.  */
     8345_ACEOF
     8346cat confdefs.h >>conftest.$ac_ext
     8347cat >>conftest.$ac_ext <<_ACEOF
    73268348/* end confdefs.h.  */
    73278349
     
    73348356}
    73358357_ACEOF
    7336 if ac_fn_cxx_try_compile "$LINENO"; then :
     8358rm -f conftest.$ac_objext
     8359if { (ac_try="$ac_compile"
     8360case "(($ac_try" in
     8361  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8362  *) ac_try_echo=$ac_try;;
     8363esac
     8364eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8365$as_echo "$ac_try_echo") >&5
     8366  (eval "$ac_compile") 2>conftest.er1
     8367  ac_status=$?
     8368  grep -v '^ *+' conftest.er1 >conftest.err
     8369  rm -f conftest.er1
     8370  cat conftest.err >&5
     8371  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8372  (exit $ac_status); } && {
     8373         test -z "$ac_cxx_werror_flag" ||
     8374         test ! -s conftest.err
     8375       } && test -s conftest.$ac_objext; then
    73378376  ac_cv_prog_cxx_g=yes
    7338 fi
     8377else
     8378  $as_echo "$as_me: failed program was:" >&5
     8379sed 's/^/| /' conftest.$ac_ext >&5
     8380
     8381
     8382fi
     8383
    73398384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    73408385fi
     8386
    73418387rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    73428388fi
     8389
    73438390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    73448391   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    73458392fi
    7346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     8393{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    73478394$as_echo "$ac_cv_prog_cxx_g" >&6; }
    73488395if test "$ac_test_CXXFLAGS" = set; then
     
    73728419ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    73738420ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    7374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     8421{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    73758422$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    73768423if test -z "$CXXCPP"; then
    7377   if ${ac_cv_prog_CXXCPP+:} false; then :
     8424  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    73788425  $as_echo_n "(cached) " >&6
    73798426else
     
    73908437  # On the NeXT, cc -E runs the code through the compiler's parser,
    73918438  # not just through cpp. "Syntax error" is here to catch this case.
    7392   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8439  cat >conftest.$ac_ext <<_ACEOF
     8440/* confdefs.h.  */
     8441_ACEOF
     8442cat confdefs.h >>conftest.$ac_ext
     8443cat >>conftest.$ac_ext <<_ACEOF
    73938444/* end confdefs.h.  */
    73948445#ifdef __STDC__
     
    73998450                     Syntax error
    74008451_ACEOF
    7401 if ac_fn_cxx_try_cpp "$LINENO"; then :
    7402 
    7403 else
     8452if { (ac_try="$ac_cpp conftest.$ac_ext"
     8453case "(($ac_try" in
     8454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8455  *) ac_try_echo=$ac_try;;
     8456esac
     8457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8458$as_echo "$ac_try_echo") >&5
     8459  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8460  ac_status=$?
     8461  grep -v '^ *+' conftest.er1 >conftest.err
     8462  rm -f conftest.er1
     8463  cat conftest.err >&5
     8464  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8465  (exit $ac_status); } >/dev/null && {
     8466         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8467         test ! -s conftest.err
     8468       }; then
     8469  :
     8470else
     8471  $as_echo "$as_me: failed program was:" >&5
     8472sed 's/^/| /' conftest.$ac_ext >&5
     8473
    74048474  # Broken: fails on valid input.
    74058475continue
    74068476fi
    7407 rm -f conftest.err conftest.i conftest.$ac_ext
     8477
     8478rm -f conftest.err conftest.$ac_ext
    74088479
    74098480  # OK, works on sane cases.  Now check whether nonexistent headers
    74108481  # can be detected and how.
    7411   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8482  cat >conftest.$ac_ext <<_ACEOF
     8483/* confdefs.h.  */
     8484_ACEOF
     8485cat confdefs.h >>conftest.$ac_ext
     8486cat >>conftest.$ac_ext <<_ACEOF
    74128487/* end confdefs.h.  */
    74138488#include <ac_nonexistent.h>
    74148489_ACEOF
    7415 if ac_fn_cxx_try_cpp "$LINENO"; then :
     8490if { (ac_try="$ac_cpp conftest.$ac_ext"
     8491case "(($ac_try" in
     8492  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8493  *) ac_try_echo=$ac_try;;
     8494esac
     8495eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8496$as_echo "$ac_try_echo") >&5
     8497  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8498  ac_status=$?
     8499  grep -v '^ *+' conftest.er1 >conftest.err
     8500  rm -f conftest.er1
     8501  cat conftest.err >&5
     8502  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8503  (exit $ac_status); } >/dev/null && {
     8504         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8505         test ! -s conftest.err
     8506       }; then
    74168507  # Broken: success on invalid input.
    74178508continue
    74188509else
     8510  $as_echo "$as_me: failed program was:" >&5
     8511sed 's/^/| /' conftest.$ac_ext >&5
     8512
    74198513  # Passes both tests.
    74208514ac_preproc_ok=:
    74218515break
    74228516fi
    7423 rm -f conftest.err conftest.i conftest.$ac_ext
     8517
     8518rm -f conftest.err conftest.$ac_ext
    74248519
    74258520done
    74268521# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7427 rm -f conftest.i conftest.err conftest.$ac_ext
    7428 if $ac_preproc_ok; then :
     8522rm -f conftest.err conftest.$ac_ext
     8523if $ac_preproc_ok; then
    74298524  break
    74308525fi
     
    74388533  ac_cv_prog_CXXCPP=$CXXCPP
    74398534fi
    7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     8535{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
    74418536$as_echo "$CXXCPP" >&6; }
    74428537ac_preproc_ok=false
     
    74498544  # On the NeXT, cc -E runs the code through the compiler's parser,
    74508545  # not just through cpp. "Syntax error" is here to catch this case.
    7451   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8546  cat >conftest.$ac_ext <<_ACEOF
     8547/* confdefs.h.  */
     8548_ACEOF
     8549cat confdefs.h >>conftest.$ac_ext
     8550cat >>conftest.$ac_ext <<_ACEOF
    74528551/* end confdefs.h.  */
    74538552#ifdef __STDC__
     
    74588557                     Syntax error
    74598558_ACEOF
    7460 if ac_fn_cxx_try_cpp "$LINENO"; then :
    7461 
    7462 else
     8559if { (ac_try="$ac_cpp conftest.$ac_ext"
     8560case "(($ac_try" in
     8561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8562  *) ac_try_echo=$ac_try;;
     8563esac
     8564eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8565$as_echo "$ac_try_echo") >&5
     8566  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8567  ac_status=$?
     8568  grep -v '^ *+' conftest.er1 >conftest.err
     8569  rm -f conftest.er1
     8570  cat conftest.err >&5
     8571  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8572  (exit $ac_status); } >/dev/null && {
     8573         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8574         test ! -s conftest.err
     8575       }; then
     8576  :
     8577else
     8578  $as_echo "$as_me: failed program was:" >&5
     8579sed 's/^/| /' conftest.$ac_ext >&5
     8580
    74638581  # Broken: fails on valid input.
    74648582continue
    74658583fi
    7466 rm -f conftest.err conftest.i conftest.$ac_ext
     8584
     8585rm -f conftest.err conftest.$ac_ext
    74678586
    74688587  # OK, works on sane cases.  Now check whether nonexistent headers
    74698588  # can be detected and how.
    7470   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8589  cat >conftest.$ac_ext <<_ACEOF
     8590/* confdefs.h.  */
     8591_ACEOF
     8592cat confdefs.h >>conftest.$ac_ext
     8593cat >>conftest.$ac_ext <<_ACEOF
    74718594/* end confdefs.h.  */
    74728595#include <ac_nonexistent.h>
    74738596_ACEOF
    7474 if ac_fn_cxx_try_cpp "$LINENO"; then :
     8597if { (ac_try="$ac_cpp conftest.$ac_ext"
     8598case "(($ac_try" in
     8599  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8600  *) ac_try_echo=$ac_try;;
     8601esac
     8602eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8603$as_echo "$ac_try_echo") >&5
     8604  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8605  ac_status=$?
     8606  grep -v '^ *+' conftest.er1 >conftest.err
     8607  rm -f conftest.er1
     8608  cat conftest.err >&5
     8609  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8610  (exit $ac_status); } >/dev/null && {
     8611         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8612         test ! -s conftest.err
     8613       }; then
    74758614  # Broken: success on invalid input.
    74768615continue
    74778616else
     8617  $as_echo "$as_me: failed program was:" >&5
     8618sed 's/^/| /' conftest.$ac_ext >&5
     8619
    74788620  # Passes both tests.
    74798621ac_preproc_ok=:
    74808622break
    74818623fi
    7482 rm -f conftest.err conftest.i conftest.$ac_ext
     8624
     8625rm -f conftest.err conftest.$ac_ext
    74838626
    74848627done
    74858628# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7486 rm -f conftest.i conftest.err conftest.$ac_ext
    7487 if $ac_preproc_ok; then :
    7488 
    7489 else
    7490   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8629rm -f conftest.err conftest.$ac_ext
     8630if $ac_preproc_ok; then
     8631  :
     8632else
     8633  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    74918634$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7492 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    7493 See \`config.log' for more details" "$LINENO" 5; }
     8635{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8636See \`config.log' for more details." >&5
     8637$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8638See \`config.log' for more details." >&2;}
     8639   { (exit 1); exit 1; }; }; }
    74948640fi
    74958641
     
    75148660    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    75158661set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8662{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    75178663$as_echo_n "checking for $ac_word... " >&6; }
    7518 if ${ac_cv_prog_CXX+:} false; then :
     8664if test "${ac_cv_prog_CXX+set}" = set; then
    75198665  $as_echo_n "(cached) " >&6
    75208666else
     
    75278673  IFS=$as_save_IFS
    75288674  test -z "$as_dir" && as_dir=.
    7529     for ac_exec_ext in '' $ac_executable_extensions; do
     8675  for ac_exec_ext in '' $ac_executable_extensions; do
    75308676  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    75318677    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7532     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8678    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    75338679    break 2
    75348680  fi
    75358681done
    7536   done
     8682done
    75378683IFS=$as_save_IFS
    75388684
     
    75418687CXX=$ac_cv_prog_CXX
    75428688if test -n "$CXX"; then
    7543   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     8689  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    75448690$as_echo "$CXX" >&6; }
    75458691else
    7546   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8692  { $as_echo "$as_me:$LINENO: result: no" >&5
    75478693$as_echo "no" >&6; }
    75488694fi
     
    75588704  # Extract the first word of "$ac_prog", so it can be a program name with args.
    75598705set dummy $ac_prog; ac_word=$2
    7560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8706{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    75618707$as_echo_n "checking for $ac_word... " >&6; }
    7562 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     8708if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    75638709  $as_echo_n "(cached) " >&6
    75648710else
     
    75718717  IFS=$as_save_IFS
    75728718  test -z "$as_dir" && as_dir=.
    7573     for ac_exec_ext in '' $ac_executable_extensions; do
     8719  for ac_exec_ext in '' $ac_executable_extensions; do
    75748720  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    75758721    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7576     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8722    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    75778723    break 2
    75788724  fi
    75798725done
    7580   done
     8726done
    75818727IFS=$as_save_IFS
    75828728
     
    75858731ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    75868732if test -n "$ac_ct_CXX"; then
    7587   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     8733  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    75888734$as_echo "$ac_ct_CXX" >&6; }
    75898735else
    7590   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8736  { $as_echo "$as_me:$LINENO: result: no" >&5
    75918737$as_echo "no" >&6; }
    75928738fi
     
    76018747    case $cross_compiling:$ac_tool_warned in
    76028748yes:)
    7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8749{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    76048750$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    76058751ac_tool_warned=yes ;;
     
    76128758fi
    76138759# Provide some information about the compiler.
    7614 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     8760$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    76158761set X $ac_compile
    76168762ac_compiler=$2
    7617 for ac_option in --version -v -V -qversion; do
    7618   { { ac_try="$ac_compiler $ac_option >&5"
     8763{ (ac_try="$ac_compiler --version >&5"
    76198764case "(($ac_try" in
    76208765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    76218766  *) ac_try_echo=$ac_try;;
    76228767esac
    7623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    7624 $as_echo "$ac_try_echo"; } >&5
    7625   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     8768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8769$as_echo "$ac_try_echo") >&5
     8770  (eval "$ac_compiler --version >&5") 2>&5
    76268771  ac_status=$?
    7627   if test -s conftest.err; then
    7628     sed '10a\
    7629 ... rest of stderr output deleted ...
    7630          10q' conftest.err >conftest.er1
    7631     cat conftest.er1 >&5
    7632   fi
    7633   rm -f conftest.er1 conftest.err
    7634   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7635   test $ac_status = 0; }
    7636 done
    7637 
    7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     8772  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8773  (exit $ac_status); }
     8774{ (ac_try="$ac_compiler -v >&5"
     8775case "(($ac_try" in
     8776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8777  *) ac_try_echo=$ac_try;;
     8778esac
     8779eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8780$as_echo "$ac_try_echo") >&5
     8781  (eval "$ac_compiler -v >&5") 2>&5
     8782  ac_status=$?
     8783  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8784  (exit $ac_status); }
     8785{ (ac_try="$ac_compiler -V >&5"
     8786case "(($ac_try" in
     8787  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8788  *) ac_try_echo=$ac_try;;
     8789esac
     8790eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8791$as_echo "$ac_try_echo") >&5
     8792  (eval "$ac_compiler -V >&5") 2>&5
     8793  ac_status=$?
     8794  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8795  (exit $ac_status); }
     8796
     8797{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    76398798$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7640 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     8799if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    76418800  $as_echo_n "(cached) " >&6
    76428801else
    7643   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8802  cat >conftest.$ac_ext <<_ACEOF
     8803/* confdefs.h.  */
     8804_ACEOF
     8805cat confdefs.h >>conftest.$ac_ext
     8806cat >>conftest.$ac_ext <<_ACEOF
    76448807/* end confdefs.h.  */
    76458808
     
    76558818}
    76568819_ACEOF
    7657 if ac_fn_cxx_try_compile "$LINENO"; then :
     8820rm -f conftest.$ac_objext
     8821if { (ac_try="$ac_compile"
     8822case "(($ac_try" in
     8823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8824  *) ac_try_echo=$ac_try;;
     8825esac
     8826eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8827$as_echo "$ac_try_echo") >&5
     8828  (eval "$ac_compile") 2>conftest.er1
     8829  ac_status=$?
     8830  grep -v '^ *+' conftest.er1 >conftest.err
     8831  rm -f conftest.er1
     8832  cat conftest.err >&5
     8833  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8834  (exit $ac_status); } && {
     8835         test -z "$ac_cxx_werror_flag" ||
     8836         test ! -s conftest.err
     8837       } && test -s conftest.$ac_objext; then
    76588838  ac_compiler_gnu=yes
    76598839else
    7660   ac_compiler_gnu=no
    7661 fi
     8840  $as_echo "$as_me: failed program was:" >&5
     8841sed 's/^/| /' conftest.$ac_ext >&5
     8842
     8843        ac_compiler_gnu=no
     8844fi
     8845
    76628846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76638847ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    76648848
    76658849fi
    7666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     8850{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    76678851$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    76688852if test $ac_compiler_gnu = yes; then
     
    76738857ac_test_CXXFLAGS=${CXXFLAGS+set}
    76748858ac_save_CXXFLAGS=$CXXFLAGS
    7675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     8859{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    76768860$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7677 if ${ac_cv_prog_cxx_g+:} false; then :
     8861if test "${ac_cv_prog_cxx_g+set}" = set; then
    76788862  $as_echo_n "(cached) " >&6
    76798863else
     
    76828866   ac_cv_prog_cxx_g=no
    76838867   CXXFLAGS="-g"
    7684    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8868   cat >conftest.$ac_ext <<_ACEOF
     8869/* confdefs.h.  */
     8870_ACEOF
     8871cat confdefs.h >>conftest.$ac_ext
     8872cat >>conftest.$ac_ext <<_ACEOF
    76858873/* end confdefs.h.  */
    76868874
     
    76938881}
    76948882_ACEOF
    7695 if ac_fn_cxx_try_compile "$LINENO"; then :
     8883rm -f conftest.$ac_objext
     8884if { (ac_try="$ac_compile"
     8885case "(($ac_try" in
     8886  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8887  *) ac_try_echo=$ac_try;;
     8888esac
     8889eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8890$as_echo "$ac_try_echo") >&5
     8891  (eval "$ac_compile") 2>conftest.er1
     8892  ac_status=$?
     8893  grep -v '^ *+' conftest.er1 >conftest.err
     8894  rm -f conftest.er1
     8895  cat conftest.err >&5
     8896  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8897  (exit $ac_status); } && {
     8898         test -z "$ac_cxx_werror_flag" ||
     8899         test ! -s conftest.err
     8900       } && test -s conftest.$ac_objext; then
    76968901  ac_cv_prog_cxx_g=yes
    76978902else
    7698   CXXFLAGS=""
    7699       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8903  $as_echo "$as_me: failed program was:" >&5
     8904sed 's/^/| /' conftest.$ac_ext >&5
     8905
     8906        CXXFLAGS=""
     8907      cat >conftest.$ac_ext <<_ACEOF
     8908/* confdefs.h.  */
     8909_ACEOF
     8910cat confdefs.h >>conftest.$ac_ext
     8911cat >>conftest.$ac_ext <<_ACEOF
    77008912/* end confdefs.h.  */
    77018913
     
    77088920}
    77098921_ACEOF
    7710 if ac_fn_cxx_try_compile "$LINENO"; then :
    7711 
    7712 else
    7713   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     8922rm -f conftest.$ac_objext
     8923if { (ac_try="$ac_compile"
     8924case "(($ac_try" in
     8925  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8926  *) ac_try_echo=$ac_try;;
     8927esac
     8928eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8929$as_echo "$ac_try_echo") >&5
     8930  (eval "$ac_compile") 2>conftest.er1
     8931  ac_status=$?
     8932  grep -v '^ *+' conftest.er1 >conftest.err
     8933  rm -f conftest.er1
     8934  cat conftest.err >&5
     8935  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8936  (exit $ac_status); } && {
     8937         test -z "$ac_cxx_werror_flag" ||
     8938         test ! -s conftest.err
     8939       } && test -s conftest.$ac_objext; then
     8940  :
     8941else
     8942  $as_echo "$as_me: failed program was:" >&5
     8943sed 's/^/| /' conftest.$ac_ext >&5
     8944
     8945        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    77148946         CXXFLAGS="-g"
    7715          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8947         cat >conftest.$ac_ext <<_ACEOF
     8948/* confdefs.h.  */
     8949_ACEOF
     8950cat confdefs.h >>conftest.$ac_ext
     8951cat >>conftest.$ac_ext <<_ACEOF
    77168952/* end confdefs.h.  */
    77178953
     
    77248960}
    77258961_ACEOF
    7726 if ac_fn_cxx_try_compile "$LINENO"; then :
     8962rm -f conftest.$ac_objext
     8963if { (ac_try="$ac_compile"
     8964case "(($ac_try" in
     8965  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8966  *) ac_try_echo=$ac_try;;
     8967esac
     8968eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8969$as_echo "$ac_try_echo") >&5
     8970  (eval "$ac_compile") 2>conftest.er1
     8971  ac_status=$?
     8972  grep -v '^ *+' conftest.er1 >conftest.err
     8973  rm -f conftest.er1
     8974  cat conftest.err >&5
     8975  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8976  (exit $ac_status); } && {
     8977         test -z "$ac_cxx_werror_flag" ||
     8978         test ! -s conftest.err
     8979       } && test -s conftest.$ac_objext; then
    77278980  ac_cv_prog_cxx_g=yes
    7728 fi
     8981else
     8982  $as_echo "$as_me: failed program was:" >&5
     8983sed 's/^/| /' conftest.$ac_ext >&5
     8984
     8985
     8986fi
     8987
    77298988rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77308989fi
     8990
    77318991rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77328992fi
     8993
    77338994rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77348995   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    77358996fi
    7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     8997{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    77378998$as_echo "$ac_cv_prog_cxx_g" >&6; }
    77388999if test "$ac_test_CXXFLAGS" = set; then
     
    77659026
    77669027
    7767  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     9028
     9029 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    77689030$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    7769 if ${ac_cv_c_bigendian+:} false; then :
     9031if test "${ac_cv_c_bigendian+set}" = set; then
    77709032  $as_echo_n "(cached) " >&6
    77719033else
    77729034  ac_cv_c_bigendian=unknown
    77739035    # See if we're dealing with a universal compiler.
    7774     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9036    cat >conftest.$ac_ext <<_ACEOF
     9037/* confdefs.h.  */
     9038_ACEOF
     9039cat confdefs.h >>conftest.$ac_ext
     9040cat >>conftest.$ac_ext <<_ACEOF
    77759041/* end confdefs.h.  */
    77769042#ifndef __APPLE_CC__
     
    77809046
    77819047_ACEOF
    7782 if ac_fn_cxx_try_compile "$LINENO"; then :
     9048rm -f conftest.$ac_objext
     9049if { (ac_try="$ac_compile"
     9050case "(($ac_try" in
     9051  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9052  *) ac_try_echo=$ac_try;;
     9053esac
     9054eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9055$as_echo "$ac_try_echo") >&5
     9056  (eval "$ac_compile") 2>conftest.er1
     9057  ac_status=$?
     9058  grep -v '^ *+' conftest.er1 >conftest.err
     9059  rm -f conftest.er1
     9060  cat conftest.err >&5
     9061  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9062  (exit $ac_status); } && {
     9063         test -z "$ac_cxx_werror_flag" ||
     9064         test ! -s conftest.err
     9065       } && test -s conftest.$ac_objext; then
    77839066
    77849067        # Check for potential -arch flags.  It is not universal unless
    7785         # there are at least two -arch flags with different values.
    7786         ac_arch=
    7787         ac_prev=
    7788         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    7789          if test -n "$ac_prev"; then
    7790            case $ac_word in
    7791              i?86 | x86_64 | ppc | ppc64)
    7792                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    7793                  ac_arch=$ac_word
    7794                else
    7795                  ac_cv_c_bigendian=universal
    7796                  break
    7797                fi
    7798                ;;
    7799            esac
    7800            ac_prev=
    7801          elif test "x$ac_word" = "x-arch"; then
    7802            ac_prev=arch
    7803          fi
    7804        done
    7805 fi
     9068        # there are some -arch flags.  Note that *ppc* also matches
     9069        # ppc64.  This check is also rather less than ideal.
     9070        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     9071          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     9072        esac
     9073else
     9074  $as_echo "$as_me: failed program was:" >&5
     9075sed 's/^/| /' conftest.$ac_ext >&5
     9076
     9077
     9078fi
     9079
    78069080rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    78079081    if test $ac_cv_c_bigendian = unknown; then
    78089082      # See if sys/param.h defines the BYTE_ORDER macro.
    7809       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9083      cat >conftest.$ac_ext <<_ACEOF
     9084/* confdefs.h.  */
     9085_ACEOF
     9086cat confdefs.h >>conftest.$ac_ext
     9087cat >>conftest.$ac_ext <<_ACEOF
    78109088/* end confdefs.h.  */
    78119089#include <sys/types.h>
     
    78259103}
    78269104_ACEOF
    7827 if ac_fn_cxx_try_compile "$LINENO"; then :
     9105rm -f conftest.$ac_objext
     9106if { (ac_try="$ac_compile"
     9107case "(($ac_try" in
     9108  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9109  *) ac_try_echo=$ac_try;;
     9110esac
     9111eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9112$as_echo "$ac_try_echo") >&5
     9113  (eval "$ac_compile") 2>conftest.er1
     9114  ac_status=$?
     9115  grep -v '^ *+' conftest.er1 >conftest.err
     9116  rm -f conftest.er1
     9117  cat conftest.err >&5
     9118  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9119  (exit $ac_status); } && {
     9120         test -z "$ac_cxx_werror_flag" ||
     9121         test ! -s conftest.err
     9122       } && test -s conftest.$ac_objext; then
    78289123  # It does; now see whether it defined to BIG_ENDIAN or not.
    7829          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9124         cat >conftest.$ac_ext <<_ACEOF
     9125/* confdefs.h.  */
     9126_ACEOF
     9127cat confdefs.h >>conftest.$ac_ext
     9128cat >>conftest.$ac_ext <<_ACEOF
    78309129/* end confdefs.h.  */
    78319130#include <sys/types.h>
     
    78439142}
    78449143_ACEOF
    7845 if ac_fn_cxx_try_compile "$LINENO"; then :
     9144rm -f conftest.$ac_objext
     9145if { (ac_try="$ac_compile"
     9146case "(($ac_try" in
     9147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9148  *) ac_try_echo=$ac_try;;
     9149esac
     9150eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9151$as_echo "$ac_try_echo") >&5
     9152  (eval "$ac_compile") 2>conftest.er1
     9153  ac_status=$?
     9154  grep -v '^ *+' conftest.er1 >conftest.err
     9155  rm -f conftest.er1
     9156  cat conftest.err >&5
     9157  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9158  (exit $ac_status); } && {
     9159         test -z "$ac_cxx_werror_flag" ||
     9160         test ! -s conftest.err
     9161       } && test -s conftest.$ac_objext; then
    78469162  ac_cv_c_bigendian=yes
    78479163else
    7848   ac_cv_c_bigendian=no
    7849 fi
     9164  $as_echo "$as_me: failed program was:" >&5
     9165sed 's/^/| /' conftest.$ac_ext >&5
     9166
     9167        ac_cv_c_bigendian=no
     9168fi
     9169
    78509170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7851 fi
     9171else
     9172  $as_echo "$as_me: failed program was:" >&5
     9173sed 's/^/| /' conftest.$ac_ext >&5
     9174
     9175
     9176fi
     9177
    78529178rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    78539179    fi
    78549180    if test $ac_cv_c_bigendian = unknown; then
    78559181      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    7856       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9182      cat >conftest.$ac_ext <<_ACEOF
     9183/* confdefs.h.  */
     9184_ACEOF
     9185cat confdefs.h >>conftest.$ac_ext
     9186cat >>conftest.$ac_ext <<_ACEOF
    78579187/* end confdefs.h.  */
    78589188#include <limits.h>
     
    78699199}
    78709200_ACEOF
    7871 if ac_fn_cxx_try_compile "$LINENO"; then :
     9201rm -f conftest.$ac_objext
     9202if { (ac_try="$ac_compile"
     9203case "(($ac_try" in
     9204  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9205  *) ac_try_echo=$ac_try;;
     9206esac
     9207eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9208$as_echo "$ac_try_echo") >&5
     9209  (eval "$ac_compile") 2>conftest.er1
     9210  ac_status=$?
     9211  grep -v '^ *+' conftest.er1 >conftest.err
     9212  rm -f conftest.er1
     9213  cat conftest.err >&5
     9214  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9215  (exit $ac_status); } && {
     9216         test -z "$ac_cxx_werror_flag" ||
     9217         test ! -s conftest.err
     9218       } && test -s conftest.$ac_objext; then
    78729219  # It does; now see whether it defined to _BIG_ENDIAN or not.
    7873          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9220         cat >conftest.$ac_ext <<_ACEOF
     9221/* confdefs.h.  */
     9222_ACEOF
     9223cat confdefs.h >>conftest.$ac_ext
     9224cat >>conftest.$ac_ext <<_ACEOF
    78749225/* end confdefs.h.  */
    78759226#include <limits.h>
     
    78869237}
    78879238_ACEOF
    7888 if ac_fn_cxx_try_compile "$LINENO"; then :
     9239rm -f conftest.$ac_objext
     9240if { (ac_try="$ac_compile"
     9241case "(($ac_try" in
     9242  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9243  *) ac_try_echo=$ac_try;;
     9244esac
     9245eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9246$as_echo "$ac_try_echo") >&5
     9247  (eval "$ac_compile") 2>conftest.er1
     9248  ac_status=$?
     9249  grep -v '^ *+' conftest.er1 >conftest.err
     9250  rm -f conftest.er1
     9251  cat conftest.err >&5
     9252  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9253  (exit $ac_status); } && {
     9254         test -z "$ac_cxx_werror_flag" ||
     9255         test ! -s conftest.err
     9256       } && test -s conftest.$ac_objext; then
    78899257  ac_cv_c_bigendian=yes
    78909258else
    7891   ac_cv_c_bigendian=no
    7892 fi
     9259  $as_echo "$as_me: failed program was:" >&5
     9260sed 's/^/| /' conftest.$ac_ext >&5
     9261
     9262        ac_cv_c_bigendian=no
     9263fi
     9264
    78939265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7894 fi
     9266else
     9267  $as_echo "$as_me: failed program was:" >&5
     9268sed 's/^/| /' conftest.$ac_ext >&5
     9269
     9270
     9271fi
     9272
    78959273rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    78969274    fi
    78979275    if test $ac_cv_c_bigendian = unknown; then
    78989276      # Compile a test program.
    7899       if test "$cross_compiling" = yes; then :
     9277      if test "$cross_compiling" = yes; then
    79009278  # Try to guess by grepping values from an object file.
    7901          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9279         cat >conftest.$ac_ext <<_ACEOF
     9280/* confdefs.h.  */
     9281_ACEOF
     9282cat confdefs.h >>conftest.$ac_ext
     9283cat >>conftest.$ac_ext <<_ACEOF
    79029284/* end confdefs.h.  */
    79039285short int ascii_mm[] =
     
    79259307}
    79269308_ACEOF
    7927 if ac_fn_cxx_try_compile "$LINENO"; then :
     9309rm -f conftest.$ac_objext
     9310if { (ac_try="$ac_compile"
     9311case "(($ac_try" in
     9312  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9313  *) ac_try_echo=$ac_try;;
     9314esac
     9315eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9316$as_echo "$ac_try_echo") >&5
     9317  (eval "$ac_compile") 2>conftest.er1
     9318  ac_status=$?
     9319  grep -v '^ *+' conftest.er1 >conftest.err
     9320  rm -f conftest.er1
     9321  cat conftest.err >&5
     9322  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9323  (exit $ac_status); } && {
     9324         test -z "$ac_cxx_werror_flag" ||
     9325         test ! -s conftest.err
     9326       } && test -s conftest.$ac_objext; then
    79289327  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    79299328              ac_cv_c_bigendian=yes
     
    79379336              fi
    79389337            fi
    7939 fi
     9338else
     9339  $as_echo "$as_me: failed program was:" >&5
     9340sed 's/^/| /' conftest.$ac_ext >&5
     9341
     9342
     9343fi
     9344
    79409345rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    79419346else
    7942   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9347  cat >conftest.$ac_ext <<_ACEOF
     9348/* confdefs.h.  */
     9349_ACEOF
     9350cat confdefs.h >>conftest.$ac_ext
     9351cat >>conftest.$ac_ext <<_ACEOF
    79439352/* end confdefs.h.  */
    79449353$ac_includes_default
     
    79609369}
    79619370_ACEOF
    7962 if ac_fn_cxx_try_run "$LINENO"; then :
     9371rm -f conftest$ac_exeext
     9372if { (ac_try="$ac_link"
     9373case "(($ac_try" in
     9374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9375  *) ac_try_echo=$ac_try;;
     9376esac
     9377eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9378$as_echo "$ac_try_echo") >&5
     9379  (eval "$ac_link") 2>&5
     9380  ac_status=$?
     9381  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9382  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9383  { (case "(($ac_try" in
     9384  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9385  *) ac_try_echo=$ac_try;;
     9386esac
     9387eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9388$as_echo "$ac_try_echo") >&5
     9389  (eval "$ac_try") 2>&5
     9390  ac_status=$?
     9391  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9392  (exit $ac_status); }; }; then
    79639393  ac_cv_c_bigendian=no
    79649394else
    7965   ac_cv_c_bigendian=yes
    7966 fi
    7967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    7968   conftest.$ac_objext conftest.beam conftest.$ac_ext
    7969 fi
     9395  $as_echo "$as_me: program exited with status $ac_status" >&5
     9396$as_echo "$as_me: failed program was:" >&5
     9397sed 's/^/| /' conftest.$ac_ext >&5
     9398
     9399( exit $ac_status )
     9400ac_cv_c_bigendian=yes
     9401fi
     9402rm -rf conftest.dSYM
     9403rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9404fi
     9405
    79709406
    79719407    fi
    79729408fi
    7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     9409{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    79749410$as_echo "$ac_cv_c_bigendian" >&6; }
    79759411 case $ac_cv_c_bigendian in #(
    79769412   yes)
    7977      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     9413     cat >>confdefs.h <<\_ACEOF
     9414#define WORDS_BIGENDIAN 1
     9415_ACEOF
    79789416;; #(
    79799417   no)
     
    79819419   universal)
    79829420
    7983 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     9421cat >>confdefs.h <<\_ACEOF
     9422#define AC_APPLE_UNIVERSAL_BUILD 1
     9423_ACEOF
    79849424
    79859425     ;; #(
    79869426   *)
    7987      as_fn_error $? "unknown endianness
    7988  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     9427     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     9428 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     9429$as_echo "$as_me: error: unknown endianness
     9430 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     9431   { (exit 1); exit 1; }; } ;;
    79899432 esac
    79909433
     
    79939436# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    79949437# This bug is HP SR number 8606223364.
    7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     9438{ $as_echo "$as_me:$LINENO: checking size of int" >&5
    79969439$as_echo_n "checking size of int... " >&6; }
    7997 if ${ac_cv_sizeof_int+:} false; then :
     9440if test "${ac_cv_sizeof_int+set}" = set; then
    79989441  $as_echo_n "(cached) " >&6
    79999442else
    8000   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
    8001 
    8002 else
    8003   if test "$ac_cv_type_int" = yes; then
    8004      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9443  if test "$cross_compiling" = yes; then
     9444  # Depending upon the size, compute the lo and hi bounds.
     9445cat >conftest.$ac_ext <<_ACEOF
     9446/* confdefs.h.  */
     9447_ACEOF
     9448cat confdefs.h >>conftest.$ac_ext
     9449cat >>conftest.$ac_ext <<_ACEOF
     9450/* end confdefs.h.  */
     9451$ac_includes_default
     9452int
     9453main ()
     9454{
     9455static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
     9456test_array [0] = 0
     9457
     9458  ;
     9459  return 0;
     9460}
     9461_ACEOF
     9462rm -f conftest.$ac_objext
     9463if { (ac_try="$ac_compile"
     9464case "(($ac_try" in
     9465  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9466  *) ac_try_echo=$ac_try;;
     9467esac
     9468eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9469$as_echo "$ac_try_echo") >&5
     9470  (eval "$ac_compile") 2>conftest.er1
     9471  ac_status=$?
     9472  grep -v '^ *+' conftest.er1 >conftest.err
     9473  rm -f conftest.er1
     9474  cat conftest.err >&5
     9475  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9476  (exit $ac_status); } && {
     9477         test -z "$ac_cxx_werror_flag" ||
     9478         test ! -s conftest.err
     9479       } && test -s conftest.$ac_objext; then
     9480  ac_lo=0 ac_mid=0
     9481  while :; do
     9482    cat >conftest.$ac_ext <<_ACEOF
     9483/* confdefs.h.  */
     9484_ACEOF
     9485cat confdefs.h >>conftest.$ac_ext
     9486cat >>conftest.$ac_ext <<_ACEOF
     9487/* end confdefs.h.  */
     9488$ac_includes_default
     9489int
     9490main ()
     9491{
     9492static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     9493test_array [0] = 0
     9494
     9495  ;
     9496  return 0;
     9497}
     9498_ACEOF
     9499rm -f conftest.$ac_objext
     9500if { (ac_try="$ac_compile"
     9501case "(($ac_try" in
     9502  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9503  *) ac_try_echo=$ac_try;;
     9504esac
     9505eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9506$as_echo "$ac_try_echo") >&5
     9507  (eval "$ac_compile") 2>conftest.er1
     9508  ac_status=$?
     9509  grep -v '^ *+' conftest.er1 >conftest.err
     9510  rm -f conftest.er1
     9511  cat conftest.err >&5
     9512  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9513  (exit $ac_status); } && {
     9514         test -z "$ac_cxx_werror_flag" ||
     9515         test ! -s conftest.err
     9516       } && test -s conftest.$ac_objext; then
     9517  ac_hi=$ac_mid; break
     9518else
     9519  $as_echo "$as_me: failed program was:" >&5
     9520sed 's/^/| /' conftest.$ac_ext >&5
     9521
     9522        ac_lo=`expr $ac_mid + 1`
     9523                        if test $ac_lo -le $ac_mid; then
     9524                          ac_lo= ac_hi=
     9525                          break
     9526                        fi
     9527                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9528fi
     9529
     9530rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9531  done
     9532else
     9533  $as_echo "$as_me: failed program was:" >&5
     9534sed 's/^/| /' conftest.$ac_ext >&5
     9535
     9536        cat >conftest.$ac_ext <<_ACEOF
     9537/* confdefs.h.  */
     9538_ACEOF
     9539cat confdefs.h >>conftest.$ac_ext
     9540cat >>conftest.$ac_ext <<_ACEOF
     9541/* end confdefs.h.  */
     9542$ac_includes_default
     9543int
     9544main ()
     9545{
     9546static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
     9547test_array [0] = 0
     9548
     9549  ;
     9550  return 0;
     9551}
     9552_ACEOF
     9553rm -f conftest.$ac_objext
     9554if { (ac_try="$ac_compile"
     9555case "(($ac_try" in
     9556  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9557  *) ac_try_echo=$ac_try;;
     9558esac
     9559eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9560$as_echo "$ac_try_echo") >&5
     9561  (eval "$ac_compile") 2>conftest.er1
     9562  ac_status=$?
     9563  grep -v '^ *+' conftest.er1 >conftest.err
     9564  rm -f conftest.er1
     9565  cat conftest.err >&5
     9566  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9567  (exit $ac_status); } && {
     9568         test -z "$ac_cxx_werror_flag" ||
     9569         test ! -s conftest.err
     9570       } && test -s conftest.$ac_objext; then
     9571  ac_hi=-1 ac_mid=-1
     9572  while :; do
     9573    cat >conftest.$ac_ext <<_ACEOF
     9574/* confdefs.h.  */
     9575_ACEOF
     9576cat confdefs.h >>conftest.$ac_ext
     9577cat >>conftest.$ac_ext <<_ACEOF
     9578/* end confdefs.h.  */
     9579$ac_includes_default
     9580int
     9581main ()
     9582{
     9583static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
     9584test_array [0] = 0
     9585
     9586  ;
     9587  return 0;
     9588}
     9589_ACEOF
     9590rm -f conftest.$ac_objext
     9591if { (ac_try="$ac_compile"
     9592case "(($ac_try" in
     9593  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9594  *) ac_try_echo=$ac_try;;
     9595esac
     9596eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9597$as_echo "$ac_try_echo") >&5
     9598  (eval "$ac_compile") 2>conftest.er1
     9599  ac_status=$?
     9600  grep -v '^ *+' conftest.er1 >conftest.err
     9601  rm -f conftest.er1
     9602  cat conftest.err >&5
     9603  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9604  (exit $ac_status); } && {
     9605         test -z "$ac_cxx_werror_flag" ||
     9606         test ! -s conftest.err
     9607       } && test -s conftest.$ac_objext; then
     9608  ac_lo=$ac_mid; break
     9609else
     9610  $as_echo "$as_me: failed program was:" >&5
     9611sed 's/^/| /' conftest.$ac_ext >&5
     9612
     9613        ac_hi=`expr '(' $ac_mid ')' - 1`
     9614                        if test $ac_mid -le $ac_hi; then
     9615                          ac_lo= ac_hi=
     9616                          break
     9617                        fi
     9618                        ac_mid=`expr 2 '*' $ac_mid`
     9619fi
     9620
     9621rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9622  done
     9623else
     9624  $as_echo "$as_me: failed program was:" >&5
     9625sed 's/^/| /' conftest.$ac_ext >&5
     9626
     9627        ac_lo= ac_hi=
     9628fi
     9629
     9630rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9631fi
     9632
     9633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9634# Binary search between lo and hi bounds.
     9635while test "x$ac_lo" != "x$ac_hi"; do
     9636  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     9637  cat >conftest.$ac_ext <<_ACEOF
     9638/* confdefs.h.  */
     9639_ACEOF
     9640cat confdefs.h >>conftest.$ac_ext
     9641cat >>conftest.$ac_ext <<_ACEOF
     9642/* end confdefs.h.  */
     9643$ac_includes_default
     9644int
     9645main ()
     9646{
     9647static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     9648test_array [0] = 0
     9649
     9650  ;
     9651  return 0;
     9652}
     9653_ACEOF
     9654rm -f conftest.$ac_objext
     9655if { (ac_try="$ac_compile"
     9656case "(($ac_try" in
     9657  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9658  *) ac_try_echo=$ac_try;;
     9659esac
     9660eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9661$as_echo "$ac_try_echo") >&5
     9662  (eval "$ac_compile") 2>conftest.er1
     9663  ac_status=$?
     9664  grep -v '^ *+' conftest.er1 >conftest.err
     9665  rm -f conftest.er1
     9666  cat conftest.err >&5
     9667  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9668  (exit $ac_status); } && {
     9669         test -z "$ac_cxx_werror_flag" ||
     9670         test ! -s conftest.err
     9671       } && test -s conftest.$ac_objext; then
     9672  ac_hi=$ac_mid
     9673else
     9674  $as_echo "$as_me: failed program was:" >&5
     9675sed 's/^/| /' conftest.$ac_ext >&5
     9676
     9677        ac_lo=`expr '(' $ac_mid ')' + 1`
     9678fi
     9679
     9680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9681done
     9682case $ac_lo in
     9683?*) ac_cv_sizeof_int=$ac_lo;;
     9684'') if test "$ac_cv_type_int" = yes; then
     9685     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    80059686$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8006 as_fn_error 77 "cannot compute sizeof (int)
    8007 See \`config.log' for more details" "$LINENO" 5; }
     9687{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     9688See \`config.log' for more details." >&5
     9689$as_echo "$as_me: error: cannot compute sizeof (int)
     9690See \`config.log' for more details." >&2;}
     9691   { (exit 77); exit 77; }; }; }
     9692   else
     9693     ac_cv_sizeof_int=0
     9694   fi ;;
     9695esac
     9696else
     9697  cat >conftest.$ac_ext <<_ACEOF
     9698/* confdefs.h.  */
     9699_ACEOF
     9700cat confdefs.h >>conftest.$ac_ext
     9701cat >>conftest.$ac_ext <<_ACEOF
     9702/* end confdefs.h.  */
     9703$ac_includes_default
     9704static long int longval () { return (long int) (sizeof (int)); }
     9705static unsigned long int ulongval () { return (long int) (sizeof (int)); }
     9706#include <stdio.h>
     9707#include <stdlib.h>
     9708int
     9709main ()
     9710{
     9711
     9712  FILE *f = fopen ("conftest.val", "w");
     9713  if (! f)
     9714    return 1;
     9715  if (((long int) (sizeof (int))) < 0)
     9716    {
     9717      long int i = longval ();
     9718      if (i != ((long int) (sizeof (int))))
     9719        return 1;
     9720      fprintf (f, "%ld", i);
     9721    }
     9722  else
     9723    {
     9724      unsigned long int i = ulongval ();
     9725      if (i != ((long int) (sizeof (int))))
     9726        return 1;
     9727      fprintf (f, "%lu", i);
     9728    }
     9729  /* Do not output a trailing newline, as this causes \r\n confusion
     9730     on some platforms.  */
     9731  return ferror (f) || fclose (f) != 0;
     9732
     9733  ;
     9734  return 0;
     9735}
     9736_ACEOF
     9737rm -f conftest$ac_exeext
     9738if { (ac_try="$ac_link"
     9739case "(($ac_try" in
     9740  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9741  *) ac_try_echo=$ac_try;;
     9742esac
     9743eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9744$as_echo "$ac_try_echo") >&5
     9745  (eval "$ac_link") 2>&5
     9746  ac_status=$?
     9747  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9748  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9749  { (case "(($ac_try" in
     9750  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9751  *) ac_try_echo=$ac_try;;
     9752esac
     9753eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9754$as_echo "$ac_try_echo") >&5
     9755  (eval "$ac_try") 2>&5
     9756  ac_status=$?
     9757  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9758  (exit $ac_status); }; }; then
     9759  ac_cv_sizeof_int=`cat conftest.val`
     9760else
     9761  $as_echo "$as_me: program exited with status $ac_status" >&5
     9762$as_echo "$as_me: failed program was:" >&5
     9763sed 's/^/| /' conftest.$ac_ext >&5
     9764
     9765( exit $ac_status )
     9766if test "$ac_cv_type_int" = yes; then
     9767     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9768$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9769{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     9770See \`config.log' for more details." >&5
     9771$as_echo "$as_me: error: cannot compute sizeof (int)
     9772See \`config.log' for more details." >&2;}
     9773   { (exit 77); exit 77; }; }; }
    80089774   else
    80099775     ac_cv_sizeof_int=0
    80109776   fi
    80119777fi
    8012 
    8013 fi
    8014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     9778rm -rf conftest.dSYM
     9779rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9780fi
     9781rm -f conftest.val
     9782fi
     9783{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    80159784$as_echo "$ac_cv_sizeof_int" >&6; }
    80169785
     
    80269795# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    80279796# This bug is HP SR number 8606223364.
    8028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     9797{ $as_echo "$as_me:$LINENO: checking size of long" >&5
    80299798$as_echo_n "checking size of long... " >&6; }
    8030 if ${ac_cv_sizeof_long+:} false; then :
     9799if test "${ac_cv_sizeof_long+set}" = set; then
    80319800  $as_echo_n "(cached) " >&6
    80329801else
    8033   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
    8034 
    8035 else
    8036   if test "$ac_cv_type_long" = yes; then
    8037      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9802  if test "$cross_compiling" = yes; then
     9803  # Depending upon the size, compute the lo and hi bounds.
     9804cat >conftest.$ac_ext <<_ACEOF
     9805/* confdefs.h.  */
     9806_ACEOF
     9807cat confdefs.h >>conftest.$ac_ext
     9808cat >>conftest.$ac_ext <<_ACEOF
     9809/* end confdefs.h.  */
     9810$ac_includes_default
     9811int
     9812main ()
     9813{
     9814static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
     9815test_array [0] = 0
     9816
     9817  ;
     9818  return 0;
     9819}
     9820_ACEOF
     9821rm -f conftest.$ac_objext
     9822if { (ac_try="$ac_compile"
     9823case "(($ac_try" in
     9824  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9825  *) ac_try_echo=$ac_try;;
     9826esac
     9827eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9828$as_echo "$ac_try_echo") >&5
     9829  (eval "$ac_compile") 2>conftest.er1
     9830  ac_status=$?
     9831  grep -v '^ *+' conftest.er1 >conftest.err
     9832  rm -f conftest.er1
     9833  cat conftest.err >&5
     9834  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9835  (exit $ac_status); } && {
     9836         test -z "$ac_cxx_werror_flag" ||
     9837         test ! -s conftest.err
     9838       } && test -s conftest.$ac_objext; then
     9839  ac_lo=0 ac_mid=0
     9840  while :; do
     9841    cat >conftest.$ac_ext <<_ACEOF
     9842/* confdefs.h.  */
     9843_ACEOF
     9844cat confdefs.h >>conftest.$ac_ext
     9845cat >>conftest.$ac_ext <<_ACEOF
     9846/* end confdefs.h.  */
     9847$ac_includes_default
     9848int
     9849main ()
     9850{
     9851static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     9852test_array [0] = 0
     9853
     9854  ;
     9855  return 0;
     9856}
     9857_ACEOF
     9858rm -f conftest.$ac_objext
     9859if { (ac_try="$ac_compile"
     9860case "(($ac_try" in
     9861  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9862  *) ac_try_echo=$ac_try;;
     9863esac
     9864eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9865$as_echo "$ac_try_echo") >&5
     9866  (eval "$ac_compile") 2>conftest.er1
     9867  ac_status=$?
     9868  grep -v '^ *+' conftest.er1 >conftest.err
     9869  rm -f conftest.er1
     9870  cat conftest.err >&5
     9871  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9872  (exit $ac_status); } && {
     9873         test -z "$ac_cxx_werror_flag" ||
     9874         test ! -s conftest.err
     9875       } && test -s conftest.$ac_objext; then
     9876  ac_hi=$ac_mid; break
     9877else
     9878  $as_echo "$as_me: failed program was:" >&5
     9879sed 's/^/| /' conftest.$ac_ext >&5
     9880
     9881        ac_lo=`expr $ac_mid + 1`
     9882                        if test $ac_lo -le $ac_mid; then
     9883                          ac_lo= ac_hi=
     9884                          break
     9885                        fi
     9886                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9887fi
     9888
     9889rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9890  done
     9891else
     9892  $as_echo "$as_me: failed program was:" >&5
     9893sed 's/^/| /' conftest.$ac_ext >&5
     9894
     9895        cat >conftest.$ac_ext <<_ACEOF
     9896/* confdefs.h.  */
     9897_ACEOF
     9898cat confdefs.h >>conftest.$ac_ext
     9899cat >>conftest.$ac_ext <<_ACEOF
     9900/* end confdefs.h.  */
     9901$ac_includes_default
     9902int
     9903main ()
     9904{
     9905static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
     9906test_array [0] = 0
     9907
     9908  ;
     9909  return 0;
     9910}
     9911_ACEOF
     9912rm -f conftest.$ac_objext
     9913if { (ac_try="$ac_compile"
     9914case "(($ac_try" in
     9915  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9916  *) ac_try_echo=$ac_try;;
     9917esac
     9918eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9919$as_echo "$ac_try_echo") >&5
     9920  (eval "$ac_compile") 2>conftest.er1
     9921  ac_status=$?
     9922  grep -v '^ *+' conftest.er1 >conftest.err
     9923  rm -f conftest.er1
     9924  cat conftest.err >&5
     9925  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9926  (exit $ac_status); } && {
     9927         test -z "$ac_cxx_werror_flag" ||
     9928         test ! -s conftest.err
     9929       } && test -s conftest.$ac_objext; then
     9930  ac_hi=-1 ac_mid=-1
     9931  while :; do
     9932    cat >conftest.$ac_ext <<_ACEOF
     9933/* confdefs.h.  */
     9934_ACEOF
     9935cat confdefs.h >>conftest.$ac_ext
     9936cat >>conftest.$ac_ext <<_ACEOF
     9937/* end confdefs.h.  */
     9938$ac_includes_default
     9939int
     9940main ()
     9941{
     9942static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
     9943test_array [0] = 0
     9944
     9945  ;
     9946  return 0;
     9947}
     9948_ACEOF
     9949rm -f conftest.$ac_objext
     9950if { (ac_try="$ac_compile"
     9951case "(($ac_try" in
     9952  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9953  *) ac_try_echo=$ac_try;;
     9954esac
     9955eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9956$as_echo "$ac_try_echo") >&5
     9957  (eval "$ac_compile") 2>conftest.er1
     9958  ac_status=$?
     9959  grep -v '^ *+' conftest.er1 >conftest.err
     9960  rm -f conftest.er1
     9961  cat conftest.err >&5
     9962  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9963  (exit $ac_status); } && {
     9964         test -z "$ac_cxx_werror_flag" ||
     9965         test ! -s conftest.err
     9966       } && test -s conftest.$ac_objext; then
     9967  ac_lo=$ac_mid; break
     9968else
     9969  $as_echo "$as_me: failed program was:" >&5
     9970sed 's/^/| /' conftest.$ac_ext >&5
     9971
     9972        ac_hi=`expr '(' $ac_mid ')' - 1`
     9973                        if test $ac_mid -le $ac_hi; then
     9974                          ac_lo= ac_hi=
     9975                          break
     9976                        fi
     9977                        ac_mid=`expr 2 '*' $ac_mid`
     9978fi
     9979
     9980rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9981  done
     9982else
     9983  $as_echo "$as_me: failed program was:" >&5
     9984sed 's/^/| /' conftest.$ac_ext >&5
     9985
     9986        ac_lo= ac_hi=
     9987fi
     9988
     9989rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9990fi
     9991
     9992rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9993# Binary search between lo and hi bounds.
     9994while test "x$ac_lo" != "x$ac_hi"; do
     9995  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     9996  cat >conftest.$ac_ext <<_ACEOF
     9997/* confdefs.h.  */
     9998_ACEOF
     9999cat confdefs.h >>conftest.$ac_ext
     10000cat >>conftest.$ac_ext <<_ACEOF
     10001/* end confdefs.h.  */
     10002$ac_includes_default
     10003int
     10004main ()
     10005{
     10006static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     10007test_array [0] = 0
     10008
     10009  ;
     10010  return 0;
     10011}
     10012_ACEOF
     10013rm -f conftest.$ac_objext
     10014if { (ac_try="$ac_compile"
     10015case "(($ac_try" in
     10016  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10017  *) ac_try_echo=$ac_try;;
     10018esac
     10019eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10020$as_echo "$ac_try_echo") >&5
     10021  (eval "$ac_compile") 2>conftest.er1
     10022  ac_status=$?
     10023  grep -v '^ *+' conftest.er1 >conftest.err
     10024  rm -f conftest.er1
     10025  cat conftest.err >&5
     10026  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10027  (exit $ac_status); } && {
     10028         test -z "$ac_cxx_werror_flag" ||
     10029         test ! -s conftest.err
     10030       } && test -s conftest.$ac_objext; then
     10031  ac_hi=$ac_mid
     10032else
     10033  $as_echo "$as_me: failed program was:" >&5
     10034sed 's/^/| /' conftest.$ac_ext >&5
     10035
     10036        ac_lo=`expr '(' $ac_mid ')' + 1`
     10037fi
     10038
     10039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10040done
     10041case $ac_lo in
     10042?*) ac_cv_sizeof_long=$ac_lo;;
     10043'') if test "$ac_cv_type_long" = yes; then
     10044     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    803810045$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8039 as_fn_error 77 "cannot compute sizeof (long)
    8040 See \`config.log' for more details" "$LINENO" 5; }
     10046{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     10047See \`config.log' for more details." >&5
     10048$as_echo "$as_me: error: cannot compute sizeof (long)
     10049See \`config.log' for more details." >&2;}
     10050   { (exit 77); exit 77; }; }; }
     10051   else
     10052     ac_cv_sizeof_long=0
     10053   fi ;;
     10054esac
     10055else
     10056  cat >conftest.$ac_ext <<_ACEOF
     10057/* confdefs.h.  */
     10058_ACEOF
     10059cat confdefs.h >>conftest.$ac_ext
     10060cat >>conftest.$ac_ext <<_ACEOF
     10061/* end confdefs.h.  */
     10062$ac_includes_default
     10063static long int longval () { return (long int) (sizeof (long)); }
     10064static unsigned long int ulongval () { return (long int) (sizeof (long)); }
     10065#include <stdio.h>
     10066#include <stdlib.h>
     10067int
     10068main ()
     10069{
     10070
     10071  FILE *f = fopen ("conftest.val", "w");
     10072  if (! f)
     10073    return 1;
     10074  if (((long int) (sizeof (long))) < 0)
     10075    {
     10076      long int i = longval ();
     10077      if (i != ((long int) (sizeof (long))))
     10078        return 1;
     10079      fprintf (f, "%ld", i);
     10080    }
     10081  else
     10082    {
     10083      unsigned long int i = ulongval ();
     10084      if (i != ((long int) (sizeof (long))))
     10085        return 1;
     10086      fprintf (f, "%lu", i);
     10087    }
     10088  /* Do not output a trailing newline, as this causes \r\n confusion
     10089     on some platforms.  */
     10090  return ferror (f) || fclose (f) != 0;
     10091
     10092  ;
     10093  return 0;
     10094}
     10095_ACEOF
     10096rm -f conftest$ac_exeext
     10097if { (ac_try="$ac_link"
     10098case "(($ac_try" in
     10099  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10100  *) ac_try_echo=$ac_try;;
     10101esac
     10102eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10103$as_echo "$ac_try_echo") >&5
     10104  (eval "$ac_link") 2>&5
     10105  ac_status=$?
     10106  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10107  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10108  { (case "(($ac_try" in
     10109  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10110  *) ac_try_echo=$ac_try;;
     10111esac
     10112eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10113$as_echo "$ac_try_echo") >&5
     10114  (eval "$ac_try") 2>&5
     10115  ac_status=$?
     10116  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10117  (exit $ac_status); }; }; then
     10118  ac_cv_sizeof_long=`cat conftest.val`
     10119else
     10120  $as_echo "$as_me: program exited with status $ac_status" >&5
     10121$as_echo "$as_me: failed program was:" >&5
     10122sed 's/^/| /' conftest.$ac_ext >&5
     10123
     10124( exit $ac_status )
     10125if test "$ac_cv_type_long" = yes; then
     10126     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10127$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10128{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     10129See \`config.log' for more details." >&5
     10130$as_echo "$as_me: error: cannot compute sizeof (long)
     10131See \`config.log' for more details." >&2;}
     10132   { (exit 77); exit 77; }; }; }
    804110133   else
    804210134     ac_cv_sizeof_long=0
    804310135   fi
    804410136fi
    8045 
    8046 fi
    8047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     10137rm -rf conftest.dSYM
     10138rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10139fi
     10140rm -f conftest.val
     10141fi
     10142{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    804810143$as_echo "$ac_cv_sizeof_long" >&6; }
    804910144
     
    805910154# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    806010155# This bug is HP SR number 8606223364.
    8061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
     10156{ $as_echo "$as_me:$LINENO: checking size of long long" >&5
    806210157$as_echo_n "checking size of long long... " >&6; }
    8063 if ${ac_cv_sizeof_long_long+:} false; then :
     10158if test "${ac_cv_sizeof_long_long+set}" = set; then
    806410159  $as_echo_n "(cached) " >&6
    806510160else
    8066   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
    8067 
    8068 else
    8069   if test "$ac_cv_type_long_long" = yes; then
    8070      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10161  if test "$cross_compiling" = yes; then
     10162  # Depending upon the size, compute the lo and hi bounds.
     10163cat >conftest.$ac_ext <<_ACEOF
     10164/* confdefs.h.  */
     10165_ACEOF
     10166cat confdefs.h >>conftest.$ac_ext
     10167cat >>conftest.$ac_ext <<_ACEOF
     10168/* end confdefs.h.  */
     10169$ac_includes_default
     10170int
     10171main ()
     10172{
     10173static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
     10174test_array [0] = 0
     10175
     10176  ;
     10177  return 0;
     10178}
     10179_ACEOF
     10180rm -f conftest.$ac_objext
     10181if { (ac_try="$ac_compile"
     10182case "(($ac_try" in
     10183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10184  *) ac_try_echo=$ac_try;;
     10185esac
     10186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10187$as_echo "$ac_try_echo") >&5
     10188  (eval "$ac_compile") 2>conftest.er1
     10189  ac_status=$?
     10190  grep -v '^ *+' conftest.er1 >conftest.err
     10191  rm -f conftest.er1
     10192  cat conftest.err >&5
     10193  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10194  (exit $ac_status); } && {
     10195         test -z "$ac_cxx_werror_flag" ||
     10196         test ! -s conftest.err
     10197       } && test -s conftest.$ac_objext; then
     10198  ac_lo=0 ac_mid=0
     10199  while :; do
     10200    cat >conftest.$ac_ext <<_ACEOF
     10201/* confdefs.h.  */
     10202_ACEOF
     10203cat confdefs.h >>conftest.$ac_ext
     10204cat >>conftest.$ac_ext <<_ACEOF
     10205/* end confdefs.h.  */
     10206$ac_includes_default
     10207int
     10208main ()
     10209{
     10210static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     10211test_array [0] = 0
     10212
     10213  ;
     10214  return 0;
     10215}
     10216_ACEOF
     10217rm -f conftest.$ac_objext
     10218if { (ac_try="$ac_compile"
     10219case "(($ac_try" in
     10220  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10221  *) ac_try_echo=$ac_try;;
     10222esac
     10223eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10224$as_echo "$ac_try_echo") >&5
     10225  (eval "$ac_compile") 2>conftest.er1
     10226  ac_status=$?
     10227  grep -v '^ *+' conftest.er1 >conftest.err
     10228  rm -f conftest.er1
     10229  cat conftest.err >&5
     10230  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10231  (exit $ac_status); } && {
     10232         test -z "$ac_cxx_werror_flag" ||
     10233         test ! -s conftest.err
     10234       } && test -s conftest.$ac_objext; then
     10235  ac_hi=$ac_mid; break
     10236else
     10237  $as_echo "$as_me: failed program was:" >&5
     10238sed 's/^/| /' conftest.$ac_ext >&5
     10239
     10240        ac_lo=`expr $ac_mid + 1`
     10241                        if test $ac_lo -le $ac_mid; then
     10242                          ac_lo= ac_hi=
     10243                          break
     10244                        fi
     10245                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10246fi
     10247
     10248rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10249  done
     10250else
     10251  $as_echo "$as_me: failed program was:" >&5
     10252sed 's/^/| /' conftest.$ac_ext >&5
     10253
     10254        cat >conftest.$ac_ext <<_ACEOF
     10255/* confdefs.h.  */
     10256_ACEOF
     10257cat confdefs.h >>conftest.$ac_ext
     10258cat >>conftest.$ac_ext <<_ACEOF
     10259/* end confdefs.h.  */
     10260$ac_includes_default
     10261int
     10262main ()
     10263{
     10264static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
     10265test_array [0] = 0
     10266
     10267  ;
     10268  return 0;
     10269}
     10270_ACEOF
     10271rm -f conftest.$ac_objext
     10272if { (ac_try="$ac_compile"
     10273case "(($ac_try" in
     10274  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10275  *) ac_try_echo=$ac_try;;
     10276esac
     10277eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10278$as_echo "$ac_try_echo") >&5
     10279  (eval "$ac_compile") 2>conftest.er1
     10280  ac_status=$?
     10281  grep -v '^ *+' conftest.er1 >conftest.err
     10282  rm -f conftest.er1
     10283  cat conftest.err >&5
     10284  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10285  (exit $ac_status); } && {
     10286         test -z "$ac_cxx_werror_flag" ||
     10287         test ! -s conftest.err
     10288       } && test -s conftest.$ac_objext; then
     10289  ac_hi=-1 ac_mid=-1
     10290  while :; do
     10291    cat >conftest.$ac_ext <<_ACEOF
     10292/* confdefs.h.  */
     10293_ACEOF
     10294cat confdefs.h >>conftest.$ac_ext
     10295cat >>conftest.$ac_ext <<_ACEOF
     10296/* end confdefs.h.  */
     10297$ac_includes_default
     10298int
     10299main ()
     10300{
     10301static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
     10302test_array [0] = 0
     10303
     10304  ;
     10305  return 0;
     10306}
     10307_ACEOF
     10308rm -f conftest.$ac_objext
     10309if { (ac_try="$ac_compile"
     10310case "(($ac_try" in
     10311  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10312  *) ac_try_echo=$ac_try;;
     10313esac
     10314eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10315$as_echo "$ac_try_echo") >&5
     10316  (eval "$ac_compile") 2>conftest.er1
     10317  ac_status=$?
     10318  grep -v '^ *+' conftest.er1 >conftest.err
     10319  rm -f conftest.er1
     10320  cat conftest.err >&5
     10321  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10322  (exit $ac_status); } && {
     10323         test -z "$ac_cxx_werror_flag" ||
     10324         test ! -s conftest.err
     10325       } && test -s conftest.$ac_objext; then
     10326  ac_lo=$ac_mid; break
     10327else
     10328  $as_echo "$as_me: failed program was:" >&5
     10329sed 's/^/| /' conftest.$ac_ext >&5
     10330
     10331        ac_hi=`expr '(' $ac_mid ')' - 1`
     10332                        if test $ac_mid -le $ac_hi; then
     10333                          ac_lo= ac_hi=
     10334                          break
     10335                        fi
     10336                        ac_mid=`expr 2 '*' $ac_mid`
     10337fi
     10338
     10339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10340  done
     10341else
     10342  $as_echo "$as_me: failed program was:" >&5
     10343sed 's/^/| /' conftest.$ac_ext >&5
     10344
     10345        ac_lo= ac_hi=
     10346fi
     10347
     10348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10349fi
     10350
     10351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10352# Binary search between lo and hi bounds.
     10353while test "x$ac_lo" != "x$ac_hi"; do
     10354  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10355  cat >conftest.$ac_ext <<_ACEOF
     10356/* confdefs.h.  */
     10357_ACEOF
     10358cat confdefs.h >>conftest.$ac_ext
     10359cat >>conftest.$ac_ext <<_ACEOF
     10360/* end confdefs.h.  */
     10361$ac_includes_default
     10362int
     10363main ()
     10364{
     10365static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     10366test_array [0] = 0
     10367
     10368  ;
     10369  return 0;
     10370}
     10371_ACEOF
     10372rm -f conftest.$ac_objext
     10373if { (ac_try="$ac_compile"
     10374case "(($ac_try" in
     10375  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10376  *) ac_try_echo=$ac_try;;
     10377esac
     10378eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10379$as_echo "$ac_try_echo") >&5
     10380  (eval "$ac_compile") 2>conftest.er1
     10381  ac_status=$?
     10382  grep -v '^ *+' conftest.er1 >conftest.err
     10383  rm -f conftest.er1
     10384  cat conftest.err >&5
     10385  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10386  (exit $ac_status); } && {
     10387         test -z "$ac_cxx_werror_flag" ||
     10388         test ! -s conftest.err
     10389       } && test -s conftest.$ac_objext; then
     10390  ac_hi=$ac_mid
     10391else
     10392  $as_echo "$as_me: failed program was:" >&5
     10393sed 's/^/| /' conftest.$ac_ext >&5
     10394
     10395        ac_lo=`expr '(' $ac_mid ')' + 1`
     10396fi
     10397
     10398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10399done
     10400case $ac_lo in
     10401?*) ac_cv_sizeof_long_long=$ac_lo;;
     10402'') if test "$ac_cv_type_long_long" = yes; then
     10403     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    807110404$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8072 as_fn_error 77 "cannot compute sizeof (long long)
    8073 See \`config.log' for more details" "$LINENO" 5; }
     10405{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     10406See \`config.log' for more details." >&5
     10407$as_echo "$as_me: error: cannot compute sizeof (long long)
     10408See \`config.log' for more details." >&2;}
     10409   { (exit 77); exit 77; }; }; }
     10410   else
     10411     ac_cv_sizeof_long_long=0
     10412   fi ;;
     10413esac
     10414else
     10415  cat >conftest.$ac_ext <<_ACEOF
     10416/* confdefs.h.  */
     10417_ACEOF
     10418cat confdefs.h >>conftest.$ac_ext
     10419cat >>conftest.$ac_ext <<_ACEOF
     10420/* end confdefs.h.  */
     10421$ac_includes_default
     10422static long int longval () { return (long int) (sizeof (long long)); }
     10423static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
     10424#include <stdio.h>
     10425#include <stdlib.h>
     10426int
     10427main ()
     10428{
     10429
     10430  FILE *f = fopen ("conftest.val", "w");
     10431  if (! f)
     10432    return 1;
     10433  if (((long int) (sizeof (long long))) < 0)
     10434    {
     10435      long int i = longval ();
     10436      if (i != ((long int) (sizeof (long long))))
     10437        return 1;
     10438      fprintf (f, "%ld", i);
     10439    }
     10440  else
     10441    {
     10442      unsigned long int i = ulongval ();
     10443      if (i != ((long int) (sizeof (long long))))
     10444        return 1;
     10445      fprintf (f, "%lu", i);
     10446    }
     10447  /* Do not output a trailing newline, as this causes \r\n confusion
     10448     on some platforms.  */
     10449  return ferror (f) || fclose (f) != 0;
     10450
     10451  ;
     10452  return 0;
     10453}
     10454_ACEOF
     10455rm -f conftest$ac_exeext
     10456if { (ac_try="$ac_link"
     10457case "(($ac_try" in
     10458  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10459  *) ac_try_echo=$ac_try;;
     10460esac
     10461eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10462$as_echo "$ac_try_echo") >&5
     10463  (eval "$ac_link") 2>&5
     10464  ac_status=$?
     10465  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10466  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10467  { (case "(($ac_try" in
     10468  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10469  *) ac_try_echo=$ac_try;;
     10470esac
     10471eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10472$as_echo "$ac_try_echo") >&5
     10473  (eval "$ac_try") 2>&5
     10474  ac_status=$?
     10475  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10476  (exit $ac_status); }; }; then
     10477  ac_cv_sizeof_long_long=`cat conftest.val`
     10478else
     10479  $as_echo "$as_me: program exited with status $ac_status" >&5
     10480$as_echo "$as_me: failed program was:" >&5
     10481sed 's/^/| /' conftest.$ac_ext >&5
     10482
     10483( exit $ac_status )
     10484if test "$ac_cv_type_long_long" = yes; then
     10485     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10486$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10487{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     10488See \`config.log' for more details." >&5
     10489$as_echo "$as_me: error: cannot compute sizeof (long long)
     10490See \`config.log' for more details." >&2;}
     10491   { (exit 77); exit 77; }; }; }
    807410492   else
    807510493     ac_cv_sizeof_long_long=0
    807610494   fi
    807710495fi
    8078 
    8079 fi
    8080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
     10496rm -rf conftest.dSYM
     10497rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10498fi
     10499rm -f conftest.val
     10500fi
     10501{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
    808110502$as_echo "$ac_cv_sizeof_long_long" >&6; }
    808210503
     
    809210513# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    809310514# This bug is HP SR number 8606223364.
    8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     10515{ $as_echo "$as_me:$LINENO: checking size of void *" >&5
    809510516$as_echo_n "checking size of void *... " >&6; }
    8096 if ${ac_cv_sizeof_void_p+:} false; then :
     10517if test "${ac_cv_sizeof_void_p+set}" = set; then
    809710518  $as_echo_n "(cached) " >&6
    809810519else
    8099   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
    8100 
    8101 else
    8102   if test "$ac_cv_type_void_p" = yes; then
    8103      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10520  if test "$cross_compiling" = yes; then
     10521  # Depending upon the size, compute the lo and hi bounds.
     10522cat >conftest.$ac_ext <<_ACEOF
     10523/* confdefs.h.  */
     10524_ACEOF
     10525cat confdefs.h >>conftest.$ac_ext
     10526cat >>conftest.$ac_ext <<_ACEOF
     10527/* end confdefs.h.  */
     10528$ac_includes_default
     10529int
     10530main ()
     10531{
     10532static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
     10533test_array [0] = 0
     10534
     10535  ;
     10536  return 0;
     10537}
     10538_ACEOF
     10539rm -f conftest.$ac_objext
     10540if { (ac_try="$ac_compile"
     10541case "(($ac_try" in
     10542  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10543  *) ac_try_echo=$ac_try;;
     10544esac
     10545eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10546$as_echo "$ac_try_echo") >&5
     10547  (eval "$ac_compile") 2>conftest.er1
     10548  ac_status=$?
     10549  grep -v '^ *+' conftest.er1 >conftest.err
     10550  rm -f conftest.er1
     10551  cat conftest.err >&5
     10552  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10553  (exit $ac_status); } && {
     10554         test -z "$ac_cxx_werror_flag" ||
     10555         test ! -s conftest.err
     10556       } && test -s conftest.$ac_objext; then
     10557  ac_lo=0 ac_mid=0
     10558  while :; do
     10559    cat >conftest.$ac_ext <<_ACEOF
     10560/* confdefs.h.  */
     10561_ACEOF
     10562cat confdefs.h >>conftest.$ac_ext
     10563cat >>conftest.$ac_ext <<_ACEOF
     10564/* end confdefs.h.  */
     10565$ac_includes_default
     10566int
     10567main ()
     10568{
     10569static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     10570test_array [0] = 0
     10571
     10572  ;
     10573  return 0;
     10574}
     10575_ACEOF
     10576rm -f conftest.$ac_objext
     10577if { (ac_try="$ac_compile"
     10578case "(($ac_try" in
     10579  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10580  *) ac_try_echo=$ac_try;;
     10581esac
     10582eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10583$as_echo "$ac_try_echo") >&5
     10584  (eval "$ac_compile") 2>conftest.er1
     10585  ac_status=$?
     10586  grep -v '^ *+' conftest.er1 >conftest.err
     10587  rm -f conftest.er1
     10588  cat conftest.err >&5
     10589  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10590  (exit $ac_status); } && {
     10591         test -z "$ac_cxx_werror_flag" ||
     10592         test ! -s conftest.err
     10593       } && test -s conftest.$ac_objext; then
     10594  ac_hi=$ac_mid; break
     10595else
     10596  $as_echo "$as_me: failed program was:" >&5
     10597sed 's/^/| /' conftest.$ac_ext >&5
     10598
     10599        ac_lo=`expr $ac_mid + 1`
     10600                        if test $ac_lo -le $ac_mid; then
     10601                          ac_lo= ac_hi=
     10602                          break
     10603                        fi
     10604                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10605fi
     10606
     10607rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10608  done
     10609else
     10610  $as_echo "$as_me: failed program was:" >&5
     10611sed 's/^/| /' conftest.$ac_ext >&5
     10612
     10613        cat >conftest.$ac_ext <<_ACEOF
     10614/* confdefs.h.  */
     10615_ACEOF
     10616cat confdefs.h >>conftest.$ac_ext
     10617cat >>conftest.$ac_ext <<_ACEOF
     10618/* end confdefs.h.  */
     10619$ac_includes_default
     10620int
     10621main ()
     10622{
     10623static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
     10624test_array [0] = 0
     10625
     10626  ;
     10627  return 0;
     10628}
     10629_ACEOF
     10630rm -f conftest.$ac_objext
     10631if { (ac_try="$ac_compile"
     10632case "(($ac_try" in
     10633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10634  *) ac_try_echo=$ac_try;;
     10635esac
     10636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10637$as_echo "$ac_try_echo") >&5
     10638  (eval "$ac_compile") 2>conftest.er1
     10639  ac_status=$?
     10640  grep -v '^ *+' conftest.er1 >conftest.err
     10641  rm -f conftest.er1
     10642  cat conftest.err >&5
     10643  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10644  (exit $ac_status); } && {
     10645         test -z "$ac_cxx_werror_flag" ||
     10646         test ! -s conftest.err
     10647       } && test -s conftest.$ac_objext; then
     10648  ac_hi=-1 ac_mid=-1
     10649  while :; do
     10650    cat >conftest.$ac_ext <<_ACEOF
     10651/* confdefs.h.  */
     10652_ACEOF
     10653cat confdefs.h >>conftest.$ac_ext
     10654cat >>conftest.$ac_ext <<_ACEOF
     10655/* end confdefs.h.  */
     10656$ac_includes_default
     10657int
     10658main ()
     10659{
     10660static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
     10661test_array [0] = 0
     10662
     10663  ;
     10664  return 0;
     10665}
     10666_ACEOF
     10667rm -f conftest.$ac_objext
     10668if { (ac_try="$ac_compile"
     10669case "(($ac_try" in
     10670  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10671  *) ac_try_echo=$ac_try;;
     10672esac
     10673eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10674$as_echo "$ac_try_echo") >&5
     10675  (eval "$ac_compile") 2>conftest.er1
     10676  ac_status=$?
     10677  grep -v '^ *+' conftest.er1 >conftest.err
     10678  rm -f conftest.er1
     10679  cat conftest.err >&5
     10680  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10681  (exit $ac_status); } && {
     10682         test -z "$ac_cxx_werror_flag" ||
     10683         test ! -s conftest.err
     10684       } && test -s conftest.$ac_objext; then
     10685  ac_lo=$ac_mid; break
     10686else
     10687  $as_echo "$as_me: failed program was:" >&5
     10688sed 's/^/| /' conftest.$ac_ext >&5
     10689
     10690        ac_hi=`expr '(' $ac_mid ')' - 1`
     10691                        if test $ac_mid -le $ac_hi; then
     10692                          ac_lo= ac_hi=
     10693                          break
     10694                        fi
     10695                        ac_mid=`expr 2 '*' $ac_mid`
     10696fi
     10697
     10698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10699  done
     10700else
     10701  $as_echo "$as_me: failed program was:" >&5
     10702sed 's/^/| /' conftest.$ac_ext >&5
     10703
     10704        ac_lo= ac_hi=
     10705fi
     10706
     10707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10708fi
     10709
     10710rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10711# Binary search between lo and hi bounds.
     10712while test "x$ac_lo" != "x$ac_hi"; do
     10713  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10714  cat >conftest.$ac_ext <<_ACEOF
     10715/* confdefs.h.  */
     10716_ACEOF
     10717cat confdefs.h >>conftest.$ac_ext
     10718cat >>conftest.$ac_ext <<_ACEOF
     10719/* end confdefs.h.  */
     10720$ac_includes_default
     10721int
     10722main ()
     10723{
     10724static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     10725test_array [0] = 0
     10726
     10727  ;
     10728  return 0;
     10729}
     10730_ACEOF
     10731rm -f conftest.$ac_objext
     10732if { (ac_try="$ac_compile"
     10733case "(($ac_try" in
     10734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10735  *) ac_try_echo=$ac_try;;
     10736esac
     10737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10738$as_echo "$ac_try_echo") >&5
     10739  (eval "$ac_compile") 2>conftest.er1
     10740  ac_status=$?
     10741  grep -v '^ *+' conftest.er1 >conftest.err
     10742  rm -f conftest.er1
     10743  cat conftest.err >&5
     10744  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10745  (exit $ac_status); } && {
     10746         test -z "$ac_cxx_werror_flag" ||
     10747         test ! -s conftest.err
     10748       } && test -s conftest.$ac_objext; then
     10749  ac_hi=$ac_mid
     10750else
     10751  $as_echo "$as_me: failed program was:" >&5
     10752sed 's/^/| /' conftest.$ac_ext >&5
     10753
     10754        ac_lo=`expr '(' $ac_mid ')' + 1`
     10755fi
     10756
     10757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10758done
     10759case $ac_lo in
     10760?*) ac_cv_sizeof_void_p=$ac_lo;;
     10761'') if test "$ac_cv_type_void_p" = yes; then
     10762     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    810410763$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8105 as_fn_error 77 "cannot compute sizeof (void *)
    8106 See \`config.log' for more details" "$LINENO" 5; }
     10764{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     10765See \`config.log' for more details." >&5
     10766$as_echo "$as_me: error: cannot compute sizeof (void *)
     10767See \`config.log' for more details." >&2;}
     10768   { (exit 77); exit 77; }; }; }
     10769   else
     10770     ac_cv_sizeof_void_p=0
     10771   fi ;;
     10772esac
     10773else
     10774  cat >conftest.$ac_ext <<_ACEOF
     10775/* confdefs.h.  */
     10776_ACEOF
     10777cat confdefs.h >>conftest.$ac_ext
     10778cat >>conftest.$ac_ext <<_ACEOF
     10779/* end confdefs.h.  */
     10780$ac_includes_default
     10781static long int longval () { return (long int) (sizeof (void *)); }
     10782static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
     10783#include <stdio.h>
     10784#include <stdlib.h>
     10785int
     10786main ()
     10787{
     10788
     10789  FILE *f = fopen ("conftest.val", "w");
     10790  if (! f)
     10791    return 1;
     10792  if (((long int) (sizeof (void *))) < 0)
     10793    {
     10794      long int i = longval ();
     10795      if (i != ((long int) (sizeof (void *))))
     10796        return 1;
     10797      fprintf (f, "%ld", i);
     10798    }
     10799  else
     10800    {
     10801      unsigned long int i = ulongval ();
     10802      if (i != ((long int) (sizeof (void *))))
     10803        return 1;
     10804      fprintf (f, "%lu", i);
     10805    }
     10806  /* Do not output a trailing newline, as this causes \r\n confusion
     10807     on some platforms.  */
     10808  return ferror (f) || fclose (f) != 0;
     10809
     10810  ;
     10811  return 0;
     10812}
     10813_ACEOF
     10814rm -f conftest$ac_exeext
     10815if { (ac_try="$ac_link"
     10816case "(($ac_try" in
     10817  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10818  *) ac_try_echo=$ac_try;;
     10819esac
     10820eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10821$as_echo "$ac_try_echo") >&5
     10822  (eval "$ac_link") 2>&5
     10823  ac_status=$?
     10824  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10825  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10826  { (case "(($ac_try" in
     10827  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10828  *) ac_try_echo=$ac_try;;
     10829esac
     10830eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10831$as_echo "$ac_try_echo") >&5
     10832  (eval "$ac_try") 2>&5
     10833  ac_status=$?
     10834  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10835  (exit $ac_status); }; }; then
     10836  ac_cv_sizeof_void_p=`cat conftest.val`
     10837else
     10838  $as_echo "$as_me: program exited with status $ac_status" >&5
     10839$as_echo "$as_me: failed program was:" >&5
     10840sed 's/^/| /' conftest.$ac_ext >&5
     10841
     10842( exit $ac_status )
     10843if test "$ac_cv_type_void_p" = yes; then
     10844     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10845$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10846{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     10847See \`config.log' for more details." >&5
     10848$as_echo "$as_me: error: cannot compute sizeof (void *)
     10849See \`config.log' for more details." >&2;}
     10850   { (exit 77); exit 77; }; }; }
    810710851   else
    810810852     ac_cv_sizeof_void_p=0
    810910853   fi
    811010854fi
    8111 
    8112 fi
    8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     10855rm -rf conftest.dSYM
     10856rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10857fi
     10858rm -f conftest.val
     10859fi
     10860{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
    811410861$as_echo "$ac_cv_sizeof_void_p" >&6; }
    811510862
     
    812510872# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    812610873# This bug is HP SR number 8606223364.
    8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
     10874{ $as_echo "$as_me:$LINENO: checking size of float" >&5
    812810875$as_echo_n "checking size of float... " >&6; }
    8129 if ${ac_cv_sizeof_float+:} false; then :
     10876if test "${ac_cv_sizeof_float+set}" = set; then
    813010877  $as_echo_n "(cached) " >&6
    813110878else
    8132   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
    8133 
    8134 else
    8135   if test "$ac_cv_type_float" = yes; then
    8136      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10879  if test "$cross_compiling" = yes; then
     10880  # Depending upon the size, compute the lo and hi bounds.
     10881cat >conftest.$ac_ext <<_ACEOF
     10882/* confdefs.h.  */
     10883_ACEOF
     10884cat confdefs.h >>conftest.$ac_ext
     10885cat >>conftest.$ac_ext <<_ACEOF
     10886/* end confdefs.h.  */
     10887$ac_includes_default
     10888int
     10889main ()
     10890{
     10891static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
     10892test_array [0] = 0
     10893
     10894  ;
     10895  return 0;
     10896}
     10897_ACEOF
     10898rm -f conftest.$ac_objext
     10899if { (ac_try="$ac_compile"
     10900case "(($ac_try" in
     10901  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10902  *) ac_try_echo=$ac_try;;
     10903esac
     10904eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10905$as_echo "$ac_try_echo") >&5
     10906  (eval "$ac_compile") 2>conftest.er1
     10907  ac_status=$?
     10908  grep -v '^ *+' conftest.er1 >conftest.err
     10909  rm -f conftest.er1
     10910  cat conftest.err >&5
     10911  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10912  (exit $ac_status); } && {
     10913         test -z "$ac_cxx_werror_flag" ||
     10914         test ! -s conftest.err
     10915       } && test -s conftest.$ac_objext; then
     10916  ac_lo=0 ac_mid=0
     10917  while :; do
     10918    cat >conftest.$ac_ext <<_ACEOF
     10919/* confdefs.h.  */
     10920_ACEOF
     10921cat confdefs.h >>conftest.$ac_ext
     10922cat >>conftest.$ac_ext <<_ACEOF
     10923/* end confdefs.h.  */
     10924$ac_includes_default
     10925int
     10926main ()
     10927{
     10928static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
     10929test_array [0] = 0
     10930
     10931  ;
     10932  return 0;
     10933}
     10934_ACEOF
     10935rm -f conftest.$ac_objext
     10936if { (ac_try="$ac_compile"
     10937case "(($ac_try" in
     10938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10939  *) ac_try_echo=$ac_try;;
     10940esac
     10941eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10942$as_echo "$ac_try_echo") >&5
     10943  (eval "$ac_compile") 2>conftest.er1
     10944  ac_status=$?
     10945  grep -v '^ *+' conftest.er1 >conftest.err
     10946  rm -f conftest.er1
     10947  cat conftest.err >&5
     10948  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10949  (exit $ac_status); } && {
     10950         test -z "$ac_cxx_werror_flag" ||
     10951         test ! -s conftest.err
     10952       } && test -s conftest.$ac_objext; then
     10953  ac_hi=$ac_mid; break
     10954else
     10955  $as_echo "$as_me: failed program was:" >&5
     10956sed 's/^/| /' conftest.$ac_ext >&5
     10957
     10958        ac_lo=`expr $ac_mid + 1`
     10959                        if test $ac_lo -le $ac_mid; then
     10960                          ac_lo= ac_hi=
     10961                          break
     10962                        fi
     10963                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10964fi
     10965
     10966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10967  done
     10968else
     10969  $as_echo "$as_me: failed program was:" >&5
     10970sed 's/^/| /' conftest.$ac_ext >&5
     10971
     10972        cat >conftest.$ac_ext <<_ACEOF
     10973/* confdefs.h.  */
     10974_ACEOF
     10975cat confdefs.h >>conftest.$ac_ext
     10976cat >>conftest.$ac_ext <<_ACEOF
     10977/* end confdefs.h.  */
     10978$ac_includes_default
     10979int
     10980main ()
     10981{
     10982static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
     10983test_array [0] = 0
     10984
     10985  ;
     10986  return 0;
     10987}
     10988_ACEOF
     10989rm -f conftest.$ac_objext
     10990if { (ac_try="$ac_compile"
     10991case "(($ac_try" in
     10992  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10993  *) ac_try_echo=$ac_try;;
     10994esac
     10995eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10996$as_echo "$ac_try_echo") >&5
     10997  (eval "$ac_compile") 2>conftest.er1
     10998  ac_status=$?
     10999  grep -v '^ *+' conftest.er1 >conftest.err
     11000  rm -f conftest.er1
     11001  cat conftest.err >&5
     11002  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11003  (exit $ac_status); } && {
     11004         test -z "$ac_cxx_werror_flag" ||
     11005         test ! -s conftest.err
     11006       } && test -s conftest.$ac_objext; then
     11007  ac_hi=-1 ac_mid=-1
     11008  while :; do
     11009    cat >conftest.$ac_ext <<_ACEOF
     11010/* confdefs.h.  */
     11011_ACEOF
     11012cat confdefs.h >>conftest.$ac_ext
     11013cat >>conftest.$ac_ext <<_ACEOF
     11014/* end confdefs.h.  */
     11015$ac_includes_default
     11016int
     11017main ()
     11018{
     11019static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
     11020test_array [0] = 0
     11021
     11022  ;
     11023  return 0;
     11024}
     11025_ACEOF
     11026rm -f conftest.$ac_objext
     11027if { (ac_try="$ac_compile"
     11028case "(($ac_try" in
     11029  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11030  *) ac_try_echo=$ac_try;;
     11031esac
     11032eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11033$as_echo "$ac_try_echo") >&5
     11034  (eval "$ac_compile") 2>conftest.er1
     11035  ac_status=$?
     11036  grep -v '^ *+' conftest.er1 >conftest.err
     11037  rm -f conftest.er1
     11038  cat conftest.err >&5
     11039  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11040  (exit $ac_status); } && {
     11041         test -z "$ac_cxx_werror_flag" ||
     11042         test ! -s conftest.err
     11043       } && test -s conftest.$ac_objext; then
     11044  ac_lo=$ac_mid; break
     11045else
     11046  $as_echo "$as_me: failed program was:" >&5
     11047sed 's/^/| /' conftest.$ac_ext >&5
     11048
     11049        ac_hi=`expr '(' $ac_mid ')' - 1`
     11050                        if test $ac_mid -le $ac_hi; then
     11051                          ac_lo= ac_hi=
     11052                          break
     11053                        fi
     11054                        ac_mid=`expr 2 '*' $ac_mid`
     11055fi
     11056
     11057rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11058  done
     11059else
     11060  $as_echo "$as_me: failed program was:" >&5
     11061sed 's/^/| /' conftest.$ac_ext >&5
     11062
     11063        ac_lo= ac_hi=
     11064fi
     11065
     11066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11067fi
     11068
     11069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11070# Binary search between lo and hi bounds.
     11071while test "x$ac_lo" != "x$ac_hi"; do
     11072  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     11073  cat >conftest.$ac_ext <<_ACEOF
     11074/* confdefs.h.  */
     11075_ACEOF
     11076cat confdefs.h >>conftest.$ac_ext
     11077cat >>conftest.$ac_ext <<_ACEOF
     11078/* end confdefs.h.  */
     11079$ac_includes_default
     11080int
     11081main ()
     11082{
     11083static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
     11084test_array [0] = 0
     11085
     11086  ;
     11087  return 0;
     11088}
     11089_ACEOF
     11090rm -f conftest.$ac_objext
     11091if { (ac_try="$ac_compile"
     11092case "(($ac_try" in
     11093  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11094  *) ac_try_echo=$ac_try;;
     11095esac
     11096eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11097$as_echo "$ac_try_echo") >&5
     11098  (eval "$ac_compile") 2>conftest.er1
     11099  ac_status=$?
     11100  grep -v '^ *+' conftest.er1 >conftest.err
     11101  rm -f conftest.er1
     11102  cat conftest.err >&5
     11103  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11104  (exit $ac_status); } && {
     11105         test -z "$ac_cxx_werror_flag" ||
     11106         test ! -s conftest.err
     11107       } && test -s conftest.$ac_objext; then
     11108  ac_hi=$ac_mid
     11109else
     11110  $as_echo "$as_me: failed program was:" >&5
     11111sed 's/^/| /' conftest.$ac_ext >&5
     11112
     11113        ac_lo=`expr '(' $ac_mid ')' + 1`
     11114fi
     11115
     11116rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11117done
     11118case $ac_lo in
     11119?*) ac_cv_sizeof_float=$ac_lo;;
     11120'') if test "$ac_cv_type_float" = yes; then
     11121     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    813711122$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8138 as_fn_error 77 "cannot compute sizeof (float)
    8139 See \`config.log' for more details" "$LINENO" 5; }
     11123{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
     11124See \`config.log' for more details." >&5
     11125$as_echo "$as_me: error: cannot compute sizeof (float)
     11126See \`config.log' for more details." >&2;}
     11127   { (exit 77); exit 77; }; }; }
     11128   else
     11129     ac_cv_sizeof_float=0
     11130   fi ;;
     11131esac
     11132else
     11133  cat >conftest.$ac_ext <<_ACEOF
     11134/* confdefs.h.  */
     11135_ACEOF
     11136cat confdefs.h >>conftest.$ac_ext
     11137cat >>conftest.$ac_ext <<_ACEOF
     11138/* end confdefs.h.  */
     11139$ac_includes_default
     11140static long int longval () { return (long int) (sizeof (float)); }
     11141static unsigned long int ulongval () { return (long int) (sizeof (float)); }
     11142#include <stdio.h>
     11143#include <stdlib.h>
     11144int
     11145main ()
     11146{
     11147
     11148  FILE *f = fopen ("conftest.val", "w");
     11149  if (! f)
     11150    return 1;
     11151  if (((long int) (sizeof (float))) < 0)
     11152    {
     11153      long int i = longval ();
     11154      if (i != ((long int) (sizeof (float))))
     11155        return 1;
     11156      fprintf (f, "%ld", i);
     11157    }
     11158  else
     11159    {
     11160      unsigned long int i = ulongval ();
     11161      if (i != ((long int) (sizeof (float))))
     11162        return 1;
     11163      fprintf (f, "%lu", i);
     11164    }
     11165  /* Do not output a trailing newline, as this causes \r\n confusion
     11166     on some platforms.  */
     11167  return ferror (f) || fclose (f) != 0;
     11168
     11169  ;
     11170  return 0;
     11171}
     11172_ACEOF
     11173rm -f conftest$ac_exeext
     11174if { (ac_try="$ac_link"
     11175case "(($ac_try" in
     11176  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11177  *) ac_try_echo=$ac_try;;
     11178esac
     11179eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11180$as_echo "$ac_try_echo") >&5
     11181  (eval "$ac_link") 2>&5
     11182  ac_status=$?
     11183  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11184  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     11185  { (case "(($ac_try" in
     11186  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11187  *) ac_try_echo=$ac_try;;
     11188esac
     11189eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11190$as_echo "$ac_try_echo") >&5
     11191  (eval "$ac_try") 2>&5
     11192  ac_status=$?
     11193  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11194  (exit $ac_status); }; }; then
     11195  ac_cv_sizeof_float=`cat conftest.val`
     11196else
     11197  $as_echo "$as_me: program exited with status $ac_status" >&5
     11198$as_echo "$as_me: failed program was:" >&5
     11199sed 's/^/| /' conftest.$ac_ext >&5
     11200
     11201( exit $ac_status )
     11202if test "$ac_cv_type_float" = yes; then
     11203     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     11204$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     11205{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
     11206See \`config.log' for more details." >&5
     11207$as_echo "$as_me: error: cannot compute sizeof (float)
     11208See \`config.log' for more details." >&2;}
     11209   { (exit 77); exit 77; }; }; }
    814011210   else
    814111211     ac_cv_sizeof_float=0
    814211212   fi
    814311213fi
    8144 
    8145 fi
    8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
     11214rm -rf conftest.dSYM
     11215rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     11216fi
     11217rm -f conftest.val
     11218fi
     11219{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
    814711220$as_echo "$ac_cv_sizeof_float" >&6; }
    814811221
     
    820211275
    820311276RP_DIR=""
    8204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
     11277{ $as_echo "$as_me:$LINENO: checking for rappture" >&5
    820511278$as_echo_n "checking for rappture... " >&6; }
    820611279if test "$with_rappture" == "yes" ; then
     
    821111284      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    821211285      RP_LIB_DIR="$dir/lib"
    8213       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
     11286      { $as_echo "$as_me:$LINENO: result: $dir" >&5
    821411287$as_echo "$dir" >&6; }
    821511288      break
     
    821811291else
    821911292  if test ! -d "$with_rappture" ; then
    8220     as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5
     11293    { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5
     11294$as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;}
     11295   { (exit 1); exit 1; }; }
    822111296  fi
    822211297  RP_DIR=$with_rappture
     
    822511300fi
    822611301if test "x${RP_DIR}" = "x" ; then
    8227   as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5
    8228 else
    8229   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5
     11302  { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5
     11303$as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;}
     11304   { (exit 1); exit 1; }; }
     11305else
     11306  { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5
    823011307$as_echo "$with_rappture" >&6; }
    823111308fi
     
    826211339CPPFLAGS=$VTK_INC_SPEC
    826311340
     11341
    826411342for ac_header in vtkSmartPointer.h
    8265 do :
    8266   ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default"
    8267 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then :
    8268   cat >>confdefs.h <<_ACEOF
    8269 #define HAVE_VTKSMARTPOINTER_H 1
    8270 _ACEOF
    8271 
    8272 else
    8273   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5
    8274 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
    8275 fi
    8276 
    8277 done
    8278 
    8279 CPPFLAGS=$save_CPPFLAGS
    8280 
    8281 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default"
    8282 if test "x$ac_cv_header_GL_glui_h" = xyes; then :
    8283 
    8284 fi
    8285 
    8286 
    8287 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default"
    8288 if test "x$ac_cv_header_glui_h" = xyes; then :
    8289 
    8290 fi
    8291 
    8292 
    8293 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
    8294 if test "x$ac_cv_header_GL_glut_h" = xyes; then :
    8295 
    8296 fi
    8297 
    8298 
    8299 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
    8300 if test "x$ac_cv_header_GL_glew_h" = xyes; then :
    8301 
    8302 fi
    8303 
    8304 
    8305 
    8306 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    8307 do :
    8308   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8309 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8310 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     11343do
     11344as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     11345if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11346  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11347$as_echo_n "checking for $ac_header... " >&6; }
     11348if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11349  $as_echo_n "(cached) " >&6
     11350fi
     11351ac_res=`eval 'as_val=${'$as_ac_Header'}
     11352                 $as_echo "$as_val"'`
     11353               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11354$as_echo "$ac_res" >&6; }
     11355else
     11356  # Is the header compilable?
     11357{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     11358$as_echo_n "checking $ac_header usability... " >&6; }
     11359cat >conftest.$ac_ext <<_ACEOF
     11360/* confdefs.h.  */
     11361_ACEOF
     11362cat confdefs.h >>conftest.$ac_ext
     11363cat >>conftest.$ac_ext <<_ACEOF
     11364/* end confdefs.h.  */
     11365$ac_includes_default
     11366#include <$ac_header>
     11367_ACEOF
     11368rm -f conftest.$ac_objext
     11369if { (ac_try="$ac_compile"
     11370case "(($ac_try" in
     11371  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11372  *) ac_try_echo=$ac_try;;
     11373esac
     11374eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11375$as_echo "$ac_try_echo") >&5
     11376  (eval "$ac_compile") 2>conftest.er1
     11377  ac_status=$?
     11378  grep -v '^ *+' conftest.er1 >conftest.err
     11379  rm -f conftest.er1
     11380  cat conftest.err >&5
     11381  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11382  (exit $ac_status); } && {
     11383         test -z "$ac_cxx_werror_flag" ||
     11384         test ! -s conftest.err
     11385       } && test -s conftest.$ac_objext; then
     11386  ac_header_compiler=yes
     11387else
     11388  $as_echo "$as_me: failed program was:" >&5
     11389sed 's/^/| /' conftest.$ac_ext >&5
     11390
     11391        ac_header_compiler=no
     11392fi
     11393
     11394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11395{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11396$as_echo "$ac_header_compiler" >&6; }
     11397
     11398# Is the header present?
     11399{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     11400$as_echo_n "checking $ac_header presence... " >&6; }
     11401cat >conftest.$ac_ext <<_ACEOF
     11402/* confdefs.h.  */
     11403_ACEOF
     11404cat confdefs.h >>conftest.$ac_ext
     11405cat >>conftest.$ac_ext <<_ACEOF
     11406/* end confdefs.h.  */
     11407#include <$ac_header>
     11408_ACEOF
     11409if { (ac_try="$ac_cpp conftest.$ac_ext"
     11410case "(($ac_try" in
     11411  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11412  *) ac_try_echo=$ac_try;;
     11413esac
     11414eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11415$as_echo "$ac_try_echo") >&5
     11416  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11417  ac_status=$?
     11418  grep -v '^ *+' conftest.er1 >conftest.err
     11419  rm -f conftest.er1
     11420  cat conftest.err >&5
     11421  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11422  (exit $ac_status); } >/dev/null && {
     11423         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11424         test ! -s conftest.err
     11425       }; then
     11426  ac_header_preproc=yes
     11427else
     11428  $as_echo "$as_me: failed program was:" >&5
     11429sed 's/^/| /' conftest.$ac_ext >&5
     11430
     11431  ac_header_preproc=no
     11432fi
     11433
     11434rm -f conftest.err conftest.$ac_ext
     11435{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11436$as_echo "$ac_header_preproc" >&6; }
     11437
     11438# So?  What about this header?
     11439case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11440  yes:no: )
     11441    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     11442$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11443    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     11444$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     11445    ac_header_preproc=yes
     11446    ;;
     11447  no:yes:* )
     11448    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     11449$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     11450    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     11451$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     11452    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     11453$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     11454    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     11455$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     11456    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     11457$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     11458    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     11459$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     11460    ( cat <<\_ASBOX
     11461## ----------------------------------- ##
     11462## Report this to rappture@nanohub.org ##
     11463## ----------------------------------- ##
     11464_ASBOX
     11465     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11466    ;;
     11467esac
     11468{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11469$as_echo_n "checking for $ac_header... " >&6; }
     11470if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11471  $as_echo_n "(cached) " >&6
     11472else
     11473  eval "$as_ac_Header=\$ac_header_preproc"
     11474fi
     11475ac_res=`eval 'as_val=${'$as_ac_Header'}
     11476                 $as_echo "$as_val"'`
     11477               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11478$as_echo "$ac_res" >&6; }
     11479
     11480fi
     11481as_val=`eval 'as_val=${'$as_ac_Header'}
     11482                 $as_echo "$as_val"'`
     11483   if test "x$as_val" = x""yes; then
    831111484  cat >>confdefs.h <<_ACEOF
    831211485#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    831311486_ACEOF
    831411487
     11488else
     11489  { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5
     11490$as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
    831511491fi
    831611492
    831711493done
    831811494
    8319 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    8320 do :
    8321   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8322 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     11495CPPFLAGS=$save_CPPFLAGS
     11496
     11497if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11498  { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     11499$as_echo_n "checking for GL/glui.h... " >&6; }
     11500if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11501  $as_echo_n "(cached) " >&6
     11502fi
     11503{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     11504$as_echo "$ac_cv_header_GL_glui_h" >&6; }
     11505else
     11506  # Is the header compilable?
     11507{ $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
     11508$as_echo_n "checking GL/glui.h usability... " >&6; }
     11509cat >conftest.$ac_ext <<_ACEOF
     11510/* confdefs.h.  */
     11511_ACEOF
     11512cat confdefs.h >>conftest.$ac_ext
     11513cat >>conftest.$ac_ext <<_ACEOF
     11514/* end confdefs.h.  */
     11515$ac_includes_default
     11516#include <GL/glui.h>
     11517_ACEOF
     11518rm -f conftest.$ac_objext
     11519if { (ac_try="$ac_compile"
     11520case "(($ac_try" in
     11521  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11522  *) ac_try_echo=$ac_try;;
     11523esac
     11524eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11525$as_echo "$ac_try_echo") >&5
     11526  (eval "$ac_compile") 2>conftest.er1
     11527  ac_status=$?
     11528  grep -v '^ *+' conftest.er1 >conftest.err
     11529  rm -f conftest.er1
     11530  cat conftest.err >&5
     11531  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11532  (exit $ac_status); } && {
     11533         test -z "$ac_cxx_werror_flag" ||
     11534         test ! -s conftest.err
     11535       } && test -s conftest.$ac_objext; then
     11536  ac_header_compiler=yes
     11537else
     11538  $as_echo "$as_me: failed program was:" >&5
     11539sed 's/^/| /' conftest.$ac_ext >&5
     11540
     11541        ac_header_compiler=no
     11542fi
     11543
     11544rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11545{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11546$as_echo "$ac_header_compiler" >&6; }
     11547
     11548# Is the header present?
     11549{ $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
     11550$as_echo_n "checking GL/glui.h presence... " >&6; }
     11551cat >conftest.$ac_ext <<_ACEOF
     11552/* confdefs.h.  */
     11553_ACEOF
     11554cat confdefs.h >>conftest.$ac_ext
     11555cat >>conftest.$ac_ext <<_ACEOF
     11556/* end confdefs.h.  */
     11557#include <GL/glui.h>
     11558_ACEOF
     11559if { (ac_try="$ac_cpp conftest.$ac_ext"
     11560case "(($ac_try" in
     11561  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11562  *) ac_try_echo=$ac_try;;
     11563esac
     11564eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11565$as_echo "$ac_try_echo") >&5
     11566  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11567  ac_status=$?
     11568  grep -v '^ *+' conftest.er1 >conftest.err
     11569  rm -f conftest.er1
     11570  cat conftest.err >&5
     11571  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11572  (exit $ac_status); } >/dev/null && {
     11573         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11574         test ! -s conftest.err
     11575       }; then
     11576  ac_header_preproc=yes
     11577else
     11578  $as_echo "$as_me: failed program was:" >&5
     11579sed 's/^/| /' conftest.$ac_ext >&5
     11580
     11581  ac_header_preproc=no
     11582fi
     11583
     11584rm -f conftest.err conftest.$ac_ext
     11585{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11586$as_echo "$ac_header_preproc" >&6; }
     11587
     11588# So?  What about this header?
     11589case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11590  yes:no: )
     11591    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11592$as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11593    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
     11594$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
     11595    ac_header_preproc=yes
     11596    ;;
     11597  no:yes:* )
     11598    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
     11599$as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
     11600    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
     11601$as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
     11602    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
     11603$as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
     11604    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     11605$as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11606    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
     11607$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
     11608    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
     11609$as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
     11610    ( cat <<\_ASBOX
     11611## ----------------------------------- ##
     11612## Report this to rappture@nanohub.org ##
     11613## ----------------------------------- ##
     11614_ASBOX
     11615     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11616    ;;
     11617esac
     11618{ $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     11619$as_echo_n "checking for GL/glui.h... " >&6; }
     11620if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11621  $as_echo_n "(cached) " >&6
     11622else
     11623  ac_cv_header_GL_glui_h=$ac_header_preproc
     11624fi
     11625{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     11626$as_echo "$ac_cv_header_GL_glui_h" >&6; }
     11627
     11628fi
     11629
     11630
     11631if test "${ac_cv_header_glui_h+set}" = set; then
     11632  { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     11633$as_echo_n "checking for glui.h... " >&6; }
     11634if test "${ac_cv_header_glui_h+set}" = set; then
     11635  $as_echo_n "(cached) " >&6
     11636fi
     11637{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     11638$as_echo "$ac_cv_header_glui_h" >&6; }
     11639else
     11640  # Is the header compilable?
     11641{ $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
     11642$as_echo_n "checking glui.h usability... " >&6; }
     11643cat >conftest.$ac_ext <<_ACEOF
     11644/* confdefs.h.  */
     11645_ACEOF
     11646cat confdefs.h >>conftest.$ac_ext
     11647cat >>conftest.$ac_ext <<_ACEOF
     11648/* end confdefs.h.  */
     11649$ac_includes_default
     11650#include <glui.h>
     11651_ACEOF
     11652rm -f conftest.$ac_objext
     11653if { (ac_try="$ac_compile"
     11654case "(($ac_try" in
     11655  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11656  *) ac_try_echo=$ac_try;;
     11657esac
     11658eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11659$as_echo "$ac_try_echo") >&5
     11660  (eval "$ac_compile") 2>conftest.er1
     11661  ac_status=$?
     11662  grep -v '^ *+' conftest.er1 >conftest.err
     11663  rm -f conftest.er1
     11664  cat conftest.err >&5
     11665  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11666  (exit $ac_status); } && {
     11667         test -z "$ac_cxx_werror_flag" ||
     11668         test ! -s conftest.err
     11669       } && test -s conftest.$ac_objext; then
     11670  ac_header_compiler=yes
     11671else
     11672  $as_echo "$as_me: failed program was:" >&5
     11673sed 's/^/| /' conftest.$ac_ext >&5
     11674
     11675        ac_header_compiler=no
     11676fi
     11677
     11678rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11679{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11680$as_echo "$ac_header_compiler" >&6; }
     11681
     11682# Is the header present?
     11683{ $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
     11684$as_echo_n "checking glui.h presence... " >&6; }
     11685cat >conftest.$ac_ext <<_ACEOF
     11686/* confdefs.h.  */
     11687_ACEOF
     11688cat confdefs.h >>conftest.$ac_ext
     11689cat >>conftest.$ac_ext <<_ACEOF
     11690/* end confdefs.h.  */
     11691#include <glui.h>
     11692_ACEOF
     11693if { (ac_try="$ac_cpp conftest.$ac_ext"
     11694case "(($ac_try" in
     11695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11696  *) ac_try_echo=$ac_try;;
     11697esac
     11698eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11699$as_echo "$ac_try_echo") >&5
     11700  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11701  ac_status=$?
     11702  grep -v '^ *+' conftest.er1 >conftest.err
     11703  rm -f conftest.er1
     11704  cat conftest.err >&5
     11705  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11706  (exit $ac_status); } >/dev/null && {
     11707         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11708         test ! -s conftest.err
     11709       }; then
     11710  ac_header_preproc=yes
     11711else
     11712  $as_echo "$as_me: failed program was:" >&5
     11713sed 's/^/| /' conftest.$ac_ext >&5
     11714
     11715  ac_header_preproc=no
     11716fi
     11717
     11718rm -f conftest.err conftest.$ac_ext
     11719{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11720$as_echo "$ac_header_preproc" >&6; }
     11721
     11722# So?  What about this header?
     11723case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11724  yes:no: )
     11725    { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11726$as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11727    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
     11728$as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
     11729    ac_header_preproc=yes
     11730    ;;
     11731  no:yes:* )
     11732    { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
     11733$as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
     11734    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
     11735$as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
     11736    { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
     11737$as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
     11738    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     11739$as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11740    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
     11741$as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
     11742    { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
     11743$as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
     11744    ( cat <<\_ASBOX
     11745## ----------------------------------- ##
     11746## Report this to rappture@nanohub.org ##
     11747## ----------------------------------- ##
     11748_ASBOX
     11749     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11750    ;;
     11751esac
     11752{ $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     11753$as_echo_n "checking for glui.h... " >&6; }
     11754if test "${ac_cv_header_glui_h+set}" = set; then
     11755  $as_echo_n "(cached) " >&6
     11756else
     11757  ac_cv_header_glui_h=$ac_header_preproc
     11758fi
     11759{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     11760$as_echo "$ac_cv_header_glui_h" >&6; }
     11761
     11762fi
     11763
     11764
     11765if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11766  { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     11767$as_echo_n "checking for GL/glut.h... " >&6; }
     11768if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11769  $as_echo_n "(cached) " >&6
     11770fi
     11771{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     11772$as_echo "$ac_cv_header_GL_glut_h" >&6; }
     11773else
     11774  # Is the header compilable?
     11775{ $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
     11776$as_echo_n "checking GL/glut.h usability... " >&6; }
     11777cat >conftest.$ac_ext <<_ACEOF
     11778/* confdefs.h.  */
     11779_ACEOF
     11780cat confdefs.h >>conftest.$ac_ext
     11781cat >>conftest.$ac_ext <<_ACEOF
     11782/* end confdefs.h.  */
     11783$ac_includes_default
     11784#include <GL/glut.h>
     11785_ACEOF
     11786rm -f conftest.$ac_objext
     11787if { (ac_try="$ac_compile"
     11788case "(($ac_try" in
     11789  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11790  *) ac_try_echo=$ac_try;;
     11791esac
     11792eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11793$as_echo "$ac_try_echo") >&5
     11794  (eval "$ac_compile") 2>conftest.er1
     11795  ac_status=$?
     11796  grep -v '^ *+' conftest.er1 >conftest.err
     11797  rm -f conftest.er1
     11798  cat conftest.err >&5
     11799  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11800  (exit $ac_status); } && {
     11801         test -z "$ac_cxx_werror_flag" ||
     11802         test ! -s conftest.err
     11803       } && test -s conftest.$ac_objext; then
     11804  ac_header_compiler=yes
     11805else
     11806  $as_echo "$as_me: failed program was:" >&5
     11807sed 's/^/| /' conftest.$ac_ext >&5
     11808
     11809        ac_header_compiler=no
     11810fi
     11811
     11812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11813{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11814$as_echo "$ac_header_compiler" >&6; }
     11815
     11816# Is the header present?
     11817{ $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
     11818$as_echo_n "checking GL/glut.h presence... " >&6; }
     11819cat >conftest.$ac_ext <<_ACEOF
     11820/* confdefs.h.  */
     11821_ACEOF
     11822cat confdefs.h >>conftest.$ac_ext
     11823cat >>conftest.$ac_ext <<_ACEOF
     11824/* end confdefs.h.  */
     11825#include <GL/glut.h>
     11826_ACEOF
     11827if { (ac_try="$ac_cpp conftest.$ac_ext"
     11828case "(($ac_try" in
     11829  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11830  *) ac_try_echo=$ac_try;;
     11831esac
     11832eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11833$as_echo "$ac_try_echo") >&5
     11834  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11835  ac_status=$?
     11836  grep -v '^ *+' conftest.er1 >conftest.err
     11837  rm -f conftest.er1
     11838  cat conftest.err >&5
     11839  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11840  (exit $ac_status); } >/dev/null && {
     11841         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11842         test ! -s conftest.err
     11843       }; then
     11844  ac_header_preproc=yes
     11845else
     11846  $as_echo "$as_me: failed program was:" >&5
     11847sed 's/^/| /' conftest.$ac_ext >&5
     11848
     11849  ac_header_preproc=no
     11850fi
     11851
     11852rm -f conftest.err conftest.$ac_ext
     11853{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11854$as_echo "$ac_header_preproc" >&6; }
     11855
     11856# So?  What about this header?
     11857case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11858  yes:no: )
     11859    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11860$as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11861    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
     11862$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
     11863    ac_header_preproc=yes
     11864    ;;
     11865  no:yes:* )
     11866    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
     11867$as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
     11868    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
     11869$as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
     11870    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
     11871$as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
     11872    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
     11873$as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11874    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
     11875$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
     11876    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
     11877$as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
     11878    ( cat <<\_ASBOX
     11879## ----------------------------------- ##
     11880## Report this to rappture@nanohub.org ##
     11881## ----------------------------------- ##
     11882_ASBOX
     11883     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11884    ;;
     11885esac
     11886{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     11887$as_echo_n "checking for GL/glut.h... " >&6; }
     11888if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11889  $as_echo_n "(cached) " >&6
     11890else
     11891  ac_cv_header_GL_glut_h=$ac_header_preproc
     11892fi
     11893{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     11894$as_echo "$ac_cv_header_GL_glut_h" >&6; }
     11895
     11896fi
     11897
     11898
     11899if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11900  { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     11901$as_echo_n "checking for GL/glew.h... " >&6; }
     11902if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11903  $as_echo_n "(cached) " >&6
     11904fi
     11905{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     11906$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     11907else
     11908  # Is the header compilable?
     11909{ $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
     11910$as_echo_n "checking GL/glew.h usability... " >&6; }
     11911cat >conftest.$ac_ext <<_ACEOF
     11912/* confdefs.h.  */
     11913_ACEOF
     11914cat confdefs.h >>conftest.$ac_ext
     11915cat >>conftest.$ac_ext <<_ACEOF
     11916/* end confdefs.h.  */
     11917$ac_includes_default
     11918#include <GL/glew.h>
     11919_ACEOF
     11920rm -f conftest.$ac_objext
     11921if { (ac_try="$ac_compile"
     11922case "(($ac_try" in
     11923  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11924  *) ac_try_echo=$ac_try;;
     11925esac
     11926eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11927$as_echo "$ac_try_echo") >&5
     11928  (eval "$ac_compile") 2>conftest.er1
     11929  ac_status=$?
     11930  grep -v '^ *+' conftest.er1 >conftest.err
     11931  rm -f conftest.er1
     11932  cat conftest.err >&5
     11933  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11934  (exit $ac_status); } && {
     11935         test -z "$ac_cxx_werror_flag" ||
     11936         test ! -s conftest.err
     11937       } && test -s conftest.$ac_objext; then
     11938  ac_header_compiler=yes
     11939else
     11940  $as_echo "$as_me: failed program was:" >&5
     11941sed 's/^/| /' conftest.$ac_ext >&5
     11942
     11943        ac_header_compiler=no
     11944fi
     11945
     11946rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11947{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11948$as_echo "$ac_header_compiler" >&6; }
     11949
     11950# Is the header present?
     11951{ $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
     11952$as_echo_n "checking GL/glew.h presence... " >&6; }
     11953cat >conftest.$ac_ext <<_ACEOF
     11954/* confdefs.h.  */
     11955_ACEOF
     11956cat confdefs.h >>conftest.$ac_ext
     11957cat >>conftest.$ac_ext <<_ACEOF
     11958/* end confdefs.h.  */
     11959#include <GL/glew.h>
     11960_ACEOF
     11961if { (ac_try="$ac_cpp conftest.$ac_ext"
     11962case "(($ac_try" in
     11963  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11964  *) ac_try_echo=$ac_try;;
     11965esac
     11966eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11967$as_echo "$ac_try_echo") >&5
     11968  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11969  ac_status=$?
     11970  grep -v '^ *+' conftest.er1 >conftest.err
     11971  rm -f conftest.er1
     11972  cat conftest.err >&5
     11973  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11974  (exit $ac_status); } >/dev/null && {
     11975         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11976         test ! -s conftest.err
     11977       }; then
     11978  ac_header_preproc=yes
     11979else
     11980  $as_echo "$as_me: failed program was:" >&5
     11981sed 's/^/| /' conftest.$ac_ext >&5
     11982
     11983  ac_header_preproc=no
     11984fi
     11985
     11986rm -f conftest.err conftest.$ac_ext
     11987{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11988$as_echo "$ac_header_preproc" >&6; }
     11989
     11990# So?  What about this header?
     11991case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11992  yes:no: )
     11993    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11994$as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11995    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
     11996$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
     11997    ac_header_preproc=yes
     11998    ;;
     11999  no:yes:* )
     12000    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
     12001$as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
     12002    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
     12003$as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
     12004    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
     12005$as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
     12006    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
     12007$as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     12008    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
     12009$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
     12010    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
     12011$as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
     12012    ( cat <<\_ASBOX
     12013## ----------------------------------- ##
     12014## Report this to rappture@nanohub.org ##
     12015## ----------------------------------- ##
     12016_ASBOX
     12017     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12018    ;;
     12019esac
     12020{ $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     12021$as_echo_n "checking for GL/glew.h... " >&6; }
     12022if test "${ac_cv_header_GL_glew_h+set}" = set; then
     12023  $as_echo_n "(cached) " >&6
     12024else
     12025  ac_cv_header_GL_glew_h=$ac_header_preproc
     12026fi
     12027{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     12028$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     12029
     12030fi
     12031
     12032
     12033
     12034
     12035
     12036
     12037
     12038
     12039for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     12040do
     12041as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12042if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12043  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12044$as_echo_n "checking for $ac_header... " >&6; }
     12045if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12046  $as_echo_n "(cached) " >&6
     12047fi
     12048ac_res=`eval 'as_val=${'$as_ac_Header'}
     12049                 $as_echo "$as_val"'`
     12050               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12051$as_echo "$ac_res" >&6; }
     12052else
     12053  # Is the header compilable?
     12054{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12055$as_echo_n "checking $ac_header usability... " >&6; }
     12056cat >conftest.$ac_ext <<_ACEOF
     12057/* confdefs.h.  */
     12058_ACEOF
     12059cat confdefs.h >>conftest.$ac_ext
     12060cat >>conftest.$ac_ext <<_ACEOF
     12061/* end confdefs.h.  */
     12062$ac_includes_default
     12063#include <$ac_header>
     12064_ACEOF
     12065rm -f conftest.$ac_objext
     12066if { (ac_try="$ac_compile"
     12067case "(($ac_try" in
     12068  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12069  *) ac_try_echo=$ac_try;;
     12070esac
     12071eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12072$as_echo "$ac_try_echo") >&5
     12073  (eval "$ac_compile") 2>conftest.er1
     12074  ac_status=$?
     12075  grep -v '^ *+' conftest.er1 >conftest.err
     12076  rm -f conftest.er1
     12077  cat conftest.err >&5
     12078  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12079  (exit $ac_status); } && {
     12080         test -z "$ac_cxx_werror_flag" ||
     12081         test ! -s conftest.err
     12082       } && test -s conftest.$ac_objext; then
     12083  ac_header_compiler=yes
     12084else
     12085  $as_echo "$as_me: failed program was:" >&5
     12086sed 's/^/| /' conftest.$ac_ext >&5
     12087
     12088        ac_header_compiler=no
     12089fi
     12090
     12091rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12092{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12093$as_echo "$ac_header_compiler" >&6; }
     12094
     12095# Is the header present?
     12096{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12097$as_echo_n "checking $ac_header presence... " >&6; }
     12098cat >conftest.$ac_ext <<_ACEOF
     12099/* confdefs.h.  */
     12100_ACEOF
     12101cat confdefs.h >>conftest.$ac_ext
     12102cat >>conftest.$ac_ext <<_ACEOF
     12103/* end confdefs.h.  */
     12104#include <$ac_header>
     12105_ACEOF
     12106if { (ac_try="$ac_cpp conftest.$ac_ext"
     12107case "(($ac_try" in
     12108  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12109  *) ac_try_echo=$ac_try;;
     12110esac
     12111eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12112$as_echo "$ac_try_echo") >&5
     12113  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12114  ac_status=$?
     12115  grep -v '^ *+' conftest.er1 >conftest.err
     12116  rm -f conftest.er1
     12117  cat conftest.err >&5
     12118  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12119  (exit $ac_status); } >/dev/null && {
     12120         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12121         test ! -s conftest.err
     12122       }; then
     12123  ac_header_preproc=yes
     12124else
     12125  $as_echo "$as_me: failed program was:" >&5
     12126sed 's/^/| /' conftest.$ac_ext >&5
     12127
     12128  ac_header_preproc=no
     12129fi
     12130
     12131rm -f conftest.err conftest.$ac_ext
     12132{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12133$as_echo "$ac_header_preproc" >&6; }
     12134
     12135# So?  What about this header?
     12136case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12137  yes:no: )
     12138    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12139$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12140    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12141$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12142    ac_header_preproc=yes
     12143    ;;
     12144  no:yes:* )
     12145    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12146$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12147    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12148$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12149    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12150$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12151    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12152$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12153    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12154$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12155    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12156$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12157    ( cat <<\_ASBOX
     12158## ----------------------------------- ##
     12159## Report this to rappture@nanohub.org ##
     12160## ----------------------------------- ##
     12161_ASBOX
     12162     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12163    ;;
     12164esac
     12165{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12166$as_echo_n "checking for $ac_header... " >&6; }
     12167if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12168  $as_echo_n "(cached) " >&6
     12169else
     12170  eval "$as_ac_Header=\$ac_header_preproc"
     12171fi
     12172ac_res=`eval 'as_val=${'$as_ac_Header'}
     12173                 $as_echo "$as_val"'`
     12174               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12175$as_echo "$ac_res" >&6; }
     12176
     12177fi
     12178as_val=`eval 'as_val=${'$as_ac_Header'}
     12179                 $as_echo "$as_val"'`
     12180   if test "x$as_val" = x""yes; then
    832412181  cat >>confdefs.h <<_ACEOF
    832512182#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    833112188
    833212189
     12190
     12191
     12192
     12193
     12194for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     12195do
     12196as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12197if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12198  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12199$as_echo_n "checking for $ac_header... " >&6; }
     12200if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12201  $as_echo_n "(cached) " >&6
     12202fi
     12203ac_res=`eval 'as_val=${'$as_ac_Header'}
     12204                 $as_echo "$as_val"'`
     12205               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12206$as_echo "$ac_res" >&6; }
     12207else
     12208  # Is the header compilable?
     12209{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12210$as_echo_n "checking $ac_header usability... " >&6; }
     12211cat >conftest.$ac_ext <<_ACEOF
     12212/* confdefs.h.  */
     12213_ACEOF
     12214cat confdefs.h >>conftest.$ac_ext
     12215cat >>conftest.$ac_ext <<_ACEOF
     12216/* end confdefs.h.  */
     12217$ac_includes_default
     12218#include <$ac_header>
     12219_ACEOF
     12220rm -f conftest.$ac_objext
     12221if { (ac_try="$ac_compile"
     12222case "(($ac_try" in
     12223  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12224  *) ac_try_echo=$ac_try;;
     12225esac
     12226eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12227$as_echo "$ac_try_echo") >&5
     12228  (eval "$ac_compile") 2>conftest.er1
     12229  ac_status=$?
     12230  grep -v '^ *+' conftest.er1 >conftest.err
     12231  rm -f conftest.er1
     12232  cat conftest.err >&5
     12233  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12234  (exit $ac_status); } && {
     12235         test -z "$ac_cxx_werror_flag" ||
     12236         test ! -s conftest.err
     12237       } && test -s conftest.$ac_objext; then
     12238  ac_header_compiler=yes
     12239else
     12240  $as_echo "$as_me: failed program was:" >&5
     12241sed 's/^/| /' conftest.$ac_ext >&5
     12242
     12243        ac_header_compiler=no
     12244fi
     12245
     12246rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12247{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12248$as_echo "$ac_header_compiler" >&6; }
     12249
     12250# Is the header present?
     12251{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12252$as_echo_n "checking $ac_header presence... " >&6; }
     12253cat >conftest.$ac_ext <<_ACEOF
     12254/* confdefs.h.  */
     12255_ACEOF
     12256cat confdefs.h >>conftest.$ac_ext
     12257cat >>conftest.$ac_ext <<_ACEOF
     12258/* end confdefs.h.  */
     12259#include <$ac_header>
     12260_ACEOF
     12261if { (ac_try="$ac_cpp conftest.$ac_ext"
     12262case "(($ac_try" in
     12263  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12264  *) ac_try_echo=$ac_try;;
     12265esac
     12266eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12267$as_echo "$ac_try_echo") >&5
     12268  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12269  ac_status=$?
     12270  grep -v '^ *+' conftest.er1 >conftest.err
     12271  rm -f conftest.er1
     12272  cat conftest.err >&5
     12273  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12274  (exit $ac_status); } >/dev/null && {
     12275         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12276         test ! -s conftest.err
     12277       }; then
     12278  ac_header_preproc=yes
     12279else
     12280  $as_echo "$as_me: failed program was:" >&5
     12281sed 's/^/| /' conftest.$ac_ext >&5
     12282
     12283  ac_header_preproc=no
     12284fi
     12285
     12286rm -f conftest.err conftest.$ac_ext
     12287{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12288$as_echo "$ac_header_preproc" >&6; }
     12289
     12290# So?  What about this header?
     12291case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12292  yes:no: )
     12293    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12294$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12295    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12296$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12297    ac_header_preproc=yes
     12298    ;;
     12299  no:yes:* )
     12300    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12301$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12302    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12303$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12304    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12305$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12306    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12307$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12308    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12309$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12310    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12311$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12312    ( cat <<\_ASBOX
     12313## ----------------------------------- ##
     12314## Report this to rappture@nanohub.org ##
     12315## ----------------------------------- ##
     12316_ASBOX
     12317     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12318    ;;
     12319esac
     12320{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12321$as_echo_n "checking for $ac_header... " >&6; }
     12322if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12323  $as_echo_n "(cached) " >&6
     12324else
     12325  eval "$as_ac_Header=\$ac_header_preproc"
     12326fi
     12327ac_res=`eval 'as_val=${'$as_ac_Header'}
     12328                 $as_echo "$as_val"'`
     12329               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12330$as_echo "$ac_res" >&6; }
     12331
     12332fi
     12333as_val=`eval 'as_val=${'$as_ac_Header'}
     12334                 $as_echo "$as_val"'`
     12335   if test "x$as_val" = x""yes; then
     12336  cat >>confdefs.h <<_ACEOF
     12337#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     12338_ACEOF
     12339
     12340fi
     12341
     12342done
     12343
     12344
     12345
    833312346for ac_func in accept4
    8334 do :
    8335   ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"
    8336 if test "x$ac_cv_func_accept4" = xyes; then :
     12347do
     12348as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     12349{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     12350$as_echo_n "checking for $ac_func... " >&6; }
     12351if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     12352  $as_echo_n "(cached) " >&6
     12353else
     12354  cat >conftest.$ac_ext <<_ACEOF
     12355/* confdefs.h.  */
     12356_ACEOF
     12357cat confdefs.h >>conftest.$ac_ext
     12358cat >>conftest.$ac_ext <<_ACEOF
     12359/* end confdefs.h.  */
     12360/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     12361   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     12362#define $ac_func innocuous_$ac_func
     12363
     12364/* System header to define __stub macros and hopefully few prototypes,
     12365    which can conflict with char $ac_func (); below.
     12366    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     12367    <limits.h> exists even on freestanding compilers.  */
     12368
     12369#ifdef __STDC__
     12370# include <limits.h>
     12371#else
     12372# include <assert.h>
     12373#endif
     12374
     12375#undef $ac_func
     12376
     12377/* Override any GCC internal prototype to avoid an error.
     12378   Use char because int might match the return type of a GCC
     12379   builtin and then its argument prototype would still apply.  */
     12380#ifdef __cplusplus
     12381extern "C"
     12382#endif
     12383char $ac_func ();
     12384/* The GNU C library defines this for functions which it implements
     12385    to always fail with ENOSYS.  Some functions are actually named
     12386    something starting with __ and the normal name is an alias.  */
     12387#if defined __stub_$ac_func || defined __stub___$ac_func
     12388choke me
     12389#endif
     12390
     12391int
     12392main ()
     12393{
     12394return $ac_func ();
     12395  ;
     12396  return 0;
     12397}
     12398_ACEOF
     12399rm -f conftest.$ac_objext conftest$ac_exeext
     12400if { (ac_try="$ac_link"
     12401case "(($ac_try" in
     12402  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12403  *) ac_try_echo=$ac_try;;
     12404esac
     12405eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12406$as_echo "$ac_try_echo") >&5
     12407  (eval "$ac_link") 2>conftest.er1
     12408  ac_status=$?
     12409  grep -v '^ *+' conftest.er1 >conftest.err
     12410  rm -f conftest.er1
     12411  cat conftest.err >&5
     12412  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12413  (exit $ac_status); } && {
     12414         test -z "$ac_cxx_werror_flag" ||
     12415         test ! -s conftest.err
     12416       } && test -s conftest$ac_exeext && {
     12417         test "$cross_compiling" = yes ||
     12418         $as_test_x conftest$ac_exeext
     12419       }; then
     12420  eval "$as_ac_var=yes"
     12421else
     12422  $as_echo "$as_me: failed program was:" >&5
     12423sed 's/^/| /' conftest.$ac_ext >&5
     12424
     12425        eval "$as_ac_var=no"
     12426fi
     12427
     12428rm -rf conftest.dSYM
     12429rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12430      conftest$ac_exeext conftest.$ac_ext
     12431fi
     12432ac_res=`eval 'as_val=${'$as_ac_var'}
     12433                 $as_echo "$as_val"'`
     12434               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12435$as_echo "$ac_res" >&6; }
     12436as_val=`eval 'as_val=${'$as_ac_var'}
     12437                 $as_echo "$as_val"'`
     12438   if test "x$as_val" = x""yes; then
    833712439  cat >>confdefs.h <<_ACEOF
    8338 #define HAVE_ACCEPT4 1
     12440#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    833912441_ACEOF
    834012442
     
    834312445
    834412446
    8345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5
     12447{ $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5
    834612448$as_echo_n "checking for OpenDX headers... " >&6; }
    834712449DX_INC_DIR=""
     
    835712459done
    835812460if test "x${DX_INC_DIR}" = "x" ; then
    8359   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&5
     12461  { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX include files" >&5
    836012462$as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;}
    836112463  DX_INC_SPEC=""
     
    836612468fi
    836712469
    8368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5
     12470{ $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5
    836912471$as_echo "${DX_INC_DIR}" >&6; }
    837012472save_CPPFLAGS=${CPPFLAGS}
    837112473CPPFLAGS="$DX_INC_SPEC $CPPFLAGS"
     12474
    837212475for ac_header in dx/dx.h
    8373 do :
    8374   ac_fn_cxx_check_header_mongrel "$LINENO" "dx/dx.h" "ac_cv_header_dx_dx_h" "$ac_includes_default"
    8375 if test "x$ac_cv_header_dx_dx_h" = xyes; then :
     12476do
     12477as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12478if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12479  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12480$as_echo_n "checking for $ac_header... " >&6; }
     12481if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12482  $as_echo_n "(cached) " >&6
     12483fi
     12484ac_res=`eval 'as_val=${'$as_ac_Header'}
     12485                 $as_echo "$as_val"'`
     12486               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12487$as_echo "$ac_res" >&6; }
     12488else
     12489  # Is the header compilable?
     12490{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12491$as_echo_n "checking $ac_header usability... " >&6; }
     12492cat >conftest.$ac_ext <<_ACEOF
     12493/* confdefs.h.  */
     12494_ACEOF
     12495cat confdefs.h >>conftest.$ac_ext
     12496cat >>conftest.$ac_ext <<_ACEOF
     12497/* end confdefs.h.  */
     12498$ac_includes_default
     12499#include <$ac_header>
     12500_ACEOF
     12501rm -f conftest.$ac_objext
     12502if { (ac_try="$ac_compile"
     12503case "(($ac_try" in
     12504  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12505  *) ac_try_echo=$ac_try;;
     12506esac
     12507eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12508$as_echo "$ac_try_echo") >&5
     12509  (eval "$ac_compile") 2>conftest.er1
     12510  ac_status=$?
     12511  grep -v '^ *+' conftest.er1 >conftest.err
     12512  rm -f conftest.er1
     12513  cat conftest.err >&5
     12514  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12515  (exit $ac_status); } && {
     12516         test -z "$ac_cxx_werror_flag" ||
     12517         test ! -s conftest.err
     12518       } && test -s conftest.$ac_objext; then
     12519  ac_header_compiler=yes
     12520else
     12521  $as_echo "$as_me: failed program was:" >&5
     12522sed 's/^/| /' conftest.$ac_ext >&5
     12523
     12524        ac_header_compiler=no
     12525fi
     12526
     12527rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12528{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12529$as_echo "$ac_header_compiler" >&6; }
     12530
     12531# Is the header present?
     12532{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12533$as_echo_n "checking $ac_header presence... " >&6; }
     12534cat >conftest.$ac_ext <<_ACEOF
     12535/* confdefs.h.  */
     12536_ACEOF
     12537cat confdefs.h >>conftest.$ac_ext
     12538cat >>conftest.$ac_ext <<_ACEOF
     12539/* end confdefs.h.  */
     12540#include <$ac_header>
     12541_ACEOF
     12542if { (ac_try="$ac_cpp conftest.$ac_ext"
     12543case "(($ac_try" in
     12544  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12545  *) ac_try_echo=$ac_try;;
     12546esac
     12547eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12548$as_echo "$ac_try_echo") >&5
     12549  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12550  ac_status=$?
     12551  grep -v '^ *+' conftest.er1 >conftest.err
     12552  rm -f conftest.er1
     12553  cat conftest.err >&5
     12554  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12555  (exit $ac_status); } >/dev/null && {
     12556         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12557         test ! -s conftest.err
     12558       }; then
     12559  ac_header_preproc=yes
     12560else
     12561  $as_echo "$as_me: failed program was:" >&5
     12562sed 's/^/| /' conftest.$ac_ext >&5
     12563
     12564  ac_header_preproc=no
     12565fi
     12566
     12567rm -f conftest.err conftest.$ac_ext
     12568{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12569$as_echo "$ac_header_preproc" >&6; }
     12570
     12571# So?  What about this header?
     12572case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12573  yes:no: )
     12574    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12575$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12576    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12577$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12578    ac_header_preproc=yes
     12579    ;;
     12580  no:yes:* )
     12581    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12582$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12583    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12584$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12585    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12586$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12587    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12588$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12589    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12590$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12591    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12592$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12593    ( cat <<\_ASBOX
     12594## ----------------------------------- ##
     12595## Report this to rappture@nanohub.org ##
     12596## ----------------------------------- ##
     12597_ASBOX
     12598     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12599    ;;
     12600esac
     12601{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12602$as_echo_n "checking for $ac_header... " >&6; }
     12603if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12604  $as_echo_n "(cached) " >&6
     12605else
     12606  eval "$as_ac_Header=\$ac_header_preproc"
     12607fi
     12608ac_res=`eval 'as_val=${'$as_ac_Header'}
     12609                 $as_echo "$as_val"'`
     12610               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12611$as_echo "$ac_res" >&6; }
     12612
     12613fi
     12614as_val=`eval 'as_val=${'$as_ac_Header'}
     12615                 $as_echo "$as_val"'`
     12616   if test "x$as_val" = x""yes; then
    837612617  cat >>confdefs.h <<_ACEOF
    8377 #define HAVE_DX_DX_H 1
     12618#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    837812619_ACEOF
    837912620
     
    839612637  LDFLAGS="-L$dir $LDFLAGS"
    839712638  unset ac_cv_lib_DXcallm_DXGetComponentValue
    8398   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5
     12639  { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5
    839912640$as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; }
    8400 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :
     12641if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then
    840112642  $as_echo_n "(cached) " >&6
    840212643else
    840312644  ac_check_lib_save_LIBS=$LIBS
    840412645LIBS="-lDXcallm -lX11 $LIBS"
    8405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12646cat >conftest.$ac_ext <<_ACEOF
     12647/* confdefs.h.  */
     12648_ACEOF
     12649cat confdefs.h >>conftest.$ac_ext
     12650cat >>conftest.$ac_ext <<_ACEOF
    840612651/* end confdefs.h.  */
    840712652
     
    842112666}
    842212667_ACEOF
    8423 if ac_fn_cxx_try_link "$LINENO"; then :
     12668rm -f conftest.$ac_objext conftest$ac_exeext
     12669if { (ac_try="$ac_link"
     12670case "(($ac_try" in
     12671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12672  *) ac_try_echo=$ac_try;;
     12673esac
     12674eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12675$as_echo "$ac_try_echo") >&5
     12676  (eval "$ac_link") 2>conftest.er1
     12677  ac_status=$?
     12678  grep -v '^ *+' conftest.er1 >conftest.err
     12679  rm -f conftest.er1
     12680  cat conftest.err >&5
     12681  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12682  (exit $ac_status); } && {
     12683         test -z "$ac_cxx_werror_flag" ||
     12684         test ! -s conftest.err
     12685       } && test -s conftest$ac_exeext && {
     12686         test "$cross_compiling" = yes ||
     12687         $as_test_x conftest$ac_exeext
     12688       }; then
    842412689  ac_cv_lib_DXcallm_DXGetComponentValue=yes
    842512690else
    8426   ac_cv_lib_DXcallm_DXGetComponentValue=no
    8427 fi
    8428 rm -f core conftest.err conftest.$ac_objext \
    8429     conftest$ac_exeext conftest.$ac_ext
     12691  $as_echo "$as_me: failed program was:" >&5
     12692sed 's/^/| /' conftest.$ac_ext >&5
     12693
     12694        ac_cv_lib_DXcallm_DXGetComponentValue=no
     12695fi
     12696
     12697rm -rf conftest.dSYM
     12698rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12699      conftest$ac_exeext conftest.$ac_ext
    843012700LIBS=$ac_check_lib_save_LIBS
    843112701fi
    8432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
     12702{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
    843312703$as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; }
    8434 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then :
     12704if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then
    843512705  found=yes
    843612706else
     
    844512715done
    844612716if test "x${DX_LIB_DIR}" = "x" ; then
    8447   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&5
     12717  { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX libraries" >&5
    844812718$as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;}
    844912719fi
    845012720
    8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5
     12721{ $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5
    845212722$as_echo_n "checking for libDXcallm library... " >&6; }
    845312723if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
     
    845612726  DX_LIB_SPEC="-L${DX_LIB_DIR} -lDXcallm"
    845712727fi
    8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5
     12728{ $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5
    845912729$as_echo "$DX_LIB_SPEC" >&6; }
    846012730
     12731
     12732
    846112733for ac_header in opencv/cv.h opencv/highgui.h
    8462 do :
    8463   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8464 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8465 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     12734do
     12735as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12736if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12737  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12738$as_echo_n "checking for $ac_header... " >&6; }
     12739if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12740  $as_echo_n "(cached) " >&6
     12741fi
     12742ac_res=`eval 'as_val=${'$as_ac_Header'}
     12743                 $as_echo "$as_val"'`
     12744               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12745$as_echo "$ac_res" >&6; }
     12746else
     12747  # Is the header compilable?
     12748{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12749$as_echo_n "checking $ac_header usability... " >&6; }
     12750cat >conftest.$ac_ext <<_ACEOF
     12751/* confdefs.h.  */
     12752_ACEOF
     12753cat confdefs.h >>conftest.$ac_ext
     12754cat >>conftest.$ac_ext <<_ACEOF
     12755/* end confdefs.h.  */
     12756$ac_includes_default
     12757#include <$ac_header>
     12758_ACEOF
     12759rm -f conftest.$ac_objext
     12760if { (ac_try="$ac_compile"
     12761case "(($ac_try" in
     12762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12763  *) ac_try_echo=$ac_try;;
     12764esac
     12765eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12766$as_echo "$ac_try_echo") >&5
     12767  (eval "$ac_compile") 2>conftest.er1
     12768  ac_status=$?
     12769  grep -v '^ *+' conftest.er1 >conftest.err
     12770  rm -f conftest.er1
     12771  cat conftest.err >&5
     12772  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12773  (exit $ac_status); } && {
     12774         test -z "$ac_cxx_werror_flag" ||
     12775         test ! -s conftest.err
     12776       } && test -s conftest.$ac_objext; then
     12777  ac_header_compiler=yes
     12778else
     12779  $as_echo "$as_me: failed program was:" >&5
     12780sed 's/^/| /' conftest.$ac_ext >&5
     12781
     12782        ac_header_compiler=no
     12783fi
     12784
     12785rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12786{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12787$as_echo "$ac_header_compiler" >&6; }
     12788
     12789# Is the header present?
     12790{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12791$as_echo_n "checking $ac_header presence... " >&6; }
     12792cat >conftest.$ac_ext <<_ACEOF
     12793/* confdefs.h.  */
     12794_ACEOF
     12795cat confdefs.h >>conftest.$ac_ext
     12796cat >>conftest.$ac_ext <<_ACEOF
     12797/* end confdefs.h.  */
     12798#include <$ac_header>
     12799_ACEOF
     12800if { (ac_try="$ac_cpp conftest.$ac_ext"
     12801case "(($ac_try" in
     12802  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12803  *) ac_try_echo=$ac_try;;
     12804esac
     12805eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12806$as_echo "$ac_try_echo") >&5
     12807  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12808  ac_status=$?
     12809  grep -v '^ *+' conftest.er1 >conftest.err
     12810  rm -f conftest.er1
     12811  cat conftest.err >&5
     12812  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12813  (exit $ac_status); } >/dev/null && {
     12814         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12815         test ! -s conftest.err
     12816       }; then
     12817  ac_header_preproc=yes
     12818else
     12819  $as_echo "$as_me: failed program was:" >&5
     12820sed 's/^/| /' conftest.$ac_ext >&5
     12821
     12822  ac_header_preproc=no
     12823fi
     12824
     12825rm -f conftest.err conftest.$ac_ext
     12826{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12827$as_echo "$ac_header_preproc" >&6; }
     12828
     12829# So?  What about this header?
     12830case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12831  yes:no: )
     12832    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12833$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12834    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12835$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12836    ac_header_preproc=yes
     12837    ;;
     12838  no:yes:* )
     12839    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12840$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12841    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12842$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12843    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12844$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12845    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12846$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12847    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12848$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12849    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12850$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12851    ( cat <<\_ASBOX
     12852## ----------------------------------- ##
     12853## Report this to rappture@nanohub.org ##
     12854## ----------------------------------- ##
     12855_ASBOX
     12856     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12857    ;;
     12858esac
     12859{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12860$as_echo_n "checking for $ac_header... " >&6; }
     12861if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12862  $as_echo_n "(cached) " >&6
     12863else
     12864  eval "$as_ac_Header=\$ac_header_preproc"
     12865fi
     12866ac_res=`eval 'as_val=${'$as_ac_Header'}
     12867                 $as_echo "$as_val"'`
     12868               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12869$as_echo "$ac_res" >&6; }
     12870
     12871fi
     12872as_val=`eval 'as_val=${'$as_ac_Header'}
     12873                 $as_echo "$as_val"'`
     12874   if test "x$as_val" = x""yes; then
    846612875  cat >>confdefs.h <<_ACEOF
    846712876#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    847212881done
    847312882
    8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lhighgui" >&5
     12883
     12884{ $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lhighgui" >&5
    847512885$as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; }
    8476 if ${ac_cv_lib_highgui_cvLoadImage+:} false; then :
     12886if test "${ac_cv_lib_highgui_cvLoadImage+set}" = set; then
    847712887  $as_echo_n "(cached) " >&6
    847812888else
    847912889  ac_check_lib_save_LIBS=$LIBS
    848012890LIBS="-lhighgui  $LIBS"
    8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12891cat >conftest.$ac_ext <<_ACEOF
     12892/* confdefs.h.  */
     12893_ACEOF
     12894cat confdefs.h >>conftest.$ac_ext
     12895cat >>conftest.$ac_ext <<_ACEOF
    848212896/* end confdefs.h.  */
    848312897
     
    849712911}
    849812912_ACEOF
    8499 if ac_fn_cxx_try_link "$LINENO"; then :
     12913rm -f conftest.$ac_objext conftest$ac_exeext
     12914if { (ac_try="$ac_link"
     12915case "(($ac_try" in
     12916  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12917  *) ac_try_echo=$ac_try;;
     12918esac
     12919eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12920$as_echo "$ac_try_echo") >&5
     12921  (eval "$ac_link") 2>conftest.er1
     12922  ac_status=$?
     12923  grep -v '^ *+' conftest.er1 >conftest.err
     12924  rm -f conftest.er1
     12925  cat conftest.err >&5
     12926  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12927  (exit $ac_status); } && {
     12928         test -z "$ac_cxx_werror_flag" ||
     12929         test ! -s conftest.err
     12930       } && test -s conftest$ac_exeext && {
     12931         test "$cross_compiling" = yes ||
     12932         $as_test_x conftest$ac_exeext
     12933       }; then
    850012934  ac_cv_lib_highgui_cvLoadImage=yes
    850112935else
    8502   ac_cv_lib_highgui_cvLoadImage=no
    8503 fi
    8504 rm -f core conftest.err conftest.$ac_objext \
    8505     conftest$ac_exeext conftest.$ac_ext
     12936  $as_echo "$as_me: failed program was:" >&5
     12937sed 's/^/| /' conftest.$ac_ext >&5
     12938
     12939        ac_cv_lib_highgui_cvLoadImage=no
     12940fi
     12941
     12942rm -rf conftest.dSYM
     12943rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12944      conftest$ac_exeext conftest.$ac_ext
    850612945LIBS=$ac_check_lib_save_LIBS
    850712946fi
    8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_highgui_cvLoadImage" >&5
     12947{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_highgui_cvLoadImage" >&5
    850912948$as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; }
    8510 if test "x$ac_cv_lib_highgui_cvLoadImage" = xyes; then :
     12949if test "x$ac_cv_lib_highgui_cvLoadImage" = x""yes; then
    851112950  cat >>confdefs.h <<_ACEOF
    851212951#define HAVE_LIBHIGHGUI 1
     
    852512964fi
    852612965
     12966
     12967
     12968
     12969
     12970
     12971
    852712972for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    8528 do :
    8529   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8530 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
     12973do
     12974as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12975{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12976$as_echo_n "checking for $ac_header... " >&6; }
     12977if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12978  $as_echo_n "(cached) " >&6
     12979else
     12980  cat >conftest.$ac_ext <<_ACEOF
     12981/* confdefs.h.  */
     12982_ACEOF
     12983cat confdefs.h >>conftest.$ac_ext
     12984cat >>conftest.$ac_ext <<_ACEOF
     12985/* end confdefs.h.  */
     12986
    853112987#define __STDC_CONSTANT_MACROS 1
    853212988
    8533 "
    8534 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     12989
     12990#include <$ac_header>
     12991_ACEOF
     12992rm -f conftest.$ac_objext
     12993if { (ac_try="$ac_compile"
     12994case "(($ac_try" in
     12995  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12996  *) ac_try_echo=$ac_try;;
     12997esac
     12998eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12999$as_echo "$ac_try_echo") >&5
     13000  (eval "$ac_compile") 2>conftest.er1
     13001  ac_status=$?
     13002  grep -v '^ *+' conftest.er1 >conftest.err
     13003  rm -f conftest.er1
     13004  cat conftest.err >&5
     13005  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13006  (exit $ac_status); } && {
     13007         test -z "$ac_cxx_werror_flag" ||
     13008         test ! -s conftest.err
     13009       } && test -s conftest.$ac_objext; then
     13010  eval "$as_ac_Header=yes"
     13011else
     13012  $as_echo "$as_me: failed program was:" >&5
     13013sed 's/^/| /' conftest.$ac_ext >&5
     13014
     13015        eval "$as_ac_Header=no"
     13016fi
     13017
     13018rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     13019fi
     13020ac_res=`eval 'as_val=${'$as_ac_Header'}
     13021                 $as_echo "$as_val"'`
     13022               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13023$as_echo "$ac_res" >&6; }
     13024as_val=`eval 'as_val=${'$as_ac_Header'}
     13025                 $as_echo "$as_val"'`
     13026   if test "x$as_val" = x""yes; then
    853513027  cat >>confdefs.h <<_ACEOF
    853613028#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    854313035CPPFLAGS=$save_CPPFLAGS
    854413036
    8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavcodec" >&5
     13037
     13038{ $as_echo "$as_me:$LINENO: checking for main in -lavcodec" >&5
    854613039$as_echo_n "checking for main in -lavcodec... " >&6; }
    8547 if ${ac_cv_lib_avcodec_main+:} false; then :
     13040if test "${ac_cv_lib_avcodec_main+set}" = set; then
    854813041  $as_echo_n "(cached) " >&6
    854913042else
    855013043  ac_check_lib_save_LIBS=$LIBS
    855113044LIBS="-lavcodec  $LIBS"
    8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13045cat >conftest.$ac_ext <<_ACEOF
     13046/* confdefs.h.  */
     13047_ACEOF
     13048cat confdefs.h >>conftest.$ac_ext
     13049cat >>conftest.$ac_ext <<_ACEOF
    855313050/* end confdefs.h.  */
    855413051
     
    856213059}
    856313060_ACEOF
    8564 if ac_fn_cxx_try_link "$LINENO"; then :
     13061rm -f conftest.$ac_objext conftest$ac_exeext
     13062if { (ac_try="$ac_link"
     13063case "(($ac_try" in
     13064  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13065  *) ac_try_echo=$ac_try;;
     13066esac
     13067eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13068$as_echo "$ac_try_echo") >&5
     13069  (eval "$ac_link") 2>conftest.er1
     13070  ac_status=$?
     13071  grep -v '^ *+' conftest.er1 >conftest.err
     13072  rm -f conftest.er1
     13073  cat conftest.err >&5
     13074  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13075  (exit $ac_status); } && {
     13076         test -z "$ac_cxx_werror_flag" ||
     13077         test ! -s conftest.err
     13078       } && test -s conftest$ac_exeext && {
     13079         test "$cross_compiling" = yes ||
     13080         $as_test_x conftest$ac_exeext
     13081       }; then
    856513082  ac_cv_lib_avcodec_main=yes
    856613083else
    8567   ac_cv_lib_avcodec_main=no
    8568 fi
    8569 rm -f core conftest.err conftest.$ac_objext \
    8570     conftest$ac_exeext conftest.$ac_ext
     13084  $as_echo "$as_me: failed program was:" >&5
     13085sed 's/^/| /' conftest.$ac_ext >&5
     13086
     13087        ac_cv_lib_avcodec_main=no
     13088fi
     13089
     13090rm -rf conftest.dSYM
     13091rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13092      conftest$ac_exeext conftest.$ac_ext
    857113093LIBS=$ac_check_lib_save_LIBS
    857213094fi
    8573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_main" >&5
     13095{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_main" >&5
    857413096$as_echo "$ac_cv_lib_avcodec_main" >&6; }
    8575 if test "x$ac_cv_lib_avcodec_main" = xyes; then :
     13097if test "x$ac_cv_lib_avcodec_main" = x""yes; then
    857613098  cat >>confdefs.h <<_ACEOF
    857713099#define HAVE_LIBAVCODEC 1
     
    858113103
    858213104else
    8583   as_fn_error $? "requires libavcodec" "$LINENO" 5
    8584 fi
    8585 
    8586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavutil" >&5
     13105  { { $as_echo "$as_me:$LINENO: error: requires libavcodec" >&5
     13106$as_echo "$as_me: error: requires libavcodec" >&2;}
     13107   { (exit 1); exit 1; }; }
     13108fi
     13109
     13110
     13111{ $as_echo "$as_me:$LINENO: checking for main in -lavutil" >&5
    858713112$as_echo_n "checking for main in -lavutil... " >&6; }
    8588 if ${ac_cv_lib_avutil_main+:} false; then :
     13113if test "${ac_cv_lib_avutil_main+set}" = set; then
    858913114  $as_echo_n "(cached) " >&6
    859013115else
    859113116  ac_check_lib_save_LIBS=$LIBS
    859213117LIBS="-lavutil  $LIBS"
    8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13118cat >conftest.$ac_ext <<_ACEOF
     13119/* confdefs.h.  */
     13120_ACEOF
     13121cat confdefs.h >>conftest.$ac_ext
     13122cat >>conftest.$ac_ext <<_ACEOF
    859413123/* end confdefs.h.  */
    859513124
     
    860313132}
    860413133_ACEOF
    8605 if ac_fn_cxx_try_link "$LINENO"; then :
     13134rm -f conftest.$ac_objext conftest$ac_exeext
     13135if { (ac_try="$ac_link"
     13136case "(($ac_try" in
     13137  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13138  *) ac_try_echo=$ac_try;;
     13139esac
     13140eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13141$as_echo "$ac_try_echo") >&5
     13142  (eval "$ac_link") 2>conftest.er1
     13143  ac_status=$?
     13144  grep -v '^ *+' conftest.er1 >conftest.err
     13145  rm -f conftest.er1
     13146  cat conftest.err >&5
     13147  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13148  (exit $ac_status); } && {
     13149         test -z "$ac_cxx_werror_flag" ||
     13150         test ! -s conftest.err
     13151       } && test -s conftest$ac_exeext && {
     13152         test "$cross_compiling" = yes ||
     13153         $as_test_x conftest$ac_exeext
     13154       }; then
    860613155  ac_cv_lib_avutil_main=yes
    860713156else
    8608   ac_cv_lib_avutil_main=no
    8609 fi
    8610 rm -f core conftest.err conftest.$ac_objext \
    8611     conftest$ac_exeext conftest.$ac_ext
     13157  $as_echo "$as_me: failed program was:" >&5
     13158sed 's/^/| /' conftest.$ac_ext >&5
     13159
     13160        ac_cv_lib_avutil_main=no
     13161fi
     13162
     13163rm -rf conftest.dSYM
     13164rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13165      conftest$ac_exeext conftest.$ac_ext
    861213166LIBS=$ac_check_lib_save_LIBS
    861313167fi
    8614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_main" >&5
     13168{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_main" >&5
    861513169$as_echo "$ac_cv_lib_avutil_main" >&6; }
    8616 if test "x$ac_cv_lib_avutil_main" = xyes; then :
     13170if test "x$ac_cv_lib_avutil_main" = x""yes; then
    861713171  cat >>confdefs.h <<_ACEOF
    861813172#define HAVE_LIBAVUTIL 1
     
    862213176
    862313177else
    8624   as_fn_error $? "requires libavutil" "$LINENO" 5
    8625 fi
    8626 
    8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lavformat" >&5
     13178  { { $as_echo "$as_me:$LINENO: error: requires libavutil" >&5
     13179$as_echo "$as_me: error: requires libavutil" >&2;}
     13180   { (exit 1); exit 1; }; }
     13181fi
     13182
     13183
     13184{ $as_echo "$as_me:$LINENO: checking for main in -lavformat" >&5
    862813185$as_echo_n "checking for main in -lavformat... " >&6; }
    8629 if ${ac_cv_lib_avformat_main+:} false; then :
     13186if test "${ac_cv_lib_avformat_main+set}" = set; then
    863013187  $as_echo_n "(cached) " >&6
    863113188else
    863213189  ac_check_lib_save_LIBS=$LIBS
    863313190LIBS="-lavformat  $LIBS"
    8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13191cat >conftest.$ac_ext <<_ACEOF
     13192/* confdefs.h.  */
     13193_ACEOF
     13194cat confdefs.h >>conftest.$ac_ext
     13195cat >>conftest.$ac_ext <<_ACEOF
    863513196/* end confdefs.h.  */
    863613197
     
    864413205}
    864513206_ACEOF
    8646 if ac_fn_cxx_try_link "$LINENO"; then :
     13207rm -f conftest.$ac_objext conftest$ac_exeext
     13208if { (ac_try="$ac_link"
     13209case "(($ac_try" in
     13210  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13211  *) ac_try_echo=$ac_try;;
     13212esac
     13213eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13214$as_echo "$ac_try_echo") >&5
     13215  (eval "$ac_link") 2>conftest.er1
     13216  ac_status=$?
     13217  grep -v '^ *+' conftest.er1 >conftest.err
     13218  rm -f conftest.er1
     13219  cat conftest.err >&5
     13220  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13221  (exit $ac_status); } && {
     13222         test -z "$ac_cxx_werror_flag" ||
     13223         test ! -s conftest.err
     13224       } && test -s conftest$ac_exeext && {
     13225         test "$cross_compiling" = yes ||
     13226         $as_test_x conftest$ac_exeext
     13227       }; then
    864713228  ac_cv_lib_avformat_main=yes
    864813229else
    8649   ac_cv_lib_avformat_main=no
    8650 fi
    8651 rm -f core conftest.err conftest.$ac_objext \
    8652     conftest$ac_exeext conftest.$ac_ext
     13230  $as_echo "$as_me: failed program was:" >&5
     13231sed 's/^/| /' conftest.$ac_ext >&5
     13232
     13233        ac_cv_lib_avformat_main=no
     13234fi
     13235
     13236rm -rf conftest.dSYM
     13237rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13238      conftest$ac_exeext conftest.$ac_ext
    865313239LIBS=$ac_check_lib_save_LIBS
    865413240fi
    8655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_main" >&5
     13241{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_main" >&5
    865613242$as_echo "$ac_cv_lib_avformat_main" >&6; }
    8657 if test "x$ac_cv_lib_avformat_main" = xyes; then :
     13243if test "x$ac_cv_lib_avformat_main" = x""yes; then
    865813244  cat >>confdefs.h <<_ACEOF
    865913245#define HAVE_LIBAVFORMAT 1
     
    866313249
    866413250else
    8665   as_fn_error $? "requires libavformat" "$LINENO" 5
    8666 fi
    8667 
    8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lswscale" >&5
     13251  { { $as_echo "$as_me:$LINENO: error: requires libavformat" >&5
     13252$as_echo "$as_me: error: requires libavformat" >&2;}
     13253   { (exit 1); exit 1; }; }
     13254fi
     13255
     13256
     13257{ $as_echo "$as_me:$LINENO: checking for main in -lswscale" >&5
    866913258$as_echo_n "checking for main in -lswscale... " >&6; }
    8670 if ${ac_cv_lib_swscale_main+:} false; then :
     13259if test "${ac_cv_lib_swscale_main+set}" = set; then
    867113260  $as_echo_n "(cached) " >&6
    867213261else
    867313262  ac_check_lib_save_LIBS=$LIBS
    867413263LIBS="-lswscale  $LIBS"
    8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13264cat >conftest.$ac_ext <<_ACEOF
     13265/* confdefs.h.  */
     13266_ACEOF
     13267cat confdefs.h >>conftest.$ac_ext
     13268cat >>conftest.$ac_ext <<_ACEOF
    867613269/* end confdefs.h.  */
    867713270
     
    868513278}
    868613279_ACEOF
    8687 if ac_fn_cxx_try_link "$LINENO"; then :
     13280rm -f conftest.$ac_objext conftest$ac_exeext
     13281if { (ac_try="$ac_link"
     13282case "(($ac_try" in
     13283  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13284  *) ac_try_echo=$ac_try;;
     13285esac
     13286eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13287$as_echo "$ac_try_echo") >&5
     13288  (eval "$ac_link") 2>conftest.er1
     13289  ac_status=$?
     13290  grep -v '^ *+' conftest.er1 >conftest.err
     13291  rm -f conftest.er1
     13292  cat conftest.err >&5
     13293  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13294  (exit $ac_status); } && {
     13295         test -z "$ac_cxx_werror_flag" ||
     13296         test ! -s conftest.err
     13297       } && test -s conftest$ac_exeext && {
     13298         test "$cross_compiling" = yes ||
     13299         $as_test_x conftest$ac_exeext
     13300       }; then
    868813301  ac_cv_lib_swscale_main=yes
    868913302else
    8690   ac_cv_lib_swscale_main=no
    8691 fi
    8692 rm -f core conftest.err conftest.$ac_objext \
    8693     conftest$ac_exeext conftest.$ac_ext
     13303  $as_echo "$as_me: failed program was:" >&5
     13304sed 's/^/| /' conftest.$ac_ext >&5
     13305
     13306        ac_cv_lib_swscale_main=no
     13307fi
     13308
     13309rm -rf conftest.dSYM
     13310rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13311      conftest$ac_exeext conftest.$ac_ext
    869413312LIBS=$ac_check_lib_save_LIBS
    869513313fi
    8696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_swscale_main" >&5
     13314{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_swscale_main" >&5
    869713315$as_echo "$ac_cv_lib_swscale_main" >&6; }
    8698 if test "x$ac_cv_lib_swscale_main" = xyes; then :
     13316if test "x$ac_cv_lib_swscale_main" = x""yes; then
    869913317  cat >>confdefs.h <<_ACEOF
    870013318#define HAVE_LIBSWSCALE 1
     
    870513323fi
    870613324
     13325
    870713326for ac_func in avcodec_decode_video2
    8708 do :
    8709   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video2" "ac_cv_func_avcodec_decode_video2"
    8710 if test "x$ac_cv_func_avcodec_decode_video2" = xyes; then :
     13327do
     13328as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13329{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13330$as_echo_n "checking for $ac_func... " >&6; }
     13331if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13332  $as_echo_n "(cached) " >&6
     13333else
     13334  cat >conftest.$ac_ext <<_ACEOF
     13335/* confdefs.h.  */
     13336_ACEOF
     13337cat confdefs.h >>conftest.$ac_ext
     13338cat >>conftest.$ac_ext <<_ACEOF
     13339/* end confdefs.h.  */
     13340/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13341   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13342#define $ac_func innocuous_$ac_func
     13343
     13344/* System header to define __stub macros and hopefully few prototypes,
     13345    which can conflict with char $ac_func (); below.
     13346    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13347    <limits.h> exists even on freestanding compilers.  */
     13348
     13349#ifdef __STDC__
     13350# include <limits.h>
     13351#else
     13352# include <assert.h>
     13353#endif
     13354
     13355#undef $ac_func
     13356
     13357/* Override any GCC internal prototype to avoid an error.
     13358   Use char because int might match the return type of a GCC
     13359   builtin and then its argument prototype would still apply.  */
     13360#ifdef __cplusplus
     13361extern "C"
     13362#endif
     13363char $ac_func ();
     13364/* The GNU C library defines this for functions which it implements
     13365    to always fail with ENOSYS.  Some functions are actually named
     13366    something starting with __ and the normal name is an alias.  */
     13367#if defined __stub_$ac_func || defined __stub___$ac_func
     13368choke me
     13369#endif
     13370
     13371int
     13372main ()
     13373{
     13374return $ac_func ();
     13375  ;
     13376  return 0;
     13377}
     13378_ACEOF
     13379rm -f conftest.$ac_objext conftest$ac_exeext
     13380if { (ac_try="$ac_link"
     13381case "(($ac_try" in
     13382  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13383  *) ac_try_echo=$ac_try;;
     13384esac
     13385eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13386$as_echo "$ac_try_echo") >&5
     13387  (eval "$ac_link") 2>conftest.er1
     13388  ac_status=$?
     13389  grep -v '^ *+' conftest.er1 >conftest.err
     13390  rm -f conftest.er1
     13391  cat conftest.err >&5
     13392  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13393  (exit $ac_status); } && {
     13394         test -z "$ac_cxx_werror_flag" ||
     13395         test ! -s conftest.err
     13396       } && test -s conftest$ac_exeext && {
     13397         test "$cross_compiling" = yes ||
     13398         $as_test_x conftest$ac_exeext
     13399       }; then
     13400  eval "$as_ac_var=yes"
     13401else
     13402  $as_echo "$as_me: failed program was:" >&5
     13403sed 's/^/| /' conftest.$ac_ext >&5
     13404
     13405        eval "$as_ac_var=no"
     13406fi
     13407
     13408rm -rf conftest.dSYM
     13409rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13410      conftest$ac_exeext conftest.$ac_ext
     13411fi
     13412ac_res=`eval 'as_val=${'$as_ac_var'}
     13413                 $as_echo "$as_val"'`
     13414               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13415$as_echo "$ac_res" >&6; }
     13416as_val=`eval 'as_val=${'$as_ac_var'}
     13417                 $as_echo "$as_val"'`
     13418   if test "x$as_val" = x""yes; then
    871113419  cat >>confdefs.h <<_ACEOF
    8712 #define HAVE_AVCODEC_DECODE_VIDEO2 1
     13420#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    871313421_ACEOF
    871413422
     
    871613424done
    871713425
     13426
    871813427for ac_func in avcodec_decode_video
    8719 do :
    8720   ac_fn_cxx_check_func "$LINENO" "avcodec_decode_video" "ac_cv_func_avcodec_decode_video"
    8721 if test "x$ac_cv_func_avcodec_decode_video" = xyes; then :
     13428do
     13429as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13430{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13431$as_echo_n "checking for $ac_func... " >&6; }
     13432if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13433  $as_echo_n "(cached) " >&6
     13434else
     13435  cat >conftest.$ac_ext <<_ACEOF
     13436/* confdefs.h.  */
     13437_ACEOF
     13438cat confdefs.h >>conftest.$ac_ext
     13439cat >>conftest.$ac_ext <<_ACEOF
     13440/* end confdefs.h.  */
     13441/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13442   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13443#define $ac_func innocuous_$ac_func
     13444
     13445/* System header to define __stub macros and hopefully few prototypes,
     13446    which can conflict with char $ac_func (); below.
     13447    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13448    <limits.h> exists even on freestanding compilers.  */
     13449
     13450#ifdef __STDC__
     13451# include <limits.h>
     13452#else
     13453# include <assert.h>
     13454#endif
     13455
     13456#undef $ac_func
     13457
     13458/* Override any GCC internal prototype to avoid an error.
     13459   Use char because int might match the return type of a GCC
     13460   builtin and then its argument prototype would still apply.  */
     13461#ifdef __cplusplus
     13462extern "C"
     13463#endif
     13464char $ac_func ();
     13465/* The GNU C library defines this for functions which it implements
     13466    to always fail with ENOSYS.  Some functions are actually named
     13467    something starting with __ and the normal name is an alias.  */
     13468#if defined __stub_$ac_func || defined __stub___$ac_func
     13469choke me
     13470#endif
     13471
     13472int
     13473main ()
     13474{
     13475return $ac_func ();
     13476  ;
     13477  return 0;
     13478}
     13479_ACEOF
     13480rm -f conftest.$ac_objext conftest$ac_exeext
     13481if { (ac_try="$ac_link"
     13482case "(($ac_try" in
     13483  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13484  *) ac_try_echo=$ac_try;;
     13485esac
     13486eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13487$as_echo "$ac_try_echo") >&5
     13488  (eval "$ac_link") 2>conftest.er1
     13489  ac_status=$?
     13490  grep -v '^ *+' conftest.er1 >conftest.err
     13491  rm -f conftest.er1
     13492  cat conftest.err >&5
     13493  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13494  (exit $ac_status); } && {
     13495         test -z "$ac_cxx_werror_flag" ||
     13496         test ! -s conftest.err
     13497       } && test -s conftest$ac_exeext && {
     13498         test "$cross_compiling" = yes ||
     13499         $as_test_x conftest$ac_exeext
     13500       }; then
     13501  eval "$as_ac_var=yes"
     13502else
     13503  $as_echo "$as_me: failed program was:" >&5
     13504sed 's/^/| /' conftest.$ac_ext >&5
     13505
     13506        eval "$as_ac_var=no"
     13507fi
     13508
     13509rm -rf conftest.dSYM
     13510rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13511      conftest$ac_exeext conftest.$ac_ext
     13512fi
     13513ac_res=`eval 'as_val=${'$as_ac_var'}
     13514                 $as_echo "$as_val"'`
     13515               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13516$as_echo "$ac_res" >&6; }
     13517as_val=`eval 'as_val=${'$as_ac_var'}
     13518                 $as_echo "$as_val"'`
     13519   if test "x$as_val" = x""yes; then
    872213520  cat >>confdefs.h <<_ACEOF
    8723 #define HAVE_AVCODEC_DECODE_VIDEO 1
     13521#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    872413522_ACEOF
    872513523
     
    872713525done
    872813526
     13527
    872913528for ac_func in avformat_open_input
    8730 do :
    8731   ac_fn_cxx_check_func "$LINENO" "avformat_open_input" "ac_cv_func_avformat_open_input"
    8732 if test "x$ac_cv_func_avformat_open_input" = xyes; then :
     13529do
     13530as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13531{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13532$as_echo_n "checking for $ac_func... " >&6; }
     13533if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13534  $as_echo_n "(cached) " >&6
     13535else
     13536  cat >conftest.$ac_ext <<_ACEOF
     13537/* confdefs.h.  */
     13538_ACEOF
     13539cat confdefs.h >>conftest.$ac_ext
     13540cat >>conftest.$ac_ext <<_ACEOF
     13541/* end confdefs.h.  */
     13542/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13543   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13544#define $ac_func innocuous_$ac_func
     13545
     13546/* System header to define __stub macros and hopefully few prototypes,
     13547    which can conflict with char $ac_func (); below.
     13548    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13549    <limits.h> exists even on freestanding compilers.  */
     13550
     13551#ifdef __STDC__
     13552# include <limits.h>
     13553#else
     13554# include <assert.h>
     13555#endif
     13556
     13557#undef $ac_func
     13558
     13559/* Override any GCC internal prototype to avoid an error.
     13560   Use char because int might match the return type of a GCC
     13561   builtin and then its argument prototype would still apply.  */
     13562#ifdef __cplusplus
     13563extern "C"
     13564#endif
     13565char $ac_func ();
     13566/* The GNU C library defines this for functions which it implements
     13567    to always fail with ENOSYS.  Some functions are actually named
     13568    something starting with __ and the normal name is an alias.  */
     13569#if defined __stub_$ac_func || defined __stub___$ac_func
     13570choke me
     13571#endif
     13572
     13573int
     13574main ()
     13575{
     13576return $ac_func ();
     13577  ;
     13578  return 0;
     13579}
     13580_ACEOF
     13581rm -f conftest.$ac_objext conftest$ac_exeext
     13582if { (ac_try="$ac_link"
     13583case "(($ac_try" in
     13584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13585  *) ac_try_echo=$ac_try;;
     13586esac
     13587eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13588$as_echo "$ac_try_echo") >&5
     13589  (eval "$ac_link") 2>conftest.er1
     13590  ac_status=$?
     13591  grep -v '^ *+' conftest.er1 >conftest.err
     13592  rm -f conftest.er1
     13593  cat conftest.err >&5
     13594  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13595  (exit $ac_status); } && {
     13596         test -z "$ac_cxx_werror_flag" ||
     13597         test ! -s conftest.err
     13598       } && test -s conftest$ac_exeext && {
     13599         test "$cross_compiling" = yes ||
     13600         $as_test_x conftest$ac_exeext
     13601       }; then
     13602  eval "$as_ac_var=yes"
     13603else
     13604  $as_echo "$as_me: failed program was:" >&5
     13605sed 's/^/| /' conftest.$ac_ext >&5
     13606
     13607        eval "$as_ac_var=no"
     13608fi
     13609
     13610rm -rf conftest.dSYM
     13611rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13612      conftest$ac_exeext conftest.$ac_ext
     13613fi
     13614ac_res=`eval 'as_val=${'$as_ac_var'}
     13615                 $as_echo "$as_val"'`
     13616               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13617$as_echo "$ac_res" >&6; }
     13618as_val=`eval 'as_val=${'$as_ac_var'}
     13619                 $as_echo "$as_val"'`
     13620   if test "x$as_val" = x""yes; then
    873313621  cat >>confdefs.h <<_ACEOF
    8734 #define HAVE_AVFORMAT_OPEN_INPUT 1
     13622#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    873513623_ACEOF
    873613624
     
    873813626done
    873913627
     13628
    874013629for ac_func in av_open_input_file
    8741 do :
    8742   ac_fn_cxx_check_func "$LINENO" "av_open_input_file" "ac_cv_func_av_open_input_file"
    8743 if test "x$ac_cv_func_av_open_input_file" = xyes; then :
     13630do
     13631as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13632{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13633$as_echo_n "checking for $ac_func... " >&6; }
     13634if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13635  $as_echo_n "(cached) " >&6
     13636else
     13637  cat >conftest.$ac_ext <<_ACEOF
     13638/* confdefs.h.  */
     13639_ACEOF
     13640cat confdefs.h >>conftest.$ac_ext
     13641cat >>conftest.$ac_ext <<_ACEOF
     13642/* end confdefs.h.  */
     13643/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13644   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13645#define $ac_func innocuous_$ac_func
     13646
     13647/* System header to define __stub macros and hopefully few prototypes,
     13648    which can conflict with char $ac_func (); below.
     13649    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13650    <limits.h> exists even on freestanding compilers.  */
     13651
     13652#ifdef __STDC__
     13653# include <limits.h>
     13654#else
     13655# include <assert.h>
     13656#endif
     13657
     13658#undef $ac_func
     13659
     13660/* Override any GCC internal prototype to avoid an error.
     13661   Use char because int might match the return type of a GCC
     13662   builtin and then its argument prototype would still apply.  */
     13663#ifdef __cplusplus
     13664extern "C"
     13665#endif
     13666char $ac_func ();
     13667/* The GNU C library defines this for functions which it implements
     13668    to always fail with ENOSYS.  Some functions are actually named
     13669    something starting with __ and the normal name is an alias.  */
     13670#if defined __stub_$ac_func || defined __stub___$ac_func
     13671choke me
     13672#endif
     13673
     13674int
     13675main ()
     13676{
     13677return $ac_func ();
     13678  ;
     13679  return 0;
     13680}
     13681_ACEOF
     13682rm -f conftest.$ac_objext conftest$ac_exeext
     13683if { (ac_try="$ac_link"
     13684case "(($ac_try" in
     13685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13686  *) ac_try_echo=$ac_try;;
     13687esac
     13688eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13689$as_echo "$ac_try_echo") >&5
     13690  (eval "$ac_link") 2>conftest.er1
     13691  ac_status=$?
     13692  grep -v '^ *+' conftest.er1 >conftest.err
     13693  rm -f conftest.er1
     13694  cat conftest.err >&5
     13695  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13696  (exit $ac_status); } && {
     13697         test -z "$ac_cxx_werror_flag" ||
     13698         test ! -s conftest.err
     13699       } && test -s conftest$ac_exeext && {
     13700         test "$cross_compiling" = yes ||
     13701         $as_test_x conftest$ac_exeext
     13702       }; then
     13703  eval "$as_ac_var=yes"
     13704else
     13705  $as_echo "$as_me: failed program was:" >&5
     13706sed 's/^/| /' conftest.$ac_ext >&5
     13707
     13708        eval "$as_ac_var=no"
     13709fi
     13710
     13711rm -rf conftest.dSYM
     13712rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13713      conftest$ac_exeext conftest.$ac_ext
     13714fi
     13715ac_res=`eval 'as_val=${'$as_ac_var'}
     13716                 $as_echo "$as_val"'`
     13717               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13718$as_echo "$ac_res" >&6; }
     13719as_val=`eval 'as_val=${'$as_ac_var'}
     13720                 $as_echo "$as_val"'`
     13721   if test "x$as_val" = x""yes; then
    874413722  cat >>confdefs.h <<_ACEOF
    8745 #define HAVE_AV_OPEN_INPUT_FILE 1
     13723#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    874613724_ACEOF
    874713725
     
    874913727done
    875013728
     13729
    875113730for ac_func in av_guess_format
    8752 do :
    8753   ac_fn_cxx_check_func "$LINENO" "av_guess_format" "ac_cv_func_av_guess_format"
    8754 if test "x$ac_cv_func_av_guess_format" = xyes; then :
     13731do
     13732as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13733{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13734$as_echo_n "checking for $ac_func... " >&6; }
     13735if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13736  $as_echo_n "(cached) " >&6
     13737else
     13738  cat >conftest.$ac_ext <<_ACEOF
     13739/* confdefs.h.  */
     13740_ACEOF
     13741cat confdefs.h >>conftest.$ac_ext
     13742cat >>conftest.$ac_ext <<_ACEOF
     13743/* end confdefs.h.  */
     13744/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13745   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13746#define $ac_func innocuous_$ac_func
     13747
     13748/* System header to define __stub macros and hopefully few prototypes,
     13749    which can conflict with char $ac_func (); below.
     13750    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13751    <limits.h> exists even on freestanding compilers.  */
     13752
     13753#ifdef __STDC__
     13754# include <limits.h>
     13755#else
     13756# include <assert.h>
     13757#endif
     13758
     13759#undef $ac_func
     13760
     13761/* Override any GCC internal prototype to avoid an error.
     13762   Use char because int might match the return type of a GCC
     13763   builtin and then its argument prototype would still apply.  */
     13764#ifdef __cplusplus
     13765extern "C"
     13766#endif
     13767char $ac_func ();
     13768/* The GNU C library defines this for functions which it implements
     13769    to always fail with ENOSYS.  Some functions are actually named
     13770    something starting with __ and the normal name is an alias.  */
     13771#if defined __stub_$ac_func || defined __stub___$ac_func
     13772choke me
     13773#endif
     13774
     13775int
     13776main ()
     13777{
     13778return $ac_func ();
     13779  ;
     13780  return 0;
     13781}
     13782_ACEOF
     13783rm -f conftest.$ac_objext conftest$ac_exeext
     13784if { (ac_try="$ac_link"
     13785case "(($ac_try" in
     13786  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13787  *) ac_try_echo=$ac_try;;
     13788esac
     13789eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13790$as_echo "$ac_try_echo") >&5
     13791  (eval "$ac_link") 2>conftest.er1
     13792  ac_status=$?
     13793  grep -v '^ *+' conftest.er1 >conftest.err
     13794  rm -f conftest.er1
     13795  cat conftest.err >&5
     13796  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13797  (exit $ac_status); } && {
     13798         test -z "$ac_cxx_werror_flag" ||
     13799         test ! -s conftest.err
     13800       } && test -s conftest$ac_exeext && {
     13801         test "$cross_compiling" = yes ||
     13802         $as_test_x conftest$ac_exeext
     13803       }; then
     13804  eval "$as_ac_var=yes"
     13805else
     13806  $as_echo "$as_me: failed program was:" >&5
     13807sed 's/^/| /' conftest.$ac_ext >&5
     13808
     13809        eval "$as_ac_var=no"
     13810fi
     13811
     13812rm -rf conftest.dSYM
     13813rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13814      conftest$ac_exeext conftest.$ac_ext
     13815fi
     13816ac_res=`eval 'as_val=${'$as_ac_var'}
     13817                 $as_echo "$as_val"'`
     13818               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13819$as_echo "$ac_res" >&6; }
     13820as_val=`eval 'as_val=${'$as_ac_var'}
     13821                 $as_echo "$as_val"'`
     13822   if test "x$as_val" = x""yes; then
    875513823  cat >>confdefs.h <<_ACEOF
    8756 #define HAVE_AV_GUESS_FORMAT 1
     13824#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    875713825_ACEOF
    875813826
     
    876013828done
    876113829
     13830
    876213831for ac_func in guess_format
    8763 do :
    8764   ac_fn_cxx_check_func "$LINENO" "guess_format" "ac_cv_func_guess_format"
    8765 if test "x$ac_cv_func_guess_format" = xyes; then :
     13832do
     13833as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13834{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13835$as_echo_n "checking for $ac_func... " >&6; }
     13836if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13837  $as_echo_n "(cached) " >&6
     13838else
     13839  cat >conftest.$ac_ext <<_ACEOF
     13840/* confdefs.h.  */
     13841_ACEOF
     13842cat confdefs.h >>conftest.$ac_ext
     13843cat >>conftest.$ac_ext <<_ACEOF
     13844/* end confdefs.h.  */
     13845/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13846   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13847#define $ac_func innocuous_$ac_func
     13848
     13849/* System header to define __stub macros and hopefully few prototypes,
     13850    which can conflict with char $ac_func (); below.
     13851    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13852    <limits.h> exists even on freestanding compilers.  */
     13853
     13854#ifdef __STDC__
     13855# include <limits.h>
     13856#else
     13857# include <assert.h>
     13858#endif
     13859
     13860#undef $ac_func
     13861
     13862/* Override any GCC internal prototype to avoid an error.
     13863   Use char because int might match the return type of a GCC
     13864   builtin and then its argument prototype would still apply.  */
     13865#ifdef __cplusplus
     13866extern "C"
     13867#endif
     13868char $ac_func ();
     13869/* The GNU C library defines this for functions which it implements
     13870    to always fail with ENOSYS.  Some functions are actually named
     13871    something starting with __ and the normal name is an alias.  */
     13872#if defined __stub_$ac_func || defined __stub___$ac_func
     13873choke me
     13874#endif
     13875
     13876int
     13877main ()
     13878{
     13879return $ac_func ();
     13880  ;
     13881  return 0;
     13882}
     13883_ACEOF
     13884rm -f conftest.$ac_objext conftest$ac_exeext
     13885if { (ac_try="$ac_link"
     13886case "(($ac_try" in
     13887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13888  *) ac_try_echo=$ac_try;;
     13889esac
     13890eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13891$as_echo "$ac_try_echo") >&5
     13892  (eval "$ac_link") 2>conftest.er1
     13893  ac_status=$?
     13894  grep -v '^ *+' conftest.er1 >conftest.err
     13895  rm -f conftest.er1
     13896  cat conftest.err >&5
     13897  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13898  (exit $ac_status); } && {
     13899         test -z "$ac_cxx_werror_flag" ||
     13900         test ! -s conftest.err
     13901       } && test -s conftest$ac_exeext && {
     13902         test "$cross_compiling" = yes ||
     13903         $as_test_x conftest$ac_exeext
     13904       }; then
     13905  eval "$as_ac_var=yes"
     13906else
     13907  $as_echo "$as_me: failed program was:" >&5
     13908sed 's/^/| /' conftest.$ac_ext >&5
     13909
     13910        eval "$as_ac_var=no"
     13911fi
     13912
     13913rm -rf conftest.dSYM
     13914rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13915      conftest$ac_exeext conftest.$ac_ext
     13916fi
     13917ac_res=`eval 'as_val=${'$as_ac_var'}
     13918                 $as_echo "$as_val"'`
     13919               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13920$as_echo "$ac_res" >&6; }
     13921as_val=`eval 'as_val=${'$as_ac_var'}
     13922                 $as_echo "$as_val"'`
     13923   if test "x$as_val" = x""yes; then
    876613924  cat >>confdefs.h <<_ACEOF
    8767 #define HAVE_GUESS_FORMAT 1
     13925#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    876813926_ACEOF
    876913927
     
    877113929done
    877213930
     13931
    877313932for ac_func in av_dump_format
    8774 do :
    8775   ac_fn_cxx_check_func "$LINENO" "av_dump_format" "ac_cv_func_av_dump_format"
    8776 if test "x$ac_cv_func_av_dump_format" = xyes; then :
     13933do
     13934as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13935{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13936$as_echo_n "checking for $ac_func... " >&6; }
     13937if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13938  $as_echo_n "(cached) " >&6
     13939else
     13940  cat >conftest.$ac_ext <<_ACEOF
     13941/* confdefs.h.  */
     13942_ACEOF
     13943cat confdefs.h >>conftest.$ac_ext
     13944cat >>conftest.$ac_ext <<_ACEOF
     13945/* end confdefs.h.  */
     13946/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13947   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13948#define $ac_func innocuous_$ac_func
     13949
     13950/* System header to define __stub macros and hopefully few prototypes,
     13951    which can conflict with char $ac_func (); below.
     13952    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13953    <limits.h> exists even on freestanding compilers.  */
     13954
     13955#ifdef __STDC__
     13956# include <limits.h>
     13957#else
     13958# include <assert.h>
     13959#endif
     13960
     13961#undef $ac_func
     13962
     13963/* Override any GCC internal prototype to avoid an error.
     13964   Use char because int might match the return type of a GCC
     13965   builtin and then its argument prototype would still apply.  */
     13966#ifdef __cplusplus
     13967extern "C"
     13968#endif
     13969char $ac_func ();
     13970/* The GNU C library defines this for functions which it implements
     13971    to always fail with ENOSYS.  Some functions are actually named
     13972    something starting with __ and the normal name is an alias.  */
     13973#if defined __stub_$ac_func || defined __stub___$ac_func
     13974choke me
     13975#endif
     13976
     13977int
     13978main ()
     13979{
     13980return $ac_func ();
     13981  ;
     13982  return 0;
     13983}
     13984_ACEOF
     13985rm -f conftest.$ac_objext conftest$ac_exeext
     13986if { (ac_try="$ac_link"
     13987case "(($ac_try" in
     13988  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13989  *) ac_try_echo=$ac_try;;
     13990esac
     13991eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13992$as_echo "$ac_try_echo") >&5
     13993  (eval "$ac_link") 2>conftest.er1
     13994  ac_status=$?
     13995  grep -v '^ *+' conftest.er1 >conftest.err
     13996  rm -f conftest.er1
     13997  cat conftest.err >&5
     13998  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13999  (exit $ac_status); } && {
     14000         test -z "$ac_cxx_werror_flag" ||
     14001         test ! -s conftest.err
     14002       } && test -s conftest$ac_exeext && {
     14003         test "$cross_compiling" = yes ||
     14004         $as_test_x conftest$ac_exeext
     14005       }; then
     14006  eval "$as_ac_var=yes"
     14007else
     14008  $as_echo "$as_me: failed program was:" >&5
     14009sed 's/^/| /' conftest.$ac_ext >&5
     14010
     14011        eval "$as_ac_var=no"
     14012fi
     14013
     14014rm -rf conftest.dSYM
     14015rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14016      conftest$ac_exeext conftest.$ac_ext
     14017fi
     14018ac_res=`eval 'as_val=${'$as_ac_var'}
     14019                 $as_echo "$as_val"'`
     14020               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14021$as_echo "$ac_res" >&6; }
     14022as_val=`eval 'as_val=${'$as_ac_var'}
     14023                 $as_echo "$as_val"'`
     14024   if test "x$as_val" = x""yes; then
    877714025  cat >>confdefs.h <<_ACEOF
    8778 #define HAVE_AV_DUMP_FORMAT 1
     14026#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    877914027_ACEOF
    878014028
     
    878214030done
    878314031
     14032
    878414033for ac_func in dump_format
    8785 do :
    8786   ac_fn_cxx_check_func "$LINENO" "dump_format" "ac_cv_func_dump_format"
    8787 if test "x$ac_cv_func_dump_format" = xyes; then :
     14034do
     14035as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14036{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14037$as_echo_n "checking for $ac_func... " >&6; }
     14038if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14039  $as_echo_n "(cached) " >&6
     14040else
     14041  cat >conftest.$ac_ext <<_ACEOF
     14042/* confdefs.h.  */
     14043_ACEOF
     14044cat confdefs.h >>conftest.$ac_ext
     14045cat >>conftest.$ac_ext <<_ACEOF
     14046/* end confdefs.h.  */
     14047/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14048   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14049#define $ac_func innocuous_$ac_func
     14050
     14051/* System header to define __stub macros and hopefully few prototypes,
     14052    which can conflict with char $ac_func (); below.
     14053    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14054    <limits.h> exists even on freestanding compilers.  */
     14055
     14056#ifdef __STDC__
     14057# include <limits.h>
     14058#else
     14059# include <assert.h>
     14060#endif
     14061
     14062#undef $ac_func
     14063
     14064/* Override any GCC internal prototype to avoid an error.
     14065   Use char because int might match the return type of a GCC
     14066   builtin and then its argument prototype would still apply.  */
     14067#ifdef __cplusplus
     14068extern "C"
     14069#endif
     14070char $ac_func ();
     14071/* The GNU C library defines this for functions which it implements
     14072    to always fail with ENOSYS.  Some functions are actually named
     14073    something starting with __ and the normal name is an alias.  */
     14074#if defined __stub_$ac_func || defined __stub___$ac_func
     14075choke me
     14076#endif
     14077
     14078int
     14079main ()
     14080{
     14081return $ac_func ();
     14082  ;
     14083  return 0;
     14084}
     14085_ACEOF
     14086rm -f conftest.$ac_objext conftest$ac_exeext
     14087if { (ac_try="$ac_link"
     14088case "(($ac_try" in
     14089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14090  *) ac_try_echo=$ac_try;;
     14091esac
     14092eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14093$as_echo "$ac_try_echo") >&5
     14094  (eval "$ac_link") 2>conftest.er1
     14095  ac_status=$?
     14096  grep -v '^ *+' conftest.er1 >conftest.err
     14097  rm -f conftest.er1
     14098  cat conftest.err >&5
     14099  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14100  (exit $ac_status); } && {
     14101         test -z "$ac_cxx_werror_flag" ||
     14102         test ! -s conftest.err
     14103       } && test -s conftest$ac_exeext && {
     14104         test "$cross_compiling" = yes ||
     14105         $as_test_x conftest$ac_exeext
     14106       }; then
     14107  eval "$as_ac_var=yes"
     14108else
     14109  $as_echo "$as_me: failed program was:" >&5
     14110sed 's/^/| /' conftest.$ac_ext >&5
     14111
     14112        eval "$as_ac_var=no"
     14113fi
     14114
     14115rm -rf conftest.dSYM
     14116rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14117      conftest$ac_exeext conftest.$ac_ext
     14118fi
     14119ac_res=`eval 'as_val=${'$as_ac_var'}
     14120                 $as_echo "$as_val"'`
     14121               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14122$as_echo "$ac_res" >&6; }
     14123as_val=`eval 'as_val=${'$as_ac_var'}
     14124                 $as_echo "$as_val"'`
     14125   if test "x$as_val" = x""yes; then
    878814126  cat >>confdefs.h <<_ACEOF
    8789 #define HAVE_DUMP_FORMAT 1
     14127#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    879014128_ACEOF
    879114129
     
    879314131done
    879414132
     14133
    879514134for ac_func in avio_open
    8796 do :
    8797   ac_fn_cxx_check_func "$LINENO" "avio_open" "ac_cv_func_avio_open"
    8798 if test "x$ac_cv_func_avio_open" = xyes; then :
     14135do
     14136as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14137{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14138$as_echo_n "checking for $ac_func... " >&6; }
     14139if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14140  $as_echo_n "(cached) " >&6
     14141else
     14142  cat >conftest.$ac_ext <<_ACEOF
     14143/* confdefs.h.  */
     14144_ACEOF
     14145cat confdefs.h >>conftest.$ac_ext
     14146cat >>conftest.$ac_ext <<_ACEOF
     14147/* end confdefs.h.  */
     14148/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14149   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14150#define $ac_func innocuous_$ac_func
     14151
     14152/* System header to define __stub macros and hopefully few prototypes,
     14153    which can conflict with char $ac_func (); below.
     14154    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14155    <limits.h> exists even on freestanding compilers.  */
     14156
     14157#ifdef __STDC__
     14158# include <limits.h>
     14159#else
     14160# include <assert.h>
     14161#endif
     14162
     14163#undef $ac_func
     14164
     14165/* Override any GCC internal prototype to avoid an error.
     14166   Use char because int might match the return type of a GCC
     14167   builtin and then its argument prototype would still apply.  */
     14168#ifdef __cplusplus
     14169extern "C"
     14170#endif
     14171char $ac_func ();
     14172/* The GNU C library defines this for functions which it implements
     14173    to always fail with ENOSYS.  Some functions are actually named
     14174    something starting with __ and the normal name is an alias.  */
     14175#if defined __stub_$ac_func || defined __stub___$ac_func
     14176choke me
     14177#endif
     14178
     14179int
     14180main ()
     14181{
     14182return $ac_func ();
     14183  ;
     14184  return 0;
     14185}
     14186_ACEOF
     14187rm -f conftest.$ac_objext conftest$ac_exeext
     14188if { (ac_try="$ac_link"
     14189case "(($ac_try" in
     14190  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14191  *) ac_try_echo=$ac_try;;
     14192esac
     14193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14194$as_echo "$ac_try_echo") >&5
     14195  (eval "$ac_link") 2>conftest.er1
     14196  ac_status=$?
     14197  grep -v '^ *+' conftest.er1 >conftest.err
     14198  rm -f conftest.er1
     14199  cat conftest.err >&5
     14200  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14201  (exit $ac_status); } && {
     14202         test -z "$ac_cxx_werror_flag" ||
     14203         test ! -s conftest.err
     14204       } && test -s conftest$ac_exeext && {
     14205         test "$cross_compiling" = yes ||
     14206         $as_test_x conftest$ac_exeext
     14207       }; then
     14208  eval "$as_ac_var=yes"
     14209else
     14210  $as_echo "$as_me: failed program was:" >&5
     14211sed 's/^/| /' conftest.$ac_ext >&5
     14212
     14213        eval "$as_ac_var=no"
     14214fi
     14215
     14216rm -rf conftest.dSYM
     14217rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14218      conftest$ac_exeext conftest.$ac_ext
     14219fi
     14220ac_res=`eval 'as_val=${'$as_ac_var'}
     14221                 $as_echo "$as_val"'`
     14222               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14223$as_echo "$ac_res" >&6; }
     14224as_val=`eval 'as_val=${'$as_ac_var'}
     14225                 $as_echo "$as_val"'`
     14226   if test "x$as_val" = x""yes; then
    879914227  cat >>confdefs.h <<_ACEOF
    8800 #define HAVE_AVIO_OPEN 1
     14228#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    880114229_ACEOF
    880214230
     
    880414232done
    880514233
     14234
    880614235for ac_func in url_fopen
    8807 do :
    8808   ac_fn_cxx_check_func "$LINENO" "url_fopen" "ac_cv_func_url_fopen"
    8809 if test "x$ac_cv_func_url_fopen" = xyes; then :
     14236do
     14237as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14238{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14239$as_echo_n "checking for $ac_func... " >&6; }
     14240if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14241  $as_echo_n "(cached) " >&6
     14242else
     14243  cat >conftest.$ac_ext <<_ACEOF
     14244/* confdefs.h.  */
     14245_ACEOF
     14246cat confdefs.h >>conftest.$ac_ext
     14247cat >>conftest.$ac_ext <<_ACEOF
     14248/* end confdefs.h.  */
     14249/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14250   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14251#define $ac_func innocuous_$ac_func
     14252
     14253/* System header to define __stub macros and hopefully few prototypes,
     14254    which can conflict with char $ac_func (); below.
     14255    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14256    <limits.h> exists even on freestanding compilers.  */
     14257
     14258#ifdef __STDC__
     14259# include <limits.h>
     14260#else
     14261# include <assert.h>
     14262#endif
     14263
     14264#undef $ac_func
     14265
     14266/* Override any GCC internal prototype to avoid an error.
     14267   Use char because int might match the return type of a GCC
     14268   builtin and then its argument prototype would still apply.  */
     14269#ifdef __cplusplus
     14270extern "C"
     14271#endif
     14272char $ac_func ();
     14273/* The GNU C library defines this for functions which it implements
     14274    to always fail with ENOSYS.  Some functions are actually named
     14275    something starting with __ and the normal name is an alias.  */
     14276#if defined __stub_$ac_func || defined __stub___$ac_func
     14277choke me
     14278#endif
     14279
     14280int
     14281main ()
     14282{
     14283return $ac_func ();
     14284  ;
     14285  return 0;
     14286}
     14287_ACEOF
     14288rm -f conftest.$ac_objext conftest$ac_exeext
     14289if { (ac_try="$ac_link"
     14290case "(($ac_try" in
     14291  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14292  *) ac_try_echo=$ac_try;;
     14293esac
     14294eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14295$as_echo "$ac_try_echo") >&5
     14296  (eval "$ac_link") 2>conftest.er1
     14297  ac_status=$?
     14298  grep -v '^ *+' conftest.er1 >conftest.err
     14299  rm -f conftest.er1
     14300  cat conftest.err >&5
     14301  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14302  (exit $ac_status); } && {
     14303         test -z "$ac_cxx_werror_flag" ||
     14304         test ! -s conftest.err
     14305       } && test -s conftest$ac_exeext && {
     14306         test "$cross_compiling" = yes ||
     14307         $as_test_x conftest$ac_exeext
     14308       }; then
     14309  eval "$as_ac_var=yes"
     14310else
     14311  $as_echo "$as_me: failed program was:" >&5
     14312sed 's/^/| /' conftest.$ac_ext >&5
     14313
     14314        eval "$as_ac_var=no"
     14315fi
     14316
     14317rm -rf conftest.dSYM
     14318rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14319      conftest$ac_exeext conftest.$ac_ext
     14320fi
     14321ac_res=`eval 'as_val=${'$as_ac_var'}
     14322                 $as_echo "$as_val"'`
     14323               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14324$as_echo "$ac_res" >&6; }
     14325as_val=`eval 'as_val=${'$as_ac_var'}
     14326                 $as_echo "$as_val"'`
     14327   if test "x$as_val" = x""yes; then
    881014328  cat >>confdefs.h <<_ACEOF
    8811 #define HAVE_URL_FOPEN 1
     14329#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    881214330_ACEOF
    881314331
     
    881514333done
    881614334
     14335
    881714336for ac_func in avio_close
    8818 do :
    8819   ac_fn_cxx_check_func "$LINENO" "avio_close" "ac_cv_func_avio_close"
    8820 if test "x$ac_cv_func_avio_close" = xyes; then :
     14337do
     14338as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14339{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14340$as_echo_n "checking for $ac_func... " >&6; }
     14341if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14342  $as_echo_n "(cached) " >&6
     14343else
     14344  cat >conftest.$ac_ext <<_ACEOF
     14345/* confdefs.h.  */
     14346_ACEOF
     14347cat confdefs.h >>conftest.$ac_ext
     14348cat >>conftest.$ac_ext <<_ACEOF
     14349/* end confdefs.h.  */
     14350/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14351   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14352#define $ac_func innocuous_$ac_func
     14353
     14354/* System header to define __stub macros and hopefully few prototypes,
     14355    which can conflict with char $ac_func (); below.
     14356    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14357    <limits.h> exists even on freestanding compilers.  */
     14358
     14359#ifdef __STDC__
     14360# include <limits.h>
     14361#else
     14362# include <assert.h>
     14363#endif
     14364
     14365#undef $ac_func
     14366
     14367/* Override any GCC internal prototype to avoid an error.
     14368   Use char because int might match the return type of a GCC
     14369   builtin and then its argument prototype would still apply.  */
     14370#ifdef __cplusplus
     14371extern "C"
     14372#endif
     14373char $ac_func ();
     14374/* The GNU C library defines this for functions which it implements
     14375    to always fail with ENOSYS.  Some functions are actually named
     14376    something starting with __ and the normal name is an alias.  */
     14377#if defined __stub_$ac_func || defined __stub___$ac_func
     14378choke me
     14379#endif
     14380
     14381int
     14382main ()
     14383{
     14384return $ac_func ();
     14385  ;
     14386  return 0;
     14387}
     14388_ACEOF
     14389rm -f conftest.$ac_objext conftest$ac_exeext
     14390if { (ac_try="$ac_link"
     14391case "(($ac_try" in
     14392  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14393  *) ac_try_echo=$ac_try;;
     14394esac
     14395eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14396$as_echo "$ac_try_echo") >&5
     14397  (eval "$ac_link") 2>conftest.er1
     14398  ac_status=$?
     14399  grep -v '^ *+' conftest.er1 >conftest.err
     14400  rm -f conftest.er1
     14401  cat conftest.err >&5
     14402  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14403  (exit $ac_status); } && {
     14404         test -z "$ac_cxx_werror_flag" ||
     14405         test ! -s conftest.err
     14406       } && test -s conftest$ac_exeext && {
     14407         test "$cross_compiling" = yes ||
     14408         $as_test_x conftest$ac_exeext
     14409       }; then
     14410  eval "$as_ac_var=yes"
     14411else
     14412  $as_echo "$as_me: failed program was:" >&5
     14413sed 's/^/| /' conftest.$ac_ext >&5
     14414
     14415        eval "$as_ac_var=no"
     14416fi
     14417
     14418rm -rf conftest.dSYM
     14419rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14420      conftest$ac_exeext conftest.$ac_ext
     14421fi
     14422ac_res=`eval 'as_val=${'$as_ac_var'}
     14423                 $as_echo "$as_val"'`
     14424               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14425$as_echo "$ac_res" >&6; }
     14426as_val=`eval 'as_val=${'$as_ac_var'}
     14427                 $as_echo "$as_val"'`
     14428   if test "x$as_val" = x""yes; then
    882114429  cat >>confdefs.h <<_ACEOF
    8822 #define HAVE_AVIO_CLOSE 1
     14430#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    882314431_ACEOF
    882414432
     
    882614434done
    882714435
     14436
    882814437for ac_func in url_fclose
    8829 do :
    8830   ac_fn_cxx_check_func "$LINENO" "url_fclose" "ac_cv_func_url_fclose"
    8831 if test "x$ac_cv_func_url_fclose" = xyes; then :
     14438do
     14439as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14440{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14441$as_echo_n "checking for $ac_func... " >&6; }
     14442if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14443  $as_echo_n "(cached) " >&6
     14444else
     14445  cat >conftest.$ac_ext <<_ACEOF
     14446/* confdefs.h.  */
     14447_ACEOF
     14448cat confdefs.h >>conftest.$ac_ext
     14449cat >>conftest.$ac_ext <<_ACEOF
     14450/* end confdefs.h.  */
     14451/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14452   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14453#define $ac_func innocuous_$ac_func
     14454
     14455/* System header to define __stub macros and hopefully few prototypes,
     14456    which can conflict with char $ac_func (); below.
     14457    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14458    <limits.h> exists even on freestanding compilers.  */
     14459
     14460#ifdef __STDC__
     14461# include <limits.h>
     14462#else
     14463# include <assert.h>
     14464#endif
     14465
     14466#undef $ac_func
     14467
     14468/* Override any GCC internal prototype to avoid an error.
     14469   Use char because int might match the return type of a GCC
     14470   builtin and then its argument prototype would still apply.  */
     14471#ifdef __cplusplus
     14472extern "C"
     14473#endif
     14474char $ac_func ();
     14475/* The GNU C library defines this for functions which it implements
     14476    to always fail with ENOSYS.  Some functions are actually named
     14477    something starting with __ and the normal name is an alias.  */
     14478#if defined __stub_$ac_func || defined __stub___$ac_func
     14479choke me
     14480#endif
     14481
     14482int
     14483main ()
     14484{
     14485return $ac_func ();
     14486  ;
     14487  return 0;
     14488}
     14489_ACEOF
     14490rm -f conftest.$ac_objext conftest$ac_exeext
     14491if { (ac_try="$ac_link"
     14492case "(($ac_try" in
     14493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14494  *) ac_try_echo=$ac_try;;
     14495esac
     14496eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14497$as_echo "$ac_try_echo") >&5
     14498  (eval "$ac_link") 2>conftest.er1
     14499  ac_status=$?
     14500  grep -v '^ *+' conftest.er1 >conftest.err
     14501  rm -f conftest.er1
     14502  cat conftest.err >&5
     14503  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14504  (exit $ac_status); } && {
     14505         test -z "$ac_cxx_werror_flag" ||
     14506         test ! -s conftest.err
     14507       } && test -s conftest$ac_exeext && {
     14508         test "$cross_compiling" = yes ||
     14509         $as_test_x conftest$ac_exeext
     14510       }; then
     14511  eval "$as_ac_var=yes"
     14512else
     14513  $as_echo "$as_me: failed program was:" >&5
     14514sed 's/^/| /' conftest.$ac_ext >&5
     14515
     14516        eval "$as_ac_var=no"
     14517fi
     14518
     14519rm -rf conftest.dSYM
     14520rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14521      conftest$ac_exeext conftest.$ac_ext
     14522fi
     14523ac_res=`eval 'as_val=${'$as_ac_var'}
     14524                 $as_echo "$as_val"'`
     14525               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14526$as_echo "$ac_res" >&6; }
     14527as_val=`eval 'as_val=${'$as_ac_var'}
     14528                 $as_echo "$as_val"'`
     14529   if test "x$as_val" = x""yes; then
    883214530  cat >>confdefs.h <<_ACEOF
    8833 #define HAVE_URL_FCLOSE 1
     14531#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    883414532_ACEOF
    883514533
     
    883714535done
    883814536
     14537
    883914538for ac_func in avformat_alloc_context
    8840 do :
    8841   ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context"
    8842 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then :
     14539do
     14540as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14541{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14542$as_echo_n "checking for $ac_func... " >&6; }
     14543if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14544  $as_echo_n "(cached) " >&6
     14545else
     14546  cat >conftest.$ac_ext <<_ACEOF
     14547/* confdefs.h.  */
     14548_ACEOF
     14549cat confdefs.h >>conftest.$ac_ext
     14550cat >>conftest.$ac_ext <<_ACEOF
     14551/* end confdefs.h.  */
     14552/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14553   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14554#define $ac_func innocuous_$ac_func
     14555
     14556/* System header to define __stub macros and hopefully few prototypes,
     14557    which can conflict with char $ac_func (); below.
     14558    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14559    <limits.h> exists even on freestanding compilers.  */
     14560
     14561#ifdef __STDC__
     14562# include <limits.h>
     14563#else
     14564# include <assert.h>
     14565#endif
     14566
     14567#undef $ac_func
     14568
     14569/* Override any GCC internal prototype to avoid an error.
     14570   Use char because int might match the return type of a GCC
     14571   builtin and then its argument prototype would still apply.  */
     14572#ifdef __cplusplus
     14573extern "C"
     14574#endif
     14575char $ac_func ();
     14576/* The GNU C library defines this for functions which it implements
     14577    to always fail with ENOSYS.  Some functions are actually named
     14578    something starting with __ and the normal name is an alias.  */
     14579#if defined __stub_$ac_func || defined __stub___$ac_func
     14580choke me
     14581#endif
     14582
     14583int
     14584main ()
     14585{
     14586return $ac_func ();
     14587  ;
     14588  return 0;
     14589}
     14590_ACEOF
     14591rm -f conftest.$ac_objext conftest$ac_exeext
     14592if { (ac_try="$ac_link"
     14593case "(($ac_try" in
     14594  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14595  *) ac_try_echo=$ac_try;;
     14596esac
     14597eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14598$as_echo "$ac_try_echo") >&5
     14599  (eval "$ac_link") 2>conftest.er1
     14600  ac_status=$?
     14601  grep -v '^ *+' conftest.er1 >conftest.err
     14602  rm -f conftest.er1
     14603  cat conftest.err >&5
     14604  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14605  (exit $ac_status); } && {
     14606         test -z "$ac_cxx_werror_flag" ||
     14607         test ! -s conftest.err
     14608       } && test -s conftest$ac_exeext && {
     14609         test "$cross_compiling" = yes ||
     14610         $as_test_x conftest$ac_exeext
     14611       }; then
     14612  eval "$as_ac_var=yes"
     14613else
     14614  $as_echo "$as_me: failed program was:" >&5
     14615sed 's/^/| /' conftest.$ac_ext >&5
     14616
     14617        eval "$as_ac_var=no"
     14618fi
     14619
     14620rm -rf conftest.dSYM
     14621rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14622      conftest$ac_exeext conftest.$ac_ext
     14623fi
     14624ac_res=`eval 'as_val=${'$as_ac_var'}
     14625                 $as_echo "$as_val"'`
     14626               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14627$as_echo "$ac_res" >&6; }
     14628as_val=`eval 'as_val=${'$as_ac_var'}
     14629                 $as_echo "$as_val"'`
     14630   if test "x$as_val" = x""yes; then
    884314631  cat >>confdefs.h <<_ACEOF
    8844 #define HAVE_AVFORMAT_ALLOC_CONTEXT 1
     14632#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    884514633_ACEOF
    884614634
     
    884814636done
    884914637
     14638
    885014639for ac_func in av_alloc_format_context
    8851 do :
    8852   ac_fn_cxx_check_func "$LINENO" "av_alloc_format_context" "ac_cv_func_av_alloc_format_context"
    8853 if test "x$ac_cv_func_av_alloc_format_context" = xyes; then :
     14640do
     14641as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14642{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14643$as_echo_n "checking for $ac_func... " >&6; }
     14644if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14645  $as_echo_n "(cached) " >&6
     14646else
     14647  cat >conftest.$ac_ext <<_ACEOF
     14648/* confdefs.h.  */
     14649_ACEOF
     14650cat confdefs.h >>conftest.$ac_ext
     14651cat >>conftest.$ac_ext <<_ACEOF
     14652/* end confdefs.h.  */
     14653/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14654   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14655#define $ac_func innocuous_$ac_func
     14656
     14657/* System header to define __stub macros and hopefully few prototypes,
     14658    which can conflict with char $ac_func (); below.
     14659    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14660    <limits.h> exists even on freestanding compilers.  */
     14661
     14662#ifdef __STDC__
     14663# include <limits.h>
     14664#else
     14665# include <assert.h>
     14666#endif
     14667
     14668#undef $ac_func
     14669
     14670/* Override any GCC internal prototype to avoid an error.
     14671   Use char because int might match the return type of a GCC
     14672   builtin and then its argument prototype would still apply.  */
     14673#ifdef __cplusplus
     14674extern "C"
     14675#endif
     14676char $ac_func ();
     14677/* The GNU C library defines this for functions which it implements
     14678    to always fail with ENOSYS.  Some functions are actually named
     14679    something starting with __ and the normal name is an alias.  */
     14680#if defined __stub_$ac_func || defined __stub___$ac_func
     14681choke me
     14682#endif
     14683
     14684int
     14685main ()
     14686{
     14687return $ac_func ();
     14688  ;
     14689  return 0;
     14690}
     14691_ACEOF
     14692rm -f conftest.$ac_objext conftest$ac_exeext
     14693if { (ac_try="$ac_link"
     14694case "(($ac_try" in
     14695  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14696  *) ac_try_echo=$ac_try;;
     14697esac
     14698eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14699$as_echo "$ac_try_echo") >&5
     14700  (eval "$ac_link") 2>conftest.er1
     14701  ac_status=$?
     14702  grep -v '^ *+' conftest.er1 >conftest.err
     14703  rm -f conftest.er1
     14704  cat conftest.err >&5
     14705  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14706  (exit $ac_status); } && {
     14707         test -z "$ac_cxx_werror_flag" ||
     14708         test ! -s conftest.err
     14709       } && test -s conftest$ac_exeext && {
     14710         test "$cross_compiling" = yes ||
     14711         $as_test_x conftest$ac_exeext
     14712       }; then
     14713  eval "$as_ac_var=yes"
     14714else
     14715  $as_echo "$as_me: failed program was:" >&5
     14716sed 's/^/| /' conftest.$ac_ext >&5
     14717
     14718        eval "$as_ac_var=no"
     14719fi
     14720
     14721rm -rf conftest.dSYM
     14722rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14723      conftest$ac_exeext conftest.$ac_ext
     14724fi
     14725ac_res=`eval 'as_val=${'$as_ac_var'}
     14726                 $as_echo "$as_val"'`
     14727               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14728$as_echo "$ac_res" >&6; }
     14729as_val=`eval 'as_val=${'$as_ac_var'}
     14730                 $as_echo "$as_val"'`
     14731   if test "x$as_val" = x""yes; then
    885414732  cat >>confdefs.h <<_ACEOF
    8855 #define HAVE_AV_ALLOC_FORMAT_CONTEXT 1
     14733#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    885614734_ACEOF
    885714735
     
    885914737done
    886014738
     14739
    886114740for ac_func in av_set_parameters
    8862 do :
    8863   ac_fn_cxx_check_func "$LINENO" "av_set_parameters" "ac_cv_func_av_set_parameters"
    8864 if test "x$ac_cv_func_av_set_parameters" = xyes; then :
     14741do
     14742as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14743{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14744$as_echo_n "checking for $ac_func... " >&6; }
     14745if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14746  $as_echo_n "(cached) " >&6
     14747else
     14748  cat >conftest.$ac_ext <<_ACEOF
     14749/* confdefs.h.  */
     14750_ACEOF
     14751cat confdefs.h >>conftest.$ac_ext
     14752cat >>conftest.$ac_ext <<_ACEOF
     14753/* end confdefs.h.  */
     14754/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14755   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14756#define $ac_func innocuous_$ac_func
     14757
     14758/* System header to define __stub macros and hopefully few prototypes,
     14759    which can conflict with char $ac_func (); below.
     14760    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14761    <limits.h> exists even on freestanding compilers.  */
     14762
     14763#ifdef __STDC__
     14764# include <limits.h>
     14765#else
     14766# include <assert.h>
     14767#endif
     14768
     14769#undef $ac_func
     14770
     14771/* Override any GCC internal prototype to avoid an error.
     14772   Use char because int might match the return type of a GCC
     14773   builtin and then its argument prototype would still apply.  */
     14774#ifdef __cplusplus
     14775extern "C"
     14776#endif
     14777char $ac_func ();
     14778/* The GNU C library defines this for functions which it implements
     14779    to always fail with ENOSYS.  Some functions are actually named
     14780    something starting with __ and the normal name is an alias.  */
     14781#if defined __stub_$ac_func || defined __stub___$ac_func
     14782choke me
     14783#endif
     14784
     14785int
     14786main ()
     14787{
     14788return $ac_func ();
     14789  ;
     14790  return 0;
     14791}
     14792_ACEOF
     14793rm -f conftest.$ac_objext conftest$ac_exeext
     14794if { (ac_try="$ac_link"
     14795case "(($ac_try" in
     14796  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14797  *) ac_try_echo=$ac_try;;
     14798esac
     14799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14800$as_echo "$ac_try_echo") >&5
     14801  (eval "$ac_link") 2>conftest.er1
     14802  ac_status=$?
     14803  grep -v '^ *+' conftest.er1 >conftest.err
     14804  rm -f conftest.er1
     14805  cat conftest.err >&5
     14806  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14807  (exit $ac_status); } && {
     14808         test -z "$ac_cxx_werror_flag" ||
     14809         test ! -s conftest.err
     14810       } && test -s conftest$ac_exeext && {
     14811         test "$cross_compiling" = yes ||
     14812         $as_test_x conftest$ac_exeext
     14813       }; then
     14814  eval "$as_ac_var=yes"
     14815else
     14816  $as_echo "$as_me: failed program was:" >&5
     14817sed 's/^/| /' conftest.$ac_ext >&5
     14818
     14819        eval "$as_ac_var=no"
     14820fi
     14821
     14822rm -rf conftest.dSYM
     14823rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14824      conftest$ac_exeext conftest.$ac_ext
     14825fi
     14826ac_res=`eval 'as_val=${'$as_ac_var'}
     14827                 $as_echo "$as_val"'`
     14828               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14829$as_echo "$ac_res" >&6; }
     14830as_val=`eval 'as_val=${'$as_ac_var'}
     14831                 $as_echo "$as_val"'`
     14832   if test "x$as_val" = x""yes; then
    886514833  cat >>confdefs.h <<_ACEOF
    8866 #define HAVE_AV_SET_PARAMETERS 1
     14834#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    886714835_ACEOF
    886814836
     
    887014838done
    887114839
     14840
    887214841for ac_func in avformat_write_header
    8873 do :
    8874   ac_fn_cxx_check_func "$LINENO" "avformat_write_header" "ac_cv_func_avformat_write_header"
    8875 if test "x$ac_cv_func_avformat_write_header" = xyes; then :
     14842do
     14843as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14844{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14845$as_echo_n "checking for $ac_func... " >&6; }
     14846if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14847  $as_echo_n "(cached) " >&6
     14848else
     14849  cat >conftest.$ac_ext <<_ACEOF
     14850/* confdefs.h.  */
     14851_ACEOF
     14852cat confdefs.h >>conftest.$ac_ext
     14853cat >>conftest.$ac_ext <<_ACEOF
     14854/* end confdefs.h.  */
     14855/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14856   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14857#define $ac_func innocuous_$ac_func
     14858
     14859/* System header to define __stub macros and hopefully few prototypes,
     14860    which can conflict with char $ac_func (); below.
     14861    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14862    <limits.h> exists even on freestanding compilers.  */
     14863
     14864#ifdef __STDC__
     14865# include <limits.h>
     14866#else
     14867# include <assert.h>
     14868#endif
     14869
     14870#undef $ac_func
     14871
     14872/* Override any GCC internal prototype to avoid an error.
     14873   Use char because int might match the return type of a GCC
     14874   builtin and then its argument prototype would still apply.  */
     14875#ifdef __cplusplus
     14876extern "C"
     14877#endif
     14878char $ac_func ();
     14879/* The GNU C library defines this for functions which it implements
     14880    to always fail with ENOSYS.  Some functions are actually named
     14881    something starting with __ and the normal name is an alias.  */
     14882#if defined __stub_$ac_func || defined __stub___$ac_func
     14883choke me
     14884#endif
     14885
     14886int
     14887main ()
     14888{
     14889return $ac_func ();
     14890  ;
     14891  return 0;
     14892}
     14893_ACEOF
     14894rm -f conftest.$ac_objext conftest$ac_exeext
     14895if { (ac_try="$ac_link"
     14896case "(($ac_try" in
     14897  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14898  *) ac_try_echo=$ac_try;;
     14899esac
     14900eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     14901$as_echo "$ac_try_echo") >&5
     14902  (eval "$ac_link") 2>conftest.er1
     14903  ac_status=$?
     14904  grep -v '^ *+' conftest.er1 >conftest.err
     14905  rm -f conftest.er1
     14906  cat conftest.err >&5
     14907  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     14908  (exit $ac_status); } && {
     14909         test -z "$ac_cxx_werror_flag" ||
     14910         test ! -s conftest.err
     14911       } && test -s conftest$ac_exeext && {
     14912         test "$cross_compiling" = yes ||
     14913         $as_test_x conftest$ac_exeext
     14914       }; then
     14915  eval "$as_ac_var=yes"
     14916else
     14917  $as_echo "$as_me: failed program was:" >&5
     14918sed 's/^/| /' conftest.$ac_ext >&5
     14919
     14920        eval "$as_ac_var=no"
     14921fi
     14922
     14923rm -rf conftest.dSYM
     14924rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     14925      conftest$ac_exeext conftest.$ac_ext
     14926fi
     14927ac_res=`eval 'as_val=${'$as_ac_var'}
     14928                 $as_echo "$as_val"'`
     14929               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     14930$as_echo "$ac_res" >&6; }
     14931as_val=`eval 'as_val=${'$as_ac_var'}
     14932                 $as_echo "$as_val"'`
     14933   if test "x$as_val" = x""yes; then
    887614934  cat >>confdefs.h <<_ACEOF
    8877 #define HAVE_AVFORMAT_WRITE_HEADER 1
     14935#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    887814936_ACEOF
    887914937
     
    888114939done
    888214940
     14941
    888314942for ac_func in av_write_header
    8884 do :
    8885   ac_fn_cxx_check_func "$LINENO" "av_write_header" "ac_cv_func_av_write_header"
    8886 if test "x$ac_cv_func_av_write_header" = xyes; then :
     14943do
     14944as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     14945{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     14946$as_echo_n "checking for $ac_func... " >&6; }
     14947if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     14948  $as_echo_n "(cached) " >&6
     14949else
     14950  cat >conftest.$ac_ext <<_ACEOF
     14951/* confdefs.h.  */
     14952_ACEOF
     14953cat confdefs.h >>conftest.$ac_ext
     14954cat >>conftest.$ac_ext <<_ACEOF
     14955/* end confdefs.h.  */
     14956/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     14957   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     14958#define $ac_func innocuous_$ac_func
     14959
     14960/* System header to define __stub macros and hopefully few prototypes,
     14961    which can conflict with char $ac_func (); below.
     14962    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     14963    <limits.h> exists even on freestanding compilers.  */
     14964
     14965#ifdef __STDC__
     14966# include <limits.h>
     14967#else
     14968# include <assert.h>
     14969#endif
     14970
     14971#undef $ac_func
     14972
     14973/* Override any GCC internal prototype to avoid an error.
     14974   Use char because int might match the return type of a GCC
     14975   builtin and then its argument prototype would still apply.  */
     14976#ifdef __cplusplus
     14977extern "C"
     14978#endif
     14979char $ac_func ();
     14980/* The GNU C library defines this for functions which it implements
     14981    to always fail with ENOSYS.  Some functions are actually named
     14982    something starting with __ and the normal name is an alias.  */
     14983#if defined __stub_$ac_func || defined __stub___$ac_func
     14984choke me
     14985#endif
     14986
     14987int
     14988main ()
     14989{
     14990return $ac_func ();
     14991  ;
     14992  return 0;
     14993}
     14994_ACEOF
     14995rm -f conftest.$ac_objext conftest$ac_exeext
     14996if { (ac_try="$ac_link"
     14997case "(($ac_try" in
     14998  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     14999  *) ac_try_echo=$ac_try;;
     15000esac
     15001eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15002$as_echo "$ac_try_echo") >&5
     15003  (eval "$ac_link") 2>conftest.er1
     15004  ac_status=$?
     15005  grep -v '^ *+' conftest.er1 >conftest.err
     15006  rm -f conftest.er1
     15007  cat conftest.err >&5
     15008  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15009  (exit $ac_status); } && {
     15010         test -z "$ac_cxx_werror_flag" ||
     15011         test ! -s conftest.err
     15012       } && test -s conftest$ac_exeext && {
     15013         test "$cross_compiling" = yes ||
     15014         $as_test_x conftest$ac_exeext
     15015       }; then
     15016  eval "$as_ac_var=yes"
     15017else
     15018  $as_echo "$as_me: failed program was:" >&5
     15019sed 's/^/| /' conftest.$ac_ext >&5
     15020
     15021        eval "$as_ac_var=no"
     15022fi
     15023
     15024rm -rf conftest.dSYM
     15025rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15026      conftest$ac_exeext conftest.$ac_ext
     15027fi
     15028ac_res=`eval 'as_val=${'$as_ac_var'}
     15029                 $as_echo "$as_val"'`
     15030               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     15031$as_echo "$ac_res" >&6; }
     15032as_val=`eval 'as_val=${'$as_ac_var'}
     15033                 $as_echo "$as_val"'`
     15034   if test "x$as_val" = x""yes; then
    888715035  cat >>confdefs.h <<_ACEOF
    8888 #define HAVE_AV_WRITE_HEADER 1
     15036#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    888915037_ACEOF
    889015038
     
    889215040done
    889315041
    8894 ac_fn_cxx_check_func "$LINENO" "av_write_trailer" "ac_cv_func_av_write_trailer"
    8895 if test "x$ac_cv_func_av_write_trailer" = xyes; then :
    8896 
    8897 else
    8898   as_fn_error $? "oops! no av_write_trailer?!?" "$LINENO" 5
    8899 fi
    8900 
    8901 ac_fn_cxx_check_func "$LINENO" "av_freep" "ac_cv_func_av_freep"
    8902 if test "x$ac_cv_func_av_freep" = xyes; then :
    8903 
    8904 else
    8905   as_fn_error $? "oops! no av_freep ?!?" "$LINENO" 5
    8906 fi
    8907 
    8908 ac_fn_cxx_check_func "$LINENO" "av_free" "ac_cv_func_av_free"
    8909 if test "x$ac_cv_func_av_free" = xyes; then :
    8910 
    8911 else
    8912   as_fn_error $? "oops! no av_free ?!?" "$LINENO" 5
    8913 fi
    8914 
    8915 ac_fn_cxx_check_func "$LINENO" "av_new_stream" "ac_cv_func_av_new_stream"
    8916 if test "x$ac_cv_func_av_new_stream" = xyes; then :
    8917 
    8918 else
    8919   as_fn_error $? "oops! av_new_stream ?!?" "$LINENO" 5
    8920 fi
    8921 
    8922 ac_fn_cxx_check_func "$LINENO" "av_malloc" "ac_cv_func_av_malloc"
    8923 if test "x$ac_cv_func_av_malloc" = xyes; then :
    8924 
    8925 else
    8926   as_fn_error $? "oops! no av_malloc ?!?" "$LINENO" 5
    8927 fi
    8928 
    8929 ac_fn_cxx_check_func "$LINENO" "av_init_packet" "ac_cv_func_av_init_packet"
    8930 if test "x$ac_cv_func_av_init_packet" = xyes; then :
    8931 
    8932 else
    8933   as_fn_error $? "oops! no av_init_packet ?!?" "$LINENO" 5
    8934 fi
    8935 
    8936 ac_fn_cxx_check_func "$LINENO" "av_rescale_q" "ac_cv_func_av_rescale_q"
    8937 if test "x$ac_cv_func_av_rescale_q" = xyes; then :
    8938 
    8939 else
    8940   as_fn_error $? "oops! no av_rescale_q ?!?" "$LINENO" 5
    8941 fi
    8942 
    8943 ac_fn_cxx_check_func "$LINENO" "av_write_frame" "ac_cv_func_av_write_frame"
    8944 if test "x$ac_cv_func_av_write_frame" = xyes; then :
    8945 
    8946 else
    8947   as_fn_error $? "oops! av_write_frame ?!?" "$LINENO" 5
    8948 fi
    8949 
    8950 ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context"
    8951 if test "x$ac_cv_func_avformat_alloc_context" = xyes; then :
    8952 
    8953 else
    8954   as_fn_error $? "oops! avformat_alloc_context ?!?" "$LINENO" 5
    8955 fi
     15042{ $as_echo "$as_me:$LINENO: checking for av_write_trailer" >&5
     15043$as_echo_n "checking for av_write_trailer... " >&6; }
     15044if test "${ac_cv_func_av_write_trailer+set}" = set; then
     15045  $as_echo_n "(cached) " >&6
     15046else
     15047  cat >conftest.$ac_ext <<_ACEOF
     15048/* confdefs.h.  */
     15049_ACEOF
     15050cat confdefs.h >>conftest.$ac_ext
     15051cat >>conftest.$ac_ext <<_ACEOF
     15052/* end confdefs.h.  */
     15053/* Define av_write_trailer to an innocuous variant, in case <limits.h> declares av_write_trailer.
     15054   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15055#define av_write_trailer innocuous_av_write_trailer
     15056
     15057/* System header to define __stub macros and hopefully few prototypes,
     15058    which can conflict with char av_write_trailer (); below.
     15059    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15060    <limits.h> exists even on freestanding compilers.  */
     15061
     15062#ifdef __STDC__
     15063# include <limits.h>
     15064#else
     15065# include <assert.h>
     15066#endif
     15067
     15068#undef av_write_trailer
     15069
     15070/* Override any GCC internal prototype to avoid an error.
     15071   Use char because int might match the return type of a GCC
     15072   builtin and then its argument prototype would still apply.  */
     15073#ifdef __cplusplus
     15074extern "C"
     15075#endif
     15076char av_write_trailer ();
     15077/* The GNU C library defines this for functions which it implements
     15078    to always fail with ENOSYS.  Some functions are actually named
     15079    something starting with __ and the normal name is an alias.  */
     15080#if defined __stub_av_write_trailer || defined __stub___av_write_trailer
     15081choke me
     15082#endif
     15083
     15084int
     15085main ()
     15086{
     15087return av_write_trailer ();
     15088  ;
     15089  return 0;
     15090}
     15091_ACEOF
     15092rm -f conftest.$ac_objext conftest$ac_exeext
     15093if { (ac_try="$ac_link"
     15094case "(($ac_try" in
     15095  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15096  *) ac_try_echo=$ac_try;;
     15097esac
     15098eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15099$as_echo "$ac_try_echo") >&5
     15100  (eval "$ac_link") 2>conftest.er1
     15101  ac_status=$?
     15102  grep -v '^ *+' conftest.er1 >conftest.err
     15103  rm -f conftest.er1
     15104  cat conftest.err >&5
     15105  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15106  (exit $ac_status); } && {
     15107         test -z "$ac_cxx_werror_flag" ||
     15108         test ! -s conftest.err
     15109       } && test -s conftest$ac_exeext && {
     15110         test "$cross_compiling" = yes ||
     15111         $as_test_x conftest$ac_exeext
     15112       }; then
     15113  ac_cv_func_av_write_trailer=yes
     15114else
     15115  $as_echo "$as_me: failed program was:" >&5
     15116sed 's/^/| /' conftest.$ac_ext >&5
     15117
     15118        ac_cv_func_av_write_trailer=no
     15119fi
     15120
     15121rm -rf conftest.dSYM
     15122rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15123      conftest$ac_exeext conftest.$ac_ext
     15124fi
     15125{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_trailer" >&5
     15126$as_echo "$ac_cv_func_av_write_trailer" >&6; }
     15127if test "x$ac_cv_func_av_write_trailer" = x""yes; then
     15128  :
     15129else
     15130  { { $as_echo "$as_me:$LINENO: error: oops! no av_write_trailer?!?" >&5
     15131$as_echo "$as_me: error: oops! no av_write_trailer?!?" >&2;}
     15132   { (exit 1); exit 1; }; }
     15133fi
     15134
     15135{ $as_echo "$as_me:$LINENO: checking for av_freep" >&5
     15136$as_echo_n "checking for av_freep... " >&6; }
     15137if test "${ac_cv_func_av_freep+set}" = set; then
     15138  $as_echo_n "(cached) " >&6
     15139else
     15140  cat >conftest.$ac_ext <<_ACEOF
     15141/* confdefs.h.  */
     15142_ACEOF
     15143cat confdefs.h >>conftest.$ac_ext
     15144cat >>conftest.$ac_ext <<_ACEOF
     15145/* end confdefs.h.  */
     15146/* Define av_freep to an innocuous variant, in case <limits.h> declares av_freep.
     15147   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15148#define av_freep innocuous_av_freep
     15149
     15150/* System header to define __stub macros and hopefully few prototypes,
     15151    which can conflict with char av_freep (); below.
     15152    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15153    <limits.h> exists even on freestanding compilers.  */
     15154
     15155#ifdef __STDC__
     15156# include <limits.h>
     15157#else
     15158# include <assert.h>
     15159#endif
     15160
     15161#undef av_freep
     15162
     15163/* Override any GCC internal prototype to avoid an error.
     15164   Use char because int might match the return type of a GCC
     15165   builtin and then its argument prototype would still apply.  */
     15166#ifdef __cplusplus
     15167extern "C"
     15168#endif
     15169char av_freep ();
     15170/* The GNU C library defines this for functions which it implements
     15171    to always fail with ENOSYS.  Some functions are actually named
     15172    something starting with __ and the normal name is an alias.  */
     15173#if defined __stub_av_freep || defined __stub___av_freep
     15174choke me
     15175#endif
     15176
     15177int
     15178main ()
     15179{
     15180return av_freep ();
     15181  ;
     15182  return 0;
     15183}
     15184_ACEOF
     15185rm -f conftest.$ac_objext conftest$ac_exeext
     15186if { (ac_try="$ac_link"
     15187case "(($ac_try" in
     15188  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15189  *) ac_try_echo=$ac_try;;
     15190esac
     15191eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15192$as_echo "$ac_try_echo") >&5
     15193  (eval "$ac_link") 2>conftest.er1
     15194  ac_status=$?
     15195  grep -v '^ *+' conftest.er1 >conftest.err
     15196  rm -f conftest.er1
     15197  cat conftest.err >&5
     15198  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15199  (exit $ac_status); } && {
     15200         test -z "$ac_cxx_werror_flag" ||
     15201         test ! -s conftest.err
     15202       } && test -s conftest$ac_exeext && {
     15203         test "$cross_compiling" = yes ||
     15204         $as_test_x conftest$ac_exeext
     15205       }; then
     15206  ac_cv_func_av_freep=yes
     15207else
     15208  $as_echo "$as_me: failed program was:" >&5
     15209sed 's/^/| /' conftest.$ac_ext >&5
     15210
     15211        ac_cv_func_av_freep=no
     15212fi
     15213
     15214rm -rf conftest.dSYM
     15215rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15216      conftest$ac_exeext conftest.$ac_ext
     15217fi
     15218{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_freep" >&5
     15219$as_echo "$ac_cv_func_av_freep" >&6; }
     15220if test "x$ac_cv_func_av_freep" = x""yes; then
     15221  :
     15222else
     15223  { { $as_echo "$as_me:$LINENO: error: oops! no av_freep ?!?" >&5
     15224$as_echo "$as_me: error: oops! no av_freep ?!?" >&2;}
     15225   { (exit 1); exit 1; }; }
     15226fi
     15227
     15228{ $as_echo "$as_me:$LINENO: checking for av_free" >&5
     15229$as_echo_n "checking for av_free... " >&6; }
     15230if test "${ac_cv_func_av_free+set}" = set; then
     15231  $as_echo_n "(cached) " >&6
     15232else
     15233  cat >conftest.$ac_ext <<_ACEOF
     15234/* confdefs.h.  */
     15235_ACEOF
     15236cat confdefs.h >>conftest.$ac_ext
     15237cat >>conftest.$ac_ext <<_ACEOF
     15238/* end confdefs.h.  */
     15239/* Define av_free to an innocuous variant, in case <limits.h> declares av_free.
     15240   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15241#define av_free innocuous_av_free
     15242
     15243/* System header to define __stub macros and hopefully few prototypes,
     15244    which can conflict with char av_free (); below.
     15245    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15246    <limits.h> exists even on freestanding compilers.  */
     15247
     15248#ifdef __STDC__
     15249# include <limits.h>
     15250#else
     15251# include <assert.h>
     15252#endif
     15253
     15254#undef av_free
     15255
     15256/* Override any GCC internal prototype to avoid an error.
     15257   Use char because int might match the return type of a GCC
     15258   builtin and then its argument prototype would still apply.  */
     15259#ifdef __cplusplus
     15260extern "C"
     15261#endif
     15262char av_free ();
     15263/* The GNU C library defines this for functions which it implements
     15264    to always fail with ENOSYS.  Some functions are actually named
     15265    something starting with __ and the normal name is an alias.  */
     15266#if defined __stub_av_free || defined __stub___av_free
     15267choke me
     15268#endif
     15269
     15270int
     15271main ()
     15272{
     15273return av_free ();
     15274  ;
     15275  return 0;
     15276}
     15277_ACEOF
     15278rm -f conftest.$ac_objext conftest$ac_exeext
     15279if { (ac_try="$ac_link"
     15280case "(($ac_try" in
     15281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15282  *) ac_try_echo=$ac_try;;
     15283esac
     15284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15285$as_echo "$ac_try_echo") >&5
     15286  (eval "$ac_link") 2>conftest.er1
     15287  ac_status=$?
     15288  grep -v '^ *+' conftest.er1 >conftest.err
     15289  rm -f conftest.er1
     15290  cat conftest.err >&5
     15291  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15292  (exit $ac_status); } && {
     15293         test -z "$ac_cxx_werror_flag" ||
     15294         test ! -s conftest.err
     15295       } && test -s conftest$ac_exeext && {
     15296         test "$cross_compiling" = yes ||
     15297         $as_test_x conftest$ac_exeext
     15298       }; then
     15299  ac_cv_func_av_free=yes
     15300else
     15301  $as_echo "$as_me: failed program was:" >&5
     15302sed 's/^/| /' conftest.$ac_ext >&5
     15303
     15304        ac_cv_func_av_free=no
     15305fi
     15306
     15307rm -rf conftest.dSYM
     15308rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15309      conftest$ac_exeext conftest.$ac_ext
     15310fi
     15311{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_free" >&5
     15312$as_echo "$ac_cv_func_av_free" >&6; }
     15313if test "x$ac_cv_func_av_free" = x""yes; then
     15314  :
     15315else
     15316  { { $as_echo "$as_me:$LINENO: error: oops! no av_free ?!?" >&5
     15317$as_echo "$as_me: error: oops! no av_free ?!?" >&2;}
     15318   { (exit 1); exit 1; }; }
     15319fi
     15320
     15321{ $as_echo "$as_me:$LINENO: checking for av_new_stream" >&5
     15322$as_echo_n "checking for av_new_stream... " >&6; }
     15323if test "${ac_cv_func_av_new_stream+set}" = set; then
     15324  $as_echo_n "(cached) " >&6
     15325else
     15326  cat >conftest.$ac_ext <<_ACEOF
     15327/* confdefs.h.  */
     15328_ACEOF
     15329cat confdefs.h >>conftest.$ac_ext
     15330cat >>conftest.$ac_ext <<_ACEOF
     15331/* end confdefs.h.  */
     15332/* Define av_new_stream to an innocuous variant, in case <limits.h> declares av_new_stream.
     15333   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15334#define av_new_stream innocuous_av_new_stream
     15335
     15336/* System header to define __stub macros and hopefully few prototypes,
     15337    which can conflict with char av_new_stream (); below.
     15338    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15339    <limits.h> exists even on freestanding compilers.  */
     15340
     15341#ifdef __STDC__
     15342# include <limits.h>
     15343#else
     15344# include <assert.h>
     15345#endif
     15346
     15347#undef av_new_stream
     15348
     15349/* Override any GCC internal prototype to avoid an error.
     15350   Use char because int might match the return type of a GCC
     15351   builtin and then its argument prototype would still apply.  */
     15352#ifdef __cplusplus
     15353extern "C"
     15354#endif
     15355char av_new_stream ();
     15356/* The GNU C library defines this for functions which it implements
     15357    to always fail with ENOSYS.  Some functions are actually named
     15358    something starting with __ and the normal name is an alias.  */
     15359#if defined __stub_av_new_stream || defined __stub___av_new_stream
     15360choke me
     15361#endif
     15362
     15363int
     15364main ()
     15365{
     15366return av_new_stream ();
     15367  ;
     15368  return 0;
     15369}
     15370_ACEOF
     15371rm -f conftest.$ac_objext conftest$ac_exeext
     15372if { (ac_try="$ac_link"
     15373case "(($ac_try" in
     15374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15375  *) ac_try_echo=$ac_try;;
     15376esac
     15377eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15378$as_echo "$ac_try_echo") >&5
     15379  (eval "$ac_link") 2>conftest.er1
     15380  ac_status=$?
     15381  grep -v '^ *+' conftest.er1 >conftest.err
     15382  rm -f conftest.er1
     15383  cat conftest.err >&5
     15384  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15385  (exit $ac_status); } && {
     15386         test -z "$ac_cxx_werror_flag" ||
     15387         test ! -s conftest.err
     15388       } && test -s conftest$ac_exeext && {
     15389         test "$cross_compiling" = yes ||
     15390         $as_test_x conftest$ac_exeext
     15391       }; then
     15392  ac_cv_func_av_new_stream=yes
     15393else
     15394  $as_echo "$as_me: failed program was:" >&5
     15395sed 's/^/| /' conftest.$ac_ext >&5
     15396
     15397        ac_cv_func_av_new_stream=no
     15398fi
     15399
     15400rm -rf conftest.dSYM
     15401rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15402      conftest$ac_exeext conftest.$ac_ext
     15403fi
     15404{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_new_stream" >&5
     15405$as_echo "$ac_cv_func_av_new_stream" >&6; }
     15406if test "x$ac_cv_func_av_new_stream" = x""yes; then
     15407  :
     15408else
     15409  { { $as_echo "$as_me:$LINENO: error: oops! av_new_stream ?!?" >&5
     15410$as_echo "$as_me: error: oops! av_new_stream ?!?" >&2;}
     15411   { (exit 1); exit 1; }; }
     15412fi
     15413
     15414{ $as_echo "$as_me:$LINENO: checking for av_malloc" >&5
     15415$as_echo_n "checking for av_malloc... " >&6; }
     15416if test "${ac_cv_func_av_malloc+set}" = set; then
     15417  $as_echo_n "(cached) " >&6
     15418else
     15419  cat >conftest.$ac_ext <<_ACEOF
     15420/* confdefs.h.  */
     15421_ACEOF
     15422cat confdefs.h >>conftest.$ac_ext
     15423cat >>conftest.$ac_ext <<_ACEOF
     15424/* end confdefs.h.  */
     15425/* Define av_malloc to an innocuous variant, in case <limits.h> declares av_malloc.
     15426   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15427#define av_malloc innocuous_av_malloc
     15428
     15429/* System header to define __stub macros and hopefully few prototypes,
     15430    which can conflict with char av_malloc (); below.
     15431    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15432    <limits.h> exists even on freestanding compilers.  */
     15433
     15434#ifdef __STDC__
     15435# include <limits.h>
     15436#else
     15437# include <assert.h>
     15438#endif
     15439
     15440#undef av_malloc
     15441
     15442/* Override any GCC internal prototype to avoid an error.
     15443   Use char because int might match the return type of a GCC
     15444   builtin and then its argument prototype would still apply.  */
     15445#ifdef __cplusplus
     15446extern "C"
     15447#endif
     15448char av_malloc ();
     15449/* The GNU C library defines this for functions which it implements
     15450    to always fail with ENOSYS.  Some functions are actually named
     15451    something starting with __ and the normal name is an alias.  */
     15452#if defined __stub_av_malloc || defined __stub___av_malloc
     15453choke me
     15454#endif
     15455
     15456int
     15457main ()
     15458{
     15459return av_malloc ();
     15460  ;
     15461  return 0;
     15462}
     15463_ACEOF
     15464rm -f conftest.$ac_objext conftest$ac_exeext
     15465if { (ac_try="$ac_link"
     15466case "(($ac_try" in
     15467  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15468  *) ac_try_echo=$ac_try;;
     15469esac
     15470eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15471$as_echo "$ac_try_echo") >&5
     15472  (eval "$ac_link") 2>conftest.er1
     15473  ac_status=$?
     15474  grep -v '^ *+' conftest.er1 >conftest.err
     15475  rm -f conftest.er1
     15476  cat conftest.err >&5
     15477  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15478  (exit $ac_status); } && {
     15479         test -z "$ac_cxx_werror_flag" ||
     15480         test ! -s conftest.err
     15481       } && test -s conftest$ac_exeext && {
     15482         test "$cross_compiling" = yes ||
     15483         $as_test_x conftest$ac_exeext
     15484       }; then
     15485  ac_cv_func_av_malloc=yes
     15486else
     15487  $as_echo "$as_me: failed program was:" >&5
     15488sed 's/^/| /' conftest.$ac_ext >&5
     15489
     15490        ac_cv_func_av_malloc=no
     15491fi
     15492
     15493rm -rf conftest.dSYM
     15494rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15495      conftest$ac_exeext conftest.$ac_ext
     15496fi
     15497{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_malloc" >&5
     15498$as_echo "$ac_cv_func_av_malloc" >&6; }
     15499if test "x$ac_cv_func_av_malloc" = x""yes; then
     15500  :
     15501else
     15502  { { $as_echo "$as_me:$LINENO: error: oops! no av_malloc ?!?" >&5
     15503$as_echo "$as_me: error: oops! no av_malloc ?!?" >&2;}
     15504   { (exit 1); exit 1; }; }
     15505fi
     15506
     15507{ $as_echo "$as_me:$LINENO: checking for av_init_packet" >&5
     15508$as_echo_n "checking for av_init_packet... " >&6; }
     15509if test "${ac_cv_func_av_init_packet+set}" = set; then
     15510  $as_echo_n "(cached) " >&6
     15511else
     15512  cat >conftest.$ac_ext <<_ACEOF
     15513/* confdefs.h.  */
     15514_ACEOF
     15515cat confdefs.h >>conftest.$ac_ext
     15516cat >>conftest.$ac_ext <<_ACEOF
     15517/* end confdefs.h.  */
     15518/* Define av_init_packet to an innocuous variant, in case <limits.h> declares av_init_packet.
     15519   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15520#define av_init_packet innocuous_av_init_packet
     15521
     15522/* System header to define __stub macros and hopefully few prototypes,
     15523    which can conflict with char av_init_packet (); below.
     15524    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15525    <limits.h> exists even on freestanding compilers.  */
     15526
     15527#ifdef __STDC__
     15528# include <limits.h>
     15529#else
     15530# include <assert.h>
     15531#endif
     15532
     15533#undef av_init_packet
     15534
     15535/* Override any GCC internal prototype to avoid an error.
     15536   Use char because int might match the return type of a GCC
     15537   builtin and then its argument prototype would still apply.  */
     15538#ifdef __cplusplus
     15539extern "C"
     15540#endif
     15541char av_init_packet ();
     15542/* The GNU C library defines this for functions which it implements
     15543    to always fail with ENOSYS.  Some functions are actually named
     15544    something starting with __ and the normal name is an alias.  */
     15545#if defined __stub_av_init_packet || defined __stub___av_init_packet
     15546choke me
     15547#endif
     15548
     15549int
     15550main ()
     15551{
     15552return av_init_packet ();
     15553  ;
     15554  return 0;
     15555}
     15556_ACEOF
     15557rm -f conftest.$ac_objext conftest$ac_exeext
     15558if { (ac_try="$ac_link"
     15559case "(($ac_try" in
     15560  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15561  *) ac_try_echo=$ac_try;;
     15562esac
     15563eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15564$as_echo "$ac_try_echo") >&5
     15565  (eval "$ac_link") 2>conftest.er1
     15566  ac_status=$?
     15567  grep -v '^ *+' conftest.er1 >conftest.err
     15568  rm -f conftest.er1
     15569  cat conftest.err >&5
     15570  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15571  (exit $ac_status); } && {
     15572         test -z "$ac_cxx_werror_flag" ||
     15573         test ! -s conftest.err
     15574       } && test -s conftest$ac_exeext && {
     15575         test "$cross_compiling" = yes ||
     15576         $as_test_x conftest$ac_exeext
     15577       }; then
     15578  ac_cv_func_av_init_packet=yes
     15579else
     15580  $as_echo "$as_me: failed program was:" >&5
     15581sed 's/^/| /' conftest.$ac_ext >&5
     15582
     15583        ac_cv_func_av_init_packet=no
     15584fi
     15585
     15586rm -rf conftest.dSYM
     15587rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15588      conftest$ac_exeext conftest.$ac_ext
     15589fi
     15590{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_init_packet" >&5
     15591$as_echo "$ac_cv_func_av_init_packet" >&6; }
     15592if test "x$ac_cv_func_av_init_packet" = x""yes; then
     15593  :
     15594else
     15595  { { $as_echo "$as_me:$LINENO: error: oops! no av_init_packet ?!?" >&5
     15596$as_echo "$as_me: error: oops! no av_init_packet ?!?" >&2;}
     15597   { (exit 1); exit 1; }; }
     15598fi
     15599
     15600{ $as_echo "$as_me:$LINENO: checking for av_rescale_q" >&5
     15601$as_echo_n "checking for av_rescale_q... " >&6; }
     15602if test "${ac_cv_func_av_rescale_q+set}" = set; then
     15603  $as_echo_n "(cached) " >&6
     15604else
     15605  cat >conftest.$ac_ext <<_ACEOF
     15606/* confdefs.h.  */
     15607_ACEOF
     15608cat confdefs.h >>conftest.$ac_ext
     15609cat >>conftest.$ac_ext <<_ACEOF
     15610/* end confdefs.h.  */
     15611/* Define av_rescale_q to an innocuous variant, in case <limits.h> declares av_rescale_q.
     15612   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15613#define av_rescale_q innocuous_av_rescale_q
     15614
     15615/* System header to define __stub macros and hopefully few prototypes,
     15616    which can conflict with char av_rescale_q (); below.
     15617    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15618    <limits.h> exists even on freestanding compilers.  */
     15619
     15620#ifdef __STDC__
     15621# include <limits.h>
     15622#else
     15623# include <assert.h>
     15624#endif
     15625
     15626#undef av_rescale_q
     15627
     15628/* Override any GCC internal prototype to avoid an error.
     15629   Use char because int might match the return type of a GCC
     15630   builtin and then its argument prototype would still apply.  */
     15631#ifdef __cplusplus
     15632extern "C"
     15633#endif
     15634char av_rescale_q ();
     15635/* The GNU C library defines this for functions which it implements
     15636    to always fail with ENOSYS.  Some functions are actually named
     15637    something starting with __ and the normal name is an alias.  */
     15638#if defined __stub_av_rescale_q || defined __stub___av_rescale_q
     15639choke me
     15640#endif
     15641
     15642int
     15643main ()
     15644{
     15645return av_rescale_q ();
     15646  ;
     15647  return 0;
     15648}
     15649_ACEOF
     15650rm -f conftest.$ac_objext conftest$ac_exeext
     15651if { (ac_try="$ac_link"
     15652case "(($ac_try" in
     15653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15654  *) ac_try_echo=$ac_try;;
     15655esac
     15656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15657$as_echo "$ac_try_echo") >&5
     15658  (eval "$ac_link") 2>conftest.er1
     15659  ac_status=$?
     15660  grep -v '^ *+' conftest.er1 >conftest.err
     15661  rm -f conftest.er1
     15662  cat conftest.err >&5
     15663  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15664  (exit $ac_status); } && {
     15665         test -z "$ac_cxx_werror_flag" ||
     15666         test ! -s conftest.err
     15667       } && test -s conftest$ac_exeext && {
     15668         test "$cross_compiling" = yes ||
     15669         $as_test_x conftest$ac_exeext
     15670       }; then
     15671  ac_cv_func_av_rescale_q=yes
     15672else
     15673  $as_echo "$as_me: failed program was:" >&5
     15674sed 's/^/| /' conftest.$ac_ext >&5
     15675
     15676        ac_cv_func_av_rescale_q=no
     15677fi
     15678
     15679rm -rf conftest.dSYM
     15680rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15681      conftest$ac_exeext conftest.$ac_ext
     15682fi
     15683{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_rescale_q" >&5
     15684$as_echo "$ac_cv_func_av_rescale_q" >&6; }
     15685if test "x$ac_cv_func_av_rescale_q" = x""yes; then
     15686  :
     15687else
     15688  { { $as_echo "$as_me:$LINENO: error: oops! no av_rescale_q ?!?" >&5
     15689$as_echo "$as_me: error: oops! no av_rescale_q ?!?" >&2;}
     15690   { (exit 1); exit 1; }; }
     15691fi
     15692
     15693{ $as_echo "$as_me:$LINENO: checking for av_write_frame" >&5
     15694$as_echo_n "checking for av_write_frame... " >&6; }
     15695if test "${ac_cv_func_av_write_frame+set}" = set; then
     15696  $as_echo_n "(cached) " >&6
     15697else
     15698  cat >conftest.$ac_ext <<_ACEOF
     15699/* confdefs.h.  */
     15700_ACEOF
     15701cat confdefs.h >>conftest.$ac_ext
     15702cat >>conftest.$ac_ext <<_ACEOF
     15703/* end confdefs.h.  */
     15704/* Define av_write_frame to an innocuous variant, in case <limits.h> declares av_write_frame.
     15705   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15706#define av_write_frame innocuous_av_write_frame
     15707
     15708/* System header to define __stub macros and hopefully few prototypes,
     15709    which can conflict with char av_write_frame (); below.
     15710    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15711    <limits.h> exists even on freestanding compilers.  */
     15712
     15713#ifdef __STDC__
     15714# include <limits.h>
     15715#else
     15716# include <assert.h>
     15717#endif
     15718
     15719#undef av_write_frame
     15720
     15721/* Override any GCC internal prototype to avoid an error.
     15722   Use char because int might match the return type of a GCC
     15723   builtin and then its argument prototype would still apply.  */
     15724#ifdef __cplusplus
     15725extern "C"
     15726#endif
     15727char av_write_frame ();
     15728/* The GNU C library defines this for functions which it implements
     15729    to always fail with ENOSYS.  Some functions are actually named
     15730    something starting with __ and the normal name is an alias.  */
     15731#if defined __stub_av_write_frame || defined __stub___av_write_frame
     15732choke me
     15733#endif
     15734
     15735int
     15736main ()
     15737{
     15738return av_write_frame ();
     15739  ;
     15740  return 0;
     15741}
     15742_ACEOF
     15743rm -f conftest.$ac_objext conftest$ac_exeext
     15744if { (ac_try="$ac_link"
     15745case "(($ac_try" in
     15746  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15747  *) ac_try_echo=$ac_try;;
     15748esac
     15749eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15750$as_echo "$ac_try_echo") >&5
     15751  (eval "$ac_link") 2>conftest.er1
     15752  ac_status=$?
     15753  grep -v '^ *+' conftest.er1 >conftest.err
     15754  rm -f conftest.er1
     15755  cat conftest.err >&5
     15756  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15757  (exit $ac_status); } && {
     15758         test -z "$ac_cxx_werror_flag" ||
     15759         test ! -s conftest.err
     15760       } && test -s conftest$ac_exeext && {
     15761         test "$cross_compiling" = yes ||
     15762         $as_test_x conftest$ac_exeext
     15763       }; then
     15764  ac_cv_func_av_write_frame=yes
     15765else
     15766  $as_echo "$as_me: failed program was:" >&5
     15767sed 's/^/| /' conftest.$ac_ext >&5
     15768
     15769        ac_cv_func_av_write_frame=no
     15770fi
     15771
     15772rm -rf conftest.dSYM
     15773rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15774      conftest$ac_exeext conftest.$ac_ext
     15775fi
     15776{ $as_echo "$as_me:$LINENO: result: $ac_cv_func_av_write_frame" >&5
     15777$as_echo "$ac_cv_func_av_write_frame" >&6; }
     15778if test "x$ac_cv_func_av_write_frame" = x""yes; then
     15779  :
     15780else
     15781  { { $as_echo "$as_me:$LINENO: error: oops! av_write_frame ?!?" >&5
     15782$as_echo "$as_me: error: oops! av_write_frame ?!?" >&2;}
     15783   { (exit 1); exit 1; }; }
     15784fi
     15785
    895615786
    895715787for ac_func in img_convert
    8958 do :
    8959   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    8960 if test "x$ac_cv_func_img_convert" = xyes; then :
     15788do
     15789as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     15790{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     15791$as_echo_n "checking for $ac_func... " >&6; }
     15792if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     15793  $as_echo_n "(cached) " >&6
     15794else
     15795  cat >conftest.$ac_ext <<_ACEOF
     15796/* confdefs.h.  */
     15797_ACEOF
     15798cat confdefs.h >>conftest.$ac_ext
     15799cat >>conftest.$ac_ext <<_ACEOF
     15800/* end confdefs.h.  */
     15801/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     15802   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15803#define $ac_func innocuous_$ac_func
     15804
     15805/* System header to define __stub macros and hopefully few prototypes,
     15806    which can conflict with char $ac_func (); below.
     15807    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15808    <limits.h> exists even on freestanding compilers.  */
     15809
     15810#ifdef __STDC__
     15811# include <limits.h>
     15812#else
     15813# include <assert.h>
     15814#endif
     15815
     15816#undef $ac_func
     15817
     15818/* Override any GCC internal prototype to avoid an error.
     15819   Use char because int might match the return type of a GCC
     15820   builtin and then its argument prototype would still apply.  */
     15821#ifdef __cplusplus
     15822extern "C"
     15823#endif
     15824char $ac_func ();
     15825/* The GNU C library defines this for functions which it implements
     15826    to always fail with ENOSYS.  Some functions are actually named
     15827    something starting with __ and the normal name is an alias.  */
     15828#if defined __stub_$ac_func || defined __stub___$ac_func
     15829choke me
     15830#endif
     15831
     15832int
     15833main ()
     15834{
     15835return $ac_func ();
     15836  ;
     15837  return 0;
     15838}
     15839_ACEOF
     15840rm -f conftest.$ac_objext conftest$ac_exeext
     15841if { (ac_try="$ac_link"
     15842case "(($ac_try" in
     15843  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15844  *) ac_try_echo=$ac_try;;
     15845esac
     15846eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15847$as_echo "$ac_try_echo") >&5
     15848  (eval "$ac_link") 2>conftest.er1
     15849  ac_status=$?
     15850  grep -v '^ *+' conftest.er1 >conftest.err
     15851  rm -f conftest.er1
     15852  cat conftest.err >&5
     15853  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15854  (exit $ac_status); } && {
     15855         test -z "$ac_cxx_werror_flag" ||
     15856         test ! -s conftest.err
     15857       } && test -s conftest$ac_exeext && {
     15858         test "$cross_compiling" = yes ||
     15859         $as_test_x conftest$ac_exeext
     15860       }; then
     15861  eval "$as_ac_var=yes"
     15862else
     15863  $as_echo "$as_me: failed program was:" >&5
     15864sed 's/^/| /' conftest.$ac_ext >&5
     15865
     15866        eval "$as_ac_var=no"
     15867fi
     15868
     15869rm -rf conftest.dSYM
     15870rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15871      conftest$ac_exeext conftest.$ac_ext
     15872fi
     15873ac_res=`eval 'as_val=${'$as_ac_var'}
     15874                 $as_echo "$as_val"'`
     15875               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     15876$as_echo "$ac_res" >&6; }
     15877as_val=`eval 'as_val=${'$as_ac_var'}
     15878                 $as_echo "$as_val"'`
     15879   if test "x$as_val" = x""yes; then
    896115880  cat >>confdefs.h <<_ACEOF
    8962 #define HAVE_IMG_CONVERT 1
     15881#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    896315882_ACEOF
    896415883
     
    896615885done
    896715886
     15887
    896815888for ac_func in sws_scale
    8969 do :
    8970   ac_fn_cxx_check_func "$LINENO" "sws_scale" "ac_cv_func_sws_scale"
    8971 if test "x$ac_cv_func_sws_scale" = xyes; then :
     15889do
     15890as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     15891{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     15892$as_echo_n "checking for $ac_func... " >&6; }
     15893if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     15894  $as_echo_n "(cached) " >&6
     15895else
     15896  cat >conftest.$ac_ext <<_ACEOF
     15897/* confdefs.h.  */
     15898_ACEOF
     15899cat confdefs.h >>conftest.$ac_ext
     15900cat >>conftest.$ac_ext <<_ACEOF
     15901/* end confdefs.h.  */
     15902/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     15903   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     15904#define $ac_func innocuous_$ac_func
     15905
     15906/* System header to define __stub macros and hopefully few prototypes,
     15907    which can conflict with char $ac_func (); below.
     15908    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     15909    <limits.h> exists even on freestanding compilers.  */
     15910
     15911#ifdef __STDC__
     15912# include <limits.h>
     15913#else
     15914# include <assert.h>
     15915#endif
     15916
     15917#undef $ac_func
     15918
     15919/* Override any GCC internal prototype to avoid an error.
     15920   Use char because int might match the return type of a GCC
     15921   builtin and then its argument prototype would still apply.  */
     15922#ifdef __cplusplus
     15923extern "C"
     15924#endif
     15925char $ac_func ();
     15926/* The GNU C library defines this for functions which it implements
     15927    to always fail with ENOSYS.  Some functions are actually named
     15928    something starting with __ and the normal name is an alias.  */
     15929#if defined __stub_$ac_func || defined __stub___$ac_func
     15930choke me
     15931#endif
     15932
     15933int
     15934main ()
     15935{
     15936return $ac_func ();
     15937  ;
     15938  return 0;
     15939}
     15940_ACEOF
     15941rm -f conftest.$ac_objext conftest$ac_exeext
     15942if { (ac_try="$ac_link"
     15943case "(($ac_try" in
     15944  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     15945  *) ac_try_echo=$ac_try;;
     15946esac
     15947eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     15948$as_echo "$ac_try_echo") >&5
     15949  (eval "$ac_link") 2>conftest.er1
     15950  ac_status=$?
     15951  grep -v '^ *+' conftest.er1 >conftest.err
     15952  rm -f conftest.er1
     15953  cat conftest.err >&5
     15954  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     15955  (exit $ac_status); } && {
     15956         test -z "$ac_cxx_werror_flag" ||
     15957         test ! -s conftest.err
     15958       } && test -s conftest$ac_exeext && {
     15959         test "$cross_compiling" = yes ||
     15960         $as_test_x conftest$ac_exeext
     15961       }; then
     15962  eval "$as_ac_var=yes"
     15963else
     15964  $as_echo "$as_me: failed program was:" >&5
     15965sed 's/^/| /' conftest.$ac_ext >&5
     15966
     15967        eval "$as_ac_var=no"
     15968fi
     15969
     15970rm -rf conftest.dSYM
     15971rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     15972      conftest$ac_exeext conftest.$ac_ext
     15973fi
     15974ac_res=`eval 'as_val=${'$as_ac_var'}
     15975                 $as_echo "$as_val"'`
     15976               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     15977$as_echo "$ac_res" >&6; }
     15978as_val=`eval 'as_val=${'$as_ac_var'}
     15979                 $as_echo "$as_val"'`
     15980   if test "x$as_val" = x""yes; then
    897215981  cat >>confdefs.h <<_ACEOF
    8973 #define HAVE_SWS_SCALE 1
     15982#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    897415983_ACEOF
    897515984
     
    897715986done
    897815987
    8979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     15988cat >conftest.$ac_ext <<_ACEOF
     15989/* confdefs.h.  */
     15990_ACEOF
     15991cat confdefs.h >>conftest.$ac_ext
     15992cat >>conftest.$ac_ext <<_ACEOF
    898015993/* end confdefs.h.  */
    898115994
     
    899816011}
    899916012_ACEOF
    9000 if ac_fn_cxx_try_compile "$LINENO"; then :
     16013rm -f conftest.$ac_objext
     16014if { (ac_try="$ac_compile"
     16015case "(($ac_try" in
     16016  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16017  *) ac_try_echo=$ac_try;;
     16018esac
     16019eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16020$as_echo "$ac_try_echo") >&5
     16021  (eval "$ac_compile") 2>conftest.er1
     16022  ac_status=$?
     16023  grep -v '^ *+' conftest.er1 >conftest.err
     16024  rm -f conftest.er1
     16025  cat conftest.err >&5
     16026  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16027  (exit $ac_status); } && {
     16028         test -z "$ac_cxx_werror_flag" ||
     16029         test ! -s conftest.err
     16030       } && test -s conftest.$ac_objext; then
    900116031  ac_avmedia_type_video="yes"
    900216032else
    9003   ac_avmedia_type_video="no"
    9004 fi
     16033  $as_echo "$as_me: failed program was:" >&5
     16034sed 's/^/| /' conftest.$ac_ext >&5
     16035
     16036        ac_avmedia_type_video="no"
     16037fi
     16038
    900516039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    900616040if test "$ac_avmedia_type_video" == "yes" ; then
    900716041
    9008 $as_echo "#define HAVE_AVMEDIA_TYPE_VIDEO 1" >>confdefs.h
    9009 
    9010 fi
    9011 
    9012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5
     16042cat >>confdefs.h <<\_ACEOF
     16043#define HAVE_AVMEDIA_TYPE_VIDEO 1
     16044_ACEOF
     16045
     16046fi
     16047
     16048
     16049{ $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5
    901316050$as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; }
    9014 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :
     16051if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then
    901516052  $as_echo_n "(cached) " >&6
    901616053else
    901716054  ac_check_lib_save_LIBS=$LIBS
    901816055LIBS="-lavcodec  $LIBS"
    9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16056cat >conftest.$ac_ext <<_ACEOF
     16057/* confdefs.h.  */
     16058_ACEOF
     16059cat confdefs.h >>conftest.$ac_ext
     16060cat >>conftest.$ac_ext <<_ACEOF
    902016061/* end confdefs.h.  */
    902116062
     
    903516076}
    903616077_ACEOF
    9037 if ac_fn_cxx_try_link "$LINENO"; then :
     16078rm -f conftest.$ac_objext conftest$ac_exeext
     16079if { (ac_try="$ac_link"
     16080case "(($ac_try" in
     16081  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16082  *) ac_try_echo=$ac_try;;
     16083esac
     16084eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16085$as_echo "$ac_try_echo") >&5
     16086  (eval "$ac_link") 2>conftest.er1
     16087  ac_status=$?
     16088  grep -v '^ *+' conftest.er1 >conftest.err
     16089  rm -f conftest.er1
     16090  cat conftest.err >&5
     16091  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16092  (exit $ac_status); } && {
     16093         test -z "$ac_cxx_werror_flag" ||
     16094         test ! -s conftest.err
     16095       } && test -s conftest$ac_exeext && {
     16096         test "$cross_compiling" = yes ||
     16097         $as_test_x conftest$ac_exeext
     16098       }; then
    903816099  ac_cv_lib_avcodec_avcodec_alloc_frame=yes
    903916100else
    9040   ac_cv_lib_avcodec_avcodec_alloc_frame=no
    9041 fi
    9042 rm -f core conftest.err conftest.$ac_objext \
    9043     conftest$ac_exeext conftest.$ac_ext
     16101  $as_echo "$as_me: failed program was:" >&5
     16102sed 's/^/| /' conftest.$ac_ext >&5
     16103
     16104        ac_cv_lib_avcodec_avcodec_alloc_frame=no
     16105fi
     16106
     16107rm -rf conftest.dSYM
     16108rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     16109      conftest$ac_exeext conftest.$ac_ext
    904416110LIBS=$ac_check_lib_save_LIBS
    904516111fi
    9046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
     16112{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
    904716113$as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; }
    9048 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then :
     16114if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then
    904916115  cat >>confdefs.h <<_ACEOF
    905016116#define HAVE_LIBAVCODEC 1
     
    905616122
    905716123# Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found
    9058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5
     16124
     16125{ $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5
    905916126$as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; }
    9060 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :
     16127if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then
    906116128  $as_echo_n "(cached) " >&6
    906216129else
    906316130  ac_check_lib_save_LIBS=$LIBS
    906416131LIBS="-lavformat  $LIBS"
    9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16132cat >conftest.$ac_ext <<_ACEOF
     16133/* confdefs.h.  */
     16134_ACEOF
     16135cat confdefs.h >>conftest.$ac_ext
     16136cat >>conftest.$ac_ext <<_ACEOF
    906616137/* end confdefs.h.  */
    906716138
     
    908116152}
    908216153_ACEOF
    9083 if ac_fn_cxx_try_link "$LINENO"; then :
     16154rm -f conftest.$ac_objext conftest$ac_exeext
     16155if { (ac_try="$ac_link"
     16156case "(($ac_try" in
     16157  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16158  *) ac_try_echo=$ac_try;;
     16159esac
     16160eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16161$as_echo "$ac_try_echo") >&5
     16162  (eval "$ac_link") 2>conftest.er1
     16163  ac_status=$?
     16164  grep -v '^ *+' conftest.er1 >conftest.err
     16165  rm -f conftest.er1
     16166  cat conftest.err >&5
     16167  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16168  (exit $ac_status); } && {
     16169         test -z "$ac_cxx_werror_flag" ||
     16170         test ! -s conftest.err
     16171       } && test -s conftest$ac_exeext && {
     16172         test "$cross_compiling" = yes ||
     16173         $as_test_x conftest$ac_exeext
     16174       }; then
    908416175  ac_cv_lib_avformat_avformat_alloc_context=yes
    908516176else
    9086   ac_cv_lib_avformat_avformat_alloc_context=no
    9087 fi
    9088 rm -f core conftest.err conftest.$ac_objext \
    9089     conftest$ac_exeext conftest.$ac_ext
     16177  $as_echo "$as_me: failed program was:" >&5
     16178sed 's/^/| /' conftest.$ac_ext >&5
     16179
     16180        ac_cv_lib_avformat_avformat_alloc_context=no
     16181fi
     16182
     16183rm -rf conftest.dSYM
     16184rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     16185      conftest$ac_exeext conftest.$ac_ext
    909016186LIBS=$ac_check_lib_save_LIBS
    909116187fi
    9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
     16188{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
    909316189$as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; }
    9094 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = xyes; then :
     16190if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then
    909516191  cat >>confdefs.h <<_ACEOF
    909616192#define HAVE_LIBAVFORMAT 1
     
    910016196
    910116197else
    9102   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5
     16198
     16199{ $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5
    910316200$as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; }
    9104 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :
     16201if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then
    910516202  $as_echo_n "(cached) " >&6
    910616203else
    910716204  ac_check_lib_save_LIBS=$LIBS
    910816205LIBS="-lavformat  $LIBS"
    9109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     16206cat >conftest.$ac_ext <<_ACEOF
     16207/* confdefs.h.  */
     16208_ACEOF
     16209cat confdefs.h >>conftest.$ac_ext
     16210cat >>conftest.$ac_ext <<_ACEOF
    911016211/* end confdefs.h.  */
    911116212
     
    912516226}
    912616227_ACEOF
    9127 if ac_fn_cxx_try_link "$LINENO"; then :
     16228rm -f conftest.$ac_objext conftest$ac_exeext
     16229if { (ac_try="$ac_link"
     16230case "(($ac_try" in
     16231  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16232  *) ac_try_echo=$ac_try;;
     16233esac
     16234eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16235$as_echo "$ac_try_echo") >&5
     16236  (eval "$ac_link") 2>conftest.er1
     16237  ac_status=$?
     16238  grep -v '^ *+' conftest.er1 >conftest.err
     16239  rm -f conftest.er1
     16240  cat conftest.err >&5
     16241  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16242  (exit $ac_status); } && {
     16243         test -z "$ac_cxx_werror_flag" ||
     16244         test ! -s conftest.err
     16245       } && test -s conftest$ac_exeext && {
     16246         test "$cross_compiling" = yes ||
     16247         $as_test_x conftest$ac_exeext
     16248       }; then
    912816249  ac_cv_lib_avformat_av_alloc_format_context=yes
    912916250else
    9130   ac_cv_lib_avformat_av_alloc_format_context=no
    9131 fi
    9132 rm -f core conftest.err conftest.$ac_objext \
    9133     conftest$ac_exeext conftest.$ac_ext
     16251  $as_echo "$as_me: failed program was:" >&5
     16252sed 's/^/| /' conftest.$ac_ext >&5
     16253
     16254        ac_cv_lib_avformat_av_alloc_format_context=no
     16255fi
     16256
     16257rm -rf conftest.dSYM
     16258rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     16259      conftest$ac_exeext conftest.$ac_ext
    913416260LIBS=$ac_check_lib_save_LIBS
    913516261fi
    9136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
     16262{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
    913716263$as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; }
    9138 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = xyes; then :
     16264if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then
    913916265  cat >>confdefs.h <<_ACEOF
    914016266#define HAVE_LIBAVFORMAT 1
     
    914416270
    914516271else
    9146   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavformat not usable" >&5
     16272  { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5
    914716273$as_echo "$as_me: WARNING: libavformat not usable" >&2;}
    914816274fi
     
    915216278
    915316279
    9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
     16280{ $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
    915516281$as_echo_n "checking for nVidia Cg installation... " >&6; }
    915616282CG_DIR=""
     
    916516291  fi
    916616292done
    9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
     16293{ $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
    916816294$as_echo "${CG_DIR}" >&6; }
    916916295
    9170 CG_INC_DIR="$dir/include"
    9171 CG_LIB_DIR="$dir/lib"
     16296CG_INC_SPEC="-I${CG_DIR}/include"
     16297CG_LIB_DIR="${CG_DIR}/lib"
    917216298
    917316299save_CPPFLAGS=$CPPFLAGS
    9174 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS"
     16300CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS"
     16301
    917516302for ac_header in Cg/cgGL.h
    9176 do :
    9177   ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
    9178 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then :
     16303do
     16304as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     16305if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     16306  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     16307$as_echo_n "checking for $ac_header... " >&6; }
     16308if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     16309  $as_echo_n "(cached) " >&6
     16310fi
     16311ac_res=`eval 'as_val=${'$as_ac_Header'}
     16312                 $as_echo "$as_val"'`
     16313               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     16314$as_echo "$ac_res" >&6; }
     16315else
     16316  # Is the header compilable?
     16317{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     16318$as_echo_n "checking $ac_header usability... " >&6; }
     16319cat >conftest.$ac_ext <<_ACEOF
     16320/* confdefs.h.  */
     16321_ACEOF
     16322cat confdefs.h >>conftest.$ac_ext
     16323cat >>conftest.$ac_ext <<_ACEOF
     16324/* end confdefs.h.  */
     16325$ac_includes_default
     16326#include <$ac_header>
     16327_ACEOF
     16328rm -f conftest.$ac_objext
     16329if { (ac_try="$ac_compile"
     16330case "(($ac_try" in
     16331  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16332  *) ac_try_echo=$ac_try;;
     16333esac
     16334eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16335$as_echo "$ac_try_echo") >&5
     16336  (eval "$ac_compile") 2>conftest.er1
     16337  ac_status=$?
     16338  grep -v '^ *+' conftest.er1 >conftest.err
     16339  rm -f conftest.er1
     16340  cat conftest.err >&5
     16341  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16342  (exit $ac_status); } && {
     16343         test -z "$ac_cxx_werror_flag" ||
     16344         test ! -s conftest.err
     16345       } && test -s conftest.$ac_objext; then
     16346  ac_header_compiler=yes
     16347else
     16348  $as_echo "$as_me: failed program was:" >&5
     16349sed 's/^/| /' conftest.$ac_ext >&5
     16350
     16351        ac_header_compiler=no
     16352fi
     16353
     16354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     16355{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     16356$as_echo "$ac_header_compiler" >&6; }
     16357
     16358# Is the header present?
     16359{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     16360$as_echo_n "checking $ac_header presence... " >&6; }
     16361cat >conftest.$ac_ext <<_ACEOF
     16362/* confdefs.h.  */
     16363_ACEOF
     16364cat confdefs.h >>conftest.$ac_ext
     16365cat >>conftest.$ac_ext <<_ACEOF
     16366/* end confdefs.h.  */
     16367#include <$ac_header>
     16368_ACEOF
     16369if { (ac_try="$ac_cpp conftest.$ac_ext"
     16370case "(($ac_try" in
     16371  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     16372  *) ac_try_echo=$ac_try;;
     16373esac
     16374eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     16375$as_echo "$ac_try_echo") >&5
     16376  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     16377  ac_status=$?
     16378  grep -v '^ *+' conftest.er1 >conftest.err
     16379  rm -f conftest.er1
     16380  cat conftest.err >&5
     16381  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     16382  (exit $ac_status); } >/dev/null && {
     16383         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     16384         test ! -s conftest.err
     16385       }; then
     16386  ac_header_preproc=yes
     16387else
     16388  $as_echo "$as_me: failed program was:" >&5
     16389sed 's/^/| /' conftest.$ac_ext >&5
     16390
     16391  ac_header_preproc=no
     16392fi
     16393
     16394rm -f conftest.err conftest.$ac_ext
     16395{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     16396$as_echo "$ac_header_preproc" >&6; }
     16397
     16398# So?  What about this header?
     16399case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     16400  yes:no: )
     16401    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     16402$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     16403    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     16404$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     16405    ac_header_preproc=yes
     16406    ;;
     16407  no:yes:* )
     16408    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     16409$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     16410    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     16411$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     16412    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     16413$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     16414    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     16415$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     16416    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     16417$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     16418    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     16419$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     16420    ( cat <<\_ASBOX
     16421## ----------------------------------- ##
     16422## Report this to rappture@nanohub.org ##
     16423## ----------------------------------- ##
     16424_ASBOX
     16425     ) | sed "s/^/$as_me: WARNING:     /" >&2
     16426    ;;
     16427esac
     16428{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     16429$as_echo_n "checking for $ac_header... " >&6; }
     16430if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     16431  $as_echo_n "(cached) " >&6
     16432else
     16433  eval "$as_ac_Header=\$ac_header_preproc"
     16434fi
     16435ac_res=`eval 'as_val=${'$as_ac_Header'}
     16436                 $as_echo "$as_val"'`
     16437               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     16438$as_echo "$ac_res" >&6; }
     16439
     16440fi
     16441as_val=`eval 'as_val=${'$as_ac_Header'}
     16442                 $as_echo "$as_val"'`
     16443   if test "x$as_val" = x""yes; then
    917916444  cat >>confdefs.h <<_ACEOF
    9180 #define HAVE_CG_CGGL_H 1
    9181 _ACEOF
    9182 
    9183 else
    9184   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5
     16445#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     16446_ACEOF
     16447
     16448else
     16449  { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5
    918516450$as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;}
    918616451fi
     
    919116456
    919216457if test "${CG_DIR}" = "/usr" ; then
    9193   CG_DIR=""
    9194 else
     16458  CG_INC_SPEC=""
     16459  CG_LIB_SPEC="-lCg -lCgGL"
     16460else
     16461  CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL"
    919516462  LD_RPATH="$loader_run_path:${CG_LIB_DIR}"
    919616463fi
    919716464
    919816465SUBDIRS="nanoscale nanovis pymolproxy vtkvis"
    9199 
    920016466
    920116467
     
    925816524    *${as_nl}*)
    925916525      case $ac_var in #(
    9260       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     16526      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    926116527$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    926216528      esac
     
    926416530      _ | IFS | as_nl) ;; #(
    926516531      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    9266       *) { eval $ac_var=; unset $ac_var;} ;;
     16532      *) $as_unset $ac_var ;;
    926716533      esac ;;
    926816534    esac
     
    927216538    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    927316539    *${as_nl}ac_space=\ *)
    9274       # `set' does not quote correctly, so add quotes: double-quote
    9275       # substitution turns \\\\ into \\, and sed turns \\ into \.
     16540      # `set' does not quote correctly, so add quotes (double-quote
     16541      # substitution turns \\\\ into \\, and sed turns \\ into \).
    927616542      sed -n \
    927716543        "s/'/'\\\\''/g;
     
    929516561if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    929616562  if test -w "$cache_file"; then
    9297     if test "x$cache_file" != "x/dev/null"; then
    9298       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     16563    test "x$cache_file" != "x/dev/null" &&
     16564      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
    929916565$as_echo "$as_me: updating cache $cache_file" >&6;}
    9300       if test ! -f "$cache_file" || test -h "$cache_file"; then
    9301         cat confcache >"$cache_file"
    9302       else
    9303         case $cache_file in #(
    9304         */* | ?:*)
    9305           mv -f confcache "$cache_file"$$ &&
    9306           mv -f "$cache_file"$$ "$cache_file" ;; #(
    9307         *)
    9308           mv -f confcache "$cache_file" ;;
    9309         esac
    9310       fi
    9311     fi
     16566    cat confcache >$cache_file
    931216567  else
    9313     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     16568    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    931416569$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    931516570  fi
     
    932516580ac_libobjs=
    932616581ac_ltlibobjs=
    9327 U=
    932816582for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    932916583  # 1. Remove the extension, and $U if already installed.
     
    933216586  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    933316587  #    will be set to the directory where LIBOBJS objects are built.
    9334   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    9335   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     16588  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     16589  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    933616590done
    933716591LIBOBJS=$ac_libobjs
     
    934216596
    934316597
    9344 : "${CONFIG_STATUS=./config.status}"
     16598: ${CONFIG_STATUS=./config.status}
    934516599ac_write_fail=0
    934616600ac_clean_files_save=$ac_clean_files
    934716601ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    9348 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     16602{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    934916603$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    9350 as_write_fail=0
    9351 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     16604cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    935216605#! $SHELL
    935316606# Generated by $as_me.
     
    935916612ac_cs_recheck=false
    936016613ac_cs_silent=false
    9361 
    936216614SHELL=\${CONFIG_SHELL-$SHELL}
    9363 export SHELL
    9364 _ASEOF
    9365 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    9366 ## -------------------- ##
    9367 ## M4sh Initialization. ##
    9368 ## -------------------- ##
     16615_ACEOF
     16616
     16617cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     16618## --------------------- ##
     16619## M4sh Initialization.  ##
     16620## --------------------- ##
    936916621
    937016622# Be more Bourne compatible
    937116623DUALCASE=1; export DUALCASE # for MKS sh
    9372 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     16624if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    937316625  emulate sh
    937416626  NULLCMD=:
     
    937816630  setopt NO_GLOB_SUBST
    937916631else
    9380   case `(set -o) 2>/dev/null` in #(
    9381   *posix*) :
    9382     set -o posix ;; #(
    9383   *) :
    9384      ;;
    9385 esac
    9386 fi
    9387 
     16632  case `(set -o) 2>/dev/null` in
     16633  *posix*) set -o posix ;;
     16634esac
     16635
     16636fi
     16637
     16638
     16639
     16640
     16641# PATH needs CR
     16642# Avoid depending upon Character Ranges.
     16643as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     16644as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     16645as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     16646as_cr_digits='0123456789'
     16647as_cr_alnum=$as_cr_Letters$as_cr_digits
    938816648
    938916649as_nl='
     
    939416654as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    939516655as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    9396 # Prefer a ksh shell builtin over an external printf program on Solaris,
    9397 # but without wasting forks for bash or zsh.
    9398 if test -z "$BASH_VERSION$ZSH_VERSION" \
    9399     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    9400   as_echo='print -r --'
    9401   as_echo_n='print -rn --'
    9402 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     16656if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    940316657  as_echo='printf %s\n'
    940416658  as_echo_n='printf %s'
     
    941116665    as_echo_n_body='eval
    941216666      arg=$1;
    9413       case $arg in #(
     16667      case $arg in
    941416668      *"$as_nl"*)
    941516669        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    943416688fi
    943516689
     16690# Support unset when possible.
     16691if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     16692  as_unset=unset
     16693else
     16694  as_unset=false
     16695fi
     16696
    943616697
    943716698# IFS
     
    944316704
    944416705# Find who we are.  Look in the path if we contain no directory separator.
    9445 as_myself=
    9446 case $0 in #((
     16706case $0 in
    944716707  *[\\/]* ) as_myself=$0 ;;
    944816708  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    945116711  IFS=$as_save_IFS
    945216712  test -z "$as_dir" && as_dir=.
    9453     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    9454   done
     16713  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     16714done
    945516715IFS=$as_save_IFS
    945616716
     
    946416724if test ! -f "$as_myself"; then
    946516725  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    9466   exit 1
    9467 fi
    9468 
    9469 # Unset variables that we do not need and which cause bugs (e.g. in
    9470 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    9471 # suppresses any "Segmentation fault" message there.  '((' could
    9472 # trigger a bug in pdksh 5.2.14.
    9473 for as_var in BASH_ENV ENV MAIL MAILPATH
    9474 do eval test x\${$as_var+set} = xset \
    9475   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     16726  { (exit 1); exit 1; }
     16727fi
     16728
     16729# Work around bugs in pre-3.0 UWIN ksh.
     16730for as_var in ENV MAIL MAILPATH
     16731do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    947616732done
    947716733PS1='$ '
     
    948516741export LANGUAGE
    948616742
    9487 # CDPATH.
    9488 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    9489 
    9490 
    9491 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    9492 # ----------------------------------------
    9493 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    9494 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    9495 # script with STATUS, using 1 if that was 0.
    9496 as_fn_error ()
    9497 {
    9498   as_status=$1; test $as_status -eq 0 && as_status=1
    9499   if test "$4"; then
    9500     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    9501     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    9502   fi
    9503   $as_echo "$as_me: error: $2" >&2
    9504   as_fn_exit $as_status
    9505 } # as_fn_error
    9506 
    9507 
    9508 # as_fn_set_status STATUS
    9509 # -----------------------
    9510 # Set $? to STATUS, without forking.
    9511 as_fn_set_status ()
    9512 {
    9513   return $1
    9514 } # as_fn_set_status
    9515 
    9516 # as_fn_exit STATUS
    9517 # -----------------
    9518 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    9519 as_fn_exit ()
    9520 {
    9521   set +e
    9522   as_fn_set_status $1
    9523   exit $1
    9524 } # as_fn_exit
    9525 
    9526 # as_fn_unset VAR
    9527 # ---------------
    9528 # Portably unset VAR.
    9529 as_fn_unset ()
    9530 {
    9531   { eval $1=; unset $1;}
    9532 }
    9533 as_unset=as_fn_unset
    9534 # as_fn_append VAR VALUE
    9535 # ----------------------
    9536 # Append the text in VALUE to the end of the definition contained in VAR. Take
    9537 # advantage of any shell optimizations that allow amortized linear growth over
    9538 # repeated appends, instead of the typical quadratic growth present in naive
    9539 # implementations.
    9540 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    9541   eval 'as_fn_append ()
    9542   {
    9543     eval $1+=\$2
    9544   }'
    9545 else
    9546   as_fn_append ()
    9547   {
    9548     eval $1=\$$1\$2
    9549   }
    9550 fi # as_fn_append
    9551 
    9552 # as_fn_arith ARG...
    9553 # ------------------
    9554 # Perform arithmetic evaluation on the ARGs, and store the result in the
    9555 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    9556 # must be portable across $(()) and expr.
    9557 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    9558   eval 'as_fn_arith ()
    9559   {
    9560     as_val=$(( $* ))
    9561   }'
    9562 else
    9563   as_fn_arith ()
    9564   {
    9565     as_val=`expr "$@" || test $? -eq 1`
    9566   }
    9567 fi # as_fn_arith
    9568 
    9569 
     16743# Required to use basename.
    957016744if expr a : '\(a\)' >/dev/null 2>&1 &&
    957116745   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    958116755fi
    958216756
    9583 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    9584   as_dirname=dirname
    9585 else
    9586   as_dirname=false
    9587 fi
    9588 
     16757
     16758# Name of the executable.
    958916759as_me=`$as_basename -- "$0" ||
    959016760$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    960616776          s/.*/./; q'`
    960716777
    9608 # Avoid depending upon Character Ranges.
    9609 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    9610 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    9611 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    9612 as_cr_digits='0123456789'
    9613 as_cr_alnum=$as_cr_Letters$as_cr_digits
     16778# CDPATH.
     16779$as_unset CDPATH
     16780
     16781
     16782
     16783  as_lineno_1=$LINENO
     16784  as_lineno_2=$LINENO
     16785  test "x$as_lineno_1" != "x$as_lineno_2" &&
     16786  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     16787
     16788  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     16789  # uniformly replaced by the line number.  The first 'sed' inserts a
     16790  # line-number line after each line using $LINENO; the second 'sed'
     16791  # does the real work.  The second script uses 'N' to pair each
     16792  # line-number line with the line containing $LINENO, and appends
     16793  # trailing '-' during substitution so that $LINENO is not a special
     16794  # case at line end.
     16795  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     16796  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     16797  # E. McMahon (1931-1989) for sed's syntax.  :-)
     16798  sed -n '
     16799    p
     16800    /[$]LINENO/=
     16801  ' <$as_myself |
     16802    sed '
     16803      s/[$]LINENO.*/&-/
     16804      t lineno
     16805      b
     16806      :lineno
     16807      N
     16808      :loop
     16809      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     16810      t loop
     16811      s/-\n.*//
     16812    ' >$as_me.lineno &&
     16813  chmod +x "$as_me.lineno" ||
     16814    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     16815   { (exit 1); exit 1; }; }
     16816
     16817  # Don't try to exec as it changes $[0], causing all sort of problems
     16818  # (the dirname of $[0] is not the place where we might find the
     16819  # original and so on.  Autoconf is especially sensitive to this).
     16820  . "./$as_me.lineno"
     16821  # Exit status is that of the last command.
     16822  exit
     16823}
     16824
     16825
     16826if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     16827  as_dirname=dirname
     16828else
     16829  as_dirname=false
     16830fi
    961416831
    961516832ECHO_C= ECHO_N= ECHO_T=
    9616 case `echo -n x` in #(((((
     16833case `echo -n x` in
    961716834-n*)
    9618   case `echo 'xy\c'` in
     16835  case `echo 'x\c'` in
    961916836  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    9620   xy)  ECHO_C='\c';;
    9621   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    9622        ECHO_T=' ';;
     16837  *)   ECHO_C='\c';;
    962316838  esac;;
    962416839*)
    962516840  ECHO_N='-n';;
    962616841esac
     16842if expr a : '\(a\)' >/dev/null 2>&1 &&
     16843   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     16844  as_expr=expr
     16845else
     16846  as_expr=false
     16847fi
    962716848
    962816849rm -f conf$$ conf$$.exe conf$$.file
     
    965316874rmdir conf$$.dir 2>/dev/null
    965416875
    9655 
    9656 # as_fn_mkdir_p
    9657 # -------------
    9658 # Create "$as_dir" as a directory, including parents if necessary.
    9659 as_fn_mkdir_p ()
    9660 {
    9661 
    9662   case $as_dir in #(
    9663   -*) as_dir=./$as_dir;;
    9664   esac
    9665   test -d "$as_dir" || eval $as_mkdir_p || {
    9666     as_dirs=
    9667     while :; do
    9668       case $as_dir in #(
    9669       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    9670       *) as_qdir=$as_dir;;
    9671       esac
    9672       as_dirs="'$as_qdir' $as_dirs"
    9673       as_dir=`$as_dirname -- "$as_dir" ||
    9674 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9675          X"$as_dir" : 'X\(//\)[^/]' \| \
    9676          X"$as_dir" : 'X\(//\)$' \| \
    9677          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    9678 $as_echo X"$as_dir" |
    9679     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    9680             s//\1/
    9681             q
    9682           }
    9683           /^X\(\/\/\)[^/].*/{
    9684             s//\1/
    9685             q
    9686           }
    9687           /^X\(\/\/\)$/{
    9688             s//\1/
    9689             q
    9690           }
    9691           /^X\(\/\).*/{
    9692             s//\1/
    9693             q
    9694           }
    9695           s/.*/./; q'`
    9696       test -d "$as_dir" && break
    9697     done
    9698     test -z "$as_dirs" || eval "mkdir $as_dirs"
    9699   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    9700 
    9701 
    9702 } # as_fn_mkdir_p
    970316876if mkdir -p . 2>/dev/null; then
    9704   as_mkdir_p='mkdir -p "$as_dir"'
     16877  as_mkdir_p=:
    970516878else
    970616879  test -d ./-p && rmdir ./-p
     
    972116894        test -d "$1/.";
    972216895      else
    9723         case $1 in #(
     16896        case $1 in
    972416897        -*)set "./$1";;
    972516898        esac;
    9726         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     16899        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    972716900        ???[sx]*):;;*)false;;esac;fi
    972816901    '\'' sh
     
    973916912
    974016913exec 6>&1
    9741 ## ----------------------------------- ##
    9742 ## Main body of $CONFIG_STATUS script. ##
    9743 ## ----------------------------------- ##
    9744 _ASEOF
    9745 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
    9746 
    9747 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9748 # Save the log message, to keep $0 and so on meaningful, and to
     16914
     16915# Save the log message, to keep $[0] and so on meaningful, and to
    974916916# report actual input values of CONFIG_FILES etc. instead of their
    975016917# values after options handling.
    975116918ac_log="
    975216919This file was extended by vizservers $as_me 0.1, which was
    9753 generated by GNU Autoconf 2.68.  Invocation command line was
     16920generated by GNU Autoconf 2.63.  Invocation command line was
    975416921
    975516922  CONFIG_FILES    = $CONFIG_FILES
     
    978216949cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    978316950ac_cs_usage="\
    9784 \`$as_me' instantiates files and other configuration actions
    9785 from templates according to the current configuration.  Unless the files
    9786 and actions are specified as TAGs, all are instantiated by default.
    9787 
    9788 Usage: $0 [OPTION]... [TAG]...
     16951\`$as_me' instantiates files from templates according to the
     16952current configuration.
     16953
     16954Usage: $0 [OPTION]... [FILE]...
    978916955
    979016956  -h, --help       print this help, then exit
    979116957  -V, --version    print version number and configuration settings, then exit
    9792       --config     print configuration, then exit
    979316958  -q, --quiet, --silent
    979416959                   do not print progress messages
     
    980616971$config_headers
    980716972
    9808 Report bugs to <rappture@nanohub.org>."
     16973Report bugs to <bug-autoconf@gnu.org>."
    980916974
    981016975_ACEOF
    981116976cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    9812 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    981316977ac_cs_version="\\
    981416978vizservers config.status 0.1
    9815 configured by $0, generated by GNU Autoconf 2.68,
    9816   with options \\"\$ac_cs_config\\"
    9817 
    9818 Copyright (C) 2010 Free Software Foundation, Inc.
     16979configured by $0, generated by GNU Autoconf 2.63,
     16980  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     16981
     16982Copyright (C) 2008 Free Software Foundation, Inc.
    981916983This config.status script is free software; the Free Software Foundation
    982016984gives unlimited permission to copy, distribute and modify it."
     
    983316997do
    983416998  case $1 in
    9835   --*=?*)
     16999  --*=*)
    983617000    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    983717001    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    9838     ac_shift=:
    9839     ;;
    9840   --*=)
    9841     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    9842     ac_optarg=
    984317002    ac_shift=:
    984417003    ;;
     
    985617015  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    985717016    $as_echo "$ac_cs_version"; exit ;;
    9858   --config | --confi | --conf | --con | --co | --c )
    9859     $as_echo "$ac_cs_config"; exit ;;
    986017017  --debug | --debu | --deb | --de | --d | -d )
    986117018    debug=: ;;
     
    986417021    case $ac_optarg in
    986517022    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    9866     '') as_fn_error $? "missing file argument" ;;
    986717023    esac
    9868     as_fn_append CONFIG_FILES " '$ac_optarg'"
     17024    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    986917025    ac_need_defaults=false;;
    987017026  --header | --heade | --head | --hea )
     
    987317029    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    987417030    esac
    9875     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     17031    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
    987617032    ac_need_defaults=false;;
    987717033  --he | --h)
    987817034    # Conflict between --help and --header
    9879     as_fn_error $? "ambiguous option: \`$1'
    9880 Try \`$0 --help' for more information.";;
     17035    { $as_echo "$as_me: error: ambiguous option: $1
     17036Try \`$0 --help' for more information." >&2
     17037   { (exit 1); exit 1; }; };;
    988117038  --help | --hel | -h )
    988217039    $as_echo "$ac_cs_usage"; exit ;;
     
    988617043
    988717044  # This is an error.
    9888   -*) as_fn_error $? "unrecognized option: \`$1'
    9889 Try \`$0 --help' for more information." ;;
    9890 
    9891   *) as_fn_append ac_config_targets " $1"
     17045  -*) { $as_echo "$as_me: error: unrecognized option: $1
     17046Try \`$0 --help' for more information." >&2
     17047   { (exit 1); exit 1; }; } ;;
     17048
     17049  *) ac_config_targets="$ac_config_targets $1"
    989217050     ac_need_defaults=false ;;
    989317051
     
    995417112    "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;;
    995517113
    9956   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     17114  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     17115$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     17116   { (exit 1); exit 1; }; };;
    995717117  esac
    995817118done
     
    997617136$debug ||
    997717137{
    9978   tmp= ac_tmp=
     17138  tmp=
    997917139  trap 'exit_status=$?
    9980   : "${ac_tmp:=$tmp}"
    9981   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     17140  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    998217141' 0
    9983   trap 'as_fn_exit 1' 1 2 13 15
     17142  trap '{ (exit 1); exit 1; }' 1 2 13 15
    998417143}
    998517144# Create a (secure) tmp directory for tmp files.
     
    998717146{
    998817147  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    9989   test -d "$tmp"
     17148  test -n "$tmp" && test -d "$tmp"
    999017149}  ||
    999117150{
    999217151  tmp=./conf$$-$RANDOM
    999317152  (umask 077 && mkdir "$tmp")
    9994 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    9995 ac_tmp=$tmp
     17153} ||
     17154{
     17155   $as_echo "$as_me: cannot create a temporary directory in ." >&2
     17156   { (exit 1); exit 1; }
     17157}
    999617158
    999717159# Set up the scripts for CONFIG_FILES section.
     
    1000117163
    1000217164
    10003 ac_cr=`echo X | tr X '\015'`
    10004 # On cygwin, bash can eat \r inside `` if the user requested igncr.
    10005 # But we know of no other shell where ac_cr would be empty at this
    10006 # point, so we can use a bashism as a fallback.
    10007 if test "x$ac_cr" = x; then
    10008   eval ac_cr=\$\'\\r\'
    10009 fi
     17165ac_cr='
     17166'
    1001017167ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    1001117168if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    1001517172fi
    1001617173
    10017 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     17174echo 'BEGIN {' >"$tmp/subs1.awk" &&
    1001817175_ACEOF
    1001917176
     
    1002417181  echo "_ACEOF"
    1002517182} >conf$$subs.sh ||
    10026   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    10027 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     17183  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     17184$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     17185   { (exit 1); exit 1; }; }
     17186ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    1002817187ac_delim='%!_!# '
    1002917188for ac_last_try in false false false false false :; do
    1003017189  . ./conf$$subs.sh ||
    10031     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     17190    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     17191$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     17192   { (exit 1); exit 1; }; }
    1003217193
    1003317194  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    1003517196    break
    1003617197  elif $ac_last_try; then
    10037     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     17198    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     17199$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     17200   { (exit 1); exit 1; }; }
    1003817201  else
    1003917202    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    1004317206
    1004417207cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    10045 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     17208cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    1004617209_ACEOF
    1004717210sed -n '
     
    1005717220:nl
    1005817221h
    10059 s/\(.\{148\}\)..*/\1/
     17222s/\(.\{148\}\).*/\1/
    1006017223t more1
    1006117224s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    1007117234:delim
    1007217235h
    10073 s/\(.\{148\}\)..*/\1/
     17236s/\(.\{148\}\).*/\1/
    1007417237t more2
    1007517238s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    1009117254cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    1009217255_ACAWK
    10093 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     17256cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    1009417257  for (key in S) S_is_set[key] = 1
    1009517258  FS = ""
     
    1012317286else
    1012417287  cat
    10125 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
    10126   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    10127 _ACEOF
    10128 
    10129 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    10130 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     17288fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     17289  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     17290$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     17291   { (exit 1); exit 1; }; }
     17292_ACEOF
     17293
     17294# VPATH may cause trouble with some makes, so we remove $(srcdir),
     17295# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    1013117296# trailing colons and then remove the whole line if VPATH becomes empty
    1013217297# (actually we leave an empty line to preserve line numbers).
    1013317298if test "x$srcdir" = x.; then
    10134   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
    10135 h
    10136 s///
    10137 s/^/:/
    10138 s/[      ]*$/:/
    10139 s/:\$(srcdir):/:/g
    10140 s/:\${srcdir}:/:/g
    10141 s/:@srcdir@:/:/g
    10142 s/^:*//
     17299  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     17300s/:*\$(srcdir):*/:/
     17301s/:*\${srcdir}:*/:/
     17302s/:*@srcdir@:*/:/
     17303s/^\([^=]*=[     ]*\):*/\1/
    1014317304s/:*$//
    10144 x
    10145 s/\(=[   ]*\).*/\1/
    10146 G
    10147 s/\n//
    1014817305s/^[^=]*=[       ]*$//
    1014917306}'
     
    1015717314# This happens for instance with `./config.status Makefile'.
    1015817315if test -n "$CONFIG_HEADERS"; then
    10159 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     17316cat >"$tmp/defines.awk" <<\_ACAWK ||
    1016017317BEGIN {
    1016117318_ACEOF
     
    1016917326ac_delim='%!_!# '
    1017017327for ac_last_try in false false :; do
    10171   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
    10172   if test -z "$ac_tt"; then
     17328  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     17329  if test -z "$ac_t"; then
    1017317330    break
    1017417331  elif $ac_last_try; then
    10175     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     17332    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     17333$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     17334   { (exit 1); exit 1; }; }
    1017617335  else
    1017717336    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    1025817417_ACEOF
    1025917418cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    10260   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     17419  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     17420$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     17421   { (exit 1); exit 1; }; }
    1026117422fi # test -n "$CONFIG_HEADERS"
    1026217423
     
    1027117432  case $ac_mode$ac_tag in
    1027217433  :[FHL]*:*);;
    10273   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     17434  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     17435$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     17436   { (exit 1); exit 1; }; };;
    1027417437  :[FH]-) ac_tag=-:-;;
    1027517438  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    1029017453    do
    1029117454      case $ac_f in
    10292       -) ac_f="$ac_tmp/stdin";;
     17455      -) ac_f="$tmp/stdin";;
    1029317456      *) # Look for the file first in the build tree, then in the source tree
    1029417457         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    1029917462           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    1030017463           esac ||
    10301            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     17464           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     17465$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     17466   { (exit 1); exit 1; }; };;
    1030217467      esac
    1030317468      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    10304       as_fn_append ac_file_inputs " '$ac_f'"
     17469      ac_file_inputs="$ac_file_inputs '$ac_f'"
    1030517470    done
    1030617471
     
    1031317478    if test x"$ac_file" != x-; then
    1031417479      configure_input="$ac_file.  $configure_input"
    10315       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     17480      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    1031617481$as_echo "$as_me: creating $ac_file" >&6;}
    1031717482    fi
     
    1032517490
    1032617491    case $ac_tag in
    10327     *:-:* | *:-) cat >"$ac_tmp/stdin" \
    10328       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     17492    *:-:* | *:-) cat >"$tmp/stdin" \
     17493      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     17494$as_echo "$as_me: error: could not create $ac_file" >&2;}
     17495   { (exit 1); exit 1; }; } ;;
    1032917496    esac
    1033017497    ;;
     
    1035417521          }
    1035517522          s/.*/./; q'`
    10356   as_dir="$ac_dir"; as_fn_mkdir_p
     17523  { as_dir="$ac_dir"
     17524  case $as_dir in #(
     17525  -*) as_dir=./$as_dir;;
     17526  esac
     17527  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     17528    as_dirs=
     17529    while :; do
     17530      case $as_dir in #(
     17531      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     17532      *) as_qdir=$as_dir;;
     17533      esac
     17534      as_dirs="'$as_qdir' $as_dirs"
     17535      as_dir=`$as_dirname -- "$as_dir" ||
     17536$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     17537         X"$as_dir" : 'X\(//\)[^/]' \| \
     17538         X"$as_dir" : 'X\(//\)$' \| \
     17539         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     17540$as_echo X"$as_dir" |
     17541    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     17542            s//\1/
     17543            q
     17544          }
     17545          /^X\(\/\/\)[^/].*/{
     17546            s//\1/
     17547            q
     17548          }
     17549          /^X\(\/\/\)$/{
     17550            s//\1/
     17551            q
     17552          }
     17553          /^X\(\/\).*/{
     17554            s//\1/
     17555            q
     17556          }
     17557          s/.*/./; q'`
     17558      test -d "$as_dir" && break
     17559    done
     17560    test -z "$as_dirs" || eval "mkdir $as_dirs"
     17561  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     17562$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
     17563   { (exit 1); exit 1; }; }; }
    1035717564  ac_builddir=.
    1035817565
     
    1041117618# FIXME: This hack should be removed a few years after 2.60.
    1041217619ac_datarootdir_hack=; ac_datarootdir_seen=
     17620
    1041317621ac_sed_dataroot='
    1041417622/datarootdir/ {
     
    1042017628/@infodir@/p
    1042117629/@localedir@/p
    10422 /@mandir@/p'
     17630/@mandir@/p
     17631'
    1042317632case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    1042417633*datarootdir*) ac_datarootdir_seen=yes;;
    1042517634*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    10426   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     17635  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    1042717636$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    1042817637_ACEOF
     
    1043417643  s&@localedir@&$localedir&g
    1043517644  s&@mandir@&$mandir&g
    10436   s&\\\${datarootdir}&$datarootdir&g' ;;
     17645    s&\\\${datarootdir}&$datarootdir&g' ;;
    1043717646esac
    1043817647_ACEOF
     
    1046217671$ac_datarootdir_hack
    1046317672"
    10464 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
    10465   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     17673eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     17674  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     17675$as_echo "$as_me: error: could not create $ac_file" >&2;}
     17676   { (exit 1); exit 1; }; }
    1046617677
    1046717678test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    10468   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
    10469   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
    10470       "$ac_tmp/out"`; test -z "$ac_out"; } &&
    10471   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    10472 which seems to be undefined.  Please make sure it is defined" >&5
     17679  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     17680  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     17681  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     17682which seems to be undefined.  Please make sure it is defined." >&5
    1047317683$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    10474 which seems to be undefined.  Please make sure it is defined" >&2;}
    10475 
    10476   rm -f "$ac_tmp/stdin"
     17684which seems to be undefined.  Please make sure it is defined." >&2;}
     17685
     17686  rm -f "$tmp/stdin"
    1047717687  case $ac_file in
    10478   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
    10479   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     17688  -) cat "$tmp/out" && rm -f "$tmp/out";;
     17689  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    1048017690  esac \
    10481   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     17691  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     17692$as_echo "$as_me: error: could not create $ac_file" >&2;}
     17693   { (exit 1); exit 1; }; }
    1048217694 ;;
    1048317695  :H)
     
    1048817700    {
    1048917701      $as_echo "/* $configure_input  */" \
    10490       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    10491     } >"$ac_tmp/config.h" \
    10492       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    10493     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
    10494       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     17702      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     17703    } >"$tmp/config.h" \
     17704      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     17705$as_echo "$as_me: error: could not create $ac_file" >&2;}
     17706   { (exit 1); exit 1; }; }
     17707    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     17708      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    1049517709$as_echo "$as_me: $ac_file is unchanged" >&6;}
    1049617710    else
    1049717711      rm -f "$ac_file"
    10498       mv "$ac_tmp/config.h" "$ac_file" \
    10499         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     17712      mv "$tmp/config.h" "$ac_file" \
     17713        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     17714$as_echo "$as_me: error: could not create $ac_file" >&2;}
     17715   { (exit 1); exit 1; }; }
    1050017716    fi
    1050117717  else
    1050217718    $as_echo "/* $configure_input  */" \
    10503       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
    10504       || as_fn_error $? "could not create -" "$LINENO" 5
     17719      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     17720      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     17721$as_echo "$as_me: error: could not create -" >&2;}
     17722   { (exit 1); exit 1; }; }
    1050517723  fi
    1050617724 ;;
     
    1051217730
    1051317731
    10514 as_fn_exit 0
    10515 _ACEOF
     17732{ (exit 0); exit 0; }
     17733_ACEOF
     17734chmod +x $CONFIG_STATUS
    1051617735ac_clean_files=$ac_clean_files_save
    1051717736
    1051817737test $ac_write_fail = 0 ||
    10519   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
     17738  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     17739$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     17740   { (exit 1); exit 1; }; }
    1052017741
    1052117742
     
    1053817759  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    1053917760  # would make configure fail if this is the last instruction.
    10540   $ac_cs_success || as_fn_exit 1
     17761  $ac_cs_success || { (exit 1); exit 1; }
    1054117762fi
    1054217763if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    10543   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     17764  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    1054417765$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    1054517766fi
  • trunk/packages/vizservers/configure.in

    r2764 r2829  
    347347AC_MSG_RESULT([${CG_DIR}])
    348348
    349 CG_INC_DIR="$dir/include"
    350 CG_LIB_DIR="$dir/lib"
     349CG_INC_SPEC="-I${CG_DIR}/include"
     350CG_LIB_DIR="${CG_DIR}/lib"
    351351
    352352save_CPPFLAGS=$CPPFLAGS
    353 CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS"
     353CPPFLAGS="${CG_INC_SPEC} $CPPFLAGS"
    354354AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers]))
    355355CPPFLAGS=$save_CPPFLAGS
    356356
    357357if test "${CG_DIR}" = "/usr" ; then
    358   CG_DIR=""
     358  CG_INC_SPEC=""
     359  CG_LIB_SPEC="-lCg -lCgGL"
    359360else
     361  CG_LIB_SPEC="-L${CG_LIB_DIR} -lCg -lCgGL"
    360362  LD_RPATH="$loader_run_path:${CG_LIB_DIR}"
    361363fi
     
    365367AC_SUBST(CFLAGS_DEBUG)
    366368AC_SUBST(CFLAGS_OPTIMIZE)
    367 AC_SUBST(CG_DIR)
    368 AC_SUBST(CG_INC_DIR)
    369 AC_SUBST(CG_LIB_DIR)
     369AC_SUBST(CG_INC_SPEC)
     370AC_SUBST(CG_LIB_SPEC)
    370371AC_SUBST(DX_INC_SPEC)
    371372AC_SUBST(DX_LIB_SPEC)
  • trunk/packages/vizservers/nanovis/Makefile.in

    r2822 r2829  
    2525AUXSRC          = config.h define.h global.h
    2626
    27 CG_DIR          = @CG_DIR@
    28 CG_INC_SPEC     = -I$(CG_DIR)/include
    29 CG_LIB_SPEC     = -L$(CG_DIR)/lib -lCg -lCgGL
     27CG_INC_SPEC     = @CG_INC_SPEC@
     28CG_LIB_SPEC     = @CG_LIB_SPEC@
    3029FF_LIB_SPEC     = @LIBS@
    3130FF_INC_SPEC     = @FF_INC_SPEC@
     
    101100CXX             = @CXX@
    102101CFLAGS          = @CFLAGS@
    103 EXTRA_CFLAGS    = -Wall -Wextra
     102EXTRA_CFLAGS    = -Wall
    104103DEFINES         =
    105104CXX_SWITCHES    = $(CFLAGS) $(EXTRA_CFLAGS) $(DEFINES) $(INCLUDES)
Note: See TracChangeset for help on using the changeset viewer.