Changeset 2439 for trunk/packages


Ignore:
Timestamp:
Aug 29, 2011, 2:11:53 AM (13 years ago)
Author:
ldelgass
Message:

Configure fixes: Don't initialize with_* variables before AC_ARG_WITH(), since
it causes those macros not to work, they will set the variables to the initial
state before the test. Fix some typos in the rappture tests, change errors to
warnings for vtk, Cg, opendx tests so configure can continue. Check the right
lib for cvLoadImage, it's in -lhighgui not -lcv. Added a function check for
accept4(), but it probably needs to have _GNU_SOURCE set for the test somehow.

Location:
trunk/packages/vizservers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r2427 r2439  
    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.
     
    702737prefix
    703738exec_prefix
    704 PACKAGE_URL
    705739PACKAGE_BUGREPORT
    706740PACKAGE_STRING
     
    800834
    801835  case $ac_option in
    802   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    803   *=)   ac_optarg= ;;
    804   *)    ac_optarg=yes ;;
     836  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     837  *)    ac_optarg=yes ;;
    805838  esac
    806839
     
    847880    # Reject names that are not valid shell variable names.
    848881    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    849       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; }; }
    850884    ac_useropt_orig=$ac_useropt
    851885    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    873907    # Reject names that are not valid shell variable names.
    874908    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    875       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; }; }
    876911    ac_useropt_orig=$ac_useropt
    877912    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10771112    # Reject names that are not valid shell variable names.
    10781113    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1079       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; }; }
    10801116    ac_useropt_orig=$ac_useropt
    10811117    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10931129    # Reject names that are not valid shell variable names.
    10941130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1095       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; }; }
    10961133    ac_useropt_orig=$ac_useropt
    10971134    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11231160    x_libraries=$ac_optarg ;;
    11241161
    1125   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1126 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; }; }
    11271165    ;;
    11281166
     
    11301168    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11311169    # Reject names that are not valid shell variable names.
    1132     case $ac_envvar in #(
    1133       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1134       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1135     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; }; }
    11361173    eval $ac_envvar=\$ac_optarg
    11371174    export $ac_envvar ;;
     
    11421179    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11431180      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1144     : "${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}
    11451182    ;;
    11461183
     
    11501187if test -n "$ac_prev"; then
    11511188  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1152   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; }; }
    11531191fi
    11541192
     
    11561194  case $enable_option_checking in
    11571195    no) ;;
    1158     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; }; } ;;
    11591198    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11601199  esac
     
    11791218    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11801219  esac
    1181   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; }; }
    11821222done
    11831223
     
    11931233  if test "x$build_alias" = x; then
    11941234    cross_compiling=maybe
    1195     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1196     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
    11971237  elif test "x$build_alias" != "x$host_alias"; then
    11981238    cross_compiling=yes
     
    12091249ac_ls_di=`ls -di .` &&
    12101250ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1211   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; }; }
    12121253test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1213   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; }; }
    12141256
    12151257
     
    12501292if test ! -r "$srcdir/$ac_unique_file"; then
    12511293  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1252   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; }; }
    12531296fi
    12541297ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12551298ac_abs_confdir=`(
    1256         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; }; }
    12571301        pwd)`
    12581302# When building in place, set srcdir=.
     
    12941338      --help=recursive    display the short help of all the included packages
    12951339  -V, --version           display version information and exit
    1296   -q, --quiet, --silent   do not print \`checking ...' messages
     1340  -q, --quiet, --silent   do not print \`checking...' messages
    12971341      --cache-file=FILE   cache test results in FILE [disabled]
    12981342  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13761420              nonstandard directory <lib dir>
    13771421  LIBS        libraries to pass to the linker, e.g. -l<library>
    1378   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1422  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    13791423              you have headers in a nonstandard directory <include dir>
    13801424  CPP         C preprocessor
     
    14511495  cat <<\_ACEOF
    14521496vizservers configure 0.1
    1453 generated by GNU Autoconf 2.68
    1454 
    1455 Copyright (C) 2010 Free Software Foundation, Inc.
     1497generated by GNU Autoconf 2.63
     1498
     1499Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     15002002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    14561501This configure script is free software; the Free Software Foundation
    14571502gives unlimited permission to copy, distribute and modify it.
     
    14591504  exit
    14601505fi
    1461 
    1462 ## ------------------------ ##
    1463 ## Autoconf initialization. ##
    1464 ## ------------------------ ##
    1465 
    1466 # ac_fn_c_try_compile LINENO
    1467 # --------------------------
    1468 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1469 ac_fn_c_try_compile ()
    1470 {
    1471   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1472   rm -f conftest.$ac_objext
    1473   if { { ac_try="$ac_compile"
    1474 case "(($ac_try" in
    1475   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1476   *) ac_try_echo=$ac_try;;
    1477 esac
    1478 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1479 $as_echo "$ac_try_echo"; } >&5
    1480   (eval "$ac_compile") 2>conftest.err
    1481   ac_status=$?
    1482   if test -s conftest.err; then
    1483     grep -v '^ *+' conftest.err >conftest.er1
    1484     cat conftest.er1 >&5
    1485     mv -f conftest.er1 conftest.err
    1486   fi
    1487   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1488   test $ac_status = 0; } && {
    1489          test -z "$ac_c_werror_flag" ||
    1490          test ! -s conftest.err
    1491        } && test -s conftest.$ac_objext; then :
    1492   ac_retval=0
    1493 else
    1494   $as_echo "$as_me: failed program was:" >&5
    1495 sed 's/^/| /' conftest.$ac_ext >&5
    1496 
    1497         ac_retval=1
    1498 fi
    1499   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1500   as_fn_set_status $ac_retval
    1501 
    1502 } # ac_fn_c_try_compile
    1503 
    1504 # ac_fn_c_try_link LINENO
    1505 # -----------------------
    1506 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1507 ac_fn_c_try_link ()
    1508 {
    1509   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1510   rm -f conftest.$ac_objext conftest$ac_exeext
    1511   if { { ac_try="$ac_link"
    1512 case "(($ac_try" in
    1513   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1514   *) ac_try_echo=$ac_try;;
    1515 esac
    1516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1517 $as_echo "$ac_try_echo"; } >&5
    1518   (eval "$ac_link") 2>conftest.err
    1519   ac_status=$?
    1520   if test -s conftest.err; then
    1521     grep -v '^ *+' conftest.err >conftest.er1
    1522     cat conftest.er1 >&5
    1523     mv -f conftest.er1 conftest.err
    1524   fi
    1525   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1526   test $ac_status = 0; } && {
    1527          test -z "$ac_c_werror_flag" ||
    1528          test ! -s conftest.err
    1529        } && test -s conftest$ac_exeext && {
    1530          test "$cross_compiling" = yes ||
    1531          $as_test_x conftest$ac_exeext
    1532        }; then :
    1533   ac_retval=0
    1534 else
    1535   $as_echo "$as_me: failed program was:" >&5
    1536 sed 's/^/| /' conftest.$ac_ext >&5
    1537 
    1538         ac_retval=1
    1539 fi
    1540   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1541   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1542   # interfere with the next link command; also delete a directory that is
    1543   # left behind by Apple's compiler.  We do this before executing the actions.
    1544   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1545   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1546   as_fn_set_status $ac_retval
    1547 
    1548 } # ac_fn_c_try_link
    1549 
    1550 # ac_fn_c_try_cpp LINENO
    1551 # ----------------------
    1552 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1553 ac_fn_c_try_cpp ()
    1554 {
    1555   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1556   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1557 case "(($ac_try" in
    1558   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1559   *) ac_try_echo=$ac_try;;
    1560 esac
    1561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1562 $as_echo "$ac_try_echo"; } >&5
    1563   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1564   ac_status=$?
    1565   if test -s conftest.err; then
    1566     grep -v '^ *+' conftest.err >conftest.er1
    1567     cat conftest.er1 >&5
    1568     mv -f conftest.er1 conftest.err
    1569   fi
    1570   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1571   test $ac_status = 0; } > conftest.i && {
    1572          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1573          test ! -s conftest.err
    1574        }; then :
    1575   ac_retval=0
    1576 else
    1577   $as_echo "$as_me: failed program was:" >&5
    1578 sed 's/^/| /' conftest.$ac_ext >&5
    1579 
    1580     ac_retval=1
    1581 fi
    1582   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1583   as_fn_set_status $ac_retval
    1584 
    1585 } # ac_fn_c_try_cpp
    1586 
    1587 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1588 # -------------------------------------------------------
    1589 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1590 # the include files in INCLUDES and setting the cache variable VAR
    1591 # accordingly.
    1592 ac_fn_c_check_header_mongrel ()
    1593 {
    1594   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1595   if eval \${$3+:} false; then :
    1596   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1597 $as_echo_n "checking for $2... " >&6; }
    1598 if eval \${$3+:} false; then :
    1599   $as_echo_n "(cached) " >&6
    1600 fi
    1601 eval ac_res=\$$3
    1602                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1603 $as_echo "$ac_res" >&6; }
    1604 else
    1605   # Is the header compilable?
    1606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1607 $as_echo_n "checking $2 usability... " >&6; }
    1608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1609 /* end confdefs.h.  */
    1610 $4
    1611 #include <$2>
    1612 _ACEOF
    1613 if ac_fn_c_try_compile "$LINENO"; then :
    1614   ac_header_compiler=yes
    1615 else
    1616   ac_header_compiler=no
    1617 fi
    1618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1620 $as_echo "$ac_header_compiler" >&6; }
    1621 
    1622 # Is the header present?
    1623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1624 $as_echo_n "checking $2 presence... " >&6; }
    1625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1626 /* end confdefs.h.  */
    1627 #include <$2>
    1628 _ACEOF
    1629 if ac_fn_c_try_cpp "$LINENO"; then :
    1630   ac_header_preproc=yes
    1631 else
    1632   ac_header_preproc=no
    1633 fi
    1634 rm -f conftest.err conftest.i conftest.$ac_ext
    1635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1636 $as_echo "$ac_header_preproc" >&6; }
    1637 
    1638 # So?  What about this header?
    1639 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1640   yes:no: )
    1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1642 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1645     ;;
    1646   no:yes:* )
    1647     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1648 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1649     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1650 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1651     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1652 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1653     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1654 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1655     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1656 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1657 ( $as_echo "## ----------------------------------- ##
    1658 ## Report this to rappture@nanohub.org ##
    1659 ## ----------------------------------- ##"
    1660      ) | sed "s/^/$as_me: WARNING:     /" >&2
    1661     ;;
    1662 esac
    1663   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1664 $as_echo_n "checking for $2... " >&6; }
    1665 if eval \${$3+:} false; then :
    1666   $as_echo_n "(cached) " >&6
    1667 else
    1668   eval "$3=\$ac_header_compiler"
    1669 fi
    1670 eval ac_res=\$$3
    1671                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1672 $as_echo "$ac_res" >&6; }
    1673 fi
    1674   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1675 
    1676 } # ac_fn_c_check_header_mongrel
    1677 
    1678 # ac_fn_c_try_run LINENO
    1679 # ----------------------
    1680 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1681 # that executables *can* be run.
    1682 ac_fn_c_try_run ()
    1683 {
    1684   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1685   if { { ac_try="$ac_link"
    1686 case "(($ac_try" in
    1687   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1688   *) ac_try_echo=$ac_try;;
    1689 esac
    1690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1691 $as_echo "$ac_try_echo"; } >&5
    1692   (eval "$ac_link") 2>&5
    1693   ac_status=$?
    1694   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1695   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1696   { { case "(($ac_try" in
    1697   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1698   *) ac_try_echo=$ac_try;;
    1699 esac
    1700 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1701 $as_echo "$ac_try_echo"; } >&5
    1702   (eval "$ac_try") 2>&5
    1703   ac_status=$?
    1704   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1705   test $ac_status = 0; }; }; then :
    1706   ac_retval=0
    1707 else
    1708   $as_echo "$as_me: program exited with status $ac_status" >&5
    1709        $as_echo "$as_me: failed program was:" >&5
    1710 sed 's/^/| /' conftest.$ac_ext >&5
    1711 
    1712        ac_retval=$ac_status
    1713 fi
    1714   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1715   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1716   as_fn_set_status $ac_retval
    1717 
    1718 } # ac_fn_c_try_run
    1719 
    1720 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1721 # -------------------------------------------------------
    1722 # Tests whether HEADER exists and can be compiled using the include files in
    1723 # INCLUDES, setting the cache variable VAR accordingly.
    1724 ac_fn_c_check_header_compile ()
    1725 {
    1726   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1727   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1728 $as_echo_n "checking for $2... " >&6; }
    1729 if eval \${$3+:} false; then :
    1730   $as_echo_n "(cached) " >&6
    1731 else
    1732   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1733 /* end confdefs.h.  */
    1734 $4
    1735 #include <$2>
    1736 _ACEOF
    1737 if ac_fn_c_try_compile "$LINENO"; then :
    1738   eval "$3=yes"
    1739 else
    1740   eval "$3=no"
    1741 fi
    1742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1743 fi
    1744 eval ac_res=\$$3
    1745                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1746 $as_echo "$ac_res" >&6; }
    1747   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1748 
    1749 } # ac_fn_c_check_header_compile
    1750 
    1751 # ac_fn_cxx_try_compile LINENO
    1752 # ----------------------------
    1753 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1754 ac_fn_cxx_try_compile ()
    1755 {
    1756   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1757   rm -f conftest.$ac_objext
    1758   if { { ac_try="$ac_compile"
    1759 case "(($ac_try" in
    1760   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1761   *) ac_try_echo=$ac_try;;
    1762 esac
    1763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1764 $as_echo "$ac_try_echo"; } >&5
    1765   (eval "$ac_compile") 2>conftest.err
    1766   ac_status=$?
    1767   if test -s conftest.err; then
    1768     grep -v '^ *+' conftest.err >conftest.er1
    1769     cat conftest.er1 >&5
    1770     mv -f conftest.er1 conftest.err
    1771   fi
    1772   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1773   test $ac_status = 0; } && {
    1774          test -z "$ac_cxx_werror_flag" ||
    1775          test ! -s conftest.err
    1776        } && test -s conftest.$ac_objext; then :
    1777   ac_retval=0
    1778 else
    1779   $as_echo "$as_me: failed program was:" >&5
    1780 sed 's/^/| /' conftest.$ac_ext >&5
    1781 
    1782         ac_retval=1
    1783 fi
    1784   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1785   as_fn_set_status $ac_retval
    1786 
    1787 } # ac_fn_cxx_try_compile
    1788 
    1789 # ac_fn_cxx_try_cpp LINENO
    1790 # ------------------------
    1791 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1792 ac_fn_cxx_try_cpp ()
    1793 {
    1794   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1795   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1796 case "(($ac_try" in
    1797   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1798   *) ac_try_echo=$ac_try;;
    1799 esac
    1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1801 $as_echo "$ac_try_echo"; } >&5
    1802   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1803   ac_status=$?
    1804   if test -s conftest.err; then
    1805     grep -v '^ *+' conftest.err >conftest.er1
    1806     cat conftest.er1 >&5
    1807     mv -f conftest.er1 conftest.err
    1808   fi
    1809   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1810   test $ac_status = 0; } > conftest.i && {
    1811          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1812          test ! -s conftest.err
    1813        }; then :
    1814   ac_retval=0
    1815 else
    1816   $as_echo "$as_me: failed program was:" >&5
    1817 sed 's/^/| /' conftest.$ac_ext >&5
    1818 
    1819     ac_retval=1
    1820 fi
    1821   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1822   as_fn_set_status $ac_retval
    1823 
    1824 } # ac_fn_cxx_try_cpp
    1825 
    1826 # ac_fn_cxx_try_run LINENO
    1827 # ------------------------
    1828 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1829 # that executables *can* be run.
    1830 ac_fn_cxx_try_run ()
    1831 {
    1832   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1833   if { { ac_try="$ac_link"
    1834 case "(($ac_try" in
    1835   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1836   *) ac_try_echo=$ac_try;;
    1837 esac
    1838 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1839 $as_echo "$ac_try_echo"; } >&5
    1840   (eval "$ac_link") 2>&5
    1841   ac_status=$?
    1842   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1843   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1844   { { case "(($ac_try" in
    1845   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1846   *) ac_try_echo=$ac_try;;
    1847 esac
    1848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1849 $as_echo "$ac_try_echo"; } >&5
    1850   (eval "$ac_try") 2>&5
    1851   ac_status=$?
    1852   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1853   test $ac_status = 0; }; }; then :
    1854   ac_retval=0
    1855 else
    1856   $as_echo "$as_me: program exited with status $ac_status" >&5
    1857        $as_echo "$as_me: failed program was:" >&5
    1858 sed 's/^/| /' conftest.$ac_ext >&5
    1859 
    1860        ac_retval=$ac_status
    1861 fi
    1862   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1863   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1864   as_fn_set_status $ac_retval
    1865 
    1866 } # ac_fn_cxx_try_run
    1867 
    1868 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
    1869 # ----------------------------------------------
    1870 # Tries to find the compile-time value of EXPR in a program that includes
    1871 # INCLUDES, setting VAR accordingly. Returns whether the value could be
    1872 # computed
    1873 ac_fn_cxx_compute_int ()
    1874 {
    1875   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1876   if test "$cross_compiling" = yes; then
    1877     # Depending upon the size, compute the lo and hi bounds.
    1878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1879 /* end confdefs.h.  */
    1880 $4
    1881 int
    1882 main ()
    1883 {
    1884 static int test_array [1 - 2 * !(($2) >= 0)];
    1885 test_array [0] = 0
    1886 
    1887   ;
    1888   return 0;
    1889 }
    1890 _ACEOF
    1891 if ac_fn_cxx_try_compile "$LINENO"; then :
    1892   ac_lo=0 ac_mid=0
    1893   while :; do
    1894     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1895 /* end confdefs.h.  */
    1896 $4
    1897 int
    1898 main ()
    1899 {
    1900 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1901 test_array [0] = 0
    1902 
    1903   ;
    1904   return 0;
    1905 }
    1906 _ACEOF
    1907 if ac_fn_cxx_try_compile "$LINENO"; then :
    1908   ac_hi=$ac_mid; break
    1909 else
    1910   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    1911                         if test $ac_lo -le $ac_mid; then
    1912                           ac_lo= ac_hi=
    1913                           break
    1914                         fi
    1915                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    1916 fi
    1917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1918   done
    1919 else
    1920   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1921 /* end confdefs.h.  */
    1922 $4
    1923 int
    1924 main ()
    1925 {
    1926 static int test_array [1 - 2 * !(($2) < 0)];
    1927 test_array [0] = 0
    1928 
    1929   ;
    1930   return 0;
    1931 }
    1932 _ACEOF
    1933 if ac_fn_cxx_try_compile "$LINENO"; then :
    1934   ac_hi=-1 ac_mid=-1
    1935   while :; do
    1936     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1937 /* end confdefs.h.  */
    1938 $4
    1939 int
    1940 main ()
    1941 {
    1942 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    1943 test_array [0] = 0
    1944 
    1945   ;
    1946   return 0;
    1947 }
    1948 _ACEOF
    1949 if ac_fn_cxx_try_compile "$LINENO"; then :
    1950   ac_lo=$ac_mid; break
    1951 else
    1952   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    1953                         if test $ac_mid -le $ac_hi; then
    1954                           ac_lo= ac_hi=
    1955                           break
    1956                         fi
    1957                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
    1958 fi
    1959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1960   done
    1961 else
    1962   ac_lo= ac_hi=
    1963 fi
    1964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1965 fi
    1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1967 # Binary search between lo and hi bounds.
    1968 while test "x$ac_lo" != "x$ac_hi"; do
    1969   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
    1970   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1971 /* end confdefs.h.  */
    1972 $4
    1973 int
    1974 main ()
    1975 {
    1976 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1977 test_array [0] = 0
    1978 
    1979   ;
    1980   return 0;
    1981 }
    1982 _ACEOF
    1983 if ac_fn_cxx_try_compile "$LINENO"; then :
    1984   ac_hi=$ac_mid
    1985 else
    1986   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
    1987 fi
    1988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1989 done
    1990 case $ac_lo in #((
    1991 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
    1992 '') ac_retval=1 ;;
    1993 esac
    1994   else
    1995     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1996 /* end confdefs.h.  */
    1997 $4
    1998 static long int longval () { return $2; }
    1999 static unsigned long int ulongval () { return $2; }
    2000 #include <stdio.h>
    2001 #include <stdlib.h>
    2002 int
    2003 main ()
    2004 {
    2005 
    2006   FILE *f = fopen ("conftest.val", "w");
    2007   if (! f)
    2008     return 1;
    2009   if (($2) < 0)
    2010     {
    2011       long int i = longval ();
    2012       if (i != ($2))
    2013         return 1;
    2014       fprintf (f, "%ld", i);
    2015     }
    2016   else
    2017     {
    2018       unsigned long int i = ulongval ();
    2019       if (i != ($2))
    2020         return 1;
    2021       fprintf (f, "%lu", i);
    2022     }
    2023   /* Do not output a trailing newline, as this causes \r\n confusion
    2024      on some platforms.  */
    2025   return ferror (f) || fclose (f) != 0;
    2026 
    2027   ;
    2028   return 0;
    2029 }
    2030 _ACEOF
    2031 if ac_fn_cxx_try_run "$LINENO"; then :
    2032   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
    2033 else
    2034   ac_retval=1
    2035 fi
    2036 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    2037   conftest.$ac_objext conftest.beam conftest.$ac_ext
    2038 rm -f conftest.val
    2039 
    2040   fi
    2041   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2042   as_fn_set_status $ac_retval
    2043 
    2044 } # ac_fn_cxx_compute_int
    2045 
    2046 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
    2047 # ---------------------------------------------------------
    2048 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2049 # the include files in INCLUDES and setting the cache variable VAR
    2050 # accordingly.
    2051 ac_fn_cxx_check_header_mongrel ()
    2052 {
    2053   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2054   if eval \${$3+:} false; then :
    2055   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2056 $as_echo_n "checking for $2... " >&6; }
    2057 if eval \${$3+:} false; then :
    2058   $as_echo_n "(cached) " >&6
    2059 fi
    2060 eval ac_res=\$$3
    2061                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2062 $as_echo "$ac_res" >&6; }
    2063 else
    2064   # Is the header compilable?
    2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2066 $as_echo_n "checking $2 usability... " >&6; }
    2067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2068 /* end confdefs.h.  */
    2069 $4
    2070 #include <$2>
    2071 _ACEOF
    2072 if ac_fn_cxx_try_compile "$LINENO"; then :
    2073   ac_header_compiler=yes
    2074 else
    2075   ac_header_compiler=no
    2076 fi
    2077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2079 $as_echo "$ac_header_compiler" >&6; }
    2080 
    2081 # Is the header present?
    2082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2083 $as_echo_n "checking $2 presence... " >&6; }
    2084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2085 /* end confdefs.h.  */
    2086 #include <$2>
    2087 _ACEOF
    2088 if ac_fn_cxx_try_cpp "$LINENO"; then :
    2089   ac_header_preproc=yes
    2090 else
    2091   ac_header_preproc=no
    2092 fi
    2093 rm -f conftest.err conftest.i conftest.$ac_ext
    2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2095 $as_echo "$ac_header_preproc" >&6; }
    2096 
    2097 # So?  What about this header?
    2098 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
    2099   yes:no: )
    2100     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2101 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2102     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2104     ;;
    2105   no:yes:* )
    2106     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2107 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2108     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2109 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2110     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2111 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2112     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2113 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2115 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2116 ( $as_echo "## ----------------------------------- ##
    2117 ## Report this to rappture@nanohub.org ##
    2118 ## ----------------------------------- ##"
    2119      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2120     ;;
    2121 esac
    2122   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2123 $as_echo_n "checking for $2... " >&6; }
    2124 if eval \${$3+:} false; then :
    2125   $as_echo_n "(cached) " >&6
    2126 else
    2127   eval "$3=\$ac_header_compiler"
    2128 fi
    2129 eval ac_res=\$$3
    2130                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2131 $as_echo "$ac_res" >&6; }
    2132 fi
    2133   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2134 
    2135 } # ac_fn_cxx_check_header_mongrel
    2136 
    2137 # ac_fn_cxx_try_link LINENO
    2138 # -------------------------
    2139 # Try to link conftest.$ac_ext, and return whether this succeeded.
    2140 ac_fn_cxx_try_link ()
    2141 {
    2142   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2143   rm -f conftest.$ac_objext conftest$ac_exeext
    2144   if { { ac_try="$ac_link"
    2145 case "(($ac_try" in
    2146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2147   *) ac_try_echo=$ac_try;;
    2148 esac
    2149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2150 $as_echo "$ac_try_echo"; } >&5
    2151   (eval "$ac_link") 2>conftest.err
    2152   ac_status=$?
    2153   if test -s conftest.err; then
    2154     grep -v '^ *+' conftest.err >conftest.er1
    2155     cat conftest.er1 >&5
    2156     mv -f conftest.er1 conftest.err
    2157   fi
    2158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2159   test $ac_status = 0; } && {
    2160          test -z "$ac_cxx_werror_flag" ||
    2161          test ! -s conftest.err
    2162        } && test -s conftest$ac_exeext && {
    2163          test "$cross_compiling" = yes ||
    2164          $as_test_x conftest$ac_exeext
    2165        }; then :
    2166   ac_retval=0
    2167 else
    2168   $as_echo "$as_me: failed program was:" >&5
    2169 sed 's/^/| /' conftest.$ac_ext >&5
    2170 
    2171         ac_retval=1
    2172 fi
    2173   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    2174   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    2175   # interfere with the next link command; also delete a directory that is
    2176   # left behind by Apple's compiler.  We do this before executing the actions.
    2177   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2178   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2179   as_fn_set_status $ac_retval
    2180 
    2181 } # ac_fn_cxx_try_link
    2182 
    2183 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
    2184 # ---------------------------------------------------------
    2185 # Tests whether HEADER exists and can be compiled using the include files in
    2186 # INCLUDES, setting the cache variable VAR accordingly.
    2187 ac_fn_cxx_check_header_compile ()
    2188 {
    2189   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2190   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2191 $as_echo_n "checking for $2... " >&6; }
    2192 if eval \${$3+:} false; then :
    2193   $as_echo_n "(cached) " >&6
    2194 else
    2195   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2196 /* end confdefs.h.  */
    2197 $4
    2198 #include <$2>
    2199 _ACEOF
    2200 if ac_fn_cxx_try_compile "$LINENO"; then :
    2201   eval "$3=yes"
    2202 else
    2203   eval "$3=no"
    2204 fi
    2205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2206 fi
    2207 eval ac_res=\$$3
    2208                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2209 $as_echo "$ac_res" >&6; }
    2210   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2211 
    2212 } # ac_fn_cxx_check_header_compile
    2213 
    2214 # ac_fn_cxx_check_func LINENO FUNC VAR
    2215 # ------------------------------------
    2216 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    2217 ac_fn_cxx_check_func ()
    2218 {
    2219   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2220   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2221 $as_echo_n "checking for $2... " >&6; }
    2222 if eval \${$3+:} false; then :
    2223   $as_echo_n "(cached) " >&6
    2224 else
    2225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2226 /* end confdefs.h.  */
    2227 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    2228    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    2229 #define $2 innocuous_$2
    2230 
    2231 /* System header to define __stub macros and hopefully few prototypes,
    2232     which can conflict with char $2 (); below.
    2233     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2234     <limits.h> exists even on freestanding compilers.  */
    2235 
    2236 #ifdef __STDC__
    2237 # include <limits.h>
    2238 #else
    2239 # include <assert.h>
    2240 #endif
    2241 
    2242 #undef $2
    2243 
    2244 /* Override any GCC internal prototype to avoid an error.
    2245    Use char because int might match the return type of a GCC
    2246    builtin and then its argument prototype would still apply.  */
    2247 #ifdef __cplusplus
    2248 extern "C"
    2249 #endif
    2250 char $2 ();
    2251 /* The GNU C library defines this for functions which it implements
    2252     to always fail with ENOSYS.  Some functions are actually named
    2253     something starting with __ and the normal name is an alias.  */
    2254 #if defined __stub_$2 || defined __stub___$2
    2255 choke me
    2256 #endif
    2257 
    2258 int
    2259 main ()
    2260 {
    2261 return $2 ();
    2262   ;
    2263   return 0;
    2264 }
    2265 _ACEOF
    2266 if ac_fn_cxx_try_link "$LINENO"; then :
    2267   eval "$3=yes"
    2268 else
    2269   eval "$3=no"
    2270 fi
    2271 rm -f core conftest.err conftest.$ac_objext \
    2272     conftest$ac_exeext conftest.$ac_ext
    2273 fi
    2274 eval ac_res=\$$3
    2275                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2276 $as_echo "$ac_res" >&6; }
    2277   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2278 
    2279 } # ac_fn_cxx_check_func
    22801506cat >config.log <<_ACEOF
    22811507This file contains any messages produced by compilers while
     
    22831509
    22841510It was created by vizservers $as_me 0.1, which was
    2285 generated by GNU Autoconf 2.68.  Invocation command line was
     1511generated by GNU Autoconf 2.63.  Invocation command line was
    22861512
    22871513  $ $0 $@
     
    23191545  IFS=$as_save_IFS
    23201546  test -z "$as_dir" && as_dir=.
    2321     $as_echo "PATH: $as_dir"
    2322   done
     1547  $as_echo "PATH: $as_dir"
     1548done
    23231549IFS=$as_save_IFS
    23241550
     
    23571583    esac
    23581584    case $ac_pass in
    2359     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1585    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    23601586    2)
    2361       as_fn_append ac_configure_args1 " '$ac_arg'"
     1587      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    23621588      if test $ac_must_keep_next = true; then
    23631589        ac_must_keep_next=false # Got value, back to normal.
     
    23751601        esac
    23761602      fi
    2377       as_fn_append ac_configure_args " '$ac_arg'"
     1603      ac_configure_args="$ac_configure_args '$ac_arg'"
    23781604      ;;
    23791605    esac
    23801606  done
    23811607done
    2382 { ac_configure_args0=; unset ac_configure_args0;}
    2383 { ac_configure_args1=; unset ac_configure_args1;}
     1608$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1609$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    23841610
    23851611# When interrupted or exit'd, cleanup temporary files, and complete
     
    23931619    echo
    23941620
    2395     $as_echo "## ---------------- ##
     1621    cat <<\_ASBOX
     1622## ---------------- ##
    23961623## Cache variables. ##
    2397 ## ---------------- ##"
     1624## ---------------- ##
     1625_ASBOX
    23981626    echo
    23991627    # The following way of writing the cache mishandles newlines in values,
     
    24041632    *${as_nl}*)
    24051633      case $ac_var in #(
    2406       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1634      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    24071635$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    24081636      esac
     
    24101638      _ | IFS | as_nl) ;; #(
    24111639      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2412       *) { eval $ac_var=; unset $ac_var;} ;;
     1640      *) $as_unset $ac_var ;;
    24131641      esac ;;
    24141642    esac
     
    24291657    echo
    24301658
    2431     $as_echo "## ----------------- ##
     1659    cat <<\_ASBOX
     1660## ----------------- ##
    24321661## Output variables. ##
    2433 ## ----------------- ##"
     1662## ----------------- ##
     1663_ASBOX
    24341664    echo
    24351665    for ac_var in $ac_subst_vars
     
    24441674
    24451675    if test -n "$ac_subst_files"; then
    2446       $as_echo "## ------------------- ##
     1676      cat <<\_ASBOX
     1677## ------------------- ##
    24471678## File substitutions. ##
    2448 ## ------------------- ##"
     1679## ------------------- ##
     1680_ASBOX
    24491681      echo
    24501682      for ac_var in $ac_subst_files
     
    24601692
    24611693    if test -s confdefs.h; then
    2462       $as_echo "## ----------- ##
     1694      cat <<\_ASBOX
     1695## ----------- ##
    24631696## confdefs.h. ##
    2464 ## ----------- ##"
     1697## ----------- ##
     1698_ASBOX
    24651699      echo
    24661700      cat confdefs.h
     
    24761710' 0
    24771711for ac_signal in 1 2 13 15; do
    2478   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1712  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    24791713done
    24801714ac_signal=0
     
    24831717rm -f -r conftest* confdefs.h
    24841718
    2485 $as_echo "/* confdefs.h */" > confdefs.h
    2486 
    24871719# Predefined preprocessor variables.
    24881720
     
    24911723_ACEOF
    24921724
     1725
    24931726cat >>confdefs.h <<_ACEOF
    24941727#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    24951728_ACEOF
    24961729
     1730
    24971731cat >>confdefs.h <<_ACEOF
    24981732#define PACKAGE_VERSION "$PACKAGE_VERSION"
    24991733_ACEOF
    25001734
     1735
    25011736cat >>confdefs.h <<_ACEOF
    25021737#define PACKAGE_STRING "$PACKAGE_STRING"
    25031738_ACEOF
    25041739
     1740
    25051741cat >>confdefs.h <<_ACEOF
    25061742#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    2507 _ACEOF
    2508 
    2509 cat >>confdefs.h <<_ACEOF
    2510 #define PACKAGE_URL "$PACKAGE_URL"
    25111743_ACEOF
    25121744
     
    25171749ac_site_file2=NONE
    25181750if test -n "$CONFIG_SITE"; then
    2519   # We do not want a PATH search for config.site.
    2520   case $CONFIG_SITE in #((
    2521     -*)  ac_site_file1=./$CONFIG_SITE;;
    2522     */*) ac_site_file1=$CONFIG_SITE;;
    2523     *)   ac_site_file1=./$CONFIG_SITE;;
    2524   esac
     1751  ac_site_file1=$CONFIG_SITE
    25251752elif test "x$prefix" != xNONE; then
    25261753  ac_site_file1=$prefix/share/config.site
     
    25331760do
    25341761  test "x$ac_site_file" = xNONE && continue
    2535   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2536     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     1762  if test -r "$ac_site_file"; then
     1763    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    25371764$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    25381765    sed 's/^/| /' "$ac_site_file" >&5
    2539     . "$ac_site_file" \
    2540       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2542 as_fn_error $? "failed to load site script $ac_site_file
    2543 See \`config.log' for more details" "$LINENO" 5; }
     1766    . "$ac_site_file"
    25441767  fi
    25451768done
    25461769
    25471770if test -r "$cache_file"; then
    2548   # Some versions of bash will fail to source /dev/null (special files
    2549   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2550   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2551     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     1771  # Some versions of bash will fail to source /dev/null (special
     1772  # files actually), so we avoid doing that.
     1773  if test -f "$cache_file"; then
     1774    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    25521775$as_echo "$as_me: loading cache $cache_file" >&6;}
    25531776    case $cache_file in
     
    25571780  fi
    25581781else
    2559   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     1782  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    25601783$as_echo "$as_me: creating cache $cache_file" >&6;}
    25611784  >$cache_file
     
    25721795  case $ac_old_set,$ac_new_set in
    25731796    set,)
    2574       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1797      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    25751798$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    25761799      ac_cache_corrupted=: ;;
    25771800    ,set)
    2578       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     1801      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    25791802$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    25801803      ac_cache_corrupted=: ;;
     
    25861809        ac_new_val_w=`echo x $ac_new_val`
    25871810        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2588           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     1811          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    25891812$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    25901813          ac_cache_corrupted=:
    25911814        else
    2592           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1815          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    25931816$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    25941817          eval $ac_var=\$ac_old_val
    25951818        fi
    2596         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     1819        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    25971820$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2598         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     1821        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    25991822$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    26001823      fi;;
     
    26081831    case " $ac_configure_args " in
    26091832      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2610       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1833      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    26111834    esac
    26121835  fi
    26131836done
    26141837if $ac_cache_corrupted; then
    2615   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1838  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    26161839$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2617   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     1840  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    26181841$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2619   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2620 fi
    2621 ## -------------------- ##
    2622 ## Main body of script. ##
    2623 ## -------------------- ##
     1842  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1843$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1844   { (exit 1); exit 1; }; }
     1845fi
     1846
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
     1858
     1859
     1860
     1861
     1862
     1863
     1864
     1865
     1866
     1867
     1868
     1869
    26241870
    26251871ac_ext=c
     
    26331879
    26341880
    2635 with_vtk="yes"
    2636 with_vtk_libs=""
    2637 with_vtk_includes=""
    2638 with_rappture=""
    2639 with_tcllib=""
    2640 with_rappture="yes"
    2641 
    26421881
    26431882# Check whether --with-tcllib was given.
    2644 if test "${with_tcllib+set}" = set; then :
     1883if test "${with_tcllib+set}" = set; then
    26451884  withval=$with_tcllib; with_tcllib=$withval
    26461885else
     
    26511890
    26521891# Check whether --with-rappture was given.
    2653 if test "${with_rappture+set}" = set; then :
     1892if test "${with_rappture+set}" = set; then
    26541893  withval=$with_rappture; with_rappture=$withval
    26551894else
     
    26601899
    26611900# Check whether --with-vtk-includes was given.
    2662 if test "${with_vtk_includes+set}" = set; then :
     1901if test "${with_vtk_includes+set}" = set; then
    26631902  withval=$with_vtk_includes; with_vtk_includes=$withval
    26641903else
     
    26691908
    26701909# Check whether --with-vtk-libs was given.
    2671 if test "${with_vtk_libs+set}" = set; then :
     1910if test "${with_vtk_libs+set}" = set; then
    26721911  withval=$with_vtk_libs; with_vtk_libs=$withval
    26731912else
     
    26781917
    26791918# Check whether --with-vtk was given.
    2680 if test "${with_vtk+set}" = set; then :
     1919if test "${with_vtk+set}" = set; then
    26811920  withval=$with_vtk; with_vtk=$withval
    26821921else
     
    27171956  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    27181957set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1958{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27201959$as_echo_n "checking for $ac_word... " >&6; }
    2721 if ${ac_cv_prog_CC+:} false; then :
     1960if test "${ac_cv_prog_CC+set}" = set; then
    27221961  $as_echo_n "(cached) " >&6
    27231962else
     
    27301969  IFS=$as_save_IFS
    27311970  test -z "$as_dir" && as_dir=.
    2732     for ac_exec_ext in '' $ac_executable_extensions; do
     1971  for ac_exec_ext in '' $ac_executable_extensions; do
    27331972  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27341973    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
     1974    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27361975    break 2
    27371976  fi
    27381977done
    2739   done
     1978done
    27401979IFS=$as_save_IFS
    27411980
     
    27441983CC=$ac_cv_prog_CC
    27451984if test -n "$CC"; then
    2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     1985  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    27471986$as_echo "$CC" >&6; }
    27481987else
    2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     1988  { $as_echo "$as_me:$LINENO: result: no" >&5
    27501989$as_echo "no" >&6; }
    27511990fi
     
    27571996  # Extract the first word of "gcc", so it can be a program name with args.
    27581997set dummy gcc; ac_word=$2
    2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1998{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27601999$as_echo_n "checking for $ac_word... " >&6; }
    2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2000if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    27622001  $as_echo_n "(cached) " >&6
    27632002else
     
    27702009  IFS=$as_save_IFS
    27712010  test -z "$as_dir" && as_dir=.
    2772     for ac_exec_ext in '' $ac_executable_extensions; do
     2011  for ac_exec_ext in '' $ac_executable_extensions; do
    27732012  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27742013    ac_cv_prog_ac_ct_CC="gcc"
    2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2014    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27762015    break 2
    27772016  fi
    27782017done
    2779   done
     2018done
    27802019IFS=$as_save_IFS
    27812020
     
    27842023ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27852024if test -n "$ac_ct_CC"; then
    2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2025  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    27872026$as_echo "$ac_ct_CC" >&6; }
    27882027else
    2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2028  { $as_echo "$as_me:$LINENO: result: no" >&5
    27902029$as_echo "no" >&6; }
    27912030fi
     
    27962035    case $cross_compiling:$ac_tool_warned in
    27972036yes:)
    2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2037{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    27992038$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28002039ac_tool_warned=yes ;;
     
    28102049    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    28112050set dummy ${ac_tool_prefix}cc; ac_word=$2
    2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2051{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28132052$as_echo_n "checking for $ac_word... " >&6; }
    2814 if ${ac_cv_prog_CC+:} false; then :
     2053if test "${ac_cv_prog_CC+set}" = set; then
    28152054  $as_echo_n "(cached) " >&6
    28162055else
     
    28232062  IFS=$as_save_IFS
    28242063  test -z "$as_dir" && as_dir=.
    2825     for ac_exec_ext in '' $ac_executable_extensions; do
     2064  for ac_exec_ext in '' $ac_executable_extensions; do
    28262065  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28272066    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
     2067    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28292068    break 2
    28302069  fi
    28312070done
    2832   done
     2071done
    28332072IFS=$as_save_IFS
    28342073
     
    28372076CC=$ac_cv_prog_CC
    28382077if test -n "$CC"; then
    2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2078  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28402079$as_echo "$CC" >&6; }
    28412080else
    2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2081  { $as_echo "$as_me:$LINENO: result: no" >&5
    28432082$as_echo "no" >&6; }
    28442083fi
     
    28502089  # Extract the first word of "cc", so it can be a program name with args.
    28512090set dummy cc; ac_word=$2
    2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2091{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28532092$as_echo_n "checking for $ac_word... " >&6; }
    2854 if ${ac_cv_prog_CC+:} false; then :
     2093if test "${ac_cv_prog_CC+set}" = set; then
    28552094  $as_echo_n "(cached) " >&6
    28562095else
     
    28642103  IFS=$as_save_IFS
    28652104  test -z "$as_dir" && as_dir=.
    2866     for ac_exec_ext in '' $ac_executable_extensions; do
     2105  for ac_exec_ext in '' $ac_executable_extensions; do
    28672106  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28682107    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    28712110     fi
    28722111    ac_cv_prog_CC="cc"
    2873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2112    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28742113    break 2
    28752114  fi
    28762115done
    2877   done
     2116done
    28782117IFS=$as_save_IFS
    28792118
     
    28942133CC=$ac_cv_prog_CC
    28952134if test -n "$CC"; then
    2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2135  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28972136$as_echo "$CC" >&6; }
    28982137else
    2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2138  { $as_echo "$as_me:$LINENO: result: no" >&5
    29002139$as_echo "no" >&6; }
    29012140fi
     
    29092148    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29102149set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2150{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29122151$as_echo_n "checking for $ac_word... " >&6; }
    2913 if ${ac_cv_prog_CC+:} false; then :
     2152if test "${ac_cv_prog_CC+set}" = set; then
    29142153  $as_echo_n "(cached) " >&6
    29152154else
     
    29222161  IFS=$as_save_IFS
    29232162  test -z "$as_dir" && as_dir=.
    2924     for ac_exec_ext in '' $ac_executable_extensions; do
     2163  for ac_exec_ext in '' $ac_executable_extensions; do
    29252164  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29262165    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
     2166    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29282167    break 2
    29292168  fi
    29302169done
    2931   done
     2170done
    29322171IFS=$as_save_IFS
    29332172
     
    29362175CC=$ac_cv_prog_CC
    29372176if test -n "$CC"; then
    2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2177  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    29392178$as_echo "$CC" >&6; }
    29402179else
    2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2180  { $as_echo "$as_me:$LINENO: result: no" >&5
    29422181$as_echo "no" >&6; }
    29432182fi
     
    29532192  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29542193set dummy $ac_prog; ac_word=$2
    2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2194{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29562195$as_echo_n "checking for $ac_word... " >&6; }
    2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2196if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    29582197  $as_echo_n "(cached) " >&6
    29592198else
     
    29662205  IFS=$as_save_IFS
    29672206  test -z "$as_dir" && as_dir=.
    2968     for ac_exec_ext in '' $ac_executable_extensions; do
     2207  for ac_exec_ext in '' $ac_executable_extensions; do
    29692208  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29702209    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
     2210    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29722211    break 2
    29732212  fi
    29742213done
    2975   done
     2214done
    29762215IFS=$as_save_IFS
    29772216
     
    29802219ac_ct_CC=$ac_cv_prog_ac_ct_CC
    29812220if test -n "$ac_ct_CC"; then
    2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2221  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    29832222$as_echo "$ac_ct_CC" >&6; }
    29842223else
    2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2224  { $as_echo "$as_me:$LINENO: result: no" >&5
    29862225$as_echo "no" >&6; }
    29872226fi
     
    29962235    case $cross_compiling:$ac_tool_warned in
    29972236yes:)
    2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2237{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    29992238$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30002239ac_tool_warned=yes ;;
     
    30072246
    30082247
    3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2248test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    30102249$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; }
     2250{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2251See \`config.log' for more details." >&5
     2252$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2253See \`config.log' for more details." >&2;}
     2254   { (exit 1); exit 1; }; }; }
    30132255
    30142256# Provide some information about the compiler.
    3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2257$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    30162258set X $ac_compile
    30172259ac_compiler=$2
    3018 for ac_option in --version -v -V -qversion; do
    3019   { { ac_try="$ac_compiler $ac_option >&5"
     2260{ (ac_try="$ac_compiler --version >&5"
    30202261case "(($ac_try" in
    30212262  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30222263  *) ac_try_echo=$ac_try;;
    30232264esac
    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
     2265eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2266$as_echo "$ac_try_echo") >&5
     2267  (eval "$ac_compiler --version >&5") 2>&5
    30272268  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
     2269  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2270  (exit $ac_status); }
     2271{ (ac_try="$ac_compiler -v >&5"
     2272case "(($ac_try" in
     2273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2274  *) ac_try_echo=$ac_try;;
     2275esac
     2276eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2277$as_echo "$ac_try_echo") >&5
     2278  (eval "$ac_compiler -v >&5") 2>&5
     2279  ac_status=$?
     2280  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2281  (exit $ac_status); }
     2282{ (ac_try="$ac_compiler -V >&5"
     2283case "(($ac_try" in
     2284  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2285  *) ac_try_echo=$ac_try;;
     2286esac
     2287eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2288$as_echo "$ac_try_echo") >&5
     2289  (eval "$ac_compiler -V >&5") 2>&5
     2290  ac_status=$?
     2291  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2292  (exit $ac_status); }
     2293
     2294cat >conftest.$ac_ext <<_ACEOF
     2295/* confdefs.h.  */
     2296_ACEOF
     2297cat confdefs.h >>conftest.$ac_ext
     2298cat >>conftest.$ac_ext <<_ACEOF
    30402299/* end confdefs.h.  */
    30412300
     
    30532312# It will help us diagnose broken compilers, and finding out an intuition
    30542313# 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; }
     2314{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2315$as_echo_n "checking for C compiler default output file name... " >&6; }
    30572316ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    30582317
     
    30702329rm -f $ac_rmfiles
    30712330
    3072 if { { ac_try="$ac_link_default"
     2331if { (ac_try="$ac_link_default"
    30732332case "(($ac_try" in
    30742333  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30752334  *) ac_try_echo=$ac_try;;
    30762335esac
    3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3078 $as_echo "$ac_try_echo"; } >&5
     2336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2337$as_echo "$ac_try_echo") >&5
    30792338  (eval "$ac_link_default") 2>&5
    30802339  ac_status=$?
    3081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3082   test $ac_status = 0; }; then :
     2340  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2341  (exit $ac_status); }; then
    30832342  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    30842343# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    30972356        break;;
    30982357    *.* )
    3099         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2358        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    31002359        then :; else
    31012360           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    31162375  ac_file=''
    31172376fi
    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
     2377
     2378{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2379$as_echo "$ac_file" >&6; }
     2380if test -z "$ac_file"; then
     2381  $as_echo "$as_me: failed program was:" >&5
    31222382sed 's/^/| /' conftest.$ac_ext >&5
    31232383
    3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2384{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31252385$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
     2386{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2387See \`config.log' for more details." >&5
     2388$as_echo "$as_me: error: C compiler cannot create executables
     2389See \`config.log' for more details." >&2;}
     2390   { (exit 77); exit 77; }; }; }
     2391fi
     2392
     2393ac_exeext=$ac_cv_exeext
     2394
     2395# Check that the compiler produces executables we can run.  If not, either
     2396# the compiler is broken, or we cross compile.
     2397{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2398$as_echo_n "checking whether the C compiler works... " >&6; }
     2399# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2400# If not cross compiling, check that we can run a simple program.
     2401if test "$cross_compiling" != yes; then
     2402  if { ac_try='./$ac_file'
     2403  { (case "(($ac_try" in
     2404  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2405  *) ac_try_echo=$ac_try;;
     2406esac
     2407eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2408$as_echo "$ac_try_echo") >&5
     2409  (eval "$ac_try") 2>&5
     2410  ac_status=$?
     2411  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2412  (exit $ac_status); }; }; then
     2413    cross_compiling=no
     2414  else
     2415    if test "$cross_compiling" = maybe; then
     2416        cross_compiling=yes
     2417    else
     2418        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2419$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2420{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2421If you meant to cross compile, use \`--host'.
     2422See \`config.log' for more details." >&5
     2423$as_echo "$as_me: error: cannot run C compiled programs.
     2424If you meant to cross compile, use \`--host'.
     2425See \`config.log' for more details." >&2;}
     2426   { (exit 1); exit 1; }; }; }
     2427    fi
     2428  fi
     2429fi
     2430{ $as_echo "$as_me:$LINENO: result: yes" >&5
    31302431$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
    31372432
    31382433rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    31392434ac_clean_files=$ac_clean_files_save
    3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2435# Check that the compiler produces executables we can run.  If not, either
     2436# the compiler is broken, or we cross compile.
     2437{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2438$as_echo_n "checking whether we are cross compiling... " >&6; }
     2439{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2440$as_echo "$cross_compiling" >&6; }
     2441
     2442{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    31412443$as_echo_n "checking for suffix of executables... " >&6; }
    3142 if { { ac_try="$ac_link"
     2444if { (ac_try="$ac_link"
    31432445case "(($ac_try" in
    31442446  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31452447  *) ac_try_echo=$ac_try;;
    31462448esac
    3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3148 $as_echo "$ac_try_echo"; } >&5
     2449eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2450$as_echo "$ac_try_echo") >&5
    31492451  (eval "$ac_link") 2>&5
    31502452  ac_status=$?
    3151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3152   test $ac_status = 0; }; then :
     2453  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2454  (exit $ac_status); }; then
    31532455  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    31542456# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    31652467done
    31662468else
    3167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2469  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31682470$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
     2471{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2472See \`config.log' for more details." >&5
     2473$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2474See \`config.log' for more details." >&2;}
     2475   { (exit 1); exit 1; }; }; }
     2476fi
     2477
     2478rm -f conftest$ac_cv_exeext
     2479{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    31742480$as_echo "$ac_cv_exeext" >&6; }
    31752481
     
    31772483EXEEXT=$ac_cv_exeext
    31782484ac_exeext=$EXEEXT
    3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2485{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2486$as_echo_n "checking for suffix of object files... " >&6; }
     2487if test "${ac_cv_objext+set}" = set; then
     2488  $as_echo_n "(cached) " >&6
     2489else
     2490  cat >conftest.$ac_ext <<_ACEOF
     2491/* confdefs.h.  */
     2492_ACEOF
     2493cat confdefs.h >>conftest.$ac_ext
     2494cat >>conftest.$ac_ext <<_ACEOF
    31802495/* end confdefs.h.  */
    3181 #include <stdio.h>
     2496
    31822497int
    31832498main ()
    31842499{
    3185 FILE *f = fopen ("conftest.out", "w");
    3186  return ferror (f) || fclose (f) != 0;
    31872500
    31882501  ;
     
    31902503}
    31912504_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"
     2505rm -f conftest.o conftest.obj
     2506if { (ac_try="$ac_compile"
    31992507case "(($ac_try" in
    32002508  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32012509  *) ac_try_echo=$ac_try;;
    32022510esac
    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
     2511eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2512$as_echo "$ac_try_echo") >&5
    32622513  (eval "$ac_compile") 2>&5
    32632514  ac_status=$?
    3264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3265   test $ac_status = 0; }; then :
     2515  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2516  (exit $ac_status); }; then
    32662517  for ac_file in conftest.o conftest.obj conftest.*; do
    32672518  test -f "$ac_file" || continue;
     
    32762527sed 's/^/| /' conftest.$ac_ext >&5
    32772528
    3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2529{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    32792530$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
     2531{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2532See \`config.log' for more details." >&5
     2533$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2534See \`config.log' for more details." >&2;}
     2535   { (exit 1); exit 1; }; }; }
     2536fi
     2537
    32832538rm -f conftest.$ac_cv_objext conftest.$ac_ext
    32842539fi
    3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2540{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    32862541$as_echo "$ac_cv_objext" >&6; }
    32872542OBJEXT=$ac_cv_objext
    32882543ac_objext=$OBJEXT
    3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2544{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32902545$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3291 if ${ac_cv_c_compiler_gnu+:} false; then :
     2546if test "${ac_cv_c_compiler_gnu+set}" = set; then
    32922547  $as_echo_n "(cached) " >&6
    32932548else
    3294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2549  cat >conftest.$ac_ext <<_ACEOF
     2550/* confdefs.h.  */
     2551_ACEOF
     2552cat confdefs.h >>conftest.$ac_ext
     2553cat >>conftest.$ac_ext <<_ACEOF
    32952554/* end confdefs.h.  */
    32962555
     
    33062565}
    33072566_ACEOF
    3308 if ac_fn_c_try_compile "$LINENO"; then :
     2567rm -f conftest.$ac_objext
     2568if { (ac_try="$ac_compile"
     2569case "(($ac_try" in
     2570  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2571  *) ac_try_echo=$ac_try;;
     2572esac
     2573eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2574$as_echo "$ac_try_echo") >&5
     2575  (eval "$ac_compile") 2>conftest.er1
     2576  ac_status=$?
     2577  grep -v '^ *+' conftest.er1 >conftest.err
     2578  rm -f conftest.er1
     2579  cat conftest.err >&5
     2580  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2581  (exit $ac_status); } && {
     2582         test -z "$ac_c_werror_flag" ||
     2583         test ! -s conftest.err
     2584       } && test -s conftest.$ac_objext; then
    33092585  ac_compiler_gnu=yes
    33102586else
    3311   ac_compiler_gnu=no
    3312 fi
     2587  $as_echo "$as_me: failed program was:" >&5
     2588sed 's/^/| /' conftest.$ac_ext >&5
     2589
     2590        ac_compiler_gnu=no
     2591fi
     2592
    33132593rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33142594ac_cv_c_compiler_gnu=$ac_compiler_gnu
    33152595
    33162596fi
    3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2597{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    33182598$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    33192599if test $ac_compiler_gnu = yes; then
     
    33242604ac_test_CFLAGS=${CFLAGS+set}
    33252605ac_save_CFLAGS=$CFLAGS
    3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2606{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    33272607$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3328 if ${ac_cv_prog_cc_g+:} false; then :
     2608if test "${ac_cv_prog_cc_g+set}" = set; then
    33292609  $as_echo_n "(cached) " >&6
    33302610else
     
    33332613   ac_cv_prog_cc_g=no
    33342614   CFLAGS="-g"
    3335    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2615   cat >conftest.$ac_ext <<_ACEOF
     2616/* confdefs.h.  */
     2617_ACEOF
     2618cat confdefs.h >>conftest.$ac_ext
     2619cat >>conftest.$ac_ext <<_ACEOF
    33362620/* end confdefs.h.  */
    33372621
     
    33442628}
    33452629_ACEOF
    3346 if ac_fn_c_try_compile "$LINENO"; then :
     2630rm -f conftest.$ac_objext
     2631if { (ac_try="$ac_compile"
     2632case "(($ac_try" in
     2633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2634  *) ac_try_echo=$ac_try;;
     2635esac
     2636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2637$as_echo "$ac_try_echo") >&5
     2638  (eval "$ac_compile") 2>conftest.er1
     2639  ac_status=$?
     2640  grep -v '^ *+' conftest.er1 >conftest.err
     2641  rm -f conftest.er1
     2642  cat conftest.err >&5
     2643  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2644  (exit $ac_status); } && {
     2645         test -z "$ac_c_werror_flag" ||
     2646         test ! -s conftest.err
     2647       } && test -s conftest.$ac_objext; then
    33472648  ac_cv_prog_cc_g=yes
    33482649else
    3349   CFLAGS=""
    3350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2650  $as_echo "$as_me: failed program was:" >&5
     2651sed 's/^/| /' conftest.$ac_ext >&5
     2652
     2653        CFLAGS=""
     2654      cat >conftest.$ac_ext <<_ACEOF
     2655/* confdefs.h.  */
     2656_ACEOF
     2657cat confdefs.h >>conftest.$ac_ext
     2658cat >>conftest.$ac_ext <<_ACEOF
    33512659/* end confdefs.h.  */
    33522660
     
    33592667}
    33602668_ACEOF
    3361 if ac_fn_c_try_compile "$LINENO"; then :
    3362 
    3363 else
    3364   ac_c_werror_flag=$ac_save_c_werror_flag
     2669rm -f conftest.$ac_objext
     2670if { (ac_try="$ac_compile"
     2671case "(($ac_try" in
     2672  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2673  *) ac_try_echo=$ac_try;;
     2674esac
     2675eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2676$as_echo "$ac_try_echo") >&5
     2677  (eval "$ac_compile") 2>conftest.er1
     2678  ac_status=$?
     2679  grep -v '^ *+' conftest.er1 >conftest.err
     2680  rm -f conftest.er1
     2681  cat conftest.err >&5
     2682  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2683  (exit $ac_status); } && {
     2684         test -z "$ac_c_werror_flag" ||
     2685         test ! -s conftest.err
     2686       } && test -s conftest.$ac_objext; then
     2687  :
     2688else
     2689  $as_echo "$as_me: failed program was:" >&5
     2690sed 's/^/| /' conftest.$ac_ext >&5
     2691
     2692        ac_c_werror_flag=$ac_save_c_werror_flag
    33652693         CFLAGS="-g"
    3366          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2694         cat >conftest.$ac_ext <<_ACEOF
     2695/* confdefs.h.  */
     2696_ACEOF
     2697cat confdefs.h >>conftest.$ac_ext
     2698cat >>conftest.$ac_ext <<_ACEOF
    33672699/* end confdefs.h.  */
    33682700
     
    33752707}
    33762708_ACEOF
    3377 if ac_fn_c_try_compile "$LINENO"; then :
     2709rm -f conftest.$ac_objext
     2710if { (ac_try="$ac_compile"
     2711case "(($ac_try" in
     2712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2713  *) ac_try_echo=$ac_try;;
     2714esac
     2715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2716$as_echo "$ac_try_echo") >&5
     2717  (eval "$ac_compile") 2>conftest.er1
     2718  ac_status=$?
     2719  grep -v '^ *+' conftest.er1 >conftest.err
     2720  rm -f conftest.er1
     2721  cat conftest.err >&5
     2722  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2723  (exit $ac_status); } && {
     2724         test -z "$ac_c_werror_flag" ||
     2725         test ! -s conftest.err
     2726       } && test -s conftest.$ac_objext; then
    33782727  ac_cv_prog_cc_g=yes
    3379 fi
     2728else
     2729  $as_echo "$as_me: failed program was:" >&5
     2730sed 's/^/| /' conftest.$ac_ext >&5
     2731
     2732
     2733fi
     2734
    33802735rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33812736fi
     2737
    33822738rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33832739fi
     2740
    33842741rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33852742   ac_c_werror_flag=$ac_save_c_werror_flag
    33862743fi
    3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2744{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    33882745$as_echo "$ac_cv_prog_cc_g" >&6; }
    33892746if test "$ac_test_CFLAGS" = set; then
     
    34022759  fi
    34032760fi
    3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2761{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    34052762$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3406 if ${ac_cv_prog_cc_c89+:} false; then :
     2763if test "${ac_cv_prog_cc_c89+set}" = set; then
    34072764  $as_echo_n "(cached) " >&6
    34082765else
    34092766  ac_cv_prog_cc_c89=no
    34102767ac_save_CC=$CC
    3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2768cat >conftest.$ac_ext <<_ACEOF
     2769/* confdefs.h.  */
     2770_ACEOF
     2771cat confdefs.h >>conftest.$ac_ext
     2772cat >>conftest.$ac_ext <<_ACEOF
    34122773/* end confdefs.h.  */
    34132774#include <stdarg.h>
     
    34662827do
    34672828  CC="$ac_save_CC $ac_arg"
    3468   if ac_fn_c_try_compile "$LINENO"; then :
     2829  rm -f conftest.$ac_objext
     2830if { (ac_try="$ac_compile"
     2831case "(($ac_try" in
     2832  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2833  *) ac_try_echo=$ac_try;;
     2834esac
     2835eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2836$as_echo "$ac_try_echo") >&5
     2837  (eval "$ac_compile") 2>conftest.er1
     2838  ac_status=$?
     2839  grep -v '^ *+' conftest.er1 >conftest.err
     2840  rm -f conftest.er1
     2841  cat conftest.err >&5
     2842  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2843  (exit $ac_status); } && {
     2844         test -z "$ac_c_werror_flag" ||
     2845         test ! -s conftest.err
     2846       } && test -s conftest.$ac_objext; then
    34692847  ac_cv_prog_cc_c89=$ac_arg
    3470 fi
     2848else
     2849  $as_echo "$as_me: failed program was:" >&5
     2850sed 's/^/| /' conftest.$ac_ext >&5
     2851
     2852
     2853fi
     2854
    34712855rm -f core conftest.err conftest.$ac_objext
    34722856  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    34792863case "x$ac_cv_prog_cc_c89" in
    34802864  x)
    3481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     2865    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    34822866$as_echo "none needed" >&6; } ;;
    34832867  xno)
    3484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     2868    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    34852869$as_echo "unsupported" >&6; } ;;
    34862870  *)
    34872871    CC="$CC $ac_cv_prog_cc_c89"
    3488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     2872    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    34892873$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    34902874esac
    3491 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3492 
    3493 fi
     2875
    34942876
    34952877ac_ext=c
     
    35032885  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    35042886set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2887{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    35062888$as_echo_n "checking for $ac_word... " >&6; }
    3507 if ${ac_cv_prog_RANLIB+:} false; then :
     2889if test "${ac_cv_prog_RANLIB+set}" = set; then
    35082890  $as_echo_n "(cached) " >&6
    35092891else
     
    35162898  IFS=$as_save_IFS
    35172899  test -z "$as_dir" && as_dir=.
    3518     for ac_exec_ext in '' $ac_executable_extensions; do
     2900  for ac_exec_ext in '' $ac_executable_extensions; do
    35192901  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35202902    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3521     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2903    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    35222904    break 2
    35232905  fi
    35242906done
    3525   done
     2907done
    35262908IFS=$as_save_IFS
    35272909
     
    35302912RANLIB=$ac_cv_prog_RANLIB
    35312913if test -n "$RANLIB"; then
    3532   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     2914  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    35332915$as_echo "$RANLIB" >&6; }
    35342916else
    3535   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2917  { $as_echo "$as_me:$LINENO: result: no" >&5
    35362918$as_echo "no" >&6; }
    35372919fi
     
    35432925  # Extract the first word of "ranlib", so it can be a program name with args.
    35442926set dummy ranlib; ac_word=$2
    3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2927{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    35462928$as_echo_n "checking for $ac_word... " >&6; }
    3547 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     2929if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    35482930  $as_echo_n "(cached) " >&6
    35492931else
     
    35562938  IFS=$as_save_IFS
    35572939  test -z "$as_dir" && as_dir=.
    3558     for ac_exec_ext in '' $ac_executable_extensions; do
     2940  for ac_exec_ext in '' $ac_executable_extensions; do
    35592941  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35602942    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3561     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2943    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    35622944    break 2
    35632945  fi
    35642946done
    3565   done
     2947done
    35662948IFS=$as_save_IFS
    35672949
     
    35702952ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    35712953if test -n "$ac_ct_RANLIB"; then
    3572   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     2954  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    35732955$as_echo "$ac_ct_RANLIB" >&6; }
    35742956else
    3575   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2957  { $as_echo "$as_me:$LINENO: result: no" >&5
    35762958$as_echo "no" >&6; }
    35772959fi
     
    35822964    case $cross_compiling:$ac_tool_warned in
    35832965yes:)
    3584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2966{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    35852967$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    35862968ac_tool_warned=yes ;;
     
    35972979ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35982980ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     2981{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    36002982$as_echo_n "checking how to run the C preprocessor... " >&6; }
    36012983# On Suns, sometimes $CPP names a directory.
     
    36042986fi
    36052987if test -z "$CPP"; then
    3606   if ${ac_cv_prog_CPP+:} false; then :
     2988  if test "${ac_cv_prog_CPP+set}" = set; then
    36072989  $as_echo_n "(cached) " >&6
    36082990else
     
    36193001  # On the NeXT, cc -E runs the code through the compiler's parser,
    36203002  # not just through cpp. "Syntax error" is here to catch this case.
    3621   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3003  cat >conftest.$ac_ext <<_ACEOF
     3004/* confdefs.h.  */
     3005_ACEOF
     3006cat confdefs.h >>conftest.$ac_ext
     3007cat >>conftest.$ac_ext <<_ACEOF
    36223008/* end confdefs.h.  */
    36233009#ifdef __STDC__
     
    36283014                     Syntax error
    36293015_ACEOF
    3630 if ac_fn_c_try_cpp "$LINENO"; then :
    3631 
    3632 else
     3016if { (ac_try="$ac_cpp conftest.$ac_ext"
     3017case "(($ac_try" in
     3018  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3019  *) ac_try_echo=$ac_try;;
     3020esac
     3021eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3022$as_echo "$ac_try_echo") >&5
     3023  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3024  ac_status=$?
     3025  grep -v '^ *+' conftest.er1 >conftest.err
     3026  rm -f conftest.er1
     3027  cat conftest.err >&5
     3028  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3029  (exit $ac_status); } >/dev/null && {
     3030         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3031         test ! -s conftest.err
     3032       }; then
     3033  :
     3034else
     3035  $as_echo "$as_me: failed program was:" >&5
     3036sed 's/^/| /' conftest.$ac_ext >&5
     3037
    36333038  # Broken: fails on valid input.
    36343039continue
    36353040fi
    3636 rm -f conftest.err conftest.i conftest.$ac_ext
     3041
     3042rm -f conftest.err conftest.$ac_ext
    36373043
    36383044  # OK, works on sane cases.  Now check whether nonexistent headers
    36393045  # can be detected and how.
    3640   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3046  cat >conftest.$ac_ext <<_ACEOF
     3047/* confdefs.h.  */
     3048_ACEOF
     3049cat confdefs.h >>conftest.$ac_ext
     3050cat >>conftest.$ac_ext <<_ACEOF
    36413051/* end confdefs.h.  */
    36423052#include <ac_nonexistent.h>
    36433053_ACEOF
    3644 if ac_fn_c_try_cpp "$LINENO"; then :
     3054if { (ac_try="$ac_cpp conftest.$ac_ext"
     3055case "(($ac_try" in
     3056  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3057  *) ac_try_echo=$ac_try;;
     3058esac
     3059eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3060$as_echo "$ac_try_echo") >&5
     3061  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3062  ac_status=$?
     3063  grep -v '^ *+' conftest.er1 >conftest.err
     3064  rm -f conftest.er1
     3065  cat conftest.err >&5
     3066  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3067  (exit $ac_status); } >/dev/null && {
     3068         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3069         test ! -s conftest.err
     3070       }; then
    36453071  # Broken: success on invalid input.
    36463072continue
    36473073else
     3074  $as_echo "$as_me: failed program was:" >&5
     3075sed 's/^/| /' conftest.$ac_ext >&5
     3076
    36483077  # Passes both tests.
    36493078ac_preproc_ok=:
    36503079break
    36513080fi
    3652 rm -f conftest.err conftest.i conftest.$ac_ext
     3081
     3082rm -f conftest.err conftest.$ac_ext
    36533083
    36543084done
    36553085# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3656 rm -f conftest.i conftest.err conftest.$ac_ext
    3657 if $ac_preproc_ok; then :
     3086rm -f conftest.err conftest.$ac_ext
     3087if $ac_preproc_ok; then
    36583088  break
    36593089fi
     
    36673097  ac_cv_prog_CPP=$CPP
    36683098fi
    3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3099{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    36703100$as_echo "$CPP" >&6; }
    36713101ac_preproc_ok=false
     
    36783108  # On the NeXT, cc -E runs the code through the compiler's parser,
    36793109  # not just through cpp. "Syntax error" is here to catch this case.
    3680   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3110  cat >conftest.$ac_ext <<_ACEOF
     3111/* confdefs.h.  */
     3112_ACEOF
     3113cat confdefs.h >>conftest.$ac_ext
     3114cat >>conftest.$ac_ext <<_ACEOF
    36813115/* end confdefs.h.  */
    36823116#ifdef __STDC__
     
    36873121                     Syntax error
    36883122_ACEOF
    3689 if ac_fn_c_try_cpp "$LINENO"; then :
    3690 
    3691 else
     3123if { (ac_try="$ac_cpp conftest.$ac_ext"
     3124case "(($ac_try" in
     3125  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3126  *) ac_try_echo=$ac_try;;
     3127esac
     3128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3129$as_echo "$ac_try_echo") >&5
     3130  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3131  ac_status=$?
     3132  grep -v '^ *+' conftest.er1 >conftest.err
     3133  rm -f conftest.er1
     3134  cat conftest.err >&5
     3135  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3136  (exit $ac_status); } >/dev/null && {
     3137         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3138         test ! -s conftest.err
     3139       }; then
     3140  :
     3141else
     3142  $as_echo "$as_me: failed program was:" >&5
     3143sed 's/^/| /' conftest.$ac_ext >&5
     3144
    36923145  # Broken: fails on valid input.
    36933146continue
    36943147fi
    3695 rm -f conftest.err conftest.i conftest.$ac_ext
     3148
     3149rm -f conftest.err conftest.$ac_ext
    36963150
    36973151  # OK, works on sane cases.  Now check whether nonexistent headers
    36983152  # can be detected and how.
    3699   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3153  cat >conftest.$ac_ext <<_ACEOF
     3154/* confdefs.h.  */
     3155_ACEOF
     3156cat confdefs.h >>conftest.$ac_ext
     3157cat >>conftest.$ac_ext <<_ACEOF
    37003158/* end confdefs.h.  */
    37013159#include <ac_nonexistent.h>
    37023160_ACEOF
    3703 if ac_fn_c_try_cpp "$LINENO"; then :
     3161if { (ac_try="$ac_cpp conftest.$ac_ext"
     3162case "(($ac_try" in
     3163  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3164  *) ac_try_echo=$ac_try;;
     3165esac
     3166eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3167$as_echo "$ac_try_echo") >&5
     3168  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3169  ac_status=$?
     3170  grep -v '^ *+' conftest.er1 >conftest.err
     3171  rm -f conftest.er1
     3172  cat conftest.err >&5
     3173  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3174  (exit $ac_status); } >/dev/null && {
     3175         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3176         test ! -s conftest.err
     3177       }; then
    37043178  # Broken: success on invalid input.
    37053179continue
    37063180else
     3181  $as_echo "$as_me: failed program was:" >&5
     3182sed 's/^/| /' conftest.$ac_ext >&5
     3183
    37073184  # Passes both tests.
    37083185ac_preproc_ok=:
    37093186break
    37103187fi
    3711 rm -f conftest.err conftest.i conftest.$ac_ext
     3188
     3189rm -f conftest.err conftest.$ac_ext
    37123190
    37133191done
    37143192# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3715 rm -f conftest.i conftest.err conftest.$ac_ext
    3716 if $ac_preproc_ok; then :
    3717 
    3718 else
    3719   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3193rm -f conftest.err conftest.$ac_ext
     3194if $ac_preproc_ok; then
     3195  :
     3196else
     3197  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    37203198$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3721 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    3722 See \`config.log' for more details" "$LINENO" 5; }
     3199{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3200See \`config.log' for more details." >&5
     3201$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3202See \`config.log' for more details." >&2;}
     3203   { (exit 1); exit 1; }; }; }
    37233204fi
    37243205
     
    37303211
    37313212
    3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3213{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    37333214$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3734 if ${ac_cv_path_GREP+:} false; then :
     3215if test "${ac_cv_path_GREP+set}" = set; then
    37353216  $as_echo_n "(cached) " >&6
    37363217else
     
    37433224  IFS=$as_save_IFS
    37443225  test -z "$as_dir" && as_dir=.
    3745     for ac_prog in grep ggrep; do
     3226  for ac_prog in grep ggrep; do
    37463227    for ac_exec_ext in '' $ac_executable_extensions; do
    37473228      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    37633244    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    37643245    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3765     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3246    ac_count=`expr $ac_count + 1`
    37663247    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    37673248      # Best one so far, save it but keep looking for a better one
     
    37783259    done
    37793260  done
    3780   done
     3261done
    37813262IFS=$as_save_IFS
    37823263  if test -z "$ac_cv_path_GREP"; then
    3783     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3264    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3265$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3266   { (exit 1); exit 1; }; }
    37843267  fi
    37853268else
     
    37883271
    37893272fi
    3790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3273{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    37913274$as_echo "$ac_cv_path_GREP" >&6; }
    37923275 GREP="$ac_cv_path_GREP"
    37933276
    37943277
    3795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3278{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
    37963279$as_echo_n "checking for egrep... " >&6; }
    3797 if ${ac_cv_path_EGREP+:} false; then :
     3280if test "${ac_cv_path_EGREP+set}" = set; then
    37983281  $as_echo_n "(cached) " >&6
    37993282else
     
    38093292  IFS=$as_save_IFS
    38103293  test -z "$as_dir" && as_dir=.
    3811     for ac_prog in egrep; do
     3294  for ac_prog in egrep; do
    38123295    for ac_exec_ext in '' $ac_executable_extensions; do
    38133296      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    38293312    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    38303313    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3831     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3314    ac_count=`expr $ac_count + 1`
    38323315    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    38333316      # Best one so far, save it but keep looking for a better one
     
    38443327    done
    38453328  done
    3846   done
     3329done
    38473330IFS=$as_save_IFS
    38483331  if test -z "$ac_cv_path_EGREP"; then
    3849     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3332    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3333$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3334   { (exit 1); exit 1; }; }
    38503335  fi
    38513336else
     
    38553340   fi
    38563341fi
    3857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3342{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    38583343$as_echo "$ac_cv_path_EGREP" >&6; }
    38593344 EGREP="$ac_cv_path_EGREP"
    38603345
    38613346
    3862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3347{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    38633348$as_echo_n "checking for ANSI C header files... " >&6; }
    3864 if ${ac_cv_header_stdc+:} false; then :
     3349if test "${ac_cv_header_stdc+set}" = set; then
    38653350  $as_echo_n "(cached) " >&6
    38663351else
    3867   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3352  cat >conftest.$ac_ext <<_ACEOF
     3353/* confdefs.h.  */
     3354_ACEOF
     3355cat confdefs.h >>conftest.$ac_ext
     3356cat >>conftest.$ac_ext <<_ACEOF
    38683357/* end confdefs.h.  */
    38693358#include <stdlib.h>
     
    38803369}
    38813370_ACEOF
    3882 if ac_fn_c_try_compile "$LINENO"; then :
     3371rm -f conftest.$ac_objext
     3372if { (ac_try="$ac_compile"
     3373case "(($ac_try" in
     3374  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3375  *) ac_try_echo=$ac_try;;
     3376esac
     3377eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3378$as_echo "$ac_try_echo") >&5
     3379  (eval "$ac_compile") 2>conftest.er1
     3380  ac_status=$?
     3381  grep -v '^ *+' conftest.er1 >conftest.err
     3382  rm -f conftest.er1
     3383  cat conftest.err >&5
     3384  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3385  (exit $ac_status); } && {
     3386         test -z "$ac_c_werror_flag" ||
     3387         test ! -s conftest.err
     3388       } && test -s conftest.$ac_objext; then
    38833389  ac_cv_header_stdc=yes
    38843390else
    3885   ac_cv_header_stdc=no
    3886 fi
     3391  $as_echo "$as_me: failed program was:" >&5
     3392sed 's/^/| /' conftest.$ac_ext >&5
     3393
     3394        ac_cv_header_stdc=no
     3395fi
     3396
    38873397rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    38883398
    38893399if test $ac_cv_header_stdc = yes; then
    38903400  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3891   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3401  cat >conftest.$ac_ext <<_ACEOF
     3402/* confdefs.h.  */
     3403_ACEOF
     3404cat confdefs.h >>conftest.$ac_ext
     3405cat >>conftest.$ac_ext <<_ACEOF
    38923406/* end confdefs.h.  */
    38933407#include <string.h>
     
    38953409_ACEOF
    38963410if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3897   $EGREP "memchr" >/dev/null 2>&1; then :
    3898 
     3411  $EGREP "memchr" >/dev/null 2>&1; then
     3412  :
    38993413else
    39003414  ac_cv_header_stdc=no
     
    39063420if test $ac_cv_header_stdc = yes; then
    39073421  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3422  cat >conftest.$ac_ext <<_ACEOF
     3423/* confdefs.h.  */
     3424_ACEOF
     3425cat confdefs.h >>conftest.$ac_ext
     3426cat >>conftest.$ac_ext <<_ACEOF
    39093427/* end confdefs.h.  */
    39103428#include <stdlib.h>
     
    39123430_ACEOF
    39133431if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3914   $EGREP "free" >/dev/null 2>&1; then :
    3915 
     3432  $EGREP "free" >/dev/null 2>&1; then
     3433  :
    39163434else
    39173435  ac_cv_header_stdc=no
     
    39233441if test $ac_cv_header_stdc = yes; then
    39243442  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3925   if test "$cross_compiling" = yes; then :
     3443  if test "$cross_compiling" = yes; then
    39263444  :
    39273445else
    3928   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3446  cat >conftest.$ac_ext <<_ACEOF
     3447/* confdefs.h.  */
     3448_ACEOF
     3449cat confdefs.h >>conftest.$ac_ext
     3450cat >>conftest.$ac_ext <<_ACEOF
    39293451/* end confdefs.h.  */
    39303452#include <ctype.h>
     
    39533475}
    39543476_ACEOF
    3955 if ac_fn_c_try_run "$LINENO"; then :
    3956 
    3957 else
    3958   ac_cv_header_stdc=no
    3959 fi
    3960 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    3961   conftest.$ac_objext conftest.beam conftest.$ac_ext
    3962 fi
    3963 
    3964 fi
    3965 fi
    3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3477rm -f conftest$ac_exeext
     3478if { (ac_try="$ac_link"
     3479case "(($ac_try" in
     3480  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3481  *) ac_try_echo=$ac_try;;
     3482esac
     3483eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3484$as_echo "$ac_try_echo") >&5
     3485  (eval "$ac_link") 2>&5
     3486  ac_status=$?
     3487  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3488  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3489  { (case "(($ac_try" in
     3490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3491  *) ac_try_echo=$ac_try;;
     3492esac
     3493eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3494$as_echo "$ac_try_echo") >&5
     3495  (eval "$ac_try") 2>&5
     3496  ac_status=$?
     3497  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3498  (exit $ac_status); }; }; then
     3499  :
     3500else
     3501  $as_echo "$as_me: program exited with status $ac_status" >&5
     3502$as_echo "$as_me: failed program was:" >&5
     3503sed 's/^/| /' conftest.$ac_ext >&5
     3504
     3505( exit $ac_status )
     3506ac_cv_header_stdc=no
     3507fi
     3508rm -rf conftest.dSYM
     3509rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3510fi
     3511
     3512
     3513fi
     3514fi
     3515{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    39673516$as_echo "$ac_cv_header_stdc" >&6; }
    39683517if test $ac_cv_header_stdc = yes; then
    39693518
    3970 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3519cat >>confdefs.h <<\_ACEOF
     3520#define STDC_HEADERS 1
     3521_ACEOF
    39713522
    39723523fi
    39733524
    39743525# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3526
     3527
     3528
     3529
     3530
     3531
     3532
     3533
     3534
    39753535for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    39763536                  inttypes.h stdint.h unistd.h
    3977 do :
    3978   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3979 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    3980 "
    3981 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3537do
     3538as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3539{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3540$as_echo_n "checking for $ac_header... " >&6; }
     3541if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3542  $as_echo_n "(cached) " >&6
     3543else
     3544  cat >conftest.$ac_ext <<_ACEOF
     3545/* confdefs.h.  */
     3546_ACEOF
     3547cat confdefs.h >>conftest.$ac_ext
     3548cat >>conftest.$ac_ext <<_ACEOF
     3549/* end confdefs.h.  */
     3550$ac_includes_default
     3551
     3552#include <$ac_header>
     3553_ACEOF
     3554rm -f conftest.$ac_objext
     3555if { (ac_try="$ac_compile"
     3556case "(($ac_try" in
     3557  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3558  *) ac_try_echo=$ac_try;;
     3559esac
     3560eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3561$as_echo "$ac_try_echo") >&5
     3562  (eval "$ac_compile") 2>conftest.er1
     3563  ac_status=$?
     3564  grep -v '^ *+' conftest.er1 >conftest.err
     3565  rm -f conftest.er1
     3566  cat conftest.err >&5
     3567  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3568  (exit $ac_status); } && {
     3569         test -z "$ac_c_werror_flag" ||
     3570         test ! -s conftest.err
     3571       } && test -s conftest.$ac_objext; then
     3572  eval "$as_ac_Header=yes"
     3573else
     3574  $as_echo "$as_me: failed program was:" >&5
     3575sed 's/^/| /' conftest.$ac_ext >&5
     3576
     3577        eval "$as_ac_Header=no"
     3578fi
     3579
     3580rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3581fi
     3582ac_res=`eval 'as_val=${'$as_ac_Header'}
     3583                 $as_echo "$as_val"'`
     3584               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3585$as_echo "$ac_res" >&6; }
     3586as_val=`eval 'as_val=${'$as_ac_Header'}
     3587                 $as_echo "$as_val"'`
     3588   if test "x$as_val" = x""yes; then
    39823589  cat >>confdefs.h <<_ACEOF
    39833590#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    39933600    # Step 0.a: Enable 64 bit support?
    39943601
    3995     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     3602    { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    39963603$as_echo_n "checking if 64bit support is requested... " >&6; }
    39973604    # Check whether --enable-64bit was given.
    3998 if test "${enable_64bit+set}" = set; then :
     3605if test "${enable_64bit+set}" = set; then
    39993606  enableval=$enable_64bit; do64bit=$enableval
    40003607else
     
    40023609fi
    40033610
    4004     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     3611    { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    40053612$as_echo "$do64bit" >&6; }
    40063613
    40073614    # Step 0.b: Enable Solaris 64 bit VIS support?
    40083615
    4009     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     3616    { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    40103617$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    40113618    # Check whether --enable-64bit-vis was given.
    4012 if test "${enable_64bit_vis+set}" = set; then :
     3619if test "${enable_64bit_vis+set}" = set; then
    40133620  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    40143621else
     
    40163623fi
    40173624
    4018     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     3625    { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    40193626$as_echo "$do64bitVIS" >&6; }
    40203627
     
    40283635
    40293636
    4030     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     3637    { $as_echo "$as_me:$LINENO: checking system version" >&5
    40313638$as_echo_n "checking system version... " >&6; }
    4032 if ${tcl_cv_sys_version+:} false; then :
     3639if test "${tcl_cv_sys_version+set}" = set; then
    40333640  $as_echo_n "(cached) " >&6
    40343641else
     
    40393646            tcl_cv_sys_version=`uname -s`-`uname -r`
    40403647            if test "$?" -ne 0 ; then
    4041                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     3648                { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    40423649$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    40433650                tcl_cv_sys_version=unknown
     
    40563663
    40573664fi
    4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     3665{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    40593666$as_echo "$tcl_cv_sys_version" >&6; }
    40603667    system=$tcl_cv_sys_version
     
    40643671    # Linux can use either -ldl or -ldld for dynamic loading.
    40653672
    4066     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     3673    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    40673674$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4068 if ${ac_cv_lib_dl_dlopen+:} false; then :
     3675if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    40693676  $as_echo_n "(cached) " >&6
    40703677else
    40713678  ac_check_lib_save_LIBS=$LIBS
    40723679LIBS="-ldl  $LIBS"
    4073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3680cat >conftest.$ac_ext <<_ACEOF
     3681/* confdefs.h.  */
     3682_ACEOF
     3683cat confdefs.h >>conftest.$ac_ext
     3684cat >>conftest.$ac_ext <<_ACEOF
    40743685/* end confdefs.h.  */
    40753686
     
    40893700}
    40903701_ACEOF
    4091 if ac_fn_c_try_link "$LINENO"; then :
     3702rm -f conftest.$ac_objext conftest$ac_exeext
     3703if { (ac_try="$ac_link"
     3704case "(($ac_try" in
     3705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3706  *) ac_try_echo=$ac_try;;
     3707esac
     3708eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3709$as_echo "$ac_try_echo") >&5
     3710  (eval "$ac_link") 2>conftest.er1
     3711  ac_status=$?
     3712  grep -v '^ *+' conftest.er1 >conftest.err
     3713  rm -f conftest.er1
     3714  cat conftest.err >&5
     3715  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3716  (exit $ac_status); } && {
     3717         test -z "$ac_c_werror_flag" ||
     3718         test ! -s conftest.err
     3719       } && test -s conftest$ac_exeext && {
     3720         test "$cross_compiling" = yes ||
     3721         $as_test_x conftest$ac_exeext
     3722       }; then
    40923723  ac_cv_lib_dl_dlopen=yes
    40933724else
    4094   ac_cv_lib_dl_dlopen=no
    4095 fi
    4096 rm -f core conftest.err conftest.$ac_objext \
    4097     conftest$ac_exeext conftest.$ac_ext
     3725  $as_echo "$as_me: failed program was:" >&5
     3726sed 's/^/| /' conftest.$ac_ext >&5
     3727
     3728        ac_cv_lib_dl_dlopen=no
     3729fi
     3730
     3731rm -rf conftest.dSYM
     3732rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     3733      conftest$ac_exeext conftest.$ac_ext
    40983734LIBS=$ac_check_lib_save_LIBS
    40993735fi
    4100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     3736{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    41013737$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4102 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     3738if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    41033739  have_dl=yes
    41043740else
     
    41323768    # Extract the first word of "ar", so it can be a program name with args.
    41333769set dummy ar; ac_word=$2
    4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3770{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    41353771$as_echo_n "checking for $ac_word... " >&6; }
    4136 if ${ac_cv_prog_AR+:} false; then :
     3772if test "${ac_cv_prog_AR+set}" = set; then
    41373773  $as_echo_n "(cached) " >&6
    41383774else
     
    41453781  IFS=$as_save_IFS
    41463782  test -z "$as_dir" && as_dir=.
    4147     for ac_exec_ext in '' $ac_executable_extensions; do
     3783  for ac_exec_ext in '' $ac_executable_extensions; do
    41483784  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41493785    ac_cv_prog_AR="ar"
    4150     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3786    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41513787    break 2
    41523788  fi
    41533789done
    4154   done
     3790done
    41553791IFS=$as_save_IFS
    41563792
     
    41593795AR=$ac_cv_prog_AR
    41603796if test -n "$AR"; then
    4161   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     3797  { $as_echo "$as_me:$LINENO: result: $AR" >&5
    41623798$as_echo "$AR" >&6; }
    41633799else
    4164   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3800  { $as_echo "$as_me:$LINENO: result: no" >&5
    41653801$as_echo "no" >&6; }
    41663802fi
     
    41683804
    41693805    if test "${AR}" = "" ; then
    4170         as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
     3806        { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     3807$as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     3808   { (exit 1); exit 1; }; }
    41713809    fi
    41723810    STLIB_LD='${AR} cr'
     
    41863824                        ;;
    41873825                esac
    4188                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     3826                { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    41893827$as_echo "Using $CC for compiling with threads" >&6; }
    41903828            fi
     
    42023840            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    42033841                if test "$GCC" = "yes" ; then
    4204                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     3842                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    42053843$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    42063844                else
     
    42573895            # known GMT value.
    42583896
    4259             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     3897            { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    42603898$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4261 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
     3899if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    42623900  $as_echo_n "(cached) " >&6
    42633901else
    42643902  ac_check_lib_save_LIBS=$LIBS
    42653903LIBS="-lbsd  $LIBS"
    4266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3904cat >conftest.$ac_ext <<_ACEOF
     3905/* confdefs.h.  */
     3906_ACEOF
     3907cat confdefs.h >>conftest.$ac_ext
     3908cat >>conftest.$ac_ext <<_ACEOF
    42673909/* end confdefs.h.  */
    42683910
     
    42823924}
    42833925_ACEOF
    4284 if ac_fn_c_try_link "$LINENO"; then :
     3926rm -f conftest.$ac_objext conftest$ac_exeext
     3927if { (ac_try="$ac_link"
     3928case "(($ac_try" in
     3929  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3930  *) ac_try_echo=$ac_try;;
     3931esac
     3932eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3933$as_echo "$ac_try_echo") >&5
     3934  (eval "$ac_link") 2>conftest.er1
     3935  ac_status=$?
     3936  grep -v '^ *+' conftest.er1 >conftest.err
     3937  rm -f conftest.er1
     3938  cat conftest.err >&5
     3939  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3940  (exit $ac_status); } && {
     3941         test -z "$ac_c_werror_flag" ||
     3942         test ! -s conftest.err
     3943       } && test -s conftest$ac_exeext && {
     3944         test "$cross_compiling" = yes ||
     3945         $as_test_x conftest$ac_exeext
     3946       }; then
    42853947  ac_cv_lib_bsd_gettimeofday=yes
    42863948else
    4287   ac_cv_lib_bsd_gettimeofday=no
    4288 fi
    4289 rm -f core conftest.err conftest.$ac_objext \
    4290     conftest$ac_exeext conftest.$ac_ext
     3949  $as_echo "$as_me: failed program was:" >&5
     3950sed 's/^/| /' conftest.$ac_ext >&5
     3951
     3952        ac_cv_lib_bsd_gettimeofday=no
     3953fi
     3954
     3955rm -rf conftest.dSYM
     3956rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     3957      conftest$ac_exeext conftest.$ac_ext
    42913958LIBS=$ac_check_lib_save_LIBS
    42923959fi
    4293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     3960{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    42943961$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4295 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
     3962if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    42963963  libbsd=yes
    42973964else
     
    43013968            if test $libbsd = yes; then
    43023969                MATH_LIBS="$MATH_LIBS -lbsd"
    4303                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
     3970                cat >>confdefs.h <<\_ACEOF
     3971#define USE_DELTA_FOR_TZ 1
     3972_ACEOF
    43043973
    43053974            fi
     
    43183987            # is always linked to, for compatibility.
    43193988            #-----------------------------------------------------------
    4320             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     3989            { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    43213990$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4322 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
     3991if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    43233992  $as_echo_n "(cached) " >&6
    43243993else
    43253994  ac_check_lib_save_LIBS=$LIBS
    43263995LIBS="-lbind  $LIBS"
    4327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3996cat >conftest.$ac_ext <<_ACEOF
     3997/* confdefs.h.  */
     3998_ACEOF
     3999cat confdefs.h >>conftest.$ac_ext
     4000cat >>conftest.$ac_ext <<_ACEOF
    43284001/* end confdefs.h.  */
    43294002
     
    43434016}
    43444017_ACEOF
    4345 if ac_fn_c_try_link "$LINENO"; then :
     4018rm -f conftest.$ac_objext conftest$ac_exeext
     4019if { (ac_try="$ac_link"
     4020case "(($ac_try" in
     4021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4022  *) ac_try_echo=$ac_try;;
     4023esac
     4024eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4025$as_echo "$ac_try_echo") >&5
     4026  (eval "$ac_link") 2>conftest.er1
     4027  ac_status=$?
     4028  grep -v '^ *+' conftest.er1 >conftest.err
     4029  rm -f conftest.er1
     4030  cat conftest.err >&5
     4031  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4032  (exit $ac_status); } && {
     4033         test -z "$ac_c_werror_flag" ||
     4034         test ! -s conftest.err
     4035       } && test -s conftest$ac_exeext && {
     4036         test "$cross_compiling" = yes ||
     4037         $as_test_x conftest$ac_exeext
     4038       }; then
    43464039  ac_cv_lib_bind_inet_ntoa=yes
    43474040else
    4348   ac_cv_lib_bind_inet_ntoa=no
    4349 fi
    4350 rm -f core conftest.err conftest.$ac_objext \
    4351     conftest$ac_exeext conftest.$ac_ext
     4041  $as_echo "$as_me: failed program was:" >&5
     4042sed 's/^/| /' conftest.$ac_ext >&5
     4043
     4044        ac_cv_lib_bind_inet_ntoa=no
     4045fi
     4046
     4047rm -rf conftest.dSYM
     4048rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4049      conftest$ac_exeext conftest.$ac_ext
    43524050LIBS=$ac_check_lib_save_LIBS
    43534051fi
    4354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4052{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    43554053$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4356 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
     4054if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    43574055  LIBS="$LIBS -lbind -lsocket"
    43584056fi
     
    43924090        HP-UX-*.11.*)
    43934091            # Use updated header definitions where possible
    4394             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
     4092            cat >>confdefs.h <<\_ACEOF
     4093#define _XOPEN_SOURCE 1
     4094_ACEOF
    43954095          # Use the XOPEN network library
    4396             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     4096            cat >>confdefs.h <<\_ACEOF
     4097#define _XOPEN_SOURCE_EXTENDED 1
     4098_ACEOF
    43974099 # Use the XOPEN network library
    43984100            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    44034105                SHLIB_SUFFIX=".sl"
    44044106            fi
    4405             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4107            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    44064108$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4407 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4109if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    44084110  $as_echo_n "(cached) " >&6
    44094111else
    44104112  ac_check_lib_save_LIBS=$LIBS
    44114113LIBS="-ldld  $LIBS"
    4412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4114cat >conftest.$ac_ext <<_ACEOF
     4115/* confdefs.h.  */
     4116_ACEOF
     4117cat confdefs.h >>conftest.$ac_ext
     4118cat >>conftest.$ac_ext <<_ACEOF
    44134119/* end confdefs.h.  */
    44144120
     
    44284134}
    44294135_ACEOF
    4430 if ac_fn_c_try_link "$LINENO"; then :
     4136rm -f conftest.$ac_objext conftest$ac_exeext
     4137if { (ac_try="$ac_link"
     4138case "(($ac_try" in
     4139  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4140  *) ac_try_echo=$ac_try;;
     4141esac
     4142eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4143$as_echo "$ac_try_echo") >&5
     4144  (eval "$ac_link") 2>conftest.er1
     4145  ac_status=$?
     4146  grep -v '^ *+' conftest.er1 >conftest.err
     4147  rm -f conftest.er1
     4148  cat conftest.err >&5
     4149  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4150  (exit $ac_status); } && {
     4151         test -z "$ac_c_werror_flag" ||
     4152         test ! -s conftest.err
     4153       } && test -s conftest$ac_exeext && {
     4154         test "$cross_compiling" = yes ||
     4155         $as_test_x conftest$ac_exeext
     4156       }; then
    44314157  ac_cv_lib_dld_shl_load=yes
    44324158else
    4433   ac_cv_lib_dld_shl_load=no
    4434 fi
    4435 rm -f core conftest.err conftest.$ac_objext \
    4436     conftest$ac_exeext conftest.$ac_ext
     4159  $as_echo "$as_me: failed program was:" >&5
     4160sed 's/^/| /' conftest.$ac_ext >&5
     4161
     4162        ac_cv_lib_dld_shl_load=no
     4163fi
     4164
     4165rm -rf conftest.dSYM
     4166rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4167      conftest$ac_exeext conftest.$ac_ext
    44374168LIBS=$ac_check_lib_save_LIBS
    44384169fi
    4439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4170{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    44404171$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4441 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4172if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    44424173  tcl_ok=yes
    44434174else
     
    44794210                            ;;
    44804211                        *)
    4481                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4212                            { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    44824213$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    44834214                            ;;
     
    44924223        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    44934224            SHLIB_SUFFIX=".sl"
    4494             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4225            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    44954226$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4496 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4227if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    44974228  $as_echo_n "(cached) " >&6
    44984229else
    44994230  ac_check_lib_save_LIBS=$LIBS
    45004231LIBS="-ldld  $LIBS"
    4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4232cat >conftest.$ac_ext <<_ACEOF
     4233/* confdefs.h.  */
     4234_ACEOF
     4235cat confdefs.h >>conftest.$ac_ext
     4236cat >>conftest.$ac_ext <<_ACEOF
    45024237/* end confdefs.h.  */
    45034238
     
    45174252}
    45184253_ACEOF
    4519 if ac_fn_c_try_link "$LINENO"; then :
     4254rm -f conftest.$ac_objext conftest$ac_exeext
     4255if { (ac_try="$ac_link"
     4256case "(($ac_try" in
     4257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4258  *) ac_try_echo=$ac_try;;
     4259esac
     4260eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4261$as_echo "$ac_try_echo") >&5
     4262  (eval "$ac_link") 2>conftest.er1
     4263  ac_status=$?
     4264  grep -v '^ *+' conftest.er1 >conftest.err
     4265  rm -f conftest.er1
     4266  cat conftest.err >&5
     4267  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4268  (exit $ac_status); } && {
     4269         test -z "$ac_c_werror_flag" ||
     4270         test ! -s conftest.err
     4271       } && test -s conftest$ac_exeext && {
     4272         test "$cross_compiling" = yes ||
     4273         $as_test_x conftest$ac_exeext
     4274       }; then
    45204275  ac_cv_lib_dld_shl_load=yes
    45214276else
    4522   ac_cv_lib_dld_shl_load=no
    4523 fi
    4524 rm -f core conftest.err conftest.$ac_objext \
    4525     conftest$ac_exeext conftest.$ac_ext
     4277  $as_echo "$as_me: failed program was:" >&5
     4278sed 's/^/| /' conftest.$ac_ext >&5
     4279
     4280        ac_cv_lib_dld_shl_load=no
     4281fi
     4282
     4283rm -rf conftest.dSYM
     4284rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4285      conftest$ac_exeext conftest.$ac_ext
    45264286LIBS=$ac_check_lib_save_LIBS
    45274287fi
    4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4288{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    45294289$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4530 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4290if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    45314291  tcl_ok=yes
    45324292else
     
    46074367            if test "$do64bit" = "yes" ; then
    46084368                if test "$GCC" = "yes" ; then
    4609                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
     4369                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    46104370$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    46114371                else
     
    46364396                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    46374397            else
    4638                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4639 if test "x$ac_cv_header_dld_h" = xyes; then :
     4398                if test "${ac_cv_header_dld_h+set}" = set; then
     4399  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4400$as_echo_n "checking for dld.h... " >&6; }
     4401if test "${ac_cv_header_dld_h+set}" = set; then
     4402  $as_echo_n "(cached) " >&6
     4403fi
     4404{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4405$as_echo "$ac_cv_header_dld_h" >&6; }
     4406else
     4407  # Is the header compilable?
     4408{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4409$as_echo_n "checking dld.h usability... " >&6; }
     4410cat >conftest.$ac_ext <<_ACEOF
     4411/* confdefs.h.  */
     4412_ACEOF
     4413cat confdefs.h >>conftest.$ac_ext
     4414cat >>conftest.$ac_ext <<_ACEOF
     4415/* end confdefs.h.  */
     4416$ac_includes_default
     4417#include <dld.h>
     4418_ACEOF
     4419rm -f conftest.$ac_objext
     4420if { (ac_try="$ac_compile"
     4421case "(($ac_try" in
     4422  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4423  *) ac_try_echo=$ac_try;;
     4424esac
     4425eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4426$as_echo "$ac_try_echo") >&5
     4427  (eval "$ac_compile") 2>conftest.er1
     4428  ac_status=$?
     4429  grep -v '^ *+' conftest.er1 >conftest.err
     4430  rm -f conftest.er1
     4431  cat conftest.err >&5
     4432  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4433  (exit $ac_status); } && {
     4434         test -z "$ac_c_werror_flag" ||
     4435         test ! -s conftest.err
     4436       } && test -s conftest.$ac_objext; then
     4437  ac_header_compiler=yes
     4438else
     4439  $as_echo "$as_me: failed program was:" >&5
     4440sed 's/^/| /' conftest.$ac_ext >&5
     4441
     4442        ac_header_compiler=no
     4443fi
     4444
     4445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4446{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4447$as_echo "$ac_header_compiler" >&6; }
     4448
     4449# Is the header present?
     4450{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     4451$as_echo_n "checking dld.h presence... " >&6; }
     4452cat >conftest.$ac_ext <<_ACEOF
     4453/* confdefs.h.  */
     4454_ACEOF
     4455cat confdefs.h >>conftest.$ac_ext
     4456cat >>conftest.$ac_ext <<_ACEOF
     4457/* end confdefs.h.  */
     4458#include <dld.h>
     4459_ACEOF
     4460if { (ac_try="$ac_cpp conftest.$ac_ext"
     4461case "(($ac_try" in
     4462  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4463  *) ac_try_echo=$ac_try;;
     4464esac
     4465eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4466$as_echo "$ac_try_echo") >&5
     4467  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4468  ac_status=$?
     4469  grep -v '^ *+' conftest.er1 >conftest.err
     4470  rm -f conftest.er1
     4471  cat conftest.err >&5
     4472  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4473  (exit $ac_status); } >/dev/null && {
     4474         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4475         test ! -s conftest.err
     4476       }; then
     4477  ac_header_preproc=yes
     4478else
     4479  $as_echo "$as_me: failed program was:" >&5
     4480sed 's/^/| /' conftest.$ac_ext >&5
     4481
     4482  ac_header_preproc=no
     4483fi
     4484
     4485rm -f conftest.err conftest.$ac_ext
     4486{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4487$as_echo "$ac_header_preproc" >&6; }
     4488
     4489# So?  What about this header?
     4490case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4491  yes:no: )
     4492    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4493$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4494    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4495$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4496    ac_header_preproc=yes
     4497    ;;
     4498  no:yes:* )
     4499    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4500$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4501    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4502$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4503    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4504$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4505    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4506$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4507    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4508$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4509    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4510$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4511    ( cat <<\_ASBOX
     4512## ----------------------------------- ##
     4513## Report this to rappture@nanohub.org ##
     4514## ----------------------------------- ##
     4515_ASBOX
     4516     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4517    ;;
     4518esac
     4519{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4520$as_echo_n "checking for dld.h... " >&6; }
     4521if test "${ac_cv_header_dld_h+set}" = set; then
     4522  $as_echo_n "(cached) " >&6
     4523else
     4524  ac_cv_header_dld_h=$ac_header_preproc
     4525fi
     4526{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4527$as_echo "$ac_cv_header_dld_h" >&6; }
     4528
     4529fi
     4530if test "x$ac_cv_header_dld_h" = x""yes; then
    46404531
    46414532                    SHLIB_LD="ld -shared"
     
    46524543            fi
    46534544            if test $do64bit = yes; then
    4654                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
     4545                { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    46554546$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4656 if ${tcl_cv_cc_m64+:} false; then :
     4547if test "${tcl_cv_cc_m64+set}" = set; then
    46574548  $as_echo_n "(cached) " >&6
    46584549else
     
    46604551                    hold_cflags=$CFLAGS
    46614552                    CFLAGS="$CFLAGS -m64"
    4662                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4553                    cat >conftest.$ac_ext <<_ACEOF
     4554/* confdefs.h.  */
     4555_ACEOF
     4556cat confdefs.h >>conftest.$ac_ext
     4557cat >>conftest.$ac_ext <<_ACEOF
    46634558/* end confdefs.h.  */
    46644559
     
    46714566}
    46724567_ACEOF
    4673 if ac_fn_c_try_link "$LINENO"; then :
     4568rm -f conftest.$ac_objext conftest$ac_exeext
     4569if { (ac_try="$ac_link"
     4570case "(($ac_try" in
     4571  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4572  *) ac_try_echo=$ac_try;;
     4573esac
     4574eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4575$as_echo "$ac_try_echo") >&5
     4576  (eval "$ac_link") 2>conftest.er1
     4577  ac_status=$?
     4578  grep -v '^ *+' conftest.er1 >conftest.err
     4579  rm -f conftest.er1
     4580  cat conftest.err >&5
     4581  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4582  (exit $ac_status); } && {
     4583         test -z "$ac_c_werror_flag" ||
     4584         test ! -s conftest.err
     4585       } && test -s conftest$ac_exeext && {
     4586         test "$cross_compiling" = yes ||
     4587         $as_test_x conftest$ac_exeext
     4588       }; then
    46744589  tcl_cv_cc_m64=yes
    46754590else
    4676   tcl_cv_cc_m64=no
    4677 fi
    4678 rm -f core conftest.err conftest.$ac_objext \
    4679     conftest$ac_exeext conftest.$ac_ext
     4591  $as_echo "$as_me: failed program was:" >&5
     4592sed 's/^/| /' conftest.$ac_ext >&5
     4593
     4594        tcl_cv_cc_m64=no
     4595fi
     4596
     4597rm -rf conftest.dSYM
     4598rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4599      conftest$ac_exeext conftest.$ac_ext
    46804600                    CFLAGS=$hold_cflags
    46814601fi
    4682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
     4602{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    46834603$as_echo "$tcl_cv_cc_m64" >&6; }
    46844604                if test $tcl_cv_cc_m64 = yes; then
     
    47004620
    47014621            # XIM peeking works under XFree86.
    4702             $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
     4622            cat >>confdefs.h <<\_ACEOF
     4623#define PEEK_XCLOSEIM 1
     4624_ACEOF
    47034625
    47044626
     
    47174639                LD_SEARCH_FLAGS=""
    47184640            else
    4719                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4720 if test "x$ac_cv_header_dld_h" = xyes; then :
     4641                if test "${ac_cv_header_dld_h+set}" = set; then
     4642  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4643$as_echo_n "checking for dld.h... " >&6; }
     4644if test "${ac_cv_header_dld_h+set}" = set; then
     4645  $as_echo_n "(cached) " >&6
     4646fi
     4647{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4648$as_echo "$ac_cv_header_dld_h" >&6; }
     4649else
     4650  # Is the header compilable?
     4651{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4652$as_echo_n "checking dld.h usability... " >&6; }
     4653cat >conftest.$ac_ext <<_ACEOF
     4654/* confdefs.h.  */
     4655_ACEOF
     4656cat confdefs.h >>conftest.$ac_ext
     4657cat >>conftest.$ac_ext <<_ACEOF
     4658/* end confdefs.h.  */
     4659$ac_includes_default
     4660#include <dld.h>
     4661_ACEOF
     4662rm -f conftest.$ac_objext
     4663if { (ac_try="$ac_compile"
     4664case "(($ac_try" in
     4665  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4666  *) ac_try_echo=$ac_try;;
     4667esac
     4668eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4669$as_echo "$ac_try_echo") >&5
     4670  (eval "$ac_compile") 2>conftest.er1
     4671  ac_status=$?
     4672  grep -v '^ *+' conftest.er1 >conftest.err
     4673  rm -f conftest.er1
     4674  cat conftest.err >&5
     4675  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4676  (exit $ac_status); } && {
     4677         test -z "$ac_c_werror_flag" ||
     4678         test ! -s conftest.err
     4679       } && test -s conftest.$ac_objext; then
     4680  ac_header_compiler=yes
     4681else
     4682  $as_echo "$as_me: failed program was:" >&5
     4683sed 's/^/| /' conftest.$ac_ext >&5
     4684
     4685        ac_header_compiler=no
     4686fi
     4687
     4688rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4689{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4690$as_echo "$ac_header_compiler" >&6; }
     4691
     4692# Is the header present?
     4693{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     4694$as_echo_n "checking dld.h presence... " >&6; }
     4695cat >conftest.$ac_ext <<_ACEOF
     4696/* confdefs.h.  */
     4697_ACEOF
     4698cat confdefs.h >>conftest.$ac_ext
     4699cat >>conftest.$ac_ext <<_ACEOF
     4700/* end confdefs.h.  */
     4701#include <dld.h>
     4702_ACEOF
     4703if { (ac_try="$ac_cpp conftest.$ac_ext"
     4704case "(($ac_try" in
     4705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4706  *) ac_try_echo=$ac_try;;
     4707esac
     4708eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4709$as_echo "$ac_try_echo") >&5
     4710  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4711  ac_status=$?
     4712  grep -v '^ *+' conftest.er1 >conftest.err
     4713  rm -f conftest.er1
     4714  cat conftest.err >&5
     4715  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4716  (exit $ac_status); } >/dev/null && {
     4717         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4718         test ! -s conftest.err
     4719       }; then
     4720  ac_header_preproc=yes
     4721else
     4722  $as_echo "$as_me: failed program was:" >&5
     4723sed 's/^/| /' conftest.$ac_ext >&5
     4724
     4725  ac_header_preproc=no
     4726fi
     4727
     4728rm -f conftest.err conftest.$ac_ext
     4729{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4730$as_echo "$ac_header_preproc" >&6; }
     4731
     4732# So?  What about this header?
     4733case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4734  yes:no: )
     4735    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4736$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4737    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4738$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4739    ac_header_preproc=yes
     4740    ;;
     4741  no:yes:* )
     4742    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4743$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4744    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4745$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4746    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4747$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4748    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4749$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4750    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4751$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4752    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4753$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4754    ( cat <<\_ASBOX
     4755## ----------------------------------- ##
     4756## Report this to rappture@nanohub.org ##
     4757## ----------------------------------- ##
     4758_ASBOX
     4759     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4760    ;;
     4761esac
     4762{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4763$as_echo_n "checking for dld.h... " >&6; }
     4764if test "${ac_cv_header_dld_h+set}" = set; then
     4765  $as_echo_n "(cached) " >&6
     4766else
     4767  ac_cv_header_dld_h=$ac_header_preproc
     4768fi
     4769{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4770$as_echo "$ac_cv_header_dld_h" >&6; }
     4771
     4772fi
     4773if test "x$ac_cv_header_dld_h" = x""yes; then
    47214774
    47224775                    SHLIB_LD="ld -shared"
     
    47684821        NetBSD-*|FreeBSD-[1-2].*)
    47694822            # Not available on all versions:  check for include file.
    4770             ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
    4771 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     4823            if test "${ac_cv_header_dlfcn_h+set}" = set; then
     4824  { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     4825$as_echo_n "checking for dlfcn.h... " >&6; }
     4826if test "${ac_cv_header_dlfcn_h+set}" = set; then
     4827  $as_echo_n "(cached) " >&6
     4828fi
     4829{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     4830$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     4831else
     4832  # Is the header compilable?
     4833{ $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
     4834$as_echo_n "checking dlfcn.h usability... " >&6; }
     4835cat >conftest.$ac_ext <<_ACEOF
     4836/* confdefs.h.  */
     4837_ACEOF
     4838cat confdefs.h >>conftest.$ac_ext
     4839cat >>conftest.$ac_ext <<_ACEOF
     4840/* end confdefs.h.  */
     4841$ac_includes_default
     4842#include <dlfcn.h>
     4843_ACEOF
     4844rm -f conftest.$ac_objext
     4845if { (ac_try="$ac_compile"
     4846case "(($ac_try" in
     4847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4848  *) ac_try_echo=$ac_try;;
     4849esac
     4850eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4851$as_echo "$ac_try_echo") >&5
     4852  (eval "$ac_compile") 2>conftest.er1
     4853  ac_status=$?
     4854  grep -v '^ *+' conftest.er1 >conftest.err
     4855  rm -f conftest.er1
     4856  cat conftest.err >&5
     4857  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4858  (exit $ac_status); } && {
     4859         test -z "$ac_c_werror_flag" ||
     4860         test ! -s conftest.err
     4861       } && test -s conftest.$ac_objext; then
     4862  ac_header_compiler=yes
     4863else
     4864  $as_echo "$as_me: failed program was:" >&5
     4865sed 's/^/| /' conftest.$ac_ext >&5
     4866
     4867        ac_header_compiler=no
     4868fi
     4869
     4870rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4871{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4872$as_echo "$ac_header_compiler" >&6; }
     4873
     4874# Is the header present?
     4875{ $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
     4876$as_echo_n "checking dlfcn.h presence... " >&6; }
     4877cat >conftest.$ac_ext <<_ACEOF
     4878/* confdefs.h.  */
     4879_ACEOF
     4880cat confdefs.h >>conftest.$ac_ext
     4881cat >>conftest.$ac_ext <<_ACEOF
     4882/* end confdefs.h.  */
     4883#include <dlfcn.h>
     4884_ACEOF
     4885if { (ac_try="$ac_cpp conftest.$ac_ext"
     4886case "(($ac_try" in
     4887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4888  *) ac_try_echo=$ac_try;;
     4889esac
     4890eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4891$as_echo "$ac_try_echo") >&5
     4892  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4893  ac_status=$?
     4894  grep -v '^ *+' conftest.er1 >conftest.err
     4895  rm -f conftest.er1
     4896  cat conftest.err >&5
     4897  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4898  (exit $ac_status); } >/dev/null && {
     4899         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4900         test ! -s conftest.err
     4901       }; then
     4902  ac_header_preproc=yes
     4903else
     4904  $as_echo "$as_me: failed program was:" >&5
     4905sed 's/^/| /' conftest.$ac_ext >&5
     4906
     4907  ac_header_preproc=no
     4908fi
     4909
     4910rm -f conftest.err conftest.$ac_ext
     4911{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4912$as_echo "$ac_header_preproc" >&6; }
     4913
     4914# So?  What about this header?
     4915case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4916  yes:no: )
     4917    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4918$as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4919    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
     4920$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
     4921    ac_header_preproc=yes
     4922    ;;
     4923  no:yes:* )
     4924    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
     4925$as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
     4926    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
     4927$as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
     4928    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
     4929$as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
     4930    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
     4931$as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4932    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
     4933$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
     4934    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
     4935$as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
     4936    ( cat <<\_ASBOX
     4937## ----------------------------------- ##
     4938## Report this to rappture@nanohub.org ##
     4939## ----------------------------------- ##
     4940_ASBOX
     4941     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4942    ;;
     4943esac
     4944{ $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     4945$as_echo_n "checking for dlfcn.h... " >&6; }
     4946if test "${ac_cv_header_dlfcn_h+set}" = set; then
     4947  $as_echo_n "(cached) " >&6
     4948else
     4949  ac_cv_header_dlfcn_h=$ac_header_preproc
     4950fi
     4951{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     4952$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     4953
     4954fi
     4955if test "x$ac_cv_header_dlfcn_h" = x""yes; then
    47724956
    47734957                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    47804964                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    47814965                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4782                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     4966                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    47834967$as_echo_n "checking for ELF... " >&6; }
    4784 if ${tcl_cv_ld_elf+:} false; then :
     4968if test "${tcl_cv_ld_elf+set}" = set; then
    47854969  $as_echo_n "(cached) " >&6
    47864970else
    47874971
    4788                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4972                    cat >conftest.$ac_ext <<_ACEOF
     4973/* confdefs.h.  */
     4974_ACEOF
     4975cat confdefs.h >>conftest.$ac_ext
     4976cat >>conftest.$ac_ext <<_ACEOF
    47894977/* end confdefs.h.  */
    47904978
     
    47954983_ACEOF
    47964984if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4797   $EGREP "yes" >/dev/null 2>&1; then :
     4985  $EGREP "yes" >/dev/null 2>&1; then
    47984986  tcl_cv_ld_elf=yes
    47994987else
     
    48034991
    48044992fi
    4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     4993{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    48064994$as_echo "$tcl_cv_ld_elf" >&6; }
    48074995                if test $tcl_cv_ld_elf = yes; then
     
    48625050                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    48635051                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4864                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     5052                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    48655053$as_echo_n "checking for ELF... " >&6; }
    4866 if ${tcl_cv_ld_elf+:} false; then :
     5054if test "${tcl_cv_ld_elf+set}" = set; then
    48675055  $as_echo_n "(cached) " >&6
    48685056else
    48695057
    4870                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5058                    cat >conftest.$ac_ext <<_ACEOF
     5059/* confdefs.h.  */
     5060_ACEOF
     5061cat confdefs.h >>conftest.$ac_ext
     5062cat >>conftest.$ac_ext <<_ACEOF
    48715063/* end confdefs.h.  */
    48725064
     
    48775069_ACEOF
    48785070if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4879   $EGREP "yes" >/dev/null 2>&1; then :
     5071  $EGREP "yes" >/dev/null 2>&1; then
    48805072  tcl_cv_ld_elf=yes
    48815073else
     
    48855077
    48865078fi
    4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     5079{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    48885080$as_echo "$tcl_cv_ld_elf" >&6; }
    48895081                if test $tcl_cv_ld_elf = yes; then
     
    49405132                case `arch` in
    49415133                    ppc)
    4942                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
     5134                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    49435135$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    4944 if ${tcl_cv_cc_arch_ppc64+:} false; then :
     5136if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    49455137  $as_echo_n "(cached) " >&6
    49465138else
     
    49485140                            hold_cflags=$CFLAGS
    49495141                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    4950                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5142                            cat >conftest.$ac_ext <<_ACEOF
     5143/* confdefs.h.  */
     5144_ACEOF
     5145cat confdefs.h >>conftest.$ac_ext
     5146cat >>conftest.$ac_ext <<_ACEOF
    49515147/* end confdefs.h.  */
    49525148
     
    49595155}
    49605156_ACEOF
    4961 if ac_fn_c_try_link "$LINENO"; then :
     5157rm -f conftest.$ac_objext conftest$ac_exeext
     5158if { (ac_try="$ac_link"
     5159case "(($ac_try" in
     5160  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5161  *) ac_try_echo=$ac_try;;
     5162esac
     5163eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5164$as_echo "$ac_try_echo") >&5
     5165  (eval "$ac_link") 2>conftest.er1
     5166  ac_status=$?
     5167  grep -v '^ *+' conftest.er1 >conftest.err
     5168  rm -f conftest.er1
     5169  cat conftest.err >&5
     5170  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5171  (exit $ac_status); } && {
     5172         test -z "$ac_c_werror_flag" ||
     5173         test ! -s conftest.err
     5174       } && test -s conftest$ac_exeext && {
     5175         test "$cross_compiling" = yes ||
     5176         $as_test_x conftest$ac_exeext
     5177       }; then
    49625178  tcl_cv_cc_arch_ppc64=yes
    49635179else
    4964   tcl_cv_cc_arch_ppc64=no
    4965 fi
    4966 rm -f core conftest.err conftest.$ac_objext \
    4967     conftest$ac_exeext conftest.$ac_ext
     5180  $as_echo "$as_me: failed program was:" >&5
     5181sed 's/^/| /' conftest.$ac_ext >&5
     5182
     5183        tcl_cv_cc_arch_ppc64=no
     5184fi
     5185
     5186rm -rf conftest.dSYM
     5187rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5188      conftest$ac_exeext conftest.$ac_ext
    49685189                            CFLAGS=$hold_cflags
    49695190fi
    4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
     5191{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    49715192$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    49725193                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    49755196                        fi;;
    49765197                    i386)
    4977                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
     5198                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    49785199$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    4979 if ${tcl_cv_cc_arch_x86_64+:} false; then :
     5200if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    49805201  $as_echo_n "(cached) " >&6
    49815202else
     
    49835204                            hold_cflags=$CFLAGS
    49845205                            CFLAGS="$CFLAGS -arch x86_64"
    4985                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5206                            cat >conftest.$ac_ext <<_ACEOF
     5207/* confdefs.h.  */
     5208_ACEOF
     5209cat confdefs.h >>conftest.$ac_ext
     5210cat >>conftest.$ac_ext <<_ACEOF
    49865211/* end confdefs.h.  */
    49875212
     
    49945219}
    49955220_ACEOF
    4996 if ac_fn_c_try_link "$LINENO"; then :
     5221rm -f conftest.$ac_objext conftest$ac_exeext
     5222if { (ac_try="$ac_link"
     5223case "(($ac_try" in
     5224  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5225  *) ac_try_echo=$ac_try;;
     5226esac
     5227eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5228$as_echo "$ac_try_echo") >&5
     5229  (eval "$ac_link") 2>conftest.er1
     5230  ac_status=$?
     5231  grep -v '^ *+' conftest.er1 >conftest.err
     5232  rm -f conftest.er1
     5233  cat conftest.err >&5
     5234  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5235  (exit $ac_status); } && {
     5236         test -z "$ac_c_werror_flag" ||
     5237         test ! -s conftest.err
     5238       } && test -s conftest$ac_exeext && {
     5239         test "$cross_compiling" = yes ||
     5240         $as_test_x conftest$ac_exeext
     5241       }; then
    49975242  tcl_cv_cc_arch_x86_64=yes
    49985243else
    4999   tcl_cv_cc_arch_x86_64=no
    5000 fi
    5001 rm -f core conftest.err conftest.$ac_objext \
    5002     conftest$ac_exeext conftest.$ac_ext
     5244  $as_echo "$as_me: failed program was:" >&5
     5245sed 's/^/| /' conftest.$ac_ext >&5
     5246
     5247        tcl_cv_cc_arch_x86_64=no
     5248fi
     5249
     5250rm -rf conftest.dSYM
     5251rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5252      conftest$ac_exeext conftest.$ac_ext
    50035253                            CFLAGS=$hold_cflags
    50045254fi
    5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
     5255{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    50065256$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    50075257                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    50105260                        fi;;
    50115261                    *)
    5012                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5262                        { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    50135263$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    50145264                esac
     
    50205270            fi
    50215271            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5022             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
     5272            { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    50235273$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5024 if ${tcl_cv_ld_single_module+:} false; then :
     5274if test "${tcl_cv_ld_single_module+set}" = set; then
    50255275  $as_echo_n "(cached) " >&6
    50265276else
     
    50285278                hold_ldflags=$LDFLAGS
    50295279                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5030                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5280                cat >conftest.$ac_ext <<_ACEOF
     5281/* confdefs.h.  */
     5282_ACEOF
     5283cat confdefs.h >>conftest.$ac_ext
     5284cat >>conftest.$ac_ext <<_ACEOF
    50315285/* end confdefs.h.  */
    50325286
     
    50395293}
    50405294_ACEOF
    5041 if ac_fn_c_try_link "$LINENO"; then :
     5295rm -f conftest.$ac_objext conftest$ac_exeext
     5296if { (ac_try="$ac_link"
     5297case "(($ac_try" in
     5298  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5299  *) ac_try_echo=$ac_try;;
     5300esac
     5301eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5302$as_echo "$ac_try_echo") >&5
     5303  (eval "$ac_link") 2>conftest.er1
     5304  ac_status=$?
     5305  grep -v '^ *+' conftest.er1 >conftest.err
     5306  rm -f conftest.er1
     5307  cat conftest.err >&5
     5308  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5309  (exit $ac_status); } && {
     5310         test -z "$ac_c_werror_flag" ||
     5311         test ! -s conftest.err
     5312       } && test -s conftest$ac_exeext && {
     5313         test "$cross_compiling" = yes ||
     5314         $as_test_x conftest$ac_exeext
     5315       }; then
    50425316  tcl_cv_ld_single_module=yes
    50435317else
    5044   tcl_cv_ld_single_module=no
    5045 fi
    5046 rm -f core conftest.err conftest.$ac_objext \
    5047     conftest$ac_exeext conftest.$ac_ext
     5318  $as_echo "$as_me: failed program was:" >&5
     5319sed 's/^/| /' conftest.$ac_ext >&5
     5320
     5321        tcl_cv_ld_single_module=no
     5322fi
     5323
     5324rm -rf conftest.dSYM
     5325rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5326      conftest$ac_exeext conftest.$ac_ext
    50485327                LDFLAGS=$hold_ldflags
    50495328fi
    5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
     5329{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    50515330$as_echo "$tcl_cv_ld_single_module" >&6; }
    50525331            if test $tcl_cv_ld_single_module = yes; then
     
    50625341                LDFLAGS="$LDFLAGS -prebind"
    50635342            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5064             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
     5343            { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    50655344$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5066 if ${tcl_cv_ld_search_paths_first+:} false; then :
     5345if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    50675346  $as_echo_n "(cached) " >&6
    50685347else
     
    50705349                hold_ldflags=$LDFLAGS
    50715350                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5072                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5351                cat >conftest.$ac_ext <<_ACEOF
     5352/* confdefs.h.  */
     5353_ACEOF
     5354cat confdefs.h >>conftest.$ac_ext
     5355cat >>conftest.$ac_ext <<_ACEOF
    50735356/* end confdefs.h.  */
    50745357
     
    50815364}
    50825365_ACEOF
    5083 if ac_fn_c_try_link "$LINENO"; then :
     5366rm -f conftest.$ac_objext conftest$ac_exeext
     5367if { (ac_try="$ac_link"
     5368case "(($ac_try" in
     5369  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5370  *) ac_try_echo=$ac_try;;
     5371esac
     5372eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5373$as_echo "$ac_try_echo") >&5
     5374  (eval "$ac_link") 2>conftest.er1
     5375  ac_status=$?
     5376  grep -v '^ *+' conftest.er1 >conftest.err
     5377  rm -f conftest.er1
     5378  cat conftest.err >&5
     5379  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5380  (exit $ac_status); } && {
     5381         test -z "$ac_c_werror_flag" ||
     5382         test ! -s conftest.err
     5383       } && test -s conftest$ac_exeext && {
     5384         test "$cross_compiling" = yes ||
     5385         $as_test_x conftest$ac_exeext
     5386       }; then
    50845387  tcl_cv_ld_search_paths_first=yes
    50855388else
    5086   tcl_cv_ld_search_paths_first=no
    5087 fi
    5088 rm -f core conftest.err conftest.$ac_objext \
    5089     conftest$ac_exeext conftest.$ac_ext
     5389  $as_echo "$as_me: failed program was:" >&5
     5390sed 's/^/| /' conftest.$ac_ext >&5
     5391
     5392        tcl_cv_ld_search_paths_first=no
     5393fi
     5394
     5395rm -rf conftest.dSYM
     5396rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5397      conftest$ac_exeext conftest.$ac_ext
    50905398                LDFLAGS=$hold_ldflags
    50915399fi
    5092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
     5400{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    50935401$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    50945402            if test $tcl_cv_ld_search_paths_first = yes; then
     
    51005408            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    51015409            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5102             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
     5410            { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    51035411$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    51045412            # Check whether --enable-corefoundation was given.
    5105 if test "${enable_corefoundation+set}" = set; then :
     5413if test "${enable_corefoundation+set}" = set; then
    51065414  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    51075415else
     
    51095417fi
    51105418
    5111             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
     5419            { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    51125420$as_echo "$tcl_corefoundation" >&6; }
    51135421            if test $tcl_corefoundation = yes; then
    5114                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
     5422                { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    51155423$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5116 if ${tcl_cv_lib_corefoundation+:} false; then :
     5424if test "${tcl_cv_lib_corefoundation+set}" = set; then
    51175425  $as_echo_n "(cached) " >&6
    51185426else
     
    51265434                    done; fi
    51275435                    LIBS="$LIBS -framework CoreFoundation"
    5128                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5436                    cat >conftest.$ac_ext <<_ACEOF
     5437/* confdefs.h.  */
     5438_ACEOF
     5439cat confdefs.h >>conftest.$ac_ext
     5440cat >>conftest.$ac_ext <<_ACEOF
    51295441/* end confdefs.h.  */
    51305442#include <CoreFoundation/CoreFoundation.h>
     
    51375449}
    51385450_ACEOF
    5139 if ac_fn_c_try_link "$LINENO"; then :
     5451rm -f conftest.$ac_objext conftest$ac_exeext
     5452if { (ac_try="$ac_link"
     5453case "(($ac_try" in
     5454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5455  *) ac_try_echo=$ac_try;;
     5456esac
     5457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5458$as_echo "$ac_try_echo") >&5
     5459  (eval "$ac_link") 2>conftest.er1
     5460  ac_status=$?
     5461  grep -v '^ *+' conftest.er1 >conftest.err
     5462  rm -f conftest.er1
     5463  cat conftest.err >&5
     5464  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5465  (exit $ac_status); } && {
     5466         test -z "$ac_c_werror_flag" ||
     5467         test ! -s conftest.err
     5468       } && test -s conftest$ac_exeext && {
     5469         test "$cross_compiling" = yes ||
     5470         $as_test_x conftest$ac_exeext
     5471       }; then
    51405472  tcl_cv_lib_corefoundation=yes
    51415473else
    5142   tcl_cv_lib_corefoundation=no
    5143 fi
    5144 rm -f core conftest.err conftest.$ac_objext \
    5145     conftest$ac_exeext conftest.$ac_ext
     5474  $as_echo "$as_me: failed program was:" >&5
     5475sed 's/^/| /' conftest.$ac_ext >&5
     5476
     5477        tcl_cv_lib_corefoundation=no
     5478fi
     5479
     5480rm -rf conftest.dSYM
     5481rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5482      conftest$ac_exeext conftest.$ac_ext
    51465483                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    51475484                        eval $v'="$hold_'$v'"'
    51485485                    done; fi; LIBS=$hold_libs
    51495486fi
    5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
     5487{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    51515488$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    51525489                if test $tcl_cv_lib_corefoundation = yes; then
    51535490                    LIBS="$LIBS -framework CoreFoundation"
    5154                     $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
     5491                    cat >>confdefs.h <<\_ACEOF
     5492#define HAVE_COREFOUNDATION 1
     5493_ACEOF
    51555494
    51565495                else
     
    51585497                fi
    51595498                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5160                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
     5499                    { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    51615500$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5162 if ${tcl_cv_lib_corefoundation_64+:} false; then :
     5501if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    51635502  $as_echo_n "(cached) " >&6
    51645503else
     
    51675506                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    51685507                        done
    5169                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5508                        cat >conftest.$ac_ext <<_ACEOF
     5509/* confdefs.h.  */
     5510_ACEOF
     5511cat confdefs.h >>conftest.$ac_ext
     5512cat >>conftest.$ac_ext <<_ACEOF
    51705513/* end confdefs.h.  */
    51715514#include <CoreFoundation/CoreFoundation.h>
     
    51785521}
    51795522_ACEOF
    5180 if ac_fn_c_try_link "$LINENO"; then :
     5523rm -f conftest.$ac_objext conftest$ac_exeext
     5524if { (ac_try="$ac_link"
     5525case "(($ac_try" in
     5526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5527  *) ac_try_echo=$ac_try;;
     5528esac
     5529eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5530$as_echo "$ac_try_echo") >&5
     5531  (eval "$ac_link") 2>conftest.er1
     5532  ac_status=$?
     5533  grep -v '^ *+' conftest.er1 >conftest.err
     5534  rm -f conftest.er1
     5535  cat conftest.err >&5
     5536  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5537  (exit $ac_status); } && {
     5538         test -z "$ac_c_werror_flag" ||
     5539         test ! -s conftest.err
     5540       } && test -s conftest$ac_exeext && {
     5541         test "$cross_compiling" = yes ||
     5542         $as_test_x conftest$ac_exeext
     5543       }; then
    51815544  tcl_cv_lib_corefoundation_64=yes
    51825545else
    5183   tcl_cv_lib_corefoundation_64=no
    5184 fi
    5185 rm -f core conftest.err conftest.$ac_objext \
    5186     conftest$ac_exeext conftest.$ac_ext
     5546  $as_echo "$as_me: failed program was:" >&5
     5547sed 's/^/| /' conftest.$ac_ext >&5
     5548
     5549        tcl_cv_lib_corefoundation_64=no
     5550fi
     5551
     5552rm -rf conftest.dSYM
     5553rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5554      conftest$ac_exeext conftest.$ac_ext
    51875555                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    51885556                            eval $v'="$hold_'$v'"'
    51895557                        done
    51905558fi
    5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
     5559{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    51925560$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    51935561                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5194                         $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
     5562                        cat >>confdefs.h <<\_ACEOF
     5563#define NO_COREFOUNDATION_64 1
     5564_ACEOF
    51955565
    51965566                    fi
    51975567                fi
    51985568            fi
    5199             $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
     5569            cat >>confdefs.h <<\_ACEOF
     5570#define MAC_OSX_TCL 1
     5571_ACEOF
    52005572
    52015573            ;;
     
    52125584        OS/390-*)
    52135585            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5214             $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
     5586            cat >>confdefs.h <<\_ACEOF
     5587#define _OE_SOCKETS 1
     5588_ACEOF
    52155589        # needed in sys/socket.h
    52165590            ;;
     
    53535727            # won't define thread-safe library routines.
    53545728
    5355             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5356 
    5357             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5729            cat >>confdefs.h <<\_ACEOF
     5730#define _REENTRANT 1
     5731_ACEOF
     5732
     5733            cat >>confdefs.h <<\_ACEOF
     5734#define _POSIX_PTHREAD_SEMANTICS 1
     5735_ACEOF
    53585736
    53595737
     
    53815759            # won't define thread-safe library routines.
    53825760
    5383             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5384 
    5385             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5761            cat >>confdefs.h <<\_ACEOF
     5762#define _REENTRANT 1
     5763_ACEOF
     5764
     5765            cat >>confdefs.h <<\_ACEOF
     5766#define _POSIX_PTHREAD_SEMANTICS 1
     5767_ACEOF
    53865768
    53875769
     
    53945776                        if test "$GCC" = "yes" ; then
    53955777                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5396                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5778                                { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    53975779$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    53985780                            else
     
    54165798                elif test "$arch" = "amd64 i386" ; then
    54175799                    if test "$GCC" = "yes" ; then
    5418                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     5800                        { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    54195801$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    54205802                    else
     
    54245806                    fi
    54255807                else
    5426                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
     5808                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    54275809$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    54285810                fi
     
    54835865            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    54845866            # that don't grok the -Bexport option.  Test that it does.
    5485             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
     5867            { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    54865868$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5487 if ${tcl_cv_ld_Bexport+:} false; then :
     5869if test "${tcl_cv_ld_Bexport+set}" = set; then
    54885870  $as_echo_n "(cached) " >&6
    54895871else
     
    54915873                hold_ldflags=$LDFLAGS
    54925874                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5493                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5875                cat >conftest.$ac_ext <<_ACEOF
     5876/* confdefs.h.  */
     5877_ACEOF
     5878cat confdefs.h >>conftest.$ac_ext
     5879cat >>conftest.$ac_ext <<_ACEOF
    54945880/* end confdefs.h.  */
    54955881
     
    55025888}
    55035889_ACEOF
    5504 if ac_fn_c_try_link "$LINENO"; then :
     5890rm -f conftest.$ac_objext conftest$ac_exeext
     5891if { (ac_try="$ac_link"
     5892case "(($ac_try" in
     5893  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5894  *) ac_try_echo=$ac_try;;
     5895esac
     5896eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5897$as_echo "$ac_try_echo") >&5
     5898  (eval "$ac_link") 2>conftest.er1
     5899  ac_status=$?
     5900  grep -v '^ *+' conftest.er1 >conftest.err
     5901  rm -f conftest.er1
     5902  cat conftest.err >&5
     5903  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5904  (exit $ac_status); } && {
     5905         test -z "$ac_c_werror_flag" ||
     5906         test ! -s conftest.err
     5907       } && test -s conftest$ac_exeext && {
     5908         test "$cross_compiling" = yes ||
     5909         $as_test_x conftest$ac_exeext
     5910       }; then
    55055911  tcl_cv_ld_Bexport=yes
    55065912else
    5507   tcl_cv_ld_Bexport=no
    5508 fi
    5509 rm -f core conftest.err conftest.$ac_objext \
    5510     conftest$ac_exeext conftest.$ac_ext
     5913  $as_echo "$as_me: failed program was:" >&5
     5914sed 's/^/| /' conftest.$ac_ext >&5
     5915
     5916        tcl_cv_ld_Bexport=no
     5917fi
     5918
     5919rm -rf conftest.dSYM
     5920rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5921      conftest$ac_exeext conftest.$ac_ext
    55115922                LDFLAGS=$hold_ldflags
    55125923fi
    5513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
     5924{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    55145925$as_echo "$tcl_cv_ld_Bexport" >&6; }
    55155926            if test $tcl_cv_ld_Bexport = yes; then
     
    55225933
    55235934    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5524         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5935        { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    55255936$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    55265937    fi
     
    55495960
    55505961    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5551         { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
     5962        { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
    55525963$as_echo_n "checking sys/exec.h... " >&6; }
    5553 if ${tcl_cv_sysexec_h+:} false; then :
     5964if test "${tcl_cv_sysexec_h+set}" = set; then
    55545965  $as_echo_n "(cached) " >&6
    55555966else
    55565967
    5557         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5968        cat >conftest.$ac_ext <<_ACEOF
     5969/* confdefs.h.  */
     5970_ACEOF
     5971cat confdefs.h >>conftest.$ac_ext
     5972cat >>conftest.$ac_ext <<_ACEOF
    55585973/* end confdefs.h.  */
    55595974#include <sys/exec.h>
     
    55775992}
    55785993_ACEOF
    5579 if ac_fn_c_try_compile "$LINENO"; then :
     5994rm -f conftest.$ac_objext
     5995if { (ac_try="$ac_compile"
     5996case "(($ac_try" in
     5997  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5998  *) ac_try_echo=$ac_try;;
     5999esac
     6000eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6001$as_echo "$ac_try_echo") >&5
     6002  (eval "$ac_compile") 2>conftest.er1
     6003  ac_status=$?
     6004  grep -v '^ *+' conftest.er1 >conftest.err
     6005  rm -f conftest.er1
     6006  cat conftest.err >&5
     6007  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6008  (exit $ac_status); } && {
     6009         test -z "$ac_c_werror_flag" ||
     6010         test ! -s conftest.err
     6011       } && test -s conftest.$ac_objext; then
    55806012  tcl_cv_sysexec_h=usable
    55816013else
    5582   tcl_cv_sysexec_h=unusable
    5583 fi
     6014  $as_echo "$as_me: failed program was:" >&5
     6015sed 's/^/| /' conftest.$ac_ext >&5
     6016
     6017        tcl_cv_sysexec_h=unusable
     6018fi
     6019
    55846020rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    55856021fi
    5586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
     6022{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    55876023$as_echo "$tcl_cv_sysexec_h" >&6; }
    55886024        if test $tcl_cv_sysexec_h = usable; then
    5589             $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
     6025            cat >>confdefs.h <<\_ACEOF
     6026#define USE_SYS_EXEC_H 1
     6027_ACEOF
    55906028
    55916029        else
    5592             { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
     6030            { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
    55936031$as_echo_n "checking a.out.h... " >&6; }
    5594 if ${tcl_cv_aout_h+:} false; then :
     6032if test "${tcl_cv_aout_h+set}" = set; then
    55956033  $as_echo_n "(cached) " >&6
    55966034else
    55976035
    5598             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6036            cat >conftest.$ac_ext <<_ACEOF
     6037/* confdefs.h.  */
     6038_ACEOF
     6039cat confdefs.h >>conftest.$ac_ext
     6040cat >>conftest.$ac_ext <<_ACEOF
    55996041/* end confdefs.h.  */
    56006042#include <a.out.h>
     
    56186060}
    56196061_ACEOF
    5620 if ac_fn_c_try_compile "$LINENO"; then :
     6062rm -f conftest.$ac_objext
     6063if { (ac_try="$ac_compile"
     6064case "(($ac_try" in
     6065  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6066  *) ac_try_echo=$ac_try;;
     6067esac
     6068eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6069$as_echo "$ac_try_echo") >&5
     6070  (eval "$ac_compile") 2>conftest.er1
     6071  ac_status=$?
     6072  grep -v '^ *+' conftest.er1 >conftest.err
     6073  rm -f conftest.er1
     6074  cat conftest.err >&5
     6075  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6076  (exit $ac_status); } && {
     6077         test -z "$ac_c_werror_flag" ||
     6078         test ! -s conftest.err
     6079       } && test -s conftest.$ac_objext; then
    56216080  tcl_cv_aout_h=usable
    56226081else
    5623   tcl_cv_aout_h=unusable
    5624 fi
     6082  $as_echo "$as_me: failed program was:" >&5
     6083sed 's/^/| /' conftest.$ac_ext >&5
     6084
     6085        tcl_cv_aout_h=unusable
     6086fi
     6087
    56256088rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56266089fi
    5627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
     6090{ $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    56286091$as_echo "$tcl_cv_aout_h" >&6; }
    56296092            if test $tcl_cv_aout_h = usable; then
    5630                 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
     6093                cat >>confdefs.h <<\_ACEOF
     6094#define USE_A_OUT_H 1
     6095_ACEOF
    56316096
    56326097            else
    5633                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
     6098                { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    56346099$as_echo_n "checking sys/exec_aout.h... " >&6; }
    5635 if ${tcl_cv_sysexecaout_h+:} false; then :
     6100if test "${tcl_cv_sysexecaout_h+set}" = set; then
    56366101  $as_echo_n "(cached) " >&6
    56376102else
    56386103
    5639                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6104                cat >conftest.$ac_ext <<_ACEOF
     6105/* confdefs.h.  */
     6106_ACEOF
     6107cat confdefs.h >>conftest.$ac_ext
     6108cat >>conftest.$ac_ext <<_ACEOF
    56406109/* end confdefs.h.  */
    56416110#include <sys/exec_aout.h>
     
    56596128}
    56606129_ACEOF
    5661 if ac_fn_c_try_compile "$LINENO"; then :
     6130rm -f conftest.$ac_objext
     6131if { (ac_try="$ac_compile"
     6132case "(($ac_try" in
     6133  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6134  *) ac_try_echo=$ac_try;;
     6135esac
     6136eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6137$as_echo "$ac_try_echo") >&5
     6138  (eval "$ac_compile") 2>conftest.er1
     6139  ac_status=$?
     6140  grep -v '^ *+' conftest.er1 >conftest.err
     6141  rm -f conftest.er1
     6142  cat conftest.err >&5
     6143  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6144  (exit $ac_status); } && {
     6145         test -z "$ac_c_werror_flag" ||
     6146         test ! -s conftest.err
     6147       } && test -s conftest.$ac_objext; then
    56626148  tcl_cv_sysexecaout_h=usable
    56636149else
    5664   tcl_cv_sysexecaout_h=unusable
    5665 fi
     6150  $as_echo "$as_me: failed program was:" >&5
     6151sed 's/^/| /' conftest.$ac_ext >&5
     6152
     6153        tcl_cv_sysexecaout_h=unusable
     6154fi
     6155
    56666156rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56676157fi
    5668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
     6158{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    56696159$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    56706160                if test $tcl_cv_sysexecaout_h = usable; then
    5671                     $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
     6161                    cat >>confdefs.h <<\_ACEOF
     6162#define USE_SYS_EXEC_AOUT_H 1
     6163_ACEOF
    56726164
    56736165                else
     
    56816173
    56826174    # Check whether --enable-load was given.
    5683 if test "${enable_load+set}" = set; then :
     6175if test "${enable_load+set}" = set; then
    56846176  enableval=$enable_load; tcl_ok=$enableval
    56856177else
     
    58046296
    58056297
    5806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
     6298{ $as_echo "$as_me:$LINENO: checking for X" >&5
    58076299$as_echo_n "checking for X... " >&6; }
    58086300
    58096301
    58106302# Check whether --with-x was given.
    5811 if test "${with_x+set}" = set; then :
     6303if test "${with_x+set}" = set; then
    58126304  withval=$with_x;
    58136305fi
     
    58196311else
    58206312  case $x_includes,$x_libraries in #(
    5821     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
    5822     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
     6313    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
     6314$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
     6315   { (exit 1); exit 1; }; };; #(
     6316    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
    58236317  $as_echo_n "(cached) " >&6
    58246318else
     
    58376331_ACEOF
    58386332  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    5839     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     6333    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    58406334    for ac_var in incroot usrlibdir libdir; do
    58416335      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    58686362ac_x_header_dirs='
    58696363/usr/X11/include
    5870 /usr/X11R7/include
    58716364/usr/X11R6/include
    58726365/usr/X11R5/include
     
    58746367
    58756368/usr/include/X11
    5876 /usr/include/X11R7
    58776369/usr/include/X11R6
    58786370/usr/include/X11R5
     
    58806372
    58816373/usr/local/X11/include
    5882 /usr/local/X11R7/include
    58836374/usr/local/X11R6/include
    58846375/usr/local/X11R5/include
     
    58866377
    58876378/usr/local/include/X11
    5888 /usr/local/include/X11R7
    58896379/usr/local/include/X11R6
    58906380/usr/local/include/X11R5
     
    59086398  # Guess where to find include files, by looking for Xlib.h.
    59096399  # First, try using that file with no special directory specified.
    5910   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6400  cat >conftest.$ac_ext <<_ACEOF
     6401/* confdefs.h.  */
     6402_ACEOF
     6403cat confdefs.h >>conftest.$ac_ext
     6404cat >>conftest.$ac_ext <<_ACEOF
    59116405/* end confdefs.h.  */
    59126406#include <X11/Xlib.h>
    59136407_ACEOF
    5914 if ac_fn_c_try_cpp "$LINENO"; then :
     6408if { (ac_try="$ac_cpp conftest.$ac_ext"
     6409case "(($ac_try" in
     6410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6411  *) ac_try_echo=$ac_try;;
     6412esac
     6413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6414$as_echo "$ac_try_echo") >&5
     6415  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6416  ac_status=$?
     6417  grep -v '^ *+' conftest.er1 >conftest.err
     6418  rm -f conftest.er1
     6419  cat conftest.err >&5
     6420  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6421  (exit $ac_status); } >/dev/null && {
     6422         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6423         test ! -s conftest.err
     6424       }; then
    59156425  # We can compile using X headers with no special include directory.
    59166426ac_x_includes=
    59176427else
     6428  $as_echo "$as_me: failed program was:" >&5
     6429sed 's/^/| /' conftest.$ac_ext >&5
     6430
    59186431  for ac_dir in $ac_x_header_dirs; do
    59196432  if test -r "$ac_dir/X11/Xlib.h"; then
     
    59236436done
    59246437fi
    5925 rm -f conftest.err conftest.i conftest.$ac_ext
     6438
     6439rm -f conftest.err conftest.$ac_ext
    59266440fi # $ac_x_includes = no
    59276441
     
    59326446  ac_save_LIBS=$LIBS
    59336447  LIBS="-lX11 $LIBS"
    5934   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6448  cat >conftest.$ac_ext <<_ACEOF
     6449/* confdefs.h.  */
     6450_ACEOF
     6451cat confdefs.h >>conftest.$ac_ext
     6452cat >>conftest.$ac_ext <<_ACEOF
    59356453/* end confdefs.h.  */
    59366454#include <X11/Xlib.h>
     
    59436461}
    59446462_ACEOF
    5945 if ac_fn_c_try_link "$LINENO"; then :
     6463rm -f conftest.$ac_objext conftest$ac_exeext
     6464if { (ac_try="$ac_link"
     6465case "(($ac_try" in
     6466  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6467  *) ac_try_echo=$ac_try;;
     6468esac
     6469eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6470$as_echo "$ac_try_echo") >&5
     6471  (eval "$ac_link") 2>conftest.er1
     6472  ac_status=$?
     6473  grep -v '^ *+' conftest.er1 >conftest.err
     6474  rm -f conftest.er1
     6475  cat conftest.err >&5
     6476  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6477  (exit $ac_status); } && {
     6478         test -z "$ac_c_werror_flag" ||
     6479         test ! -s conftest.err
     6480       } && test -s conftest$ac_exeext && {
     6481         test "$cross_compiling" = yes ||
     6482         $as_test_x conftest$ac_exeext
     6483       }; then
    59466484  LIBS=$ac_save_LIBS
    59476485# We can link X programs with no special library path.
    59486486ac_x_libraries=
    59496487else
    5950   LIBS=$ac_save_LIBS
     6488  $as_echo "$as_me: failed program was:" >&5
     6489sed 's/^/| /' conftest.$ac_ext >&5
     6490
     6491        LIBS=$ac_save_LIBS
    59516492for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    59526493do
     
    59606501done
    59616502fi
    5962 rm -f core conftest.err conftest.$ac_objext \
    5963     conftest$ac_exeext conftest.$ac_ext
     6503
     6504rm -rf conftest.dSYM
     6505rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6506      conftest$ac_exeext conftest.$ac_ext
    59646507fi # $ac_x_libraries = no
    59656508
     
    59826525
    59836526if test "$have_x" != yes; then
    5984   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
     6527  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
    59856528$as_echo "$have_x" >&6; }
    59866529  no_x=yes
     
    59936536        ac_x_includes='$x_includes'\
    59946537        ac_x_libraries='$x_libraries'"
    5995   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
     6538  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
    59966539$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    59976540fi
     
    60156558done
    60166559if test -z "$ac_aux_dir"; then
    6017   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     6560  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     6561$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     6562   { (exit 1); exit 1; }; }
    60186563fi
    60196564
     
    60416586# ./install, which can be erroneously created by make from ./install.sh.
    60426587# Reject install programs that cannot install multiple files.
    6043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     6588{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    60446589$as_echo_n "checking for a BSD-compatible install... " >&6; }
    60456590if test -z "$INSTALL"; then
    6046 if ${ac_cv_path_install+:} false; then :
     6591if test "${ac_cv_path_install+set}" = set; then
    60476592  $as_echo_n "(cached) " >&6
    60486593else
     
    60526597  IFS=$as_save_IFS
    60536598  test -z "$as_dir" && as_dir=.
    6054     # Account for people who put trailing slashes in PATH elements.
    6055 case $as_dir/ in #((
    6056   ./ | .// | /[cC]/* | \
     6599  # Account for people who put trailing slashes in PATH elements.
     6600case $as_dir/ in
     6601  ./ | .// | /cC/* | \
    60576602  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6058   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     6603  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    60596604  /usr/ucb/* ) ;;
    60606605  *)
     
    60936638esac
    60946639
    6095   done
     6640done
    60966641IFS=$as_save_IFS
    60976642
     
    61096654  fi
    61106655fi
    6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     6656{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    61126657$as_echo "$INSTALL" >&6; }
    61136658
     
    61236668  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    61246669set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6670{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    61266671$as_echo_n "checking for $ac_word... " >&6; }
    6127 if ${ac_cv_prog_RANLIB+:} false; then :
     6672if test "${ac_cv_prog_RANLIB+set}" = set; then
    61286673  $as_echo_n "(cached) " >&6
    61296674else
     
    61366681  IFS=$as_save_IFS
    61376682  test -z "$as_dir" && as_dir=.
    6138     for ac_exec_ext in '' $ac_executable_extensions; do
     6683  for ac_exec_ext in '' $ac_executable_extensions; do
    61396684  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    61406685    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6141     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6686    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    61426687    break 2
    61436688  fi
    61446689done
    6145   done
     6690done
    61466691IFS=$as_save_IFS
    61476692
     
    61506695RANLIB=$ac_cv_prog_RANLIB
    61516696if test -n "$RANLIB"; then
    6152   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     6697  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    61536698$as_echo "$RANLIB" >&6; }
    61546699else
    6155   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6700  { $as_echo "$as_me:$LINENO: result: no" >&5
    61566701$as_echo "no" >&6; }
    61576702fi
     
    61636708  # Extract the first word of "ranlib", so it can be a program name with args.
    61646709set dummy ranlib; ac_word=$2
    6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6710{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    61666711$as_echo_n "checking for $ac_word... " >&6; }
    6167 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     6712if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    61686713  $as_echo_n "(cached) " >&6
    61696714else
     
    61766721  IFS=$as_save_IFS
    61776722  test -z "$as_dir" && as_dir=.
    6178     for ac_exec_ext in '' $ac_executable_extensions; do
     6723  for ac_exec_ext in '' $ac_executable_extensions; do
    61796724  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    61806725    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6181     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6726    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    61826727    break 2
    61836728  fi
    61846729done
    6185   done
     6730done
    61866731IFS=$as_save_IFS
    61876732
     
    61906735ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    61916736if test -n "$ac_ct_RANLIB"; then
    6192   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     6737  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    61936738$as_echo "$ac_ct_RANLIB" >&6; }
    61946739else
    6195   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6740  { $as_echo "$as_me:$LINENO: result: no" >&5
    61966741$as_echo "no" >&6; }
    61976742fi
     
    62026747    case $cross_compiling:$ac_tool_warned in
    62036748yes:)
    6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6749{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    62056750$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    62066751ac_tool_warned=yes ;;
     
    62126757fi
    62136758
    6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     6759{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
    62156760$as_echo_n "checking whether ln -s works... " >&6; }
    62166761LN_S=$as_ln_s
    62176762if test "$LN_S" = "ln -s"; then
    6218   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6763  { $as_echo "$as_me:$LINENO: result: yes" >&5
    62196764$as_echo "yes" >&6; }
    62206765else
    6221   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     6766  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    62226767$as_echo "no, using $LN_S" >&6; }
    62236768fi
    62246769
    6225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     6770{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    62266771$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    62276772if test -z "$MKDIR_P"; then
    6228   if ${ac_cv_path_mkdir+:} false; then :
     6773  if test "${ac_cv_path_mkdir+set}" = set; then
    62296774  $as_echo_n "(cached) " >&6
    62306775else
     
    62346779  IFS=$as_save_IFS
    62356780  test -z "$as_dir" && as_dir=.
    6236     for ac_prog in mkdir gmkdir; do
     6781  for ac_prog in mkdir gmkdir; do
    62376782         for ac_exec_ext in '' $ac_executable_extensions; do
    62386783           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    62466791         done
    62476792       done
    6248   done
     6793done
    62496794IFS=$as_save_IFS
    62506795
    62516796fi
    62526797
    6253   test -d ./--version && rmdir ./--version
    62546798  if test "${ac_cv_path_mkdir+set}" = set; then
    62556799    MKDIR_P="$ac_cv_path_mkdir -p"
     
    62596803    # break other packages using the cache if that directory is
    62606804    # removed, or if the value is a relative name.
     6805    test -d ./--version && rmdir ./--version
    62616806    MKDIR_P="$ac_install_sh -d"
    62626807  fi
    62636808fi
    6264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     6809{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    62656810$as_echo "$MKDIR_P" >&6; }
    62666811
     
    62746819  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    62756820set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6821{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    62776822$as_echo_n "checking for $ac_word... " >&6; }
    6278 if ${ac_cv_prog_CC+:} false; then :
     6823if test "${ac_cv_prog_CC+set}" = set; then
    62796824  $as_echo_n "(cached) " >&6
    62806825else
     
    62876832  IFS=$as_save_IFS
    62886833  test -z "$as_dir" && as_dir=.
    6289     for ac_exec_ext in '' $ac_executable_extensions; do
     6834  for ac_exec_ext in '' $ac_executable_extensions; do
    62906835  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    62916836    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6292     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6837    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    62936838    break 2
    62946839  fi
    62956840done
    6296   done
     6841done
    62976842IFS=$as_save_IFS
    62986843
     
    63016846CC=$ac_cv_prog_CC
    63026847if test -n "$CC"; then
    6303   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     6848  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    63046849$as_echo "$CC" >&6; }
    63056850else
    6306   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6851  { $as_echo "$as_me:$LINENO: result: no" >&5
    63076852$as_echo "no" >&6; }
    63086853fi
     
    63146859  # Extract the first word of "gcc", so it can be a program name with args.
    63156860set dummy gcc; ac_word=$2
    6316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6861{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    63176862$as_echo_n "checking for $ac_word... " >&6; }
    6318 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     6863if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    63196864  $as_echo_n "(cached) " >&6
    63206865else
     
    63276872  IFS=$as_save_IFS
    63286873  test -z "$as_dir" && as_dir=.
    6329     for ac_exec_ext in '' $ac_executable_extensions; do
     6874  for ac_exec_ext in '' $ac_executable_extensions; do
    63306875  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63316876    ac_cv_prog_ac_ct_CC="gcc"
    6332     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6877    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63336878    break 2
    63346879  fi
    63356880done
    6336   done
     6881done
    63376882IFS=$as_save_IFS
    63386883
     
    63416886ac_ct_CC=$ac_cv_prog_ac_ct_CC
    63426887if test -n "$ac_ct_CC"; then
    6343   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     6888  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    63446889$as_echo "$ac_ct_CC" >&6; }
    63456890else
    6346   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6891  { $as_echo "$as_me:$LINENO: result: no" >&5
    63476892$as_echo "no" >&6; }
    63486893fi
     
    63536898    case $cross_compiling:$ac_tool_warned in
    63546899yes:)
    6355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6900{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    63566901$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    63576902ac_tool_warned=yes ;;
     
    63676912    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    63686913set dummy ${ac_tool_prefix}cc; ac_word=$2
    6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6914{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    63706915$as_echo_n "checking for $ac_word... " >&6; }
    6371 if ${ac_cv_prog_CC+:} false; then :
     6916if test "${ac_cv_prog_CC+set}" = set; then
    63726917  $as_echo_n "(cached) " >&6
    63736918else
     
    63806925  IFS=$as_save_IFS
    63816926  test -z "$as_dir" && as_dir=.
    6382     for ac_exec_ext in '' $ac_executable_extensions; do
     6927  for ac_exec_ext in '' $ac_executable_extensions; do
    63836928  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63846929    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6385     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6930    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63866931    break 2
    63876932  fi
    63886933done
    6389   done
     6934done
    63906935IFS=$as_save_IFS
    63916936
     
    63946939CC=$ac_cv_prog_CC
    63956940if test -n "$CC"; then
    6396   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     6941  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    63976942$as_echo "$CC" >&6; }
    63986943else
    6399   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6944  { $as_echo "$as_me:$LINENO: result: no" >&5
    64006945$as_echo "no" >&6; }
    64016946fi
     
    64076952  # Extract the first word of "cc", so it can be a program name with args.
    64086953set dummy cc; ac_word=$2
    6409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6954{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    64106955$as_echo_n "checking for $ac_word... " >&6; }
    6411 if ${ac_cv_prog_CC+:} false; then :
     6956if test "${ac_cv_prog_CC+set}" = set; then
    64126957  $as_echo_n "(cached) " >&6
    64136958else
     
    64216966  IFS=$as_save_IFS
    64226967  test -z "$as_dir" && as_dir=.
    6423     for ac_exec_ext in '' $ac_executable_extensions; do
     6968  for ac_exec_ext in '' $ac_executable_extensions; do
    64246969  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64256970    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    64286973     fi
    64296974    ac_cv_prog_CC="cc"
    6430     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6975    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64316976    break 2
    64326977  fi
    64336978done
    6434   done
     6979done
    64356980IFS=$as_save_IFS
    64366981
     
    64516996CC=$ac_cv_prog_CC
    64526997if test -n "$CC"; then
    6453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     6998  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    64546999$as_echo "$CC" >&6; }
    64557000else
    6456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7001  { $as_echo "$as_me:$LINENO: result: no" >&5
    64577002$as_echo "no" >&6; }
    64587003fi
     
    64667011    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    64677012set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7013{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    64697014$as_echo_n "checking for $ac_word... " >&6; }
    6470 if ${ac_cv_prog_CC+:} false; then :
     7015if test "${ac_cv_prog_CC+set}" = set; then
    64717016  $as_echo_n "(cached) " >&6
    64727017else
     
    64797024  IFS=$as_save_IFS
    64807025  test -z "$as_dir" && as_dir=.
    6481     for ac_exec_ext in '' $ac_executable_extensions; do
     7026  for ac_exec_ext in '' $ac_executable_extensions; do
    64827027  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64837028    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    6484     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7029    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64857030    break 2
    64867031  fi
    64877032done
    6488   done
     7033done
    64897034IFS=$as_save_IFS
    64907035
     
    64937038CC=$ac_cv_prog_CC
    64947039if test -n "$CC"; then
    6495   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     7040  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    64967041$as_echo "$CC" >&6; }
    64977042else
    6498   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7043  { $as_echo "$as_me:$LINENO: result: no" >&5
    64997044$as_echo "no" >&6; }
    65007045fi
     
    65107055  # Extract the first word of "$ac_prog", so it can be a program name with args.
    65117056set dummy $ac_prog; ac_word=$2
    6512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7057{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    65137058$as_echo_n "checking for $ac_word... " >&6; }
    6514 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     7059if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    65157060  $as_echo_n "(cached) " >&6
    65167061else
     
    65237068  IFS=$as_save_IFS
    65247069  test -z "$as_dir" && as_dir=.
    6525     for ac_exec_ext in '' $ac_executable_extensions; do
     7070  for ac_exec_ext in '' $ac_executable_extensions; do
    65267071  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65277072    ac_cv_prog_ac_ct_CC="$ac_prog"
    6528     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7073    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65297074    break 2
    65307075  fi
    65317076done
    6532   done
     7077done
    65337078IFS=$as_save_IFS
    65347079
     
    65377082ac_ct_CC=$ac_cv_prog_ac_ct_CC
    65387083if test -n "$ac_ct_CC"; then
    6539   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     7084  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    65407085$as_echo "$ac_ct_CC" >&6; }
    65417086else
    6542   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7087  { $as_echo "$as_me:$LINENO: result: no" >&5
    65437088$as_echo "no" >&6; }
    65447089fi
     
    65537098    case $cross_compiling:$ac_tool_warned in
    65547099yes:)
    6555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7100{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    65567101$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    65577102ac_tool_warned=yes ;;
     
    65647109
    65657110
    6566 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7111test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    65677112$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6568 as_fn_error $? "no acceptable C compiler found in \$PATH
    6569 See \`config.log' for more details" "$LINENO" 5; }
     7113{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     7114See \`config.log' for more details." >&5
     7115$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     7116See \`config.log' for more details." >&2;}
     7117   { (exit 1); exit 1; }; }; }
    65707118
    65717119# Provide some information about the compiler.
    6572 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     7120$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    65737121set X $ac_compile
    65747122ac_compiler=$2
    6575 for ac_option in --version -v -V -qversion; do
    6576   { { ac_try="$ac_compiler $ac_option >&5"
     7123{ (ac_try="$ac_compiler --version >&5"
    65777124case "(($ac_try" in
    65787125  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    65797126  *) ac_try_echo=$ac_try;;
    65807127esac
    6581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    6582 $as_echo "$ac_try_echo"; } >&5
    6583   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     7128eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7129$as_echo "$ac_try_echo") >&5
     7130  (eval "$ac_compiler --version >&5") 2>&5
    65847131  ac_status=$?
    6585   if test -s conftest.err; then
    6586     sed '10a\
    6587 ... rest of stderr output deleted ...
    6588          10q' conftest.err >conftest.er1
    6589     cat conftest.er1 >&5
    6590   fi
    6591   rm -f conftest.er1 conftest.err
    6592   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6593   test $ac_status = 0; }
    6594 done
    6595 
    6596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     7132  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7133  (exit $ac_status); }
     7134{ (ac_try="$ac_compiler -v >&5"
     7135case "(($ac_try" in
     7136  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7137  *) ac_try_echo=$ac_try;;
     7138esac
     7139eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7140$as_echo "$ac_try_echo") >&5
     7141  (eval "$ac_compiler -v >&5") 2>&5
     7142  ac_status=$?
     7143  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7144  (exit $ac_status); }
     7145{ (ac_try="$ac_compiler -V >&5"
     7146case "(($ac_try" in
     7147  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7148  *) ac_try_echo=$ac_try;;
     7149esac
     7150eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7151$as_echo "$ac_try_echo") >&5
     7152  (eval "$ac_compiler -V >&5") 2>&5
     7153  ac_status=$?
     7154  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7155  (exit $ac_status); }
     7156
     7157{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    65977158$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    6598 if ${ac_cv_c_compiler_gnu+:} false; then :
     7159if test "${ac_cv_c_compiler_gnu+set}" = set; then
    65997160  $as_echo_n "(cached) " >&6
    66007161else
    6601   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7162  cat >conftest.$ac_ext <<_ACEOF
     7163/* confdefs.h.  */
     7164_ACEOF
     7165cat confdefs.h >>conftest.$ac_ext
     7166cat >>conftest.$ac_ext <<_ACEOF
    66027167/* end confdefs.h.  */
    66037168
     
    66137178}
    66147179_ACEOF
    6615 if ac_fn_c_try_compile "$LINENO"; then :
     7180rm -f conftest.$ac_objext
     7181if { (ac_try="$ac_compile"
     7182case "(($ac_try" in
     7183  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7184  *) ac_try_echo=$ac_try;;
     7185esac
     7186eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7187$as_echo "$ac_try_echo") >&5
     7188  (eval "$ac_compile") 2>conftest.er1
     7189  ac_status=$?
     7190  grep -v '^ *+' conftest.er1 >conftest.err
     7191  rm -f conftest.er1
     7192  cat conftest.err >&5
     7193  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7194  (exit $ac_status); } && {
     7195         test -z "$ac_c_werror_flag" ||
     7196         test ! -s conftest.err
     7197       } && test -s conftest.$ac_objext; then
    66167198  ac_compiler_gnu=yes
    66177199else
    6618   ac_compiler_gnu=no
    6619 fi
     7200  $as_echo "$as_me: failed program was:" >&5
     7201sed 's/^/| /' conftest.$ac_ext >&5
     7202
     7203        ac_compiler_gnu=no
     7204fi
     7205
    66207206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66217207ac_cv_c_compiler_gnu=$ac_compiler_gnu
    66227208
    66237209fi
    6624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     7210{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    66257211$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    66267212if test $ac_compiler_gnu = yes; then
     
    66317217ac_test_CFLAGS=${CFLAGS+set}
    66327218ac_save_CFLAGS=$CFLAGS
    6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     7219{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    66347220$as_echo_n "checking whether $CC accepts -g... " >&6; }
    6635 if ${ac_cv_prog_cc_g+:} false; then :
     7221if test "${ac_cv_prog_cc_g+set}" = set; then
    66367222  $as_echo_n "(cached) " >&6
    66377223else
     
    66407226   ac_cv_prog_cc_g=no
    66417227   CFLAGS="-g"
    6642    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7228   cat >conftest.$ac_ext <<_ACEOF
     7229/* confdefs.h.  */
     7230_ACEOF
     7231cat confdefs.h >>conftest.$ac_ext
     7232cat >>conftest.$ac_ext <<_ACEOF
    66437233/* end confdefs.h.  */
    66447234
     
    66517241}
    66527242_ACEOF
    6653 if ac_fn_c_try_compile "$LINENO"; then :
     7243rm -f conftest.$ac_objext
     7244if { (ac_try="$ac_compile"
     7245case "(($ac_try" in
     7246  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7247  *) ac_try_echo=$ac_try;;
     7248esac
     7249eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7250$as_echo "$ac_try_echo") >&5
     7251  (eval "$ac_compile") 2>conftest.er1
     7252  ac_status=$?
     7253  grep -v '^ *+' conftest.er1 >conftest.err
     7254  rm -f conftest.er1
     7255  cat conftest.err >&5
     7256  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7257  (exit $ac_status); } && {
     7258         test -z "$ac_c_werror_flag" ||
     7259         test ! -s conftest.err
     7260       } && test -s conftest.$ac_objext; then
    66547261  ac_cv_prog_cc_g=yes
    66557262else
    6656   CFLAGS=""
    6657       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7263  $as_echo "$as_me: failed program was:" >&5
     7264sed 's/^/| /' conftest.$ac_ext >&5
     7265
     7266        CFLAGS=""
     7267      cat >conftest.$ac_ext <<_ACEOF
     7268/* confdefs.h.  */
     7269_ACEOF
     7270cat confdefs.h >>conftest.$ac_ext
     7271cat >>conftest.$ac_ext <<_ACEOF
    66587272/* end confdefs.h.  */
    66597273
     
    66667280}
    66677281_ACEOF
    6668 if ac_fn_c_try_compile "$LINENO"; then :
    6669 
    6670 else
    6671   ac_c_werror_flag=$ac_save_c_werror_flag
     7282rm -f conftest.$ac_objext
     7283if { (ac_try="$ac_compile"
     7284case "(($ac_try" in
     7285  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7286  *) ac_try_echo=$ac_try;;
     7287esac
     7288eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7289$as_echo "$ac_try_echo") >&5
     7290  (eval "$ac_compile") 2>conftest.er1
     7291  ac_status=$?
     7292  grep -v '^ *+' conftest.er1 >conftest.err
     7293  rm -f conftest.er1
     7294  cat conftest.err >&5
     7295  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7296  (exit $ac_status); } && {
     7297         test -z "$ac_c_werror_flag" ||
     7298         test ! -s conftest.err
     7299       } && test -s conftest.$ac_objext; then
     7300  :
     7301else
     7302  $as_echo "$as_me: failed program was:" >&5
     7303sed 's/^/| /' conftest.$ac_ext >&5
     7304
     7305        ac_c_werror_flag=$ac_save_c_werror_flag
    66727306         CFLAGS="-g"
    6673          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7307         cat >conftest.$ac_ext <<_ACEOF
     7308/* confdefs.h.  */
     7309_ACEOF
     7310cat confdefs.h >>conftest.$ac_ext
     7311cat >>conftest.$ac_ext <<_ACEOF
    66747312/* end confdefs.h.  */
    66757313
     
    66827320}
    66837321_ACEOF
    6684 if ac_fn_c_try_compile "$LINENO"; then :
     7322rm -f conftest.$ac_objext
     7323if { (ac_try="$ac_compile"
     7324case "(($ac_try" in
     7325  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7326  *) ac_try_echo=$ac_try;;
     7327esac
     7328eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7329$as_echo "$ac_try_echo") >&5
     7330  (eval "$ac_compile") 2>conftest.er1
     7331  ac_status=$?
     7332  grep -v '^ *+' conftest.er1 >conftest.err
     7333  rm -f conftest.er1
     7334  cat conftest.err >&5
     7335  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7336  (exit $ac_status); } && {
     7337         test -z "$ac_c_werror_flag" ||
     7338         test ! -s conftest.err
     7339       } && test -s conftest.$ac_objext; then
    66857340  ac_cv_prog_cc_g=yes
    6686 fi
     7341else
     7342  $as_echo "$as_me: failed program was:" >&5
     7343sed 's/^/| /' conftest.$ac_ext >&5
     7344
     7345
     7346fi
     7347
    66877348rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66887349fi
     7350
    66897351rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66907352fi
     7353
    66917354rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66927355   ac_c_werror_flag=$ac_save_c_werror_flag
    66937356fi
    6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     7357{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    66957358$as_echo "$ac_cv_prog_cc_g" >&6; }
    66967359if test "$ac_test_CFLAGS" = set; then
     
    67097372  fi
    67107373fi
    6711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     7374{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    67127375$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    6713 if ${ac_cv_prog_cc_c89+:} false; then :
     7376if test "${ac_cv_prog_cc_c89+set}" = set; then
    67147377  $as_echo_n "(cached) " >&6
    67157378else
    67167379  ac_cv_prog_cc_c89=no
    67177380ac_save_CC=$CC
    6718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7381cat >conftest.$ac_ext <<_ACEOF
     7382/* confdefs.h.  */
     7383_ACEOF
     7384cat confdefs.h >>conftest.$ac_ext
     7385cat >>conftest.$ac_ext <<_ACEOF
    67197386/* end confdefs.h.  */
    67207387#include <stdarg.h>
     
    67737440do
    67747441  CC="$ac_save_CC $ac_arg"
    6775   if ac_fn_c_try_compile "$LINENO"; then :
     7442  rm -f conftest.$ac_objext
     7443if { (ac_try="$ac_compile"
     7444case "(($ac_try" in
     7445  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7446  *) ac_try_echo=$ac_try;;
     7447esac
     7448eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7449$as_echo "$ac_try_echo") >&5
     7450  (eval "$ac_compile") 2>conftest.er1
     7451  ac_status=$?
     7452  grep -v '^ *+' conftest.er1 >conftest.err
     7453  rm -f conftest.er1
     7454  cat conftest.err >&5
     7455  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7456  (exit $ac_status); } && {
     7457         test -z "$ac_c_werror_flag" ||
     7458         test ! -s conftest.err
     7459       } && test -s conftest.$ac_objext; then
    67767460  ac_cv_prog_cc_c89=$ac_arg
    6777 fi
     7461else
     7462  $as_echo "$as_me: failed program was:" >&5
     7463sed 's/^/| /' conftest.$ac_ext >&5
     7464
     7465
     7466fi
     7467
    67787468rm -f core conftest.err conftest.$ac_objext
    67797469  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    67867476case "x$ac_cv_prog_cc_c89" in
    67877477  x)
    6788     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     7478    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    67897479$as_echo "none needed" >&6; } ;;
    67907480  xno)
    6791     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     7481    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    67927482$as_echo "unsupported" >&6; } ;;
    67937483  *)
    67947484    CC="$CC $ac_cv_prog_cc_c89"
    6795     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     7485    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    67967486$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    67977487esac
    6798 if test "x$ac_cv_prog_cc_c89" != xno; then :
    6799 
    6800 fi
     7488
    68017489
    68027490ac_ext=c
     
    68117499ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    68127500ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     7501{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    68147502$as_echo_n "checking how to run the C preprocessor... " >&6; }
    68157503# On Suns, sometimes $CPP names a directory.
     
    68187506fi
    68197507if test -z "$CPP"; then
    6820   if ${ac_cv_prog_CPP+:} false; then :
     7508  if test "${ac_cv_prog_CPP+set}" = set; then
    68217509  $as_echo_n "(cached) " >&6
    68227510else
     
    68337521  # On the NeXT, cc -E runs the code through the compiler's parser,
    68347522  # not just through cpp. "Syntax error" is here to catch this case.
    6835   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7523  cat >conftest.$ac_ext <<_ACEOF
     7524/* confdefs.h.  */
     7525_ACEOF
     7526cat confdefs.h >>conftest.$ac_ext
     7527cat >>conftest.$ac_ext <<_ACEOF
    68367528/* end confdefs.h.  */
    68377529#ifdef __STDC__
     
    68427534                     Syntax error
    68437535_ACEOF
    6844 if ac_fn_c_try_cpp "$LINENO"; then :
    6845 
    6846 else
     7536if { (ac_try="$ac_cpp conftest.$ac_ext"
     7537case "(($ac_try" in
     7538  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7539  *) ac_try_echo=$ac_try;;
     7540esac
     7541eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7542$as_echo "$ac_try_echo") >&5
     7543  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7544  ac_status=$?
     7545  grep -v '^ *+' conftest.er1 >conftest.err
     7546  rm -f conftest.er1
     7547  cat conftest.err >&5
     7548  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7549  (exit $ac_status); } >/dev/null && {
     7550         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7551         test ! -s conftest.err
     7552       }; then
     7553  :
     7554else
     7555  $as_echo "$as_me: failed program was:" >&5
     7556sed 's/^/| /' conftest.$ac_ext >&5
     7557
    68477558  # Broken: fails on valid input.
    68487559continue
    68497560fi
    6850 rm -f conftest.err conftest.i conftest.$ac_ext
     7561
     7562rm -f conftest.err conftest.$ac_ext
    68517563
    68527564  # OK, works on sane cases.  Now check whether nonexistent headers
    68537565  # can be detected and how.
    6854   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7566  cat >conftest.$ac_ext <<_ACEOF
     7567/* confdefs.h.  */
     7568_ACEOF
     7569cat confdefs.h >>conftest.$ac_ext
     7570cat >>conftest.$ac_ext <<_ACEOF
    68557571/* end confdefs.h.  */
    68567572#include <ac_nonexistent.h>
    68577573_ACEOF
    6858 if ac_fn_c_try_cpp "$LINENO"; then :
     7574if { (ac_try="$ac_cpp conftest.$ac_ext"
     7575case "(($ac_try" in
     7576  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7577  *) ac_try_echo=$ac_try;;
     7578esac
     7579eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7580$as_echo "$ac_try_echo") >&5
     7581  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7582  ac_status=$?
     7583  grep -v '^ *+' conftest.er1 >conftest.err
     7584  rm -f conftest.er1
     7585  cat conftest.err >&5
     7586  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7587  (exit $ac_status); } >/dev/null && {
     7588         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7589         test ! -s conftest.err
     7590       }; then
    68597591  # Broken: success on invalid input.
    68607592continue
    68617593else
     7594  $as_echo "$as_me: failed program was:" >&5
     7595sed 's/^/| /' conftest.$ac_ext >&5
     7596
    68627597  # Passes both tests.
    68637598ac_preproc_ok=:
    68647599break
    68657600fi
    6866 rm -f conftest.err conftest.i conftest.$ac_ext
     7601
     7602rm -f conftest.err conftest.$ac_ext
    68677603
    68687604done
    68697605# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6870 rm -f conftest.i conftest.err conftest.$ac_ext
    6871 if $ac_preproc_ok; then :
     7606rm -f conftest.err conftest.$ac_ext
     7607if $ac_preproc_ok; then
    68727608  break
    68737609fi
     
    68817617  ac_cv_prog_CPP=$CPP
    68827618fi
    6883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     7619{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    68847620$as_echo "$CPP" >&6; }
    68857621ac_preproc_ok=false
     
    68927628  # On the NeXT, cc -E runs the code through the compiler's parser,
    68937629  # not just through cpp. "Syntax error" is here to catch this case.
    6894   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7630  cat >conftest.$ac_ext <<_ACEOF
     7631/* confdefs.h.  */
     7632_ACEOF
     7633cat confdefs.h >>conftest.$ac_ext
     7634cat >>conftest.$ac_ext <<_ACEOF
    68957635/* end confdefs.h.  */
    68967636#ifdef __STDC__
     
    69017641                     Syntax error
    69027642_ACEOF
    6903 if ac_fn_c_try_cpp "$LINENO"; then :
    6904 
    6905 else
     7643if { (ac_try="$ac_cpp conftest.$ac_ext"
     7644case "(($ac_try" in
     7645  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7646  *) ac_try_echo=$ac_try;;
     7647esac
     7648eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7649$as_echo "$ac_try_echo") >&5
     7650  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7651  ac_status=$?
     7652  grep -v '^ *+' conftest.er1 >conftest.err
     7653  rm -f conftest.er1
     7654  cat conftest.err >&5
     7655  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7656  (exit $ac_status); } >/dev/null && {
     7657         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7658         test ! -s conftest.err
     7659       }; then
     7660  :
     7661else
     7662  $as_echo "$as_me: failed program was:" >&5
     7663sed 's/^/| /' conftest.$ac_ext >&5
     7664
    69067665  # Broken: fails on valid input.
    69077666continue
    69087667fi
    6909 rm -f conftest.err conftest.i conftest.$ac_ext
     7668
     7669rm -f conftest.err conftest.$ac_ext
    69107670
    69117671  # OK, works on sane cases.  Now check whether nonexistent headers
    69127672  # can be detected and how.
    6913   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7673  cat >conftest.$ac_ext <<_ACEOF
     7674/* confdefs.h.  */
     7675_ACEOF
     7676cat confdefs.h >>conftest.$ac_ext
     7677cat >>conftest.$ac_ext <<_ACEOF
    69147678/* end confdefs.h.  */
    69157679#include <ac_nonexistent.h>
    69167680_ACEOF
    6917 if ac_fn_c_try_cpp "$LINENO"; then :
     7681if { (ac_try="$ac_cpp conftest.$ac_ext"
     7682case "(($ac_try" in
     7683  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7684  *) ac_try_echo=$ac_try;;
     7685esac
     7686eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7687$as_echo "$ac_try_echo") >&5
     7688  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7689  ac_status=$?
     7690  grep -v '^ *+' conftest.er1 >conftest.err
     7691  rm -f conftest.er1
     7692  cat conftest.err >&5
     7693  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7694  (exit $ac_status); } >/dev/null && {
     7695         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7696         test ! -s conftest.err
     7697       }; then
    69187698  # Broken: success on invalid input.
    69197699continue
    69207700else
     7701  $as_echo "$as_me: failed program was:" >&5
     7702sed 's/^/| /' conftest.$ac_ext >&5
     7703
    69217704  # Passes both tests.
    69227705ac_preproc_ok=:
    69237706break
    69247707fi
    6925 rm -f conftest.err conftest.i conftest.$ac_ext
     7708
     7709rm -f conftest.err conftest.$ac_ext
    69267710
    69277711done
    69287712# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6929 rm -f conftest.i conftest.err conftest.$ac_ext
    6930 if $ac_preproc_ok; then :
    6931 
    6932 else
    6933   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7713rm -f conftest.err conftest.$ac_ext
     7714if $ac_preproc_ok; then
     7715  :
     7716else
     7717  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    69347718$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6935 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    6936 See \`config.log' for more details" "$LINENO" 5; }
     7719{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     7720See \`config.log' for more details." >&5
     7721$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     7722See \`config.log' for more details." >&2;}
     7723   { (exit 1); exit 1; }; }; }
    69377724fi
    69387725
     
    69577744    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    69587745set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7746{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    69607747$as_echo_n "checking for $ac_word... " >&6; }
    6961 if ${ac_cv_prog_CXX+:} false; then :
     7748if test "${ac_cv_prog_CXX+set}" = set; then
    69627749  $as_echo_n "(cached) " >&6
    69637750else
     
    69707757  IFS=$as_save_IFS
    69717758  test -z "$as_dir" && as_dir=.
    6972     for ac_exec_ext in '' $ac_executable_extensions; do
     7759  for ac_exec_ext in '' $ac_executable_extensions; do
    69737760  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    69747761    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    6975     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7762    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    69767763    break 2
    69777764  fi
    69787765done
    6979   done
     7766done
    69807767IFS=$as_save_IFS
    69817768
     
    69847771CXX=$ac_cv_prog_CXX
    69857772if test -n "$CXX"; then
    6986   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     7773  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    69877774$as_echo "$CXX" >&6; }
    69887775else
    6989   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7776  { $as_echo "$as_me:$LINENO: result: no" >&5
    69907777$as_echo "no" >&6; }
    69917778fi
     
    70017788  # Extract the first word of "$ac_prog", so it can be a program name with args.
    70027789set dummy $ac_prog; ac_word=$2
    7003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7790{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    70047791$as_echo_n "checking for $ac_word... " >&6; }
    7005 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     7792if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    70067793  $as_echo_n "(cached) " >&6
    70077794else
     
    70147801  IFS=$as_save_IFS
    70157802  test -z "$as_dir" && as_dir=.
    7016     for ac_exec_ext in '' $ac_executable_extensions; do
     7803  for ac_exec_ext in '' $ac_executable_extensions; do
    70177804  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    70187805    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7019     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7806    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    70207807    break 2
    70217808  fi
    70227809done
    7023   done
     7810done
    70247811IFS=$as_save_IFS
    70257812
     
    70287815ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    70297816if test -n "$ac_ct_CXX"; then
    7030   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     7817  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    70317818$as_echo "$ac_ct_CXX" >&6; }
    70327819else
    7033   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7820  { $as_echo "$as_me:$LINENO: result: no" >&5
    70347821$as_echo "no" >&6; }
    70357822fi
     
    70447831    case $cross_compiling:$ac_tool_warned in
    70457832yes:)
    7046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7833{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    70477834$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    70487835ac_tool_warned=yes ;;
     
    70557842fi
    70567843# Provide some information about the compiler.
    7057 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     7844$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    70587845set X $ac_compile
    70597846ac_compiler=$2
    7060 for ac_option in --version -v -V -qversion; do
    7061   { { ac_try="$ac_compiler $ac_option >&5"
     7847{ (ac_try="$ac_compiler --version >&5"
    70627848case "(($ac_try" in
    70637849  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    70647850  *) ac_try_echo=$ac_try;;
    70657851esac
    7066 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    7067 $as_echo "$ac_try_echo"; } >&5
    7068   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     7852eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7853$as_echo "$ac_try_echo") >&5
     7854  (eval "$ac_compiler --version >&5") 2>&5
    70697855  ac_status=$?
    7070   if test -s conftest.err; then
    7071     sed '10a\
    7072 ... rest of stderr output deleted ...
    7073          10q' conftest.err >conftest.er1
    7074     cat conftest.er1 >&5
    7075   fi
    7076   rm -f conftest.er1 conftest.err
    7077   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7078   test $ac_status = 0; }
    7079 done
    7080 
    7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     7856  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7857  (exit $ac_status); }
     7858{ (ac_try="$ac_compiler -v >&5"
     7859case "(($ac_try" in
     7860  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7861  *) ac_try_echo=$ac_try;;
     7862esac
     7863eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7864$as_echo "$ac_try_echo") >&5
     7865  (eval "$ac_compiler -v >&5") 2>&5
     7866  ac_status=$?
     7867  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7868  (exit $ac_status); }
     7869{ (ac_try="$ac_compiler -V >&5"
     7870case "(($ac_try" in
     7871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7872  *) ac_try_echo=$ac_try;;
     7873esac
     7874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7875$as_echo "$ac_try_echo") >&5
     7876  (eval "$ac_compiler -V >&5") 2>&5
     7877  ac_status=$?
     7878  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7879  (exit $ac_status); }
     7880
     7881{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    70827882$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7083 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     7883if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    70847884  $as_echo_n "(cached) " >&6
    70857885else
    7086   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7886  cat >conftest.$ac_ext <<_ACEOF
     7887/* confdefs.h.  */
     7888_ACEOF
     7889cat confdefs.h >>conftest.$ac_ext
     7890cat >>conftest.$ac_ext <<_ACEOF
    70877891/* end confdefs.h.  */
    70887892
     
    70987902}
    70997903_ACEOF
    7100 if ac_fn_cxx_try_compile "$LINENO"; then :
     7904rm -f conftest.$ac_objext
     7905if { (ac_try="$ac_compile"
     7906case "(($ac_try" in
     7907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7908  *) ac_try_echo=$ac_try;;
     7909esac
     7910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7911$as_echo "$ac_try_echo") >&5
     7912  (eval "$ac_compile") 2>conftest.er1
     7913  ac_status=$?
     7914  grep -v '^ *+' conftest.er1 >conftest.err
     7915  rm -f conftest.er1
     7916  cat conftest.err >&5
     7917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7918  (exit $ac_status); } && {
     7919         test -z "$ac_cxx_werror_flag" ||
     7920         test ! -s conftest.err
     7921       } && test -s conftest.$ac_objext; then
    71017922  ac_compiler_gnu=yes
    71027923else
    7103   ac_compiler_gnu=no
    7104 fi
     7924  $as_echo "$as_me: failed program was:" >&5
     7925sed 's/^/| /' conftest.$ac_ext >&5
     7926
     7927        ac_compiler_gnu=no
     7928fi
     7929
    71057930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71067931ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    71077932
    71087933fi
    7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     7934{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    71107935$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    71117936if test $ac_compiler_gnu = yes; then
     
    71167941ac_test_CXXFLAGS=${CXXFLAGS+set}
    71177942ac_save_CXXFLAGS=$CXXFLAGS
    7118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     7943{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    71197944$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7120 if ${ac_cv_prog_cxx_g+:} false; then :
     7945if test "${ac_cv_prog_cxx_g+set}" = set; then
    71217946  $as_echo_n "(cached) " >&6
    71227947else
     
    71257950   ac_cv_prog_cxx_g=no
    71267951   CXXFLAGS="-g"
    7127    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7952   cat >conftest.$ac_ext <<_ACEOF
     7953/* confdefs.h.  */
     7954_ACEOF
     7955cat confdefs.h >>conftest.$ac_ext
     7956cat >>conftest.$ac_ext <<_ACEOF
    71287957/* end confdefs.h.  */
    71297958
     
    71367965}
    71377966_ACEOF
    7138 if ac_fn_cxx_try_compile "$LINENO"; then :
     7967rm -f conftest.$ac_objext
     7968if { (ac_try="$ac_compile"
     7969case "(($ac_try" in
     7970  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7971  *) ac_try_echo=$ac_try;;
     7972esac
     7973eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7974$as_echo "$ac_try_echo") >&5
     7975  (eval "$ac_compile") 2>conftest.er1
     7976  ac_status=$?
     7977  grep -v '^ *+' conftest.er1 >conftest.err
     7978  rm -f conftest.er1
     7979  cat conftest.err >&5
     7980  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7981  (exit $ac_status); } && {
     7982         test -z "$ac_cxx_werror_flag" ||
     7983         test ! -s conftest.err
     7984       } && test -s conftest.$ac_objext; then
    71397985  ac_cv_prog_cxx_g=yes
    71407986else
    7141   CXXFLAGS=""
    7142       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7987  $as_echo "$as_me: failed program was:" >&5
     7988sed 's/^/| /' conftest.$ac_ext >&5
     7989
     7990        CXXFLAGS=""
     7991      cat >conftest.$ac_ext <<_ACEOF
     7992/* confdefs.h.  */
     7993_ACEOF
     7994cat confdefs.h >>conftest.$ac_ext
     7995cat >>conftest.$ac_ext <<_ACEOF
    71437996/* end confdefs.h.  */
    71447997
     
    71518004}
    71528005_ACEOF
    7153 if ac_fn_cxx_try_compile "$LINENO"; then :
    7154 
    7155 else
    7156   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     8006rm -f conftest.$ac_objext
     8007if { (ac_try="$ac_compile"
     8008case "(($ac_try" in
     8009  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8010  *) ac_try_echo=$ac_try;;
     8011esac
     8012eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8013$as_echo "$ac_try_echo") >&5
     8014  (eval "$ac_compile") 2>conftest.er1
     8015  ac_status=$?
     8016  grep -v '^ *+' conftest.er1 >conftest.err
     8017  rm -f conftest.er1
     8018  cat conftest.err >&5
     8019  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8020  (exit $ac_status); } && {
     8021         test -z "$ac_cxx_werror_flag" ||
     8022         test ! -s conftest.err
     8023       } && test -s conftest.$ac_objext; then
     8024  :
     8025else
     8026  $as_echo "$as_me: failed program was:" >&5
     8027sed 's/^/| /' conftest.$ac_ext >&5
     8028
     8029        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    71578030         CXXFLAGS="-g"
    7158          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8031         cat >conftest.$ac_ext <<_ACEOF
     8032/* confdefs.h.  */
     8033_ACEOF
     8034cat confdefs.h >>conftest.$ac_ext
     8035cat >>conftest.$ac_ext <<_ACEOF
    71598036/* end confdefs.h.  */
    71608037
     
    71678044}
    71688045_ACEOF
    7169 if ac_fn_cxx_try_compile "$LINENO"; then :
     8046rm -f conftest.$ac_objext
     8047if { (ac_try="$ac_compile"
     8048case "(($ac_try" in
     8049  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8050  *) ac_try_echo=$ac_try;;
     8051esac
     8052eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8053$as_echo "$ac_try_echo") >&5
     8054  (eval "$ac_compile") 2>conftest.er1
     8055  ac_status=$?
     8056  grep -v '^ *+' conftest.er1 >conftest.err
     8057  rm -f conftest.er1
     8058  cat conftest.err >&5
     8059  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8060  (exit $ac_status); } && {
     8061         test -z "$ac_cxx_werror_flag" ||
     8062         test ! -s conftest.err
     8063       } && test -s conftest.$ac_objext; then
    71708064  ac_cv_prog_cxx_g=yes
    7171 fi
     8065else
     8066  $as_echo "$as_me: failed program was:" >&5
     8067sed 's/^/| /' conftest.$ac_ext >&5
     8068
     8069
     8070fi
     8071
    71728072rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71738073fi
     8074
    71748075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71758076fi
     8077
    71768078rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71778079   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    71788080fi
    7179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     8081{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    71808082$as_echo "$ac_cv_prog_cxx_g" >&6; }
    71818083if test "$ac_test_CXXFLAGS" = set; then
     
    72058107ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    72068108ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     8109{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    72088110$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    72098111if test -z "$CXXCPP"; then
    7210   if ${ac_cv_prog_CXXCPP+:} false; then :
     8112  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    72118113  $as_echo_n "(cached) " >&6
    72128114else
     
    72238125  # On the NeXT, cc -E runs the code through the compiler's parser,
    72248126  # not just through cpp. "Syntax error" is here to catch this case.
    7225   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8127  cat >conftest.$ac_ext <<_ACEOF
     8128/* confdefs.h.  */
     8129_ACEOF
     8130cat confdefs.h >>conftest.$ac_ext
     8131cat >>conftest.$ac_ext <<_ACEOF
    72268132/* end confdefs.h.  */
    72278133#ifdef __STDC__
     
    72328138                     Syntax error
    72338139_ACEOF
    7234 if ac_fn_cxx_try_cpp "$LINENO"; then :
    7235 
    7236 else
     8140if { (ac_try="$ac_cpp conftest.$ac_ext"
     8141case "(($ac_try" in
     8142  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8143  *) ac_try_echo=$ac_try;;
     8144esac
     8145eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8146$as_echo "$ac_try_echo") >&5
     8147  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8148  ac_status=$?
     8149  grep -v '^ *+' conftest.er1 >conftest.err
     8150  rm -f conftest.er1
     8151  cat conftest.err >&5
     8152  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8153  (exit $ac_status); } >/dev/null && {
     8154         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8155         test ! -s conftest.err
     8156       }; then
     8157  :
     8158else
     8159  $as_echo "$as_me: failed program was:" >&5
     8160sed 's/^/| /' conftest.$ac_ext >&5
     8161
    72378162  # Broken: fails on valid input.
    72388163continue
    72398164fi
    7240 rm -f conftest.err conftest.i conftest.$ac_ext
     8165
     8166rm -f conftest.err conftest.$ac_ext
    72418167
    72428168  # OK, works on sane cases.  Now check whether nonexistent headers
    72438169  # can be detected and how.
    7244   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8170  cat >conftest.$ac_ext <<_ACEOF
     8171/* confdefs.h.  */
     8172_ACEOF
     8173cat confdefs.h >>conftest.$ac_ext
     8174cat >>conftest.$ac_ext <<_ACEOF
    72458175/* end confdefs.h.  */
    72468176#include <ac_nonexistent.h>
    72478177_ACEOF
    7248 if ac_fn_cxx_try_cpp "$LINENO"; then :
     8178if { (ac_try="$ac_cpp conftest.$ac_ext"
     8179case "(($ac_try" in
     8180  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8181  *) ac_try_echo=$ac_try;;
     8182esac
     8183eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8184$as_echo "$ac_try_echo") >&5
     8185  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8186  ac_status=$?
     8187  grep -v '^ *+' conftest.er1 >conftest.err
     8188  rm -f conftest.er1
     8189  cat conftest.err >&5
     8190  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8191  (exit $ac_status); } >/dev/null && {
     8192         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8193         test ! -s conftest.err
     8194       }; then
    72498195  # Broken: success on invalid input.
    72508196continue
    72518197else
     8198  $as_echo "$as_me: failed program was:" >&5
     8199sed 's/^/| /' conftest.$ac_ext >&5
     8200
    72528201  # Passes both tests.
    72538202ac_preproc_ok=:
    72548203break
    72558204fi
    7256 rm -f conftest.err conftest.i conftest.$ac_ext
     8205
     8206rm -f conftest.err conftest.$ac_ext
    72578207
    72588208done
    72598209# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7260 rm -f conftest.i conftest.err conftest.$ac_ext
    7261 if $ac_preproc_ok; then :
     8210rm -f conftest.err conftest.$ac_ext
     8211if $ac_preproc_ok; then
    72628212  break
    72638213fi
     
    72718221  ac_cv_prog_CXXCPP=$CXXCPP
    72728222fi
    7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     8223{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
    72748224$as_echo "$CXXCPP" >&6; }
    72758225ac_preproc_ok=false
     
    72828232  # On the NeXT, cc -E runs the code through the compiler's parser,
    72838233  # not just through cpp. "Syntax error" is here to catch this case.
    7284   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8234  cat >conftest.$ac_ext <<_ACEOF
     8235/* confdefs.h.  */
     8236_ACEOF
     8237cat confdefs.h >>conftest.$ac_ext
     8238cat >>conftest.$ac_ext <<_ACEOF
    72858239/* end confdefs.h.  */
    72868240#ifdef __STDC__
     
    72918245                     Syntax error
    72928246_ACEOF
    7293 if ac_fn_cxx_try_cpp "$LINENO"; then :
    7294 
    7295 else
     8247if { (ac_try="$ac_cpp conftest.$ac_ext"
     8248case "(($ac_try" in
     8249  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8250  *) ac_try_echo=$ac_try;;
     8251esac
     8252eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8253$as_echo "$ac_try_echo") >&5
     8254  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8255  ac_status=$?
     8256  grep -v '^ *+' conftest.er1 >conftest.err
     8257  rm -f conftest.er1
     8258  cat conftest.err >&5
     8259  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8260  (exit $ac_status); } >/dev/null && {
     8261         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8262         test ! -s conftest.err
     8263       }; then
     8264  :
     8265else
     8266  $as_echo "$as_me: failed program was:" >&5
     8267sed 's/^/| /' conftest.$ac_ext >&5
     8268
    72968269  # Broken: fails on valid input.
    72978270continue
    72988271fi
    7299 rm -f conftest.err conftest.i conftest.$ac_ext
     8272
     8273rm -f conftest.err conftest.$ac_ext
    73008274
    73018275  # OK, works on sane cases.  Now check whether nonexistent headers
    73028276  # can be detected and how.
    7303   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8277  cat >conftest.$ac_ext <<_ACEOF
     8278/* confdefs.h.  */
     8279_ACEOF
     8280cat confdefs.h >>conftest.$ac_ext
     8281cat >>conftest.$ac_ext <<_ACEOF
    73048282/* end confdefs.h.  */
    73058283#include <ac_nonexistent.h>
    73068284_ACEOF
    7307 if ac_fn_cxx_try_cpp "$LINENO"; then :
     8285if { (ac_try="$ac_cpp conftest.$ac_ext"
     8286case "(($ac_try" in
     8287  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8288  *) ac_try_echo=$ac_try;;
     8289esac
     8290eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8291$as_echo "$ac_try_echo") >&5
     8292  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8293  ac_status=$?
     8294  grep -v '^ *+' conftest.er1 >conftest.err
     8295  rm -f conftest.er1
     8296  cat conftest.err >&5
     8297  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8298  (exit $ac_status); } >/dev/null && {
     8299         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8300         test ! -s conftest.err
     8301       }; then
    73088302  # Broken: success on invalid input.
    73098303continue
    73108304else
     8305  $as_echo "$as_me: failed program was:" >&5
     8306sed 's/^/| /' conftest.$ac_ext >&5
     8307
    73118308  # Passes both tests.
    73128309ac_preproc_ok=:
    73138310break
    73148311fi
    7315 rm -f conftest.err conftest.i conftest.$ac_ext
     8312
     8313rm -f conftest.err conftest.$ac_ext
    73168314
    73178315done
    73188316# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7319 rm -f conftest.i conftest.err conftest.$ac_ext
    7320 if $ac_preproc_ok; then :
    7321 
    7322 else
    7323   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8317rm -f conftest.err conftest.$ac_ext
     8318if $ac_preproc_ok; then
     8319  :
     8320else
     8321  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    73248322$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7325 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    7326 See \`config.log' for more details" "$LINENO" 5; }
     8323{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8324See \`config.log' for more details." >&5
     8325$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8326See \`config.log' for more details." >&2;}
     8327   { (exit 1); exit 1; }; }; }
    73278328fi
    73288329
     
    73478348    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    73488349set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8350{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    73508351$as_echo_n "checking for $ac_word... " >&6; }
    7351 if ${ac_cv_prog_CXX+:} false; then :
     8352if test "${ac_cv_prog_CXX+set}" = set; then
    73528353  $as_echo_n "(cached) " >&6
    73538354else
     
    73608361  IFS=$as_save_IFS
    73618362  test -z "$as_dir" && as_dir=.
    7362     for ac_exec_ext in '' $ac_executable_extensions; do
     8363  for ac_exec_ext in '' $ac_executable_extensions; do
    73638364  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    73648365    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7365     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8366    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    73668367    break 2
    73678368  fi
    73688369done
    7369   done
     8370done
    73708371IFS=$as_save_IFS
    73718372
     
    73748375CXX=$ac_cv_prog_CXX
    73758376if test -n "$CXX"; then
    7376   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     8377  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    73778378$as_echo "$CXX" >&6; }
    73788379else
    7379   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8380  { $as_echo "$as_me:$LINENO: result: no" >&5
    73808381$as_echo "no" >&6; }
    73818382fi
     
    73918392  # Extract the first word of "$ac_prog", so it can be a program name with args.
    73928393set dummy $ac_prog; ac_word=$2
    7393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8394{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    73948395$as_echo_n "checking for $ac_word... " >&6; }
    7395 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     8396if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    73968397  $as_echo_n "(cached) " >&6
    73978398else
     
    74048405  IFS=$as_save_IFS
    74058406  test -z "$as_dir" && as_dir=.
    7406     for ac_exec_ext in '' $ac_executable_extensions; do
     8407  for ac_exec_ext in '' $ac_executable_extensions; do
    74078408  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    74088409    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7409     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8410    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    74108411    break 2
    74118412  fi
    74128413done
    7413   done
     8414done
    74148415IFS=$as_save_IFS
    74158416
     
    74188419ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    74198420if test -n "$ac_ct_CXX"; then
    7420   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     8421  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    74218422$as_echo "$ac_ct_CXX" >&6; }
    74228423else
    7423   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8424  { $as_echo "$as_me:$LINENO: result: no" >&5
    74248425$as_echo "no" >&6; }
    74258426fi
     
    74348435    case $cross_compiling:$ac_tool_warned in
    74358436yes:)
    7436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8437{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    74378438$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    74388439ac_tool_warned=yes ;;
     
    74458446fi
    74468447# Provide some information about the compiler.
    7447 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     8448$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    74488449set X $ac_compile
    74498450ac_compiler=$2
    7450 for ac_option in --version -v -V -qversion; do
    7451   { { ac_try="$ac_compiler $ac_option >&5"
     8451{ (ac_try="$ac_compiler --version >&5"
    74528452case "(($ac_try" in
    74538453  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    74548454  *) ac_try_echo=$ac_try;;
    74558455esac
    7456 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    7457 $as_echo "$ac_try_echo"; } >&5
    7458   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     8456eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8457$as_echo "$ac_try_echo") >&5
     8458  (eval "$ac_compiler --version >&5") 2>&5
    74598459  ac_status=$?
    7460   if test -s conftest.err; then
    7461     sed '10a\
    7462 ... rest of stderr output deleted ...
    7463          10q' conftest.err >conftest.er1
    7464     cat conftest.er1 >&5
    7465   fi
    7466   rm -f conftest.er1 conftest.err
    7467   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7468   test $ac_status = 0; }
    7469 done
    7470 
    7471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     8460  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8461  (exit $ac_status); }
     8462{ (ac_try="$ac_compiler -v >&5"
     8463case "(($ac_try" in
     8464  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8465  *) ac_try_echo=$ac_try;;
     8466esac
     8467eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8468$as_echo "$ac_try_echo") >&5
     8469  (eval "$ac_compiler -v >&5") 2>&5
     8470  ac_status=$?
     8471  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8472  (exit $ac_status); }
     8473{ (ac_try="$ac_compiler -V >&5"
     8474case "(($ac_try" in
     8475  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8476  *) ac_try_echo=$ac_try;;
     8477esac
     8478eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8479$as_echo "$ac_try_echo") >&5
     8480  (eval "$ac_compiler -V >&5") 2>&5
     8481  ac_status=$?
     8482  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8483  (exit $ac_status); }
     8484
     8485{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    74728486$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7473 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     8487if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    74748488  $as_echo_n "(cached) " >&6
    74758489else
    7476   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8490  cat >conftest.$ac_ext <<_ACEOF
     8491/* confdefs.h.  */
     8492_ACEOF
     8493cat confdefs.h >>conftest.$ac_ext
     8494cat >>conftest.$ac_ext <<_ACEOF
    74778495/* end confdefs.h.  */
    74788496
     
    74888506}
    74898507_ACEOF
    7490 if ac_fn_cxx_try_compile "$LINENO"; then :
     8508rm -f conftest.$ac_objext
     8509if { (ac_try="$ac_compile"
     8510case "(($ac_try" in
     8511  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8512  *) ac_try_echo=$ac_try;;
     8513esac
     8514eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8515$as_echo "$ac_try_echo") >&5
     8516  (eval "$ac_compile") 2>conftest.er1
     8517  ac_status=$?
     8518  grep -v '^ *+' conftest.er1 >conftest.err
     8519  rm -f conftest.er1
     8520  cat conftest.err >&5
     8521  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8522  (exit $ac_status); } && {
     8523         test -z "$ac_cxx_werror_flag" ||
     8524         test ! -s conftest.err
     8525       } && test -s conftest.$ac_objext; then
    74918526  ac_compiler_gnu=yes
    74928527else
    7493   ac_compiler_gnu=no
    7494 fi
     8528  $as_echo "$as_me: failed program was:" >&5
     8529sed 's/^/| /' conftest.$ac_ext >&5
     8530
     8531        ac_compiler_gnu=no
     8532fi
     8533
    74958534rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    74968535ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    74978536
    74988537fi
    7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     8538{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    75008539$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    75018540if test $ac_compiler_gnu = yes; then
     
    75068545ac_test_CXXFLAGS=${CXXFLAGS+set}
    75078546ac_save_CXXFLAGS=$CXXFLAGS
    7508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     8547{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    75098548$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7510 if ${ac_cv_prog_cxx_g+:} false; then :
     8549if test "${ac_cv_prog_cxx_g+set}" = set; then
    75118550  $as_echo_n "(cached) " >&6
    75128551else
     
    75158554   ac_cv_prog_cxx_g=no
    75168555   CXXFLAGS="-g"
    7517    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8556   cat >conftest.$ac_ext <<_ACEOF
     8557/* confdefs.h.  */
     8558_ACEOF
     8559cat confdefs.h >>conftest.$ac_ext
     8560cat >>conftest.$ac_ext <<_ACEOF
    75188561/* end confdefs.h.  */
    75198562
     
    75268569}
    75278570_ACEOF
    7528 if ac_fn_cxx_try_compile "$LINENO"; then :
     8571rm -f conftest.$ac_objext
     8572if { (ac_try="$ac_compile"
     8573case "(($ac_try" in
     8574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8575  *) ac_try_echo=$ac_try;;
     8576esac
     8577eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8578$as_echo "$ac_try_echo") >&5
     8579  (eval "$ac_compile") 2>conftest.er1
     8580  ac_status=$?
     8581  grep -v '^ *+' conftest.er1 >conftest.err
     8582  rm -f conftest.er1
     8583  cat conftest.err >&5
     8584  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8585  (exit $ac_status); } && {
     8586         test -z "$ac_cxx_werror_flag" ||
     8587         test ! -s conftest.err
     8588       } && test -s conftest.$ac_objext; then
    75298589  ac_cv_prog_cxx_g=yes
    75308590else
    7531   CXXFLAGS=""
    7532       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8591  $as_echo "$as_me: failed program was:" >&5
     8592sed 's/^/| /' conftest.$ac_ext >&5
     8593
     8594        CXXFLAGS=""
     8595      cat >conftest.$ac_ext <<_ACEOF
     8596/* confdefs.h.  */
     8597_ACEOF
     8598cat confdefs.h >>conftest.$ac_ext
     8599cat >>conftest.$ac_ext <<_ACEOF
    75338600/* end confdefs.h.  */
    75348601
     
    75418608}
    75428609_ACEOF
    7543 if ac_fn_cxx_try_compile "$LINENO"; then :
    7544 
    7545 else
    7546   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     8610rm -f conftest.$ac_objext
     8611if { (ac_try="$ac_compile"
     8612case "(($ac_try" in
     8613  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8614  *) ac_try_echo=$ac_try;;
     8615esac
     8616eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8617$as_echo "$ac_try_echo") >&5
     8618  (eval "$ac_compile") 2>conftest.er1
     8619  ac_status=$?
     8620  grep -v '^ *+' conftest.er1 >conftest.err
     8621  rm -f conftest.er1
     8622  cat conftest.err >&5
     8623  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8624  (exit $ac_status); } && {
     8625         test -z "$ac_cxx_werror_flag" ||
     8626         test ! -s conftest.err
     8627       } && test -s conftest.$ac_objext; then
     8628  :
     8629else
     8630  $as_echo "$as_me: failed program was:" >&5
     8631sed 's/^/| /' conftest.$ac_ext >&5
     8632
     8633        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    75478634         CXXFLAGS="-g"
    7548          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8635         cat >conftest.$ac_ext <<_ACEOF
     8636/* confdefs.h.  */
     8637_ACEOF
     8638cat confdefs.h >>conftest.$ac_ext
     8639cat >>conftest.$ac_ext <<_ACEOF
    75498640/* end confdefs.h.  */
    75508641
     
    75578648}
    75588649_ACEOF
    7559 if ac_fn_cxx_try_compile "$LINENO"; then :
     8650rm -f conftest.$ac_objext
     8651if { (ac_try="$ac_compile"
     8652case "(($ac_try" in
     8653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8654  *) ac_try_echo=$ac_try;;
     8655esac
     8656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8657$as_echo "$ac_try_echo") >&5
     8658  (eval "$ac_compile") 2>conftest.er1
     8659  ac_status=$?
     8660  grep -v '^ *+' conftest.er1 >conftest.err
     8661  rm -f conftest.er1
     8662  cat conftest.err >&5
     8663  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8664  (exit $ac_status); } && {
     8665         test -z "$ac_cxx_werror_flag" ||
     8666         test ! -s conftest.err
     8667       } && test -s conftest.$ac_objext; then
    75608668  ac_cv_prog_cxx_g=yes
    7561 fi
     8669else
     8670  $as_echo "$as_me: failed program was:" >&5
     8671sed 's/^/| /' conftest.$ac_ext >&5
     8672
     8673
     8674fi
     8675
    75628676rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75638677fi
     8678
    75648679rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75658680fi
     8681
    75668682rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75678683   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    75688684fi
    7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     8685{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    75708686$as_echo "$ac_cv_prog_cxx_g" >&6; }
    75718687if test "$ac_test_CXXFLAGS" = set; then
     
    75988714
    75998715
    7600  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     8716
     8717 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    76018718$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    7602 if ${ac_cv_c_bigendian+:} false; then :
     8719if test "${ac_cv_c_bigendian+set}" = set; then
    76038720  $as_echo_n "(cached) " >&6
    76048721else
    76058722  ac_cv_c_bigendian=unknown
    76068723    # See if we're dealing with a universal compiler.
    7607     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8724    cat >conftest.$ac_ext <<_ACEOF
     8725/* confdefs.h.  */
     8726_ACEOF
     8727cat confdefs.h >>conftest.$ac_ext
     8728cat >>conftest.$ac_ext <<_ACEOF
    76088729/* end confdefs.h.  */
    76098730#ifndef __APPLE_CC__
     
    76138734
    76148735_ACEOF
    7615 if ac_fn_cxx_try_compile "$LINENO"; then :
     8736rm -f conftest.$ac_objext
     8737if { (ac_try="$ac_compile"
     8738case "(($ac_try" in
     8739  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8740  *) ac_try_echo=$ac_try;;
     8741esac
     8742eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8743$as_echo "$ac_try_echo") >&5
     8744  (eval "$ac_compile") 2>conftest.er1
     8745  ac_status=$?
     8746  grep -v '^ *+' conftest.er1 >conftest.err
     8747  rm -f conftest.er1
     8748  cat conftest.err >&5
     8749  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8750  (exit $ac_status); } && {
     8751         test -z "$ac_cxx_werror_flag" ||
     8752         test ! -s conftest.err
     8753       } && test -s conftest.$ac_objext; then
    76168754
    76178755        # Check for potential -arch flags.  It is not universal unless
    7618         # there are at least two -arch flags with different values.
    7619         ac_arch=
    7620         ac_prev=
    7621         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    7622          if test -n "$ac_prev"; then
    7623            case $ac_word in
    7624              i?86 | x86_64 | ppc | ppc64)
    7625                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    7626                  ac_arch=$ac_word
    7627                else
    7628                  ac_cv_c_bigendian=universal
    7629                  break
    7630                fi
    7631                ;;
    7632            esac
    7633            ac_prev=
    7634          elif test "x$ac_word" = "x-arch"; then
    7635            ac_prev=arch
    7636          fi
    7637        done
    7638 fi
     8756        # there are some -arch flags.  Note that *ppc* also matches
     8757        # ppc64.  This check is also rather less than ideal.
     8758        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     8759          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     8760        esac
     8761else
     8762  $as_echo "$as_me: failed program was:" >&5
     8763sed 's/^/| /' conftest.$ac_ext >&5
     8764
     8765
     8766fi
     8767
    76398768rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76408769    if test $ac_cv_c_bigendian = unknown; then
    76418770      # See if sys/param.h defines the BYTE_ORDER macro.
    7642       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8771      cat >conftest.$ac_ext <<_ACEOF
     8772/* confdefs.h.  */
     8773_ACEOF
     8774cat confdefs.h >>conftest.$ac_ext
     8775cat >>conftest.$ac_ext <<_ACEOF
    76438776/* end confdefs.h.  */
    76448777#include <sys/types.h>
     
    76588791}
    76598792_ACEOF
    7660 if ac_fn_cxx_try_compile "$LINENO"; then :
     8793rm -f conftest.$ac_objext
     8794if { (ac_try="$ac_compile"
     8795case "(($ac_try" in
     8796  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8797  *) ac_try_echo=$ac_try;;
     8798esac
     8799eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8800$as_echo "$ac_try_echo") >&5
     8801  (eval "$ac_compile") 2>conftest.er1
     8802  ac_status=$?
     8803  grep -v '^ *+' conftest.er1 >conftest.err
     8804  rm -f conftest.er1
     8805  cat conftest.err >&5
     8806  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8807  (exit $ac_status); } && {
     8808         test -z "$ac_cxx_werror_flag" ||
     8809         test ! -s conftest.err
     8810       } && test -s conftest.$ac_objext; then
    76618811  # It does; now see whether it defined to BIG_ENDIAN or not.
    7662          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8812         cat >conftest.$ac_ext <<_ACEOF
     8813/* confdefs.h.  */
     8814_ACEOF
     8815cat confdefs.h >>conftest.$ac_ext
     8816cat >>conftest.$ac_ext <<_ACEOF
    76638817/* end confdefs.h.  */
    76648818#include <sys/types.h>
     
    76768830}
    76778831_ACEOF
    7678 if ac_fn_cxx_try_compile "$LINENO"; then :
     8832rm -f conftest.$ac_objext
     8833if { (ac_try="$ac_compile"
     8834case "(($ac_try" in
     8835  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8836  *) ac_try_echo=$ac_try;;
     8837esac
     8838eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8839$as_echo "$ac_try_echo") >&5
     8840  (eval "$ac_compile") 2>conftest.er1
     8841  ac_status=$?
     8842  grep -v '^ *+' conftest.er1 >conftest.err
     8843  rm -f conftest.er1
     8844  cat conftest.err >&5
     8845  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8846  (exit $ac_status); } && {
     8847         test -z "$ac_cxx_werror_flag" ||
     8848         test ! -s conftest.err
     8849       } && test -s conftest.$ac_objext; then
    76798850  ac_cv_c_bigendian=yes
    76808851else
    7681   ac_cv_c_bigendian=no
    7682 fi
     8852  $as_echo "$as_me: failed program was:" >&5
     8853sed 's/^/| /' conftest.$ac_ext >&5
     8854
     8855        ac_cv_c_bigendian=no
     8856fi
     8857
    76838858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7684 fi
     8859else
     8860  $as_echo "$as_me: failed program was:" >&5
     8861sed 's/^/| /' conftest.$ac_ext >&5
     8862
     8863
     8864fi
     8865
    76858866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76868867    fi
    76878868    if test $ac_cv_c_bigendian = unknown; then
    76888869      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    7689       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8870      cat >conftest.$ac_ext <<_ACEOF
     8871/* confdefs.h.  */
     8872_ACEOF
     8873cat confdefs.h >>conftest.$ac_ext
     8874cat >>conftest.$ac_ext <<_ACEOF
    76908875/* end confdefs.h.  */
    76918876#include <limits.h>
     
    77028887}
    77038888_ACEOF
    7704 if ac_fn_cxx_try_compile "$LINENO"; then :
     8889rm -f conftest.$ac_objext
     8890if { (ac_try="$ac_compile"
     8891case "(($ac_try" in
     8892  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8893  *) ac_try_echo=$ac_try;;
     8894esac
     8895eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8896$as_echo "$ac_try_echo") >&5
     8897  (eval "$ac_compile") 2>conftest.er1
     8898  ac_status=$?
     8899  grep -v '^ *+' conftest.er1 >conftest.err
     8900  rm -f conftest.er1
     8901  cat conftest.err >&5
     8902  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8903  (exit $ac_status); } && {
     8904         test -z "$ac_cxx_werror_flag" ||
     8905         test ! -s conftest.err
     8906       } && test -s conftest.$ac_objext; then
    77058907  # It does; now see whether it defined to _BIG_ENDIAN or not.
    7706          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8908         cat >conftest.$ac_ext <<_ACEOF
     8909/* confdefs.h.  */
     8910_ACEOF
     8911cat confdefs.h >>conftest.$ac_ext
     8912cat >>conftest.$ac_ext <<_ACEOF
    77078913/* end confdefs.h.  */
    77088914#include <limits.h>
     
    77198925}
    77208926_ACEOF
    7721 if ac_fn_cxx_try_compile "$LINENO"; then :
     8927rm -f conftest.$ac_objext
     8928if { (ac_try="$ac_compile"
     8929case "(($ac_try" in
     8930  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8931  *) ac_try_echo=$ac_try;;
     8932esac
     8933eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8934$as_echo "$ac_try_echo") >&5
     8935  (eval "$ac_compile") 2>conftest.er1
     8936  ac_status=$?
     8937  grep -v '^ *+' conftest.er1 >conftest.err
     8938  rm -f conftest.er1
     8939  cat conftest.err >&5
     8940  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8941  (exit $ac_status); } && {
     8942         test -z "$ac_cxx_werror_flag" ||
     8943         test ! -s conftest.err
     8944       } && test -s conftest.$ac_objext; then
    77228945  ac_cv_c_bigendian=yes
    77238946else
    7724   ac_cv_c_bigendian=no
    7725 fi
     8947  $as_echo "$as_me: failed program was:" >&5
     8948sed 's/^/| /' conftest.$ac_ext >&5
     8949
     8950        ac_cv_c_bigendian=no
     8951fi
     8952
    77268953rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7727 fi
     8954else
     8955  $as_echo "$as_me: failed program was:" >&5
     8956sed 's/^/| /' conftest.$ac_ext >&5
     8957
     8958
     8959fi
     8960
    77288961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77298962    fi
    77308963    if test $ac_cv_c_bigendian = unknown; then
    77318964      # Compile a test program.
    7732       if test "$cross_compiling" = yes; then :
     8965      if test "$cross_compiling" = yes; then
    77338966  # Try to guess by grepping values from an object file.
    7734          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8967         cat >conftest.$ac_ext <<_ACEOF
     8968/* confdefs.h.  */
     8969_ACEOF
     8970cat confdefs.h >>conftest.$ac_ext
     8971cat >>conftest.$ac_ext <<_ACEOF
    77358972/* end confdefs.h.  */
    77368973short int ascii_mm[] =
     
    77588995}
    77598996_ACEOF
    7760 if ac_fn_cxx_try_compile "$LINENO"; then :
     8997rm -f conftest.$ac_objext
     8998if { (ac_try="$ac_compile"
     8999case "(($ac_try" in
     9000  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9001  *) ac_try_echo=$ac_try;;
     9002esac
     9003eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9004$as_echo "$ac_try_echo") >&5
     9005  (eval "$ac_compile") 2>conftest.er1
     9006  ac_status=$?
     9007  grep -v '^ *+' conftest.er1 >conftest.err
     9008  rm -f conftest.er1
     9009  cat conftest.err >&5
     9010  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9011  (exit $ac_status); } && {
     9012         test -z "$ac_cxx_werror_flag" ||
     9013         test ! -s conftest.err
     9014       } && test -s conftest.$ac_objext; then
    77619015  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    77629016              ac_cv_c_bigendian=yes
     
    77709024              fi
    77719025            fi
    7772 fi
     9026else
     9027  $as_echo "$as_me: failed program was:" >&5
     9028sed 's/^/| /' conftest.$ac_ext >&5
     9029
     9030
     9031fi
     9032
    77739033rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77749034else
    7775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9035  cat >conftest.$ac_ext <<_ACEOF
     9036/* confdefs.h.  */
     9037_ACEOF
     9038cat confdefs.h >>conftest.$ac_ext
     9039cat >>conftest.$ac_ext <<_ACEOF
    77769040/* end confdefs.h.  */
    77779041$ac_includes_default
     
    77939057}
    77949058_ACEOF
    7795 if ac_fn_cxx_try_run "$LINENO"; then :
     9059rm -f conftest$ac_exeext
     9060if { (ac_try="$ac_link"
     9061case "(($ac_try" in
     9062  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9063  *) ac_try_echo=$ac_try;;
     9064esac
     9065eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9066$as_echo "$ac_try_echo") >&5
     9067  (eval "$ac_link") 2>&5
     9068  ac_status=$?
     9069  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9070  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9071  { (case "(($ac_try" in
     9072  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9073  *) ac_try_echo=$ac_try;;
     9074esac
     9075eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9076$as_echo "$ac_try_echo") >&5
     9077  (eval "$ac_try") 2>&5
     9078  ac_status=$?
     9079  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9080  (exit $ac_status); }; }; then
    77969081  ac_cv_c_bigendian=no
    77979082else
    7798   ac_cv_c_bigendian=yes
    7799 fi
    7800 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    7801   conftest.$ac_objext conftest.beam conftest.$ac_ext
    7802 fi
     9083  $as_echo "$as_me: program exited with status $ac_status" >&5
     9084$as_echo "$as_me: failed program was:" >&5
     9085sed 's/^/| /' conftest.$ac_ext >&5
     9086
     9087( exit $ac_status )
     9088ac_cv_c_bigendian=yes
     9089fi
     9090rm -rf conftest.dSYM
     9091rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9092fi
     9093
    78039094
    78049095    fi
    78059096fi
    7806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     9097{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    78079098$as_echo "$ac_cv_c_bigendian" >&6; }
    78089099 case $ac_cv_c_bigendian in #(
    78099100   yes)
    7810      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     9101     cat >>confdefs.h <<\_ACEOF
     9102#define WORDS_BIGENDIAN 1
     9103_ACEOF
    78119104;; #(
    78129105   no)
     
    78149107   universal)
    78159108
    7816 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     9109cat >>confdefs.h <<\_ACEOF
     9110#define AC_APPLE_UNIVERSAL_BUILD 1
     9111_ACEOF
    78179112
    78189113     ;; #(
    78199114   *)
    7820      as_fn_error $? "unknown endianness
    7821  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     9115     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     9116 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     9117$as_echo "$as_me: error: unknown endianness
     9118 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     9119   { (exit 1); exit 1; }; } ;;
    78229120 esac
    78239121
     
    78269124# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    78279125# This bug is HP SR number 8606223364.
    7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     9126{ $as_echo "$as_me:$LINENO: checking size of int" >&5
    78299127$as_echo_n "checking size of int... " >&6; }
    7830 if ${ac_cv_sizeof_int+:} false; then :
     9128if test "${ac_cv_sizeof_int+set}" = set; then
    78319129  $as_echo_n "(cached) " >&6
    78329130else
    7833   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
    7834 
    7835 else
    7836   if test "$ac_cv_type_int" = yes; then
    7837      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9131  if test "$cross_compiling" = yes; then
     9132  # Depending upon the size, compute the lo and hi bounds.
     9133cat >conftest.$ac_ext <<_ACEOF
     9134/* confdefs.h.  */
     9135_ACEOF
     9136cat confdefs.h >>conftest.$ac_ext
     9137cat >>conftest.$ac_ext <<_ACEOF
     9138/* end confdefs.h.  */
     9139$ac_includes_default
     9140int
     9141main ()
     9142{
     9143static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
     9144test_array [0] = 0
     9145
     9146  ;
     9147  return 0;
     9148}
     9149_ACEOF
     9150rm -f conftest.$ac_objext
     9151if { (ac_try="$ac_compile"
     9152case "(($ac_try" in
     9153  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9154  *) ac_try_echo=$ac_try;;
     9155esac
     9156eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9157$as_echo "$ac_try_echo") >&5
     9158  (eval "$ac_compile") 2>conftest.er1
     9159  ac_status=$?
     9160  grep -v '^ *+' conftest.er1 >conftest.err
     9161  rm -f conftest.er1
     9162  cat conftest.err >&5
     9163  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9164  (exit $ac_status); } && {
     9165         test -z "$ac_cxx_werror_flag" ||
     9166         test ! -s conftest.err
     9167       } && test -s conftest.$ac_objext; then
     9168  ac_lo=0 ac_mid=0
     9169  while :; do
     9170    cat >conftest.$ac_ext <<_ACEOF
     9171/* confdefs.h.  */
     9172_ACEOF
     9173cat confdefs.h >>conftest.$ac_ext
     9174cat >>conftest.$ac_ext <<_ACEOF
     9175/* end confdefs.h.  */
     9176$ac_includes_default
     9177int
     9178main ()
     9179{
     9180static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     9181test_array [0] = 0
     9182
     9183  ;
     9184  return 0;
     9185}
     9186_ACEOF
     9187rm -f conftest.$ac_objext
     9188if { (ac_try="$ac_compile"
     9189case "(($ac_try" in
     9190  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9191  *) ac_try_echo=$ac_try;;
     9192esac
     9193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9194$as_echo "$ac_try_echo") >&5
     9195  (eval "$ac_compile") 2>conftest.er1
     9196  ac_status=$?
     9197  grep -v '^ *+' conftest.er1 >conftest.err
     9198  rm -f conftest.er1
     9199  cat conftest.err >&5
     9200  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9201  (exit $ac_status); } && {
     9202         test -z "$ac_cxx_werror_flag" ||
     9203         test ! -s conftest.err
     9204       } && test -s conftest.$ac_objext; then
     9205  ac_hi=$ac_mid; break
     9206else
     9207  $as_echo "$as_me: failed program was:" >&5
     9208sed 's/^/| /' conftest.$ac_ext >&5
     9209
     9210        ac_lo=`expr $ac_mid + 1`
     9211                        if test $ac_lo -le $ac_mid; then
     9212                          ac_lo= ac_hi=
     9213                          break
     9214                        fi
     9215                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9216fi
     9217
     9218rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9219  done
     9220else
     9221  $as_echo "$as_me: failed program was:" >&5
     9222sed 's/^/| /' conftest.$ac_ext >&5
     9223
     9224        cat >conftest.$ac_ext <<_ACEOF
     9225/* confdefs.h.  */
     9226_ACEOF
     9227cat confdefs.h >>conftest.$ac_ext
     9228cat >>conftest.$ac_ext <<_ACEOF
     9229/* end confdefs.h.  */
     9230$ac_includes_default
     9231int
     9232main ()
     9233{
     9234static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
     9235test_array [0] = 0
     9236
     9237  ;
     9238  return 0;
     9239}
     9240_ACEOF
     9241rm -f conftest.$ac_objext
     9242if { (ac_try="$ac_compile"
     9243case "(($ac_try" in
     9244  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9245  *) ac_try_echo=$ac_try;;
     9246esac
     9247eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9248$as_echo "$ac_try_echo") >&5
     9249  (eval "$ac_compile") 2>conftest.er1
     9250  ac_status=$?
     9251  grep -v '^ *+' conftest.er1 >conftest.err
     9252  rm -f conftest.er1
     9253  cat conftest.err >&5
     9254  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9255  (exit $ac_status); } && {
     9256         test -z "$ac_cxx_werror_flag" ||
     9257         test ! -s conftest.err
     9258       } && test -s conftest.$ac_objext; then
     9259  ac_hi=-1 ac_mid=-1
     9260  while :; do
     9261    cat >conftest.$ac_ext <<_ACEOF
     9262/* confdefs.h.  */
     9263_ACEOF
     9264cat confdefs.h >>conftest.$ac_ext
     9265cat >>conftest.$ac_ext <<_ACEOF
     9266/* end confdefs.h.  */
     9267$ac_includes_default
     9268int
     9269main ()
     9270{
     9271static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
     9272test_array [0] = 0
     9273
     9274  ;
     9275  return 0;
     9276}
     9277_ACEOF
     9278rm -f conftest.$ac_objext
     9279if { (ac_try="$ac_compile"
     9280case "(($ac_try" in
     9281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9282  *) ac_try_echo=$ac_try;;
     9283esac
     9284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9285$as_echo "$ac_try_echo") >&5
     9286  (eval "$ac_compile") 2>conftest.er1
     9287  ac_status=$?
     9288  grep -v '^ *+' conftest.er1 >conftest.err
     9289  rm -f conftest.er1
     9290  cat conftest.err >&5
     9291  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9292  (exit $ac_status); } && {
     9293         test -z "$ac_cxx_werror_flag" ||
     9294         test ! -s conftest.err
     9295       } && test -s conftest.$ac_objext; then
     9296  ac_lo=$ac_mid; break
     9297else
     9298  $as_echo "$as_me: failed program was:" >&5
     9299sed 's/^/| /' conftest.$ac_ext >&5
     9300
     9301        ac_hi=`expr '(' $ac_mid ')' - 1`
     9302                        if test $ac_mid -le $ac_hi; then
     9303                          ac_lo= ac_hi=
     9304                          break
     9305                        fi
     9306                        ac_mid=`expr 2 '*' $ac_mid`
     9307fi
     9308
     9309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9310  done
     9311else
     9312  $as_echo "$as_me: failed program was:" >&5
     9313sed 's/^/| /' conftest.$ac_ext >&5
     9314
     9315        ac_lo= ac_hi=
     9316fi
     9317
     9318rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9319fi
     9320
     9321rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9322# Binary search between lo and hi bounds.
     9323while test "x$ac_lo" != "x$ac_hi"; do
     9324  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     9325  cat >conftest.$ac_ext <<_ACEOF
     9326/* confdefs.h.  */
     9327_ACEOF
     9328cat confdefs.h >>conftest.$ac_ext
     9329cat >>conftest.$ac_ext <<_ACEOF
     9330/* end confdefs.h.  */
     9331$ac_includes_default
     9332int
     9333main ()
     9334{
     9335static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     9336test_array [0] = 0
     9337
     9338  ;
     9339  return 0;
     9340}
     9341_ACEOF
     9342rm -f conftest.$ac_objext
     9343if { (ac_try="$ac_compile"
     9344case "(($ac_try" in
     9345  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9346  *) ac_try_echo=$ac_try;;
     9347esac
     9348eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9349$as_echo "$ac_try_echo") >&5
     9350  (eval "$ac_compile") 2>conftest.er1
     9351  ac_status=$?
     9352  grep -v '^ *+' conftest.er1 >conftest.err
     9353  rm -f conftest.er1
     9354  cat conftest.err >&5
     9355  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9356  (exit $ac_status); } && {
     9357         test -z "$ac_cxx_werror_flag" ||
     9358         test ! -s conftest.err
     9359       } && test -s conftest.$ac_objext; then
     9360  ac_hi=$ac_mid
     9361else
     9362  $as_echo "$as_me: failed program was:" >&5
     9363sed 's/^/| /' conftest.$ac_ext >&5
     9364
     9365        ac_lo=`expr '(' $ac_mid ')' + 1`
     9366fi
     9367
     9368rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9369done
     9370case $ac_lo in
     9371?*) ac_cv_sizeof_int=$ac_lo;;
     9372'') if test "$ac_cv_type_int" = yes; then
     9373     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    78389374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7839 as_fn_error 77 "cannot compute sizeof (int)
    7840 See \`config.log' for more details" "$LINENO" 5; }
     9375{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     9376See \`config.log' for more details." >&5
     9377$as_echo "$as_me: error: cannot compute sizeof (int)
     9378See \`config.log' for more details." >&2;}
     9379   { (exit 77); exit 77; }; }; }
     9380   else
     9381     ac_cv_sizeof_int=0
     9382   fi ;;
     9383esac
     9384else
     9385  cat >conftest.$ac_ext <<_ACEOF
     9386/* confdefs.h.  */
     9387_ACEOF
     9388cat confdefs.h >>conftest.$ac_ext
     9389cat >>conftest.$ac_ext <<_ACEOF
     9390/* end confdefs.h.  */
     9391$ac_includes_default
     9392static long int longval () { return (long int) (sizeof (int)); }
     9393static unsigned long int ulongval () { return (long int) (sizeof (int)); }
     9394#include <stdio.h>
     9395#include <stdlib.h>
     9396int
     9397main ()
     9398{
     9399
     9400  FILE *f = fopen ("conftest.val", "w");
     9401  if (! f)
     9402    return 1;
     9403  if (((long int) (sizeof (int))) < 0)
     9404    {
     9405      long int i = longval ();
     9406      if (i != ((long int) (sizeof (int))))
     9407        return 1;
     9408      fprintf (f, "%ld", i);
     9409    }
     9410  else
     9411    {
     9412      unsigned long int i = ulongval ();
     9413      if (i != ((long int) (sizeof (int))))
     9414        return 1;
     9415      fprintf (f, "%lu", i);
     9416    }
     9417  /* Do not output a trailing newline, as this causes \r\n confusion
     9418     on some platforms.  */
     9419  return ferror (f) || fclose (f) != 0;
     9420
     9421  ;
     9422  return 0;
     9423}
     9424_ACEOF
     9425rm -f conftest$ac_exeext
     9426if { (ac_try="$ac_link"
     9427case "(($ac_try" in
     9428  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9429  *) ac_try_echo=$ac_try;;
     9430esac
     9431eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9432$as_echo "$ac_try_echo") >&5
     9433  (eval "$ac_link") 2>&5
     9434  ac_status=$?
     9435  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9436  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9437  { (case "(($ac_try" in
     9438  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9439  *) ac_try_echo=$ac_try;;
     9440esac
     9441eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9442$as_echo "$ac_try_echo") >&5
     9443  (eval "$ac_try") 2>&5
     9444  ac_status=$?
     9445  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9446  (exit $ac_status); }; }; then
     9447  ac_cv_sizeof_int=`cat conftest.val`
     9448else
     9449  $as_echo "$as_me: program exited with status $ac_status" >&5
     9450$as_echo "$as_me: failed program was:" >&5
     9451sed 's/^/| /' conftest.$ac_ext >&5
     9452
     9453( exit $ac_status )
     9454if test "$ac_cv_type_int" = yes; then
     9455     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9456$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9457{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     9458See \`config.log' for more details." >&5
     9459$as_echo "$as_me: error: cannot compute sizeof (int)
     9460See \`config.log' for more details." >&2;}
     9461   { (exit 77); exit 77; }; }; }
    78419462   else
    78429463     ac_cv_sizeof_int=0
    78439464   fi
    78449465fi
    7845 
    7846 fi
    7847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     9466rm -rf conftest.dSYM
     9467rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9468fi
     9469rm -f conftest.val
     9470fi
     9471{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    78489472$as_echo "$ac_cv_sizeof_int" >&6; }
    78499473
     
    78599483# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    78609484# This bug is HP SR number 8606223364.
    7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     9485{ $as_echo "$as_me:$LINENO: checking size of long" >&5
    78629486$as_echo_n "checking size of long... " >&6; }
    7863 if ${ac_cv_sizeof_long+:} false; then :
     9487if test "${ac_cv_sizeof_long+set}" = set; then
    78649488  $as_echo_n "(cached) " >&6
    78659489else
    7866   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
    7867 
    7868 else
    7869   if test "$ac_cv_type_long" = yes; then
    7870      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9490  if test "$cross_compiling" = yes; then
     9491  # Depending upon the size, compute the lo and hi bounds.
     9492cat >conftest.$ac_ext <<_ACEOF
     9493/* confdefs.h.  */
     9494_ACEOF
     9495cat confdefs.h >>conftest.$ac_ext
     9496cat >>conftest.$ac_ext <<_ACEOF
     9497/* end confdefs.h.  */
     9498$ac_includes_default
     9499int
     9500main ()
     9501{
     9502static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
     9503test_array [0] = 0
     9504
     9505  ;
     9506  return 0;
     9507}
     9508_ACEOF
     9509rm -f conftest.$ac_objext
     9510if { (ac_try="$ac_compile"
     9511case "(($ac_try" in
     9512  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9513  *) ac_try_echo=$ac_try;;
     9514esac
     9515eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9516$as_echo "$ac_try_echo") >&5
     9517  (eval "$ac_compile") 2>conftest.er1
     9518  ac_status=$?
     9519  grep -v '^ *+' conftest.er1 >conftest.err
     9520  rm -f conftest.er1
     9521  cat conftest.err >&5
     9522  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9523  (exit $ac_status); } && {
     9524         test -z "$ac_cxx_werror_flag" ||
     9525         test ! -s conftest.err
     9526       } && test -s conftest.$ac_objext; then
     9527  ac_lo=0 ac_mid=0
     9528  while :; do
     9529    cat >conftest.$ac_ext <<_ACEOF
     9530/* confdefs.h.  */
     9531_ACEOF
     9532cat confdefs.h >>conftest.$ac_ext
     9533cat >>conftest.$ac_ext <<_ACEOF
     9534/* end confdefs.h.  */
     9535$ac_includes_default
     9536int
     9537main ()
     9538{
     9539static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     9540test_array [0] = 0
     9541
     9542  ;
     9543  return 0;
     9544}
     9545_ACEOF
     9546rm -f conftest.$ac_objext
     9547if { (ac_try="$ac_compile"
     9548case "(($ac_try" in
     9549  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9550  *) ac_try_echo=$ac_try;;
     9551esac
     9552eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9553$as_echo "$ac_try_echo") >&5
     9554  (eval "$ac_compile") 2>conftest.er1
     9555  ac_status=$?
     9556  grep -v '^ *+' conftest.er1 >conftest.err
     9557  rm -f conftest.er1
     9558  cat conftest.err >&5
     9559  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9560  (exit $ac_status); } && {
     9561         test -z "$ac_cxx_werror_flag" ||
     9562         test ! -s conftest.err
     9563       } && test -s conftest.$ac_objext; then
     9564  ac_hi=$ac_mid; break
     9565else
     9566  $as_echo "$as_me: failed program was:" >&5
     9567sed 's/^/| /' conftest.$ac_ext >&5
     9568
     9569        ac_lo=`expr $ac_mid + 1`
     9570                        if test $ac_lo -le $ac_mid; then
     9571                          ac_lo= ac_hi=
     9572                          break
     9573                        fi
     9574                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9575fi
     9576
     9577rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9578  done
     9579else
     9580  $as_echo "$as_me: failed program was:" >&5
     9581sed 's/^/| /' conftest.$ac_ext >&5
     9582
     9583        cat >conftest.$ac_ext <<_ACEOF
     9584/* confdefs.h.  */
     9585_ACEOF
     9586cat confdefs.h >>conftest.$ac_ext
     9587cat >>conftest.$ac_ext <<_ACEOF
     9588/* end confdefs.h.  */
     9589$ac_includes_default
     9590int
     9591main ()
     9592{
     9593static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
     9594test_array [0] = 0
     9595
     9596  ;
     9597  return 0;
     9598}
     9599_ACEOF
     9600rm -f conftest.$ac_objext
     9601if { (ac_try="$ac_compile"
     9602case "(($ac_try" in
     9603  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9604  *) ac_try_echo=$ac_try;;
     9605esac
     9606eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9607$as_echo "$ac_try_echo") >&5
     9608  (eval "$ac_compile") 2>conftest.er1
     9609  ac_status=$?
     9610  grep -v '^ *+' conftest.er1 >conftest.err
     9611  rm -f conftest.er1
     9612  cat conftest.err >&5
     9613  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9614  (exit $ac_status); } && {
     9615         test -z "$ac_cxx_werror_flag" ||
     9616         test ! -s conftest.err
     9617       } && test -s conftest.$ac_objext; then
     9618  ac_hi=-1 ac_mid=-1
     9619  while :; do
     9620    cat >conftest.$ac_ext <<_ACEOF
     9621/* confdefs.h.  */
     9622_ACEOF
     9623cat confdefs.h >>conftest.$ac_ext
     9624cat >>conftest.$ac_ext <<_ACEOF
     9625/* end confdefs.h.  */
     9626$ac_includes_default
     9627int
     9628main ()
     9629{
     9630static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
     9631test_array [0] = 0
     9632
     9633  ;
     9634  return 0;
     9635}
     9636_ACEOF
     9637rm -f conftest.$ac_objext
     9638if { (ac_try="$ac_compile"
     9639case "(($ac_try" in
     9640  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9641  *) ac_try_echo=$ac_try;;
     9642esac
     9643eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9644$as_echo "$ac_try_echo") >&5
     9645  (eval "$ac_compile") 2>conftest.er1
     9646  ac_status=$?
     9647  grep -v '^ *+' conftest.er1 >conftest.err
     9648  rm -f conftest.er1
     9649  cat conftest.err >&5
     9650  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9651  (exit $ac_status); } && {
     9652         test -z "$ac_cxx_werror_flag" ||
     9653         test ! -s conftest.err
     9654       } && test -s conftest.$ac_objext; then
     9655  ac_lo=$ac_mid; break
     9656else
     9657  $as_echo "$as_me: failed program was:" >&5
     9658sed 's/^/| /' conftest.$ac_ext >&5
     9659
     9660        ac_hi=`expr '(' $ac_mid ')' - 1`
     9661                        if test $ac_mid -le $ac_hi; then
     9662                          ac_lo= ac_hi=
     9663                          break
     9664                        fi
     9665                        ac_mid=`expr 2 '*' $ac_mid`
     9666fi
     9667
     9668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9669  done
     9670else
     9671  $as_echo "$as_me: failed program was:" >&5
     9672sed 's/^/| /' conftest.$ac_ext >&5
     9673
     9674        ac_lo= ac_hi=
     9675fi
     9676
     9677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9678fi
     9679
     9680rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9681# Binary search between lo and hi bounds.
     9682while test "x$ac_lo" != "x$ac_hi"; do
     9683  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     9684  cat >conftest.$ac_ext <<_ACEOF
     9685/* confdefs.h.  */
     9686_ACEOF
     9687cat confdefs.h >>conftest.$ac_ext
     9688cat >>conftest.$ac_ext <<_ACEOF
     9689/* end confdefs.h.  */
     9690$ac_includes_default
     9691int
     9692main ()
     9693{
     9694static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     9695test_array [0] = 0
     9696
     9697  ;
     9698  return 0;
     9699}
     9700_ACEOF
     9701rm -f conftest.$ac_objext
     9702if { (ac_try="$ac_compile"
     9703case "(($ac_try" in
     9704  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9705  *) ac_try_echo=$ac_try;;
     9706esac
     9707eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9708$as_echo "$ac_try_echo") >&5
     9709  (eval "$ac_compile") 2>conftest.er1
     9710  ac_status=$?
     9711  grep -v '^ *+' conftest.er1 >conftest.err
     9712  rm -f conftest.er1
     9713  cat conftest.err >&5
     9714  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9715  (exit $ac_status); } && {
     9716         test -z "$ac_cxx_werror_flag" ||
     9717         test ! -s conftest.err
     9718       } && test -s conftest.$ac_objext; then
     9719  ac_hi=$ac_mid
     9720else
     9721  $as_echo "$as_me: failed program was:" >&5
     9722sed 's/^/| /' conftest.$ac_ext >&5
     9723
     9724        ac_lo=`expr '(' $ac_mid ')' + 1`
     9725fi
     9726
     9727rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9728done
     9729case $ac_lo in
     9730?*) ac_cv_sizeof_long=$ac_lo;;
     9731'') if test "$ac_cv_type_long" = yes; then
     9732     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    78719733$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7872 as_fn_error 77 "cannot compute sizeof (long)
    7873 See \`config.log' for more details" "$LINENO" 5; }
     9734{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     9735See \`config.log' for more details." >&5
     9736$as_echo "$as_me: error: cannot compute sizeof (long)
     9737See \`config.log' for more details." >&2;}
     9738   { (exit 77); exit 77; }; }; }
     9739   else
     9740     ac_cv_sizeof_long=0
     9741   fi ;;
     9742esac
     9743else
     9744  cat >conftest.$ac_ext <<_ACEOF
     9745/* confdefs.h.  */
     9746_ACEOF
     9747cat confdefs.h >>conftest.$ac_ext
     9748cat >>conftest.$ac_ext <<_ACEOF
     9749/* end confdefs.h.  */
     9750$ac_includes_default
     9751static long int longval () { return (long int) (sizeof (long)); }
     9752static unsigned long int ulongval () { return (long int) (sizeof (long)); }
     9753#include <stdio.h>
     9754#include <stdlib.h>
     9755int
     9756main ()
     9757{
     9758
     9759  FILE *f = fopen ("conftest.val", "w");
     9760  if (! f)
     9761    return 1;
     9762  if (((long int) (sizeof (long))) < 0)
     9763    {
     9764      long int i = longval ();
     9765      if (i != ((long int) (sizeof (long))))
     9766        return 1;
     9767      fprintf (f, "%ld", i);
     9768    }
     9769  else
     9770    {
     9771      unsigned long int i = ulongval ();
     9772      if (i != ((long int) (sizeof (long))))
     9773        return 1;
     9774      fprintf (f, "%lu", i);
     9775    }
     9776  /* Do not output a trailing newline, as this causes \r\n confusion
     9777     on some platforms.  */
     9778  return ferror (f) || fclose (f) != 0;
     9779
     9780  ;
     9781  return 0;
     9782}
     9783_ACEOF
     9784rm -f conftest$ac_exeext
     9785if { (ac_try="$ac_link"
     9786case "(($ac_try" in
     9787  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9788  *) ac_try_echo=$ac_try;;
     9789esac
     9790eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9791$as_echo "$ac_try_echo") >&5
     9792  (eval "$ac_link") 2>&5
     9793  ac_status=$?
     9794  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9795  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9796  { (case "(($ac_try" in
     9797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9798  *) ac_try_echo=$ac_try;;
     9799esac
     9800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9801$as_echo "$ac_try_echo") >&5
     9802  (eval "$ac_try") 2>&5
     9803  ac_status=$?
     9804  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9805  (exit $ac_status); }; }; then
     9806  ac_cv_sizeof_long=`cat conftest.val`
     9807else
     9808  $as_echo "$as_me: program exited with status $ac_status" >&5
     9809$as_echo "$as_me: failed program was:" >&5
     9810sed 's/^/| /' conftest.$ac_ext >&5
     9811
     9812( exit $ac_status )
     9813if test "$ac_cv_type_long" = yes; then
     9814     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9815$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9816{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     9817See \`config.log' for more details." >&5
     9818$as_echo "$as_me: error: cannot compute sizeof (long)
     9819See \`config.log' for more details." >&2;}
     9820   { (exit 77); exit 77; }; }; }
    78749821   else
    78759822     ac_cv_sizeof_long=0
    78769823   fi
    78779824fi
    7878 
    7879 fi
    7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     9825rm -rf conftest.dSYM
     9826rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9827fi
     9828rm -f conftest.val
     9829fi
     9830{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    78819831$as_echo "$ac_cv_sizeof_long" >&6; }
    78829832
     
    78929842# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    78939843# This bug is HP SR number 8606223364.
    7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
     9844{ $as_echo "$as_me:$LINENO: checking size of long long" >&5
    78959845$as_echo_n "checking size of long long... " >&6; }
    7896 if ${ac_cv_sizeof_long_long+:} false; then :
     9846if test "${ac_cv_sizeof_long_long+set}" = set; then
    78979847  $as_echo_n "(cached) " >&6
    78989848else
    7899   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
    7900 
    7901 else
    7902   if test "$ac_cv_type_long_long" = yes; then
    7903      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9849  if test "$cross_compiling" = yes; then
     9850  # Depending upon the size, compute the lo and hi bounds.
     9851cat >conftest.$ac_ext <<_ACEOF
     9852/* confdefs.h.  */
     9853_ACEOF
     9854cat confdefs.h >>conftest.$ac_ext
     9855cat >>conftest.$ac_ext <<_ACEOF
     9856/* end confdefs.h.  */
     9857$ac_includes_default
     9858int
     9859main ()
     9860{
     9861static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
     9862test_array [0] = 0
     9863
     9864  ;
     9865  return 0;
     9866}
     9867_ACEOF
     9868rm -f conftest.$ac_objext
     9869if { (ac_try="$ac_compile"
     9870case "(($ac_try" in
     9871  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9872  *) ac_try_echo=$ac_try;;
     9873esac
     9874eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9875$as_echo "$ac_try_echo") >&5
     9876  (eval "$ac_compile") 2>conftest.er1
     9877  ac_status=$?
     9878  grep -v '^ *+' conftest.er1 >conftest.err
     9879  rm -f conftest.er1
     9880  cat conftest.err >&5
     9881  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9882  (exit $ac_status); } && {
     9883         test -z "$ac_cxx_werror_flag" ||
     9884         test ! -s conftest.err
     9885       } && test -s conftest.$ac_objext; then
     9886  ac_lo=0 ac_mid=0
     9887  while :; do
     9888    cat >conftest.$ac_ext <<_ACEOF
     9889/* confdefs.h.  */
     9890_ACEOF
     9891cat confdefs.h >>conftest.$ac_ext
     9892cat >>conftest.$ac_ext <<_ACEOF
     9893/* end confdefs.h.  */
     9894$ac_includes_default
     9895int
     9896main ()
     9897{
     9898static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     9899test_array [0] = 0
     9900
     9901  ;
     9902  return 0;
     9903}
     9904_ACEOF
     9905rm -f conftest.$ac_objext
     9906if { (ac_try="$ac_compile"
     9907case "(($ac_try" in
     9908  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9909  *) ac_try_echo=$ac_try;;
     9910esac
     9911eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9912$as_echo "$ac_try_echo") >&5
     9913  (eval "$ac_compile") 2>conftest.er1
     9914  ac_status=$?
     9915  grep -v '^ *+' conftest.er1 >conftest.err
     9916  rm -f conftest.er1
     9917  cat conftest.err >&5
     9918  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9919  (exit $ac_status); } && {
     9920         test -z "$ac_cxx_werror_flag" ||
     9921         test ! -s conftest.err
     9922       } && test -s conftest.$ac_objext; then
     9923  ac_hi=$ac_mid; break
     9924else
     9925  $as_echo "$as_me: failed program was:" >&5
     9926sed 's/^/| /' conftest.$ac_ext >&5
     9927
     9928        ac_lo=`expr $ac_mid + 1`
     9929                        if test $ac_lo -le $ac_mid; then
     9930                          ac_lo= ac_hi=
     9931                          break
     9932                        fi
     9933                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9934fi
     9935
     9936rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9937  done
     9938else
     9939  $as_echo "$as_me: failed program was:" >&5
     9940sed 's/^/| /' conftest.$ac_ext >&5
     9941
     9942        cat >conftest.$ac_ext <<_ACEOF
     9943/* confdefs.h.  */
     9944_ACEOF
     9945cat confdefs.h >>conftest.$ac_ext
     9946cat >>conftest.$ac_ext <<_ACEOF
     9947/* end confdefs.h.  */
     9948$ac_includes_default
     9949int
     9950main ()
     9951{
     9952static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
     9953test_array [0] = 0
     9954
     9955  ;
     9956  return 0;
     9957}
     9958_ACEOF
     9959rm -f conftest.$ac_objext
     9960if { (ac_try="$ac_compile"
     9961case "(($ac_try" in
     9962  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9963  *) ac_try_echo=$ac_try;;
     9964esac
     9965eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9966$as_echo "$ac_try_echo") >&5
     9967  (eval "$ac_compile") 2>conftest.er1
     9968  ac_status=$?
     9969  grep -v '^ *+' conftest.er1 >conftest.err
     9970  rm -f conftest.er1
     9971  cat conftest.err >&5
     9972  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9973  (exit $ac_status); } && {
     9974         test -z "$ac_cxx_werror_flag" ||
     9975         test ! -s conftest.err
     9976       } && test -s conftest.$ac_objext; then
     9977  ac_hi=-1 ac_mid=-1
     9978  while :; do
     9979    cat >conftest.$ac_ext <<_ACEOF
     9980/* confdefs.h.  */
     9981_ACEOF
     9982cat confdefs.h >>conftest.$ac_ext
     9983cat >>conftest.$ac_ext <<_ACEOF
     9984/* end confdefs.h.  */
     9985$ac_includes_default
     9986int
     9987main ()
     9988{
     9989static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
     9990test_array [0] = 0
     9991
     9992  ;
     9993  return 0;
     9994}
     9995_ACEOF
     9996rm -f conftest.$ac_objext
     9997if { (ac_try="$ac_compile"
     9998case "(($ac_try" in
     9999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10000  *) ac_try_echo=$ac_try;;
     10001esac
     10002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10003$as_echo "$ac_try_echo") >&5
     10004  (eval "$ac_compile") 2>conftest.er1
     10005  ac_status=$?
     10006  grep -v '^ *+' conftest.er1 >conftest.err
     10007  rm -f conftest.er1
     10008  cat conftest.err >&5
     10009  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10010  (exit $ac_status); } && {
     10011         test -z "$ac_cxx_werror_flag" ||
     10012         test ! -s conftest.err
     10013       } && test -s conftest.$ac_objext; then
     10014  ac_lo=$ac_mid; break
     10015else
     10016  $as_echo "$as_me: failed program was:" >&5
     10017sed 's/^/| /' conftest.$ac_ext >&5
     10018
     10019        ac_hi=`expr '(' $ac_mid ')' - 1`
     10020                        if test $ac_mid -le $ac_hi; then
     10021                          ac_lo= ac_hi=
     10022                          break
     10023                        fi
     10024                        ac_mid=`expr 2 '*' $ac_mid`
     10025fi
     10026
     10027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10028  done
     10029else
     10030  $as_echo "$as_me: failed program was:" >&5
     10031sed 's/^/| /' conftest.$ac_ext >&5
     10032
     10033        ac_lo= ac_hi=
     10034fi
     10035
     10036rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10037fi
     10038
     10039rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10040# Binary search between lo and hi bounds.
     10041while test "x$ac_lo" != "x$ac_hi"; do
     10042  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10043  cat >conftest.$ac_ext <<_ACEOF
     10044/* confdefs.h.  */
     10045_ACEOF
     10046cat confdefs.h >>conftest.$ac_ext
     10047cat >>conftest.$ac_ext <<_ACEOF
     10048/* end confdefs.h.  */
     10049$ac_includes_default
     10050int
     10051main ()
     10052{
     10053static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     10054test_array [0] = 0
     10055
     10056  ;
     10057  return 0;
     10058}
     10059_ACEOF
     10060rm -f conftest.$ac_objext
     10061if { (ac_try="$ac_compile"
     10062case "(($ac_try" in
     10063  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10064  *) ac_try_echo=$ac_try;;
     10065esac
     10066eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10067$as_echo "$ac_try_echo") >&5
     10068  (eval "$ac_compile") 2>conftest.er1
     10069  ac_status=$?
     10070  grep -v '^ *+' conftest.er1 >conftest.err
     10071  rm -f conftest.er1
     10072  cat conftest.err >&5
     10073  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10074  (exit $ac_status); } && {
     10075         test -z "$ac_cxx_werror_flag" ||
     10076         test ! -s conftest.err
     10077       } && test -s conftest.$ac_objext; then
     10078  ac_hi=$ac_mid
     10079else
     10080  $as_echo "$as_me: failed program was:" >&5
     10081sed 's/^/| /' conftest.$ac_ext >&5
     10082
     10083        ac_lo=`expr '(' $ac_mid ')' + 1`
     10084fi
     10085
     10086rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10087done
     10088case $ac_lo in
     10089?*) ac_cv_sizeof_long_long=$ac_lo;;
     10090'') if test "$ac_cv_type_long_long" = yes; then
     10091     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    790410092$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7905 as_fn_error 77 "cannot compute sizeof (long long)
    7906 See \`config.log' for more details" "$LINENO" 5; }
     10093{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     10094See \`config.log' for more details." >&5
     10095$as_echo "$as_me: error: cannot compute sizeof (long long)
     10096See \`config.log' for more details." >&2;}
     10097   { (exit 77); exit 77; }; }; }
     10098   else
     10099     ac_cv_sizeof_long_long=0
     10100   fi ;;
     10101esac
     10102else
     10103  cat >conftest.$ac_ext <<_ACEOF
     10104/* confdefs.h.  */
     10105_ACEOF
     10106cat confdefs.h >>conftest.$ac_ext
     10107cat >>conftest.$ac_ext <<_ACEOF
     10108/* end confdefs.h.  */
     10109$ac_includes_default
     10110static long int longval () { return (long int) (sizeof (long long)); }
     10111static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
     10112#include <stdio.h>
     10113#include <stdlib.h>
     10114int
     10115main ()
     10116{
     10117
     10118  FILE *f = fopen ("conftest.val", "w");
     10119  if (! f)
     10120    return 1;
     10121  if (((long int) (sizeof (long long))) < 0)
     10122    {
     10123      long int i = longval ();
     10124      if (i != ((long int) (sizeof (long long))))
     10125        return 1;
     10126      fprintf (f, "%ld", i);
     10127    }
     10128  else
     10129    {
     10130      unsigned long int i = ulongval ();
     10131      if (i != ((long int) (sizeof (long long))))
     10132        return 1;
     10133      fprintf (f, "%lu", i);
     10134    }
     10135  /* Do not output a trailing newline, as this causes \r\n confusion
     10136     on some platforms.  */
     10137  return ferror (f) || fclose (f) != 0;
     10138
     10139  ;
     10140  return 0;
     10141}
     10142_ACEOF
     10143rm -f conftest$ac_exeext
     10144if { (ac_try="$ac_link"
     10145case "(($ac_try" in
     10146  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10147  *) ac_try_echo=$ac_try;;
     10148esac
     10149eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10150$as_echo "$ac_try_echo") >&5
     10151  (eval "$ac_link") 2>&5
     10152  ac_status=$?
     10153  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10154  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10155  { (case "(($ac_try" in
     10156  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10157  *) ac_try_echo=$ac_try;;
     10158esac
     10159eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10160$as_echo "$ac_try_echo") >&5
     10161  (eval "$ac_try") 2>&5
     10162  ac_status=$?
     10163  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10164  (exit $ac_status); }; }; then
     10165  ac_cv_sizeof_long_long=`cat conftest.val`
     10166else
     10167  $as_echo "$as_me: program exited with status $ac_status" >&5
     10168$as_echo "$as_me: failed program was:" >&5
     10169sed 's/^/| /' conftest.$ac_ext >&5
     10170
     10171( exit $ac_status )
     10172if test "$ac_cv_type_long_long" = yes; then
     10173     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10174$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10175{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     10176See \`config.log' for more details." >&5
     10177$as_echo "$as_me: error: cannot compute sizeof (long long)
     10178See \`config.log' for more details." >&2;}
     10179   { (exit 77); exit 77; }; }; }
    790710180   else
    790810181     ac_cv_sizeof_long_long=0
    790910182   fi
    791010183fi
    7911 
    7912 fi
    7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
     10184rm -rf conftest.dSYM
     10185rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10186fi
     10187rm -f conftest.val
     10188fi
     10189{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
    791410190$as_echo "$ac_cv_sizeof_long_long" >&6; }
    791510191
     
    792510201# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    792610202# This bug is HP SR number 8606223364.
    7927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     10203{ $as_echo "$as_me:$LINENO: checking size of void *" >&5
    792810204$as_echo_n "checking size of void *... " >&6; }
    7929 if ${ac_cv_sizeof_void_p+:} false; then :
     10205if test "${ac_cv_sizeof_void_p+set}" = set; then
    793010206  $as_echo_n "(cached) " >&6
    793110207else
    7932   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
    7933 
    7934 else
    7935   if test "$ac_cv_type_void_p" = yes; then
    7936      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10208  if test "$cross_compiling" = yes; then
     10209  # Depending upon the size, compute the lo and hi bounds.
     10210cat >conftest.$ac_ext <<_ACEOF
     10211/* confdefs.h.  */
     10212_ACEOF
     10213cat confdefs.h >>conftest.$ac_ext
     10214cat >>conftest.$ac_ext <<_ACEOF
     10215/* end confdefs.h.  */
     10216$ac_includes_default
     10217int
     10218main ()
     10219{
     10220static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
     10221test_array [0] = 0
     10222
     10223  ;
     10224  return 0;
     10225}
     10226_ACEOF
     10227rm -f conftest.$ac_objext
     10228if { (ac_try="$ac_compile"
     10229case "(($ac_try" in
     10230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10231  *) ac_try_echo=$ac_try;;
     10232esac
     10233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10234$as_echo "$ac_try_echo") >&5
     10235  (eval "$ac_compile") 2>conftest.er1
     10236  ac_status=$?
     10237  grep -v '^ *+' conftest.er1 >conftest.err
     10238  rm -f conftest.er1
     10239  cat conftest.err >&5
     10240  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10241  (exit $ac_status); } && {
     10242         test -z "$ac_cxx_werror_flag" ||
     10243         test ! -s conftest.err
     10244       } && test -s conftest.$ac_objext; then
     10245  ac_lo=0 ac_mid=0
     10246  while :; do
     10247    cat >conftest.$ac_ext <<_ACEOF
     10248/* confdefs.h.  */
     10249_ACEOF
     10250cat confdefs.h >>conftest.$ac_ext
     10251cat >>conftest.$ac_ext <<_ACEOF
     10252/* end confdefs.h.  */
     10253$ac_includes_default
     10254int
     10255main ()
     10256{
     10257static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     10258test_array [0] = 0
     10259
     10260  ;
     10261  return 0;
     10262}
     10263_ACEOF
     10264rm -f conftest.$ac_objext
     10265if { (ac_try="$ac_compile"
     10266case "(($ac_try" in
     10267  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10268  *) ac_try_echo=$ac_try;;
     10269esac
     10270eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10271$as_echo "$ac_try_echo") >&5
     10272  (eval "$ac_compile") 2>conftest.er1
     10273  ac_status=$?
     10274  grep -v '^ *+' conftest.er1 >conftest.err
     10275  rm -f conftest.er1
     10276  cat conftest.err >&5
     10277  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10278  (exit $ac_status); } && {
     10279         test -z "$ac_cxx_werror_flag" ||
     10280         test ! -s conftest.err
     10281       } && test -s conftest.$ac_objext; then
     10282  ac_hi=$ac_mid; break
     10283else
     10284  $as_echo "$as_me: failed program was:" >&5
     10285sed 's/^/| /' conftest.$ac_ext >&5
     10286
     10287        ac_lo=`expr $ac_mid + 1`
     10288                        if test $ac_lo -le $ac_mid; then
     10289                          ac_lo= ac_hi=
     10290                          break
     10291                        fi
     10292                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10293fi
     10294
     10295rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10296  done
     10297else
     10298  $as_echo "$as_me: failed program was:" >&5
     10299sed 's/^/| /' conftest.$ac_ext >&5
     10300
     10301        cat >conftest.$ac_ext <<_ACEOF
     10302/* confdefs.h.  */
     10303_ACEOF
     10304cat confdefs.h >>conftest.$ac_ext
     10305cat >>conftest.$ac_ext <<_ACEOF
     10306/* end confdefs.h.  */
     10307$ac_includes_default
     10308int
     10309main ()
     10310{
     10311static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
     10312test_array [0] = 0
     10313
     10314  ;
     10315  return 0;
     10316}
     10317_ACEOF
     10318rm -f conftest.$ac_objext
     10319if { (ac_try="$ac_compile"
     10320case "(($ac_try" in
     10321  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10322  *) ac_try_echo=$ac_try;;
     10323esac
     10324eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10325$as_echo "$ac_try_echo") >&5
     10326  (eval "$ac_compile") 2>conftest.er1
     10327  ac_status=$?
     10328  grep -v '^ *+' conftest.er1 >conftest.err
     10329  rm -f conftest.er1
     10330  cat conftest.err >&5
     10331  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10332  (exit $ac_status); } && {
     10333         test -z "$ac_cxx_werror_flag" ||
     10334         test ! -s conftest.err
     10335       } && test -s conftest.$ac_objext; then
     10336  ac_hi=-1 ac_mid=-1
     10337  while :; do
     10338    cat >conftest.$ac_ext <<_ACEOF
     10339/* confdefs.h.  */
     10340_ACEOF
     10341cat confdefs.h >>conftest.$ac_ext
     10342cat >>conftest.$ac_ext <<_ACEOF
     10343/* end confdefs.h.  */
     10344$ac_includes_default
     10345int
     10346main ()
     10347{
     10348static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
     10349test_array [0] = 0
     10350
     10351  ;
     10352  return 0;
     10353}
     10354_ACEOF
     10355rm -f conftest.$ac_objext
     10356if { (ac_try="$ac_compile"
     10357case "(($ac_try" in
     10358  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10359  *) ac_try_echo=$ac_try;;
     10360esac
     10361eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10362$as_echo "$ac_try_echo") >&5
     10363  (eval "$ac_compile") 2>conftest.er1
     10364  ac_status=$?
     10365  grep -v '^ *+' conftest.er1 >conftest.err
     10366  rm -f conftest.er1
     10367  cat conftest.err >&5
     10368  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10369  (exit $ac_status); } && {
     10370         test -z "$ac_cxx_werror_flag" ||
     10371         test ! -s conftest.err
     10372       } && test -s conftest.$ac_objext; then
     10373  ac_lo=$ac_mid; break
     10374else
     10375  $as_echo "$as_me: failed program was:" >&5
     10376sed 's/^/| /' conftest.$ac_ext >&5
     10377
     10378        ac_hi=`expr '(' $ac_mid ')' - 1`
     10379                        if test $ac_mid -le $ac_hi; then
     10380                          ac_lo= ac_hi=
     10381                          break
     10382                        fi
     10383                        ac_mid=`expr 2 '*' $ac_mid`
     10384fi
     10385
     10386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10387  done
     10388else
     10389  $as_echo "$as_me: failed program was:" >&5
     10390sed 's/^/| /' conftest.$ac_ext >&5
     10391
     10392        ac_lo= ac_hi=
     10393fi
     10394
     10395rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10396fi
     10397
     10398rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10399# Binary search between lo and hi bounds.
     10400while test "x$ac_lo" != "x$ac_hi"; do
     10401  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10402  cat >conftest.$ac_ext <<_ACEOF
     10403/* confdefs.h.  */
     10404_ACEOF
     10405cat confdefs.h >>conftest.$ac_ext
     10406cat >>conftest.$ac_ext <<_ACEOF
     10407/* end confdefs.h.  */
     10408$ac_includes_default
     10409int
     10410main ()
     10411{
     10412static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     10413test_array [0] = 0
     10414
     10415  ;
     10416  return 0;
     10417}
     10418_ACEOF
     10419rm -f conftest.$ac_objext
     10420if { (ac_try="$ac_compile"
     10421case "(($ac_try" in
     10422  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10423  *) ac_try_echo=$ac_try;;
     10424esac
     10425eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10426$as_echo "$ac_try_echo") >&5
     10427  (eval "$ac_compile") 2>conftest.er1
     10428  ac_status=$?
     10429  grep -v '^ *+' conftest.er1 >conftest.err
     10430  rm -f conftest.er1
     10431  cat conftest.err >&5
     10432  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10433  (exit $ac_status); } && {
     10434         test -z "$ac_cxx_werror_flag" ||
     10435         test ! -s conftest.err
     10436       } && test -s conftest.$ac_objext; then
     10437  ac_hi=$ac_mid
     10438else
     10439  $as_echo "$as_me: failed program was:" >&5
     10440sed 's/^/| /' conftest.$ac_ext >&5
     10441
     10442        ac_lo=`expr '(' $ac_mid ')' + 1`
     10443fi
     10444
     10445rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10446done
     10447case $ac_lo in
     10448?*) ac_cv_sizeof_void_p=$ac_lo;;
     10449'') if test "$ac_cv_type_void_p" = yes; then
     10450     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    793710451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7938 as_fn_error 77 "cannot compute sizeof (void *)
    7939 See \`config.log' for more details" "$LINENO" 5; }
     10452{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     10453See \`config.log' for more details." >&5
     10454$as_echo "$as_me: error: cannot compute sizeof (void *)
     10455See \`config.log' for more details." >&2;}
     10456   { (exit 77); exit 77; }; }; }
     10457   else
     10458     ac_cv_sizeof_void_p=0
     10459   fi ;;
     10460esac
     10461else
     10462  cat >conftest.$ac_ext <<_ACEOF
     10463/* confdefs.h.  */
     10464_ACEOF
     10465cat confdefs.h >>conftest.$ac_ext
     10466cat >>conftest.$ac_ext <<_ACEOF
     10467/* end confdefs.h.  */
     10468$ac_includes_default
     10469static long int longval () { return (long int) (sizeof (void *)); }
     10470static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
     10471#include <stdio.h>
     10472#include <stdlib.h>
     10473int
     10474main ()
     10475{
     10476
     10477  FILE *f = fopen ("conftest.val", "w");
     10478  if (! f)
     10479    return 1;
     10480  if (((long int) (sizeof (void *))) < 0)
     10481    {
     10482      long int i = longval ();
     10483      if (i != ((long int) (sizeof (void *))))
     10484        return 1;
     10485      fprintf (f, "%ld", i);
     10486    }
     10487  else
     10488    {
     10489      unsigned long int i = ulongval ();
     10490      if (i != ((long int) (sizeof (void *))))
     10491        return 1;
     10492      fprintf (f, "%lu", i);
     10493    }
     10494  /* Do not output a trailing newline, as this causes \r\n confusion
     10495     on some platforms.  */
     10496  return ferror (f) || fclose (f) != 0;
     10497
     10498  ;
     10499  return 0;
     10500}
     10501_ACEOF
     10502rm -f conftest$ac_exeext
     10503if { (ac_try="$ac_link"
     10504case "(($ac_try" in
     10505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10506  *) ac_try_echo=$ac_try;;
     10507esac
     10508eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10509$as_echo "$ac_try_echo") >&5
     10510  (eval "$ac_link") 2>&5
     10511  ac_status=$?
     10512  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10513  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10514  { (case "(($ac_try" in
     10515  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10516  *) ac_try_echo=$ac_try;;
     10517esac
     10518eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10519$as_echo "$ac_try_echo") >&5
     10520  (eval "$ac_try") 2>&5
     10521  ac_status=$?
     10522  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10523  (exit $ac_status); }; }; then
     10524  ac_cv_sizeof_void_p=`cat conftest.val`
     10525else
     10526  $as_echo "$as_me: program exited with status $ac_status" >&5
     10527$as_echo "$as_me: failed program was:" >&5
     10528sed 's/^/| /' conftest.$ac_ext >&5
     10529
     10530( exit $ac_status )
     10531if test "$ac_cv_type_void_p" = yes; then
     10532     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10533$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10534{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     10535See \`config.log' for more details." >&5
     10536$as_echo "$as_me: error: cannot compute sizeof (void *)
     10537See \`config.log' for more details." >&2;}
     10538   { (exit 77); exit 77; }; }; }
    794010539   else
    794110540     ac_cv_sizeof_void_p=0
    794210541   fi
    794310542fi
    7944 
    7945 fi
    7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     10543rm -rf conftest.dSYM
     10544rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10545fi
     10546rm -f conftest.val
     10547fi
     10548{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
    794710549$as_echo "$ac_cv_sizeof_void_p" >&6; }
    794810550
     
    795810560# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    795910561# This bug is HP SR number 8606223364.
    7960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
     10562{ $as_echo "$as_me:$LINENO: checking size of float" >&5
    796110563$as_echo_n "checking size of float... " >&6; }
    7962 if ${ac_cv_sizeof_float+:} false; then :
     10564if test "${ac_cv_sizeof_float+set}" = set; then
    796310565  $as_echo_n "(cached) " >&6
    796410566else
    7965   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
    7966 
    7967 else
    7968   if test "$ac_cv_type_float" = yes; then
    7969      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10567  if test "$cross_compiling" = yes; then
     10568  # Depending upon the size, compute the lo and hi bounds.
     10569cat >conftest.$ac_ext <<_ACEOF
     10570/* confdefs.h.  */
     10571_ACEOF
     10572cat confdefs.h >>conftest.$ac_ext
     10573cat >>conftest.$ac_ext <<_ACEOF
     10574/* end confdefs.h.  */
     10575$ac_includes_default
     10576int
     10577main ()
     10578{
     10579static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
     10580test_array [0] = 0
     10581
     10582  ;
     10583  return 0;
     10584}
     10585_ACEOF
     10586rm -f conftest.$ac_objext
     10587if { (ac_try="$ac_compile"
     10588case "(($ac_try" in
     10589  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10590  *) ac_try_echo=$ac_try;;
     10591esac
     10592eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10593$as_echo "$ac_try_echo") >&5
     10594  (eval "$ac_compile") 2>conftest.er1
     10595  ac_status=$?
     10596  grep -v '^ *+' conftest.er1 >conftest.err
     10597  rm -f conftest.er1
     10598  cat conftest.err >&5
     10599  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10600  (exit $ac_status); } && {
     10601         test -z "$ac_cxx_werror_flag" ||
     10602         test ! -s conftest.err
     10603       } && test -s conftest.$ac_objext; then
     10604  ac_lo=0 ac_mid=0
     10605  while :; do
     10606    cat >conftest.$ac_ext <<_ACEOF
     10607/* confdefs.h.  */
     10608_ACEOF
     10609cat confdefs.h >>conftest.$ac_ext
     10610cat >>conftest.$ac_ext <<_ACEOF
     10611/* end confdefs.h.  */
     10612$ac_includes_default
     10613int
     10614main ()
     10615{
     10616static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
     10617test_array [0] = 0
     10618
     10619  ;
     10620  return 0;
     10621}
     10622_ACEOF
     10623rm -f conftest.$ac_objext
     10624if { (ac_try="$ac_compile"
     10625case "(($ac_try" in
     10626  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10627  *) ac_try_echo=$ac_try;;
     10628esac
     10629eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10630$as_echo "$ac_try_echo") >&5
     10631  (eval "$ac_compile") 2>conftest.er1
     10632  ac_status=$?
     10633  grep -v '^ *+' conftest.er1 >conftest.err
     10634  rm -f conftest.er1
     10635  cat conftest.err >&5
     10636  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10637  (exit $ac_status); } && {
     10638         test -z "$ac_cxx_werror_flag" ||
     10639         test ! -s conftest.err
     10640       } && test -s conftest.$ac_objext; then
     10641  ac_hi=$ac_mid; break
     10642else
     10643  $as_echo "$as_me: failed program was:" >&5
     10644sed 's/^/| /' conftest.$ac_ext >&5
     10645
     10646        ac_lo=`expr $ac_mid + 1`
     10647                        if test $ac_lo -le $ac_mid; then
     10648                          ac_lo= ac_hi=
     10649                          break
     10650                        fi
     10651                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10652fi
     10653
     10654rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10655  done
     10656else
     10657  $as_echo "$as_me: failed program was:" >&5
     10658sed 's/^/| /' conftest.$ac_ext >&5
     10659
     10660        cat >conftest.$ac_ext <<_ACEOF
     10661/* confdefs.h.  */
     10662_ACEOF
     10663cat confdefs.h >>conftest.$ac_ext
     10664cat >>conftest.$ac_ext <<_ACEOF
     10665/* end confdefs.h.  */
     10666$ac_includes_default
     10667int
     10668main ()
     10669{
     10670static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
     10671test_array [0] = 0
     10672
     10673  ;
     10674  return 0;
     10675}
     10676_ACEOF
     10677rm -f conftest.$ac_objext
     10678if { (ac_try="$ac_compile"
     10679case "(($ac_try" in
     10680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10681  *) ac_try_echo=$ac_try;;
     10682esac
     10683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10684$as_echo "$ac_try_echo") >&5
     10685  (eval "$ac_compile") 2>conftest.er1
     10686  ac_status=$?
     10687  grep -v '^ *+' conftest.er1 >conftest.err
     10688  rm -f conftest.er1
     10689  cat conftest.err >&5
     10690  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10691  (exit $ac_status); } && {
     10692         test -z "$ac_cxx_werror_flag" ||
     10693         test ! -s conftest.err
     10694       } && test -s conftest.$ac_objext; then
     10695  ac_hi=-1 ac_mid=-1
     10696  while :; do
     10697    cat >conftest.$ac_ext <<_ACEOF
     10698/* confdefs.h.  */
     10699_ACEOF
     10700cat confdefs.h >>conftest.$ac_ext
     10701cat >>conftest.$ac_ext <<_ACEOF
     10702/* end confdefs.h.  */
     10703$ac_includes_default
     10704int
     10705main ()
     10706{
     10707static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
     10708test_array [0] = 0
     10709
     10710  ;
     10711  return 0;
     10712}
     10713_ACEOF
     10714rm -f conftest.$ac_objext
     10715if { (ac_try="$ac_compile"
     10716case "(($ac_try" in
     10717  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10718  *) ac_try_echo=$ac_try;;
     10719esac
     10720eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10721$as_echo "$ac_try_echo") >&5
     10722  (eval "$ac_compile") 2>conftest.er1
     10723  ac_status=$?
     10724  grep -v '^ *+' conftest.er1 >conftest.err
     10725  rm -f conftest.er1
     10726  cat conftest.err >&5
     10727  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10728  (exit $ac_status); } && {
     10729         test -z "$ac_cxx_werror_flag" ||
     10730         test ! -s conftest.err
     10731       } && test -s conftest.$ac_objext; then
     10732  ac_lo=$ac_mid; break
     10733else
     10734  $as_echo "$as_me: failed program was:" >&5
     10735sed 's/^/| /' conftest.$ac_ext >&5
     10736
     10737        ac_hi=`expr '(' $ac_mid ')' - 1`
     10738                        if test $ac_mid -le $ac_hi; then
     10739                          ac_lo= ac_hi=
     10740                          break
     10741                        fi
     10742                        ac_mid=`expr 2 '*' $ac_mid`
     10743fi
     10744
     10745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10746  done
     10747else
     10748  $as_echo "$as_me: failed program was:" >&5
     10749sed 's/^/| /' conftest.$ac_ext >&5
     10750
     10751        ac_lo= ac_hi=
     10752fi
     10753
     10754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10755fi
     10756
     10757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10758# Binary search between lo and hi bounds.
     10759while test "x$ac_lo" != "x$ac_hi"; do
     10760  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10761  cat >conftest.$ac_ext <<_ACEOF
     10762/* confdefs.h.  */
     10763_ACEOF
     10764cat confdefs.h >>conftest.$ac_ext
     10765cat >>conftest.$ac_ext <<_ACEOF
     10766/* end confdefs.h.  */
     10767$ac_includes_default
     10768int
     10769main ()
     10770{
     10771static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
     10772test_array [0] = 0
     10773
     10774  ;
     10775  return 0;
     10776}
     10777_ACEOF
     10778rm -f conftest.$ac_objext
     10779if { (ac_try="$ac_compile"
     10780case "(($ac_try" in
     10781  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10782  *) ac_try_echo=$ac_try;;
     10783esac
     10784eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10785$as_echo "$ac_try_echo") >&5
     10786  (eval "$ac_compile") 2>conftest.er1
     10787  ac_status=$?
     10788  grep -v '^ *+' conftest.er1 >conftest.err
     10789  rm -f conftest.er1
     10790  cat conftest.err >&5
     10791  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10792  (exit $ac_status); } && {
     10793         test -z "$ac_cxx_werror_flag" ||
     10794         test ! -s conftest.err
     10795       } && test -s conftest.$ac_objext; then
     10796  ac_hi=$ac_mid
     10797else
     10798  $as_echo "$as_me: failed program was:" >&5
     10799sed 's/^/| /' conftest.$ac_ext >&5
     10800
     10801        ac_lo=`expr '(' $ac_mid ')' + 1`
     10802fi
     10803
     10804rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10805done
     10806case $ac_lo in
     10807?*) ac_cv_sizeof_float=$ac_lo;;
     10808'') if test "$ac_cv_type_float" = yes; then
     10809     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    797010810$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7971 as_fn_error 77 "cannot compute sizeof (float)
    7972 See \`config.log' for more details" "$LINENO" 5; }
     10811{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
     10812See \`config.log' for more details." >&5
     10813$as_echo "$as_me: error: cannot compute sizeof (float)
     10814See \`config.log' for more details." >&2;}
     10815   { (exit 77); exit 77; }; }; }
     10816   else
     10817     ac_cv_sizeof_float=0
     10818   fi ;;
     10819esac
     10820else
     10821  cat >conftest.$ac_ext <<_ACEOF
     10822/* confdefs.h.  */
     10823_ACEOF
     10824cat confdefs.h >>conftest.$ac_ext
     10825cat >>conftest.$ac_ext <<_ACEOF
     10826/* end confdefs.h.  */
     10827$ac_includes_default
     10828static long int longval () { return (long int) (sizeof (float)); }
     10829static unsigned long int ulongval () { return (long int) (sizeof (float)); }
     10830#include <stdio.h>
     10831#include <stdlib.h>
     10832int
     10833main ()
     10834{
     10835
     10836  FILE *f = fopen ("conftest.val", "w");
     10837  if (! f)
     10838    return 1;
     10839  if (((long int) (sizeof (float))) < 0)
     10840    {
     10841      long int i = longval ();
     10842      if (i != ((long int) (sizeof (float))))
     10843        return 1;
     10844      fprintf (f, "%ld", i);
     10845    }
     10846  else
     10847    {
     10848      unsigned long int i = ulongval ();
     10849      if (i != ((long int) (sizeof (float))))
     10850        return 1;
     10851      fprintf (f, "%lu", i);
     10852    }
     10853  /* Do not output a trailing newline, as this causes \r\n confusion
     10854     on some platforms.  */
     10855  return ferror (f) || fclose (f) != 0;
     10856
     10857  ;
     10858  return 0;
     10859}
     10860_ACEOF
     10861rm -f conftest$ac_exeext
     10862if { (ac_try="$ac_link"
     10863case "(($ac_try" in
     10864  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10865  *) ac_try_echo=$ac_try;;
     10866esac
     10867eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10868$as_echo "$ac_try_echo") >&5
     10869  (eval "$ac_link") 2>&5
     10870  ac_status=$?
     10871  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10872  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10873  { (case "(($ac_try" in
     10874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10875  *) ac_try_echo=$ac_try;;
     10876esac
     10877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10878$as_echo "$ac_try_echo") >&5
     10879  (eval "$ac_try") 2>&5
     10880  ac_status=$?
     10881  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10882  (exit $ac_status); }; }; then
     10883  ac_cv_sizeof_float=`cat conftest.val`
     10884else
     10885  $as_echo "$as_me: program exited with status $ac_status" >&5
     10886$as_echo "$as_me: failed program was:" >&5
     10887sed 's/^/| /' conftest.$ac_ext >&5
     10888
     10889( exit $ac_status )
     10890if test "$ac_cv_type_float" = yes; then
     10891     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10892$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10893{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
     10894See \`config.log' for more details." >&5
     10895$as_echo "$as_me: error: cannot compute sizeof (float)
     10896See \`config.log' for more details." >&2;}
     10897   { (exit 77); exit 77; }; }; }
    797310898   else
    797410899     ac_cv_sizeof_float=0
    797510900   fi
    797610901fi
    7977 
    7978 fi
    7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
     10902rm -rf conftest.dSYM
     10903rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10904fi
     10905rm -f conftest.val
     10906fi
     10907{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
    798010908$as_echo "$ac_cv_sizeof_float" >&6; }
    798110909
     
    803410962fi
    803510963
    8036 RP2_INCL_DIR=""
    803710964RP_DIR=""
    8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
     10965{ $as_echo "$as_me:$LINENO: checking for rappture" >&5
    803910966$as_echo_n "checking for rappture... " >&6; }
    804010967if test "$with_rappture" == "yes" ; then
     
    804210969    if test -r "$dir/include/rappture2/rappture2.h" -a \
    804310970     -r "$dir/lib/librappture.a"; then
    8044       RP_INCL_SPEC="-I$dir/include"
    804510971      RP_DIR="$dir"
     10972      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    804610973      RP_LIB_DIR="$dir/lib"
    8047       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
     10974      { $as_echo "$as_me:$LINENO: result: $dir" >&5
    804810975$as_echo "$dir" >&6; }
    804910976      break
     
    805110978  done
    805210979else
    8053   if test -d "$with_rappture" ; then
    8054     as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5
     10980  if test ! -d "$with_rappture" ; then
     10981    { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5
     10982$as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;}
     10983   { (exit 1); exit 1; }; }
    805510984  fi
    8056   RP_LIB=$with_rappture
    8057   RP_INCL_SPEC="-I$with_rappture/include"
     10985  RP_DIR=$with_rappture
     10986  RP_INC_SPEC="-I$with_rappture/include -I$with_rappture/include/rappture2"
    805810987  RP_LIB_DIR="$with_rappture/lib"
    805910988fi
    806010989if test "x${RP_DIR}" = "x" ; then
    8061   as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5
    8062 else
    8063   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5
     10990  { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5
     10991$as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;}
     10992   { (exit 1); exit 1; }; }
     10993else
     10994  { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5
    806410995$as_echo "$with_rappture" >&6; }
    806510996fi
     
    809511026CPPFLAGS=$VTK_INC_SPEC
    809611027
     11028
    809711029for ac_header in vtkSmartPointer.h
    8098 do :
    8099   ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default"
    8100 if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then :
    8101   cat >>confdefs.h <<_ACEOF
    8102 #define HAVE_VTKSMARTPOINTER_H 1
    8103 _ACEOF
    8104 
    8105 else
    8106   as_fn_error $? "cannot find VTK includes" "$LINENO" 5
    8107 fi
    8108 
    8109 done
    8110 
    8111 CPPFLAGS=$save_CPPFLAGS
    8112 
    8113 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default"
    8114 if test "x$ac_cv_header_GL_glui_h" = xyes; then :
    8115 
    8116 fi
    8117 
    8118 
    8119 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default"
    8120 if test "x$ac_cv_header_glui_h" = xyes; then :
    8121 
    8122 fi
    8123 
    8124 
    8125 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
    8126 if test "x$ac_cv_header_GL_glut_h" = xyes; then :
    8127 
    8128 fi
    8129 
    8130 
    8131 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
    8132 if test "x$ac_cv_header_GL_glew_h" = xyes; then :
    8133 
    8134 fi
    8135 
    8136 
    8137 
    8138 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    8139 do :
    8140   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8141 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8142 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     11030do
     11031as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     11032if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11033  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11034$as_echo_n "checking for $ac_header... " >&6; }
     11035if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11036  $as_echo_n "(cached) " >&6
     11037fi
     11038ac_res=`eval 'as_val=${'$as_ac_Header'}
     11039                 $as_echo "$as_val"'`
     11040               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11041$as_echo "$ac_res" >&6; }
     11042else
     11043  # Is the header compilable?
     11044{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     11045$as_echo_n "checking $ac_header usability... " >&6; }
     11046cat >conftest.$ac_ext <<_ACEOF
     11047/* confdefs.h.  */
     11048_ACEOF
     11049cat confdefs.h >>conftest.$ac_ext
     11050cat >>conftest.$ac_ext <<_ACEOF
     11051/* end confdefs.h.  */
     11052$ac_includes_default
     11053#include <$ac_header>
     11054_ACEOF
     11055rm -f conftest.$ac_objext
     11056if { (ac_try="$ac_compile"
     11057case "(($ac_try" in
     11058  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11059  *) ac_try_echo=$ac_try;;
     11060esac
     11061eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11062$as_echo "$ac_try_echo") >&5
     11063  (eval "$ac_compile") 2>conftest.er1
     11064  ac_status=$?
     11065  grep -v '^ *+' conftest.er1 >conftest.err
     11066  rm -f conftest.er1
     11067  cat conftest.err >&5
     11068  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11069  (exit $ac_status); } && {
     11070         test -z "$ac_cxx_werror_flag" ||
     11071         test ! -s conftest.err
     11072       } && test -s conftest.$ac_objext; then
     11073  ac_header_compiler=yes
     11074else
     11075  $as_echo "$as_me: failed program was:" >&5
     11076sed 's/^/| /' conftest.$ac_ext >&5
     11077
     11078        ac_header_compiler=no
     11079fi
     11080
     11081rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11082{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11083$as_echo "$ac_header_compiler" >&6; }
     11084
     11085# Is the header present?
     11086{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     11087$as_echo_n "checking $ac_header presence... " >&6; }
     11088cat >conftest.$ac_ext <<_ACEOF
     11089/* confdefs.h.  */
     11090_ACEOF
     11091cat confdefs.h >>conftest.$ac_ext
     11092cat >>conftest.$ac_ext <<_ACEOF
     11093/* end confdefs.h.  */
     11094#include <$ac_header>
     11095_ACEOF
     11096if { (ac_try="$ac_cpp conftest.$ac_ext"
     11097case "(($ac_try" in
     11098  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11099  *) ac_try_echo=$ac_try;;
     11100esac
     11101eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11102$as_echo "$ac_try_echo") >&5
     11103  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11104  ac_status=$?
     11105  grep -v '^ *+' conftest.er1 >conftest.err
     11106  rm -f conftest.er1
     11107  cat conftest.err >&5
     11108  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11109  (exit $ac_status); } >/dev/null && {
     11110         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11111         test ! -s conftest.err
     11112       }; then
     11113  ac_header_preproc=yes
     11114else
     11115  $as_echo "$as_me: failed program was:" >&5
     11116sed 's/^/| /' conftest.$ac_ext >&5
     11117
     11118  ac_header_preproc=no
     11119fi
     11120
     11121rm -f conftest.err conftest.$ac_ext
     11122{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11123$as_echo "$ac_header_preproc" >&6; }
     11124
     11125# So?  What about this header?
     11126case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11127  yes:no: )
     11128    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     11129$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11130    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     11131$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     11132    ac_header_preproc=yes
     11133    ;;
     11134  no:yes:* )
     11135    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     11136$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     11137    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     11138$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     11139    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     11140$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     11141    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     11142$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     11143    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     11144$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     11145    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     11146$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     11147    ( cat <<\_ASBOX
     11148## ----------------------------------- ##
     11149## Report this to rappture@nanohub.org ##
     11150## ----------------------------------- ##
     11151_ASBOX
     11152     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11153    ;;
     11154esac
     11155{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11156$as_echo_n "checking for $ac_header... " >&6; }
     11157if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11158  $as_echo_n "(cached) " >&6
     11159else
     11160  eval "$as_ac_Header=\$ac_header_preproc"
     11161fi
     11162ac_res=`eval 'as_val=${'$as_ac_Header'}
     11163                 $as_echo "$as_val"'`
     11164               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11165$as_echo "$ac_res" >&6; }
     11166
     11167fi
     11168as_val=`eval 'as_val=${'$as_ac_Header'}
     11169                 $as_echo "$as_val"'`
     11170   if test "x$as_val" = x""yes; then
    814311171  cat >>confdefs.h <<_ACEOF
    814411172#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    814511173_ACEOF
    814611174
     11175else
     11176  { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5
     11177$as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
    814711178fi
    814811179
    814911180done
    815011181
    8151 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    8152 do :
    8153   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8154 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8155 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     11182CPPFLAGS=$save_CPPFLAGS
     11183
     11184if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11185  { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     11186$as_echo_n "checking for GL/glui.h... " >&6; }
     11187if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11188  $as_echo_n "(cached) " >&6
     11189fi
     11190{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     11191$as_echo "$ac_cv_header_GL_glui_h" >&6; }
     11192else
     11193  # Is the header compilable?
     11194{ $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
     11195$as_echo_n "checking GL/glui.h usability... " >&6; }
     11196cat >conftest.$ac_ext <<_ACEOF
     11197/* confdefs.h.  */
     11198_ACEOF
     11199cat confdefs.h >>conftest.$ac_ext
     11200cat >>conftest.$ac_ext <<_ACEOF
     11201/* end confdefs.h.  */
     11202$ac_includes_default
     11203#include <GL/glui.h>
     11204_ACEOF
     11205rm -f conftest.$ac_objext
     11206if { (ac_try="$ac_compile"
     11207case "(($ac_try" in
     11208  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11209  *) ac_try_echo=$ac_try;;
     11210esac
     11211eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11212$as_echo "$ac_try_echo") >&5
     11213  (eval "$ac_compile") 2>conftest.er1
     11214  ac_status=$?
     11215  grep -v '^ *+' conftest.er1 >conftest.err
     11216  rm -f conftest.er1
     11217  cat conftest.err >&5
     11218  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11219  (exit $ac_status); } && {
     11220         test -z "$ac_cxx_werror_flag" ||
     11221         test ! -s conftest.err
     11222       } && test -s conftest.$ac_objext; then
     11223  ac_header_compiler=yes
     11224else
     11225  $as_echo "$as_me: failed program was:" >&5
     11226sed 's/^/| /' conftest.$ac_ext >&5
     11227
     11228        ac_header_compiler=no
     11229fi
     11230
     11231rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11232{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11233$as_echo "$ac_header_compiler" >&6; }
     11234
     11235# Is the header present?
     11236{ $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
     11237$as_echo_n "checking GL/glui.h presence... " >&6; }
     11238cat >conftest.$ac_ext <<_ACEOF
     11239/* confdefs.h.  */
     11240_ACEOF
     11241cat confdefs.h >>conftest.$ac_ext
     11242cat >>conftest.$ac_ext <<_ACEOF
     11243/* end confdefs.h.  */
     11244#include <GL/glui.h>
     11245_ACEOF
     11246if { (ac_try="$ac_cpp conftest.$ac_ext"
     11247case "(($ac_try" in
     11248  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11249  *) ac_try_echo=$ac_try;;
     11250esac
     11251eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11252$as_echo "$ac_try_echo") >&5
     11253  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11254  ac_status=$?
     11255  grep -v '^ *+' conftest.er1 >conftest.err
     11256  rm -f conftest.er1
     11257  cat conftest.err >&5
     11258  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11259  (exit $ac_status); } >/dev/null && {
     11260         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11261         test ! -s conftest.err
     11262       }; then
     11263  ac_header_preproc=yes
     11264else
     11265  $as_echo "$as_me: failed program was:" >&5
     11266sed 's/^/| /' conftest.$ac_ext >&5
     11267
     11268  ac_header_preproc=no
     11269fi
     11270
     11271rm -f conftest.err conftest.$ac_ext
     11272{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11273$as_echo "$ac_header_preproc" >&6; }
     11274
     11275# So?  What about this header?
     11276case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11277  yes:no: )
     11278    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11279$as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11280    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
     11281$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
     11282    ac_header_preproc=yes
     11283    ;;
     11284  no:yes:* )
     11285    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
     11286$as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
     11287    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
     11288$as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
     11289    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
     11290$as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
     11291    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     11292$as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11293    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
     11294$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
     11295    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
     11296$as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
     11297    ( cat <<\_ASBOX
     11298## ----------------------------------- ##
     11299## Report this to rappture@nanohub.org ##
     11300## ----------------------------------- ##
     11301_ASBOX
     11302     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11303    ;;
     11304esac
     11305{ $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     11306$as_echo_n "checking for GL/glui.h... " >&6; }
     11307if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11308  $as_echo_n "(cached) " >&6
     11309else
     11310  ac_cv_header_GL_glui_h=$ac_header_preproc
     11311fi
     11312{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     11313$as_echo "$ac_cv_header_GL_glui_h" >&6; }
     11314
     11315fi
     11316
     11317
     11318if test "${ac_cv_header_glui_h+set}" = set; then
     11319  { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     11320$as_echo_n "checking for glui.h... " >&6; }
     11321if test "${ac_cv_header_glui_h+set}" = set; then
     11322  $as_echo_n "(cached) " >&6
     11323fi
     11324{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     11325$as_echo "$ac_cv_header_glui_h" >&6; }
     11326else
     11327  # Is the header compilable?
     11328{ $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
     11329$as_echo_n "checking glui.h usability... " >&6; }
     11330cat >conftest.$ac_ext <<_ACEOF
     11331/* confdefs.h.  */
     11332_ACEOF
     11333cat confdefs.h >>conftest.$ac_ext
     11334cat >>conftest.$ac_ext <<_ACEOF
     11335/* end confdefs.h.  */
     11336$ac_includes_default
     11337#include <glui.h>
     11338_ACEOF
     11339rm -f conftest.$ac_objext
     11340if { (ac_try="$ac_compile"
     11341case "(($ac_try" in
     11342  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11343  *) ac_try_echo=$ac_try;;
     11344esac
     11345eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11346$as_echo "$ac_try_echo") >&5
     11347  (eval "$ac_compile") 2>conftest.er1
     11348  ac_status=$?
     11349  grep -v '^ *+' conftest.er1 >conftest.err
     11350  rm -f conftest.er1
     11351  cat conftest.err >&5
     11352  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11353  (exit $ac_status); } && {
     11354         test -z "$ac_cxx_werror_flag" ||
     11355         test ! -s conftest.err
     11356       } && test -s conftest.$ac_objext; then
     11357  ac_header_compiler=yes
     11358else
     11359  $as_echo "$as_me: failed program was:" >&5
     11360sed 's/^/| /' conftest.$ac_ext >&5
     11361
     11362        ac_header_compiler=no
     11363fi
     11364
     11365rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11366{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11367$as_echo "$ac_header_compiler" >&6; }
     11368
     11369# Is the header present?
     11370{ $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
     11371$as_echo_n "checking glui.h presence... " >&6; }
     11372cat >conftest.$ac_ext <<_ACEOF
     11373/* confdefs.h.  */
     11374_ACEOF
     11375cat confdefs.h >>conftest.$ac_ext
     11376cat >>conftest.$ac_ext <<_ACEOF
     11377/* end confdefs.h.  */
     11378#include <glui.h>
     11379_ACEOF
     11380if { (ac_try="$ac_cpp conftest.$ac_ext"
     11381case "(($ac_try" in
     11382  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11383  *) ac_try_echo=$ac_try;;
     11384esac
     11385eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11386$as_echo "$ac_try_echo") >&5
     11387  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11388  ac_status=$?
     11389  grep -v '^ *+' conftest.er1 >conftest.err
     11390  rm -f conftest.er1
     11391  cat conftest.err >&5
     11392  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11393  (exit $ac_status); } >/dev/null && {
     11394         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11395         test ! -s conftest.err
     11396       }; then
     11397  ac_header_preproc=yes
     11398else
     11399  $as_echo "$as_me: failed program was:" >&5
     11400sed 's/^/| /' conftest.$ac_ext >&5
     11401
     11402  ac_header_preproc=no
     11403fi
     11404
     11405rm -f conftest.err conftest.$ac_ext
     11406{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11407$as_echo "$ac_header_preproc" >&6; }
     11408
     11409# So?  What about this header?
     11410case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11411  yes:no: )
     11412    { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11413$as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11414    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
     11415$as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
     11416    ac_header_preproc=yes
     11417    ;;
     11418  no:yes:* )
     11419    { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
     11420$as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
     11421    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
     11422$as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
     11423    { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
     11424$as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
     11425    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     11426$as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11427    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
     11428$as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
     11429    { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
     11430$as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
     11431    ( cat <<\_ASBOX
     11432## ----------------------------------- ##
     11433## Report this to rappture@nanohub.org ##
     11434## ----------------------------------- ##
     11435_ASBOX
     11436     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11437    ;;
     11438esac
     11439{ $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     11440$as_echo_n "checking for glui.h... " >&6; }
     11441if test "${ac_cv_header_glui_h+set}" = set; then
     11442  $as_echo_n "(cached) " >&6
     11443else
     11444  ac_cv_header_glui_h=$ac_header_preproc
     11445fi
     11446{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     11447$as_echo "$ac_cv_header_glui_h" >&6; }
     11448
     11449fi
     11450
     11451
     11452if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11453  { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     11454$as_echo_n "checking for GL/glut.h... " >&6; }
     11455if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11456  $as_echo_n "(cached) " >&6
     11457fi
     11458{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     11459$as_echo "$ac_cv_header_GL_glut_h" >&6; }
     11460else
     11461  # Is the header compilable?
     11462{ $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
     11463$as_echo_n "checking GL/glut.h usability... " >&6; }
     11464cat >conftest.$ac_ext <<_ACEOF
     11465/* confdefs.h.  */
     11466_ACEOF
     11467cat confdefs.h >>conftest.$ac_ext
     11468cat >>conftest.$ac_ext <<_ACEOF
     11469/* end confdefs.h.  */
     11470$ac_includes_default
     11471#include <GL/glut.h>
     11472_ACEOF
     11473rm -f conftest.$ac_objext
     11474if { (ac_try="$ac_compile"
     11475case "(($ac_try" in
     11476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11477  *) ac_try_echo=$ac_try;;
     11478esac
     11479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11480$as_echo "$ac_try_echo") >&5
     11481  (eval "$ac_compile") 2>conftest.er1
     11482  ac_status=$?
     11483  grep -v '^ *+' conftest.er1 >conftest.err
     11484  rm -f conftest.er1
     11485  cat conftest.err >&5
     11486  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11487  (exit $ac_status); } && {
     11488         test -z "$ac_cxx_werror_flag" ||
     11489         test ! -s conftest.err
     11490       } && test -s conftest.$ac_objext; then
     11491  ac_header_compiler=yes
     11492else
     11493  $as_echo "$as_me: failed program was:" >&5
     11494sed 's/^/| /' conftest.$ac_ext >&5
     11495
     11496        ac_header_compiler=no
     11497fi
     11498
     11499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11500{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11501$as_echo "$ac_header_compiler" >&6; }
     11502
     11503# Is the header present?
     11504{ $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
     11505$as_echo_n "checking GL/glut.h presence... " >&6; }
     11506cat >conftest.$ac_ext <<_ACEOF
     11507/* confdefs.h.  */
     11508_ACEOF
     11509cat confdefs.h >>conftest.$ac_ext
     11510cat >>conftest.$ac_ext <<_ACEOF
     11511/* end confdefs.h.  */
     11512#include <GL/glut.h>
     11513_ACEOF
     11514if { (ac_try="$ac_cpp conftest.$ac_ext"
     11515case "(($ac_try" in
     11516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11517  *) ac_try_echo=$ac_try;;
     11518esac
     11519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11520$as_echo "$ac_try_echo") >&5
     11521  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11522  ac_status=$?
     11523  grep -v '^ *+' conftest.er1 >conftest.err
     11524  rm -f conftest.er1
     11525  cat conftest.err >&5
     11526  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11527  (exit $ac_status); } >/dev/null && {
     11528         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11529         test ! -s conftest.err
     11530       }; then
     11531  ac_header_preproc=yes
     11532else
     11533  $as_echo "$as_me: failed program was:" >&5
     11534sed 's/^/| /' conftest.$ac_ext >&5
     11535
     11536  ac_header_preproc=no
     11537fi
     11538
     11539rm -f conftest.err conftest.$ac_ext
     11540{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11541$as_echo "$ac_header_preproc" >&6; }
     11542
     11543# So?  What about this header?
     11544case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11545  yes:no: )
     11546    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11547$as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11548    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
     11549$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
     11550    ac_header_preproc=yes
     11551    ;;
     11552  no:yes:* )
     11553    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
     11554$as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
     11555    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
     11556$as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
     11557    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
     11558$as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
     11559    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
     11560$as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11561    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
     11562$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
     11563    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
     11564$as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
     11565    ( cat <<\_ASBOX
     11566## ----------------------------------- ##
     11567## Report this to rappture@nanohub.org ##
     11568## ----------------------------------- ##
     11569_ASBOX
     11570     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11571    ;;
     11572esac
     11573{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     11574$as_echo_n "checking for GL/glut.h... " >&6; }
     11575if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11576  $as_echo_n "(cached) " >&6
     11577else
     11578  ac_cv_header_GL_glut_h=$ac_header_preproc
     11579fi
     11580{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     11581$as_echo "$ac_cv_header_GL_glut_h" >&6; }
     11582
     11583fi
     11584
     11585
     11586if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11587  { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     11588$as_echo_n "checking for GL/glew.h... " >&6; }
     11589if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11590  $as_echo_n "(cached) " >&6
     11591fi
     11592{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     11593$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     11594else
     11595  # Is the header compilable?
     11596{ $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
     11597$as_echo_n "checking GL/glew.h usability... " >&6; }
     11598cat >conftest.$ac_ext <<_ACEOF
     11599/* confdefs.h.  */
     11600_ACEOF
     11601cat confdefs.h >>conftest.$ac_ext
     11602cat >>conftest.$ac_ext <<_ACEOF
     11603/* end confdefs.h.  */
     11604$ac_includes_default
     11605#include <GL/glew.h>
     11606_ACEOF
     11607rm -f conftest.$ac_objext
     11608if { (ac_try="$ac_compile"
     11609case "(($ac_try" in
     11610  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11611  *) ac_try_echo=$ac_try;;
     11612esac
     11613eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11614$as_echo "$ac_try_echo") >&5
     11615  (eval "$ac_compile") 2>conftest.er1
     11616  ac_status=$?
     11617  grep -v '^ *+' conftest.er1 >conftest.err
     11618  rm -f conftest.er1
     11619  cat conftest.err >&5
     11620  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11621  (exit $ac_status); } && {
     11622         test -z "$ac_cxx_werror_flag" ||
     11623         test ! -s conftest.err
     11624       } && test -s conftest.$ac_objext; then
     11625  ac_header_compiler=yes
     11626else
     11627  $as_echo "$as_me: failed program was:" >&5
     11628sed 's/^/| /' conftest.$ac_ext >&5
     11629
     11630        ac_header_compiler=no
     11631fi
     11632
     11633rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11634{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11635$as_echo "$ac_header_compiler" >&6; }
     11636
     11637# Is the header present?
     11638{ $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
     11639$as_echo_n "checking GL/glew.h presence... " >&6; }
     11640cat >conftest.$ac_ext <<_ACEOF
     11641/* confdefs.h.  */
     11642_ACEOF
     11643cat confdefs.h >>conftest.$ac_ext
     11644cat >>conftest.$ac_ext <<_ACEOF
     11645/* end confdefs.h.  */
     11646#include <GL/glew.h>
     11647_ACEOF
     11648if { (ac_try="$ac_cpp conftest.$ac_ext"
     11649case "(($ac_try" in
     11650  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11651  *) ac_try_echo=$ac_try;;
     11652esac
     11653eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11654$as_echo "$ac_try_echo") >&5
     11655  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11656  ac_status=$?
     11657  grep -v '^ *+' conftest.er1 >conftest.err
     11658  rm -f conftest.er1
     11659  cat conftest.err >&5
     11660  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11661  (exit $ac_status); } >/dev/null && {
     11662         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11663         test ! -s conftest.err
     11664       }; then
     11665  ac_header_preproc=yes
     11666else
     11667  $as_echo "$as_me: failed program was:" >&5
     11668sed 's/^/| /' conftest.$ac_ext >&5
     11669
     11670  ac_header_preproc=no
     11671fi
     11672
     11673rm -f conftest.err conftest.$ac_ext
     11674{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11675$as_echo "$ac_header_preproc" >&6; }
     11676
     11677# So?  What about this header?
     11678case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11679  yes:no: )
     11680    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11681$as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11682    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
     11683$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
     11684    ac_header_preproc=yes
     11685    ;;
     11686  no:yes:* )
     11687    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
     11688$as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
     11689    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
     11690$as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
     11691    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
     11692$as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
     11693    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
     11694$as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11695    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
     11696$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
     11697    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
     11698$as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
     11699    ( cat <<\_ASBOX
     11700## ----------------------------------- ##
     11701## Report this to rappture@nanohub.org ##
     11702## ----------------------------------- ##
     11703_ASBOX
     11704     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11705    ;;
     11706esac
     11707{ $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     11708$as_echo_n "checking for GL/glew.h... " >&6; }
     11709if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11710  $as_echo_n "(cached) " >&6
     11711else
     11712  ac_cv_header_GL_glew_h=$ac_header_preproc
     11713fi
     11714{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     11715$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     11716
     11717fi
     11718
     11719
     11720
     11721
     11722
     11723
     11724
     11725
     11726for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     11727do
     11728as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     11729if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11730  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11731$as_echo_n "checking for $ac_header... " >&6; }
     11732if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11733  $as_echo_n "(cached) " >&6
     11734fi
     11735ac_res=`eval 'as_val=${'$as_ac_Header'}
     11736                 $as_echo "$as_val"'`
     11737               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11738$as_echo "$ac_res" >&6; }
     11739else
     11740  # Is the header compilable?
     11741{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     11742$as_echo_n "checking $ac_header usability... " >&6; }
     11743cat >conftest.$ac_ext <<_ACEOF
     11744/* confdefs.h.  */
     11745_ACEOF
     11746cat confdefs.h >>conftest.$ac_ext
     11747cat >>conftest.$ac_ext <<_ACEOF
     11748/* end confdefs.h.  */
     11749$ac_includes_default
     11750#include <$ac_header>
     11751_ACEOF
     11752rm -f conftest.$ac_objext
     11753if { (ac_try="$ac_compile"
     11754case "(($ac_try" in
     11755  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11756  *) ac_try_echo=$ac_try;;
     11757esac
     11758eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11759$as_echo "$ac_try_echo") >&5
     11760  (eval "$ac_compile") 2>conftest.er1
     11761  ac_status=$?
     11762  grep -v '^ *+' conftest.er1 >conftest.err
     11763  rm -f conftest.er1
     11764  cat conftest.err >&5
     11765  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11766  (exit $ac_status); } && {
     11767         test -z "$ac_cxx_werror_flag" ||
     11768         test ! -s conftest.err
     11769       } && test -s conftest.$ac_objext; then
     11770  ac_header_compiler=yes
     11771else
     11772  $as_echo "$as_me: failed program was:" >&5
     11773sed 's/^/| /' conftest.$ac_ext >&5
     11774
     11775        ac_header_compiler=no
     11776fi
     11777
     11778rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11779{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11780$as_echo "$ac_header_compiler" >&6; }
     11781
     11782# Is the header present?
     11783{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     11784$as_echo_n "checking $ac_header presence... " >&6; }
     11785cat >conftest.$ac_ext <<_ACEOF
     11786/* confdefs.h.  */
     11787_ACEOF
     11788cat confdefs.h >>conftest.$ac_ext
     11789cat >>conftest.$ac_ext <<_ACEOF
     11790/* end confdefs.h.  */
     11791#include <$ac_header>
     11792_ACEOF
     11793if { (ac_try="$ac_cpp conftest.$ac_ext"
     11794case "(($ac_try" in
     11795  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11796  *) ac_try_echo=$ac_try;;
     11797esac
     11798eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11799$as_echo "$ac_try_echo") >&5
     11800  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11801  ac_status=$?
     11802  grep -v '^ *+' conftest.er1 >conftest.err
     11803  rm -f conftest.er1
     11804  cat conftest.err >&5
     11805  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11806  (exit $ac_status); } >/dev/null && {
     11807         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11808         test ! -s conftest.err
     11809       }; then
     11810  ac_header_preproc=yes
     11811else
     11812  $as_echo "$as_me: failed program was:" >&5
     11813sed 's/^/| /' conftest.$ac_ext >&5
     11814
     11815  ac_header_preproc=no
     11816fi
     11817
     11818rm -f conftest.err conftest.$ac_ext
     11819{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11820$as_echo "$ac_header_preproc" >&6; }
     11821
     11822# So?  What about this header?
     11823case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11824  yes:no: )
     11825    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     11826$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11827    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     11828$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     11829    ac_header_preproc=yes
     11830    ;;
     11831  no:yes:* )
     11832    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     11833$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     11834    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     11835$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     11836    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     11837$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     11838    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     11839$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     11840    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     11841$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     11842    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     11843$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     11844    ( cat <<\_ASBOX
     11845## ----------------------------------- ##
     11846## Report this to rappture@nanohub.org ##
     11847## ----------------------------------- ##
     11848_ASBOX
     11849     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11850    ;;
     11851esac
     11852{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11853$as_echo_n "checking for $ac_header... " >&6; }
     11854if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11855  $as_echo_n "(cached) " >&6
     11856else
     11857  eval "$as_ac_Header=\$ac_header_preproc"
     11858fi
     11859ac_res=`eval 'as_val=${'$as_ac_Header'}
     11860                 $as_echo "$as_val"'`
     11861               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11862$as_echo "$ac_res" >&6; }
     11863
     11864fi
     11865as_val=`eval 'as_val=${'$as_ac_Header'}
     11866                 $as_echo "$as_val"'`
     11867   if test "x$as_val" = x""yes; then
    815611868  cat >>confdefs.h <<_ACEOF
    815711869#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    816311875
    816411876
    8165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5
     11877
     11878
     11879
     11880
     11881for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     11882do
     11883as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     11884if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11885  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11886$as_echo_n "checking for $ac_header... " >&6; }
     11887if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11888  $as_echo_n "(cached) " >&6
     11889fi
     11890ac_res=`eval 'as_val=${'$as_ac_Header'}
     11891                 $as_echo "$as_val"'`
     11892               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11893$as_echo "$ac_res" >&6; }
     11894else
     11895  # Is the header compilable?
     11896{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     11897$as_echo_n "checking $ac_header usability... " >&6; }
     11898cat >conftest.$ac_ext <<_ACEOF
     11899/* confdefs.h.  */
     11900_ACEOF
     11901cat confdefs.h >>conftest.$ac_ext
     11902cat >>conftest.$ac_ext <<_ACEOF
     11903/* end confdefs.h.  */
     11904$ac_includes_default
     11905#include <$ac_header>
     11906_ACEOF
     11907rm -f conftest.$ac_objext
     11908if { (ac_try="$ac_compile"
     11909case "(($ac_try" in
     11910  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11911  *) ac_try_echo=$ac_try;;
     11912esac
     11913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11914$as_echo "$ac_try_echo") >&5
     11915  (eval "$ac_compile") 2>conftest.er1
     11916  ac_status=$?
     11917  grep -v '^ *+' conftest.er1 >conftest.err
     11918  rm -f conftest.er1
     11919  cat conftest.err >&5
     11920  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11921  (exit $ac_status); } && {
     11922         test -z "$ac_cxx_werror_flag" ||
     11923         test ! -s conftest.err
     11924       } && test -s conftest.$ac_objext; then
     11925  ac_header_compiler=yes
     11926else
     11927  $as_echo "$as_me: failed program was:" >&5
     11928sed 's/^/| /' conftest.$ac_ext >&5
     11929
     11930        ac_header_compiler=no
     11931fi
     11932
     11933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11934{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11935$as_echo "$ac_header_compiler" >&6; }
     11936
     11937# Is the header present?
     11938{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     11939$as_echo_n "checking $ac_header presence... " >&6; }
     11940cat >conftest.$ac_ext <<_ACEOF
     11941/* confdefs.h.  */
     11942_ACEOF
     11943cat confdefs.h >>conftest.$ac_ext
     11944cat >>conftest.$ac_ext <<_ACEOF
     11945/* end confdefs.h.  */
     11946#include <$ac_header>
     11947_ACEOF
     11948if { (ac_try="$ac_cpp conftest.$ac_ext"
     11949case "(($ac_try" in
     11950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11951  *) ac_try_echo=$ac_try;;
     11952esac
     11953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11954$as_echo "$ac_try_echo") >&5
     11955  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11956  ac_status=$?
     11957  grep -v '^ *+' conftest.er1 >conftest.err
     11958  rm -f conftest.er1
     11959  cat conftest.err >&5
     11960  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11961  (exit $ac_status); } >/dev/null && {
     11962         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11963         test ! -s conftest.err
     11964       }; then
     11965  ac_header_preproc=yes
     11966else
     11967  $as_echo "$as_me: failed program was:" >&5
     11968sed 's/^/| /' conftest.$ac_ext >&5
     11969
     11970  ac_header_preproc=no
     11971fi
     11972
     11973rm -f conftest.err conftest.$ac_ext
     11974{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11975$as_echo "$ac_header_preproc" >&6; }
     11976
     11977# So?  What about this header?
     11978case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11979  yes:no: )
     11980    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     11981$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11982    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     11983$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     11984    ac_header_preproc=yes
     11985    ;;
     11986  no:yes:* )
     11987    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     11988$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     11989    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     11990$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     11991    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     11992$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     11993    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     11994$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     11995    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     11996$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     11997    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     11998$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     11999    ( cat <<\_ASBOX
     12000## ----------------------------------- ##
     12001## Report this to rappture@nanohub.org ##
     12002## ----------------------------------- ##
     12003_ASBOX
     12004     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12005    ;;
     12006esac
     12007{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12008$as_echo_n "checking for $ac_header... " >&6; }
     12009if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12010  $as_echo_n "(cached) " >&6
     12011else
     12012  eval "$as_ac_Header=\$ac_header_preproc"
     12013fi
     12014ac_res=`eval 'as_val=${'$as_ac_Header'}
     12015                 $as_echo "$as_val"'`
     12016               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12017$as_echo "$ac_res" >&6; }
     12018
     12019fi
     12020as_val=`eval 'as_val=${'$as_ac_Header'}
     12021                 $as_echo "$as_val"'`
     12022   if test "x$as_val" = x""yes; then
     12023  cat >>confdefs.h <<_ACEOF
     12024#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     12025_ACEOF
     12026
     12027fi
     12028
     12029done
     12030
     12031
     12032
     12033for ac_func in accept4
     12034do
     12035as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     12036{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     12037$as_echo_n "checking for $ac_func... " >&6; }
     12038if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     12039  $as_echo_n "(cached) " >&6
     12040else
     12041  cat >conftest.$ac_ext <<_ACEOF
     12042/* confdefs.h.  */
     12043_ACEOF
     12044cat confdefs.h >>conftest.$ac_ext
     12045cat >>conftest.$ac_ext <<_ACEOF
     12046/* end confdefs.h.  */
     12047/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     12048   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     12049#define $ac_func innocuous_$ac_func
     12050
     12051/* System header to define __stub macros and hopefully few prototypes,
     12052    which can conflict with char $ac_func (); below.
     12053    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     12054    <limits.h> exists even on freestanding compilers.  */
     12055
     12056#ifdef __STDC__
     12057# include <limits.h>
     12058#else
     12059# include <assert.h>
     12060#endif
     12061
     12062#undef $ac_func
     12063
     12064/* Override any GCC internal prototype to avoid an error.
     12065   Use char because int might match the return type of a GCC
     12066   builtin and then its argument prototype would still apply.  */
     12067#ifdef __cplusplus
     12068extern "C"
     12069#endif
     12070char $ac_func ();
     12071/* The GNU C library defines this for functions which it implements
     12072    to always fail with ENOSYS.  Some functions are actually named
     12073    something starting with __ and the normal name is an alias.  */
     12074#if defined __stub_$ac_func || defined __stub___$ac_func
     12075choke me
     12076#endif
     12077
     12078int
     12079main ()
     12080{
     12081return $ac_func ();
     12082  ;
     12083  return 0;
     12084}
     12085_ACEOF
     12086rm -f conftest.$ac_objext conftest$ac_exeext
     12087if { (ac_try="$ac_link"
     12088case "(($ac_try" in
     12089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12090  *) ac_try_echo=$ac_try;;
     12091esac
     12092eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12093$as_echo "$ac_try_echo") >&5
     12094  (eval "$ac_link") 2>conftest.er1
     12095  ac_status=$?
     12096  grep -v '^ *+' conftest.er1 >conftest.err
     12097  rm -f conftest.er1
     12098  cat conftest.err >&5
     12099  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12100  (exit $ac_status); } && {
     12101         test -z "$ac_cxx_werror_flag" ||
     12102         test ! -s conftest.err
     12103       } && test -s conftest$ac_exeext && {
     12104         test "$cross_compiling" = yes ||
     12105         $as_test_x conftest$ac_exeext
     12106       }; then
     12107  eval "$as_ac_var=yes"
     12108else
     12109  $as_echo "$as_me: failed program was:" >&5
     12110sed 's/^/| /' conftest.$ac_ext >&5
     12111
     12112        eval "$as_ac_var=no"
     12113fi
     12114
     12115rm -rf conftest.dSYM
     12116rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12117      conftest$ac_exeext conftest.$ac_ext
     12118fi
     12119ac_res=`eval 'as_val=${'$as_ac_var'}
     12120                 $as_echo "$as_val"'`
     12121               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12122$as_echo "$ac_res" >&6; }
     12123as_val=`eval 'as_val=${'$as_ac_var'}
     12124                 $as_echo "$as_val"'`
     12125   if test "x$as_val" = x""yes; then
     12126  cat >>confdefs.h <<_ACEOF
     12127#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     12128_ACEOF
     12129
     12130fi
     12131done
     12132
     12133
     12134{ $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5
    816612135$as_echo_n "checking for OpenDX headers... " >&6; }
    816712136DX_INC_DIR=""
     
    817712146done
    817812147if test "x${DX_INC_DIR}" = "x" ; then
    8179   as_fn_error $? "cannot find OpenDX include files" "$LINENO" 5
    8180 fi
    8181 
    8182 if test "${DX_INC_DIR}" = "/usr/include" ; then
     12148  { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX include files" >&5
     12149$as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;}
    818312150  DX_INC_SPEC=""
     12151elif test "${DX_INC_DIR}" = "/usr/include" ; then
     12152  DX_INC_SPEC=""
    818412153else
    818512154  DX_INC_SPEC="-I{DX_INC_DIR}"
    818612155fi
    8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5
     12156{ $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5
    818812157$as_echo "${DX_INC_DIR}" >&6; }
    818912158
    819012159DX_LIB_DIR=""
    8191 found=no
    819212160for dir in \
    819312161 /usr/lib \
     
    820112169  LDFLAGS="-L$dir $LDFLAGS"
    820212170  unset ac_cv_lib_DXcallm_DXGetComponentValue
    8203   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5
     12171  { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5
    820412172$as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; }
    8205 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :
     12173if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then
    820612174  $as_echo_n "(cached) " >&6
    820712175else
    820812176  ac_check_lib_save_LIBS=$LIBS
    820912177LIBS="-lDXcallm -lX11 $LIBS"
    8210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12178cat >conftest.$ac_ext <<_ACEOF
     12179/* confdefs.h.  */
     12180_ACEOF
     12181cat confdefs.h >>conftest.$ac_ext
     12182cat >>conftest.$ac_ext <<_ACEOF
    821112183/* end confdefs.h.  */
    821212184
     
    822612198}
    822712199_ACEOF
    8228 if ac_fn_cxx_try_link "$LINENO"; then :
     12200rm -f conftest.$ac_objext conftest$ac_exeext
     12201if { (ac_try="$ac_link"
     12202case "(($ac_try" in
     12203  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12204  *) ac_try_echo=$ac_try;;
     12205esac
     12206eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12207$as_echo "$ac_try_echo") >&5
     12208  (eval "$ac_link") 2>conftest.er1
     12209  ac_status=$?
     12210  grep -v '^ *+' conftest.er1 >conftest.err
     12211  rm -f conftest.er1
     12212  cat conftest.err >&5
     12213  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12214  (exit $ac_status); } && {
     12215         test -z "$ac_cxx_werror_flag" ||
     12216         test ! -s conftest.err
     12217       } && test -s conftest$ac_exeext && {
     12218         test "$cross_compiling" = yes ||
     12219         $as_test_x conftest$ac_exeext
     12220       }; then
    822912221  ac_cv_lib_DXcallm_DXGetComponentValue=yes
    823012222else
    8231   ac_cv_lib_DXcallm_DXGetComponentValue=no
    8232 fi
    8233 rm -f core conftest.err conftest.$ac_objext \
    8234     conftest$ac_exeext conftest.$ac_ext
     12223  $as_echo "$as_me: failed program was:" >&5
     12224sed 's/^/| /' conftest.$ac_ext >&5
     12225
     12226        ac_cv_lib_DXcallm_DXGetComponentValue=no
     12227fi
     12228
     12229rm -rf conftest.dSYM
     12230rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12231      conftest$ac_exeext conftest.$ac_ext
    823512232LIBS=$ac_check_lib_save_LIBS
    823612233fi
    8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
     12234{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
    823812235$as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; }
    8239 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then :
     12236if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then
    824012237  found=yes
    824112238else
     
    824912246  fi
    825012247done
    8251 if test "x{$DX_LIB_DIR}" = "x" ; then
    8252   as_fn_error $? "cannot find OpenDX libraries" "$LINENO" 5
    8253 fi
    8254 
    8255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5
     12248if test "x${DX_LIB_DIR}" = "x" ; then
     12249  { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX libraries" >&5
     12250$as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;}
     12251fi
     12252
     12253{ $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5
    825612254$as_echo_n "checking for libDXcallm library... " >&6; }
    8257 if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
     12255if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
    825812256  DX_LIB_SPEC=""
    825912257else
    826012258  DX_LIB_SPEC="-L${DX_LIB_DIR}"
    826112259fi
    8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5
     12260{ $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5
    826312261$as_echo "$DX_LIB_SPEC" >&6; }
    826412262
     12263
     12264
    826512265for ac_header in opencv/cv.h opencv/highgui.h
    8266 do :
    8267   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8268 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8269 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     12266do
     12267as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12268if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12269  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12270$as_echo_n "checking for $ac_header... " >&6; }
     12271if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12272  $as_echo_n "(cached) " >&6
     12273fi
     12274ac_res=`eval 'as_val=${'$as_ac_Header'}
     12275                 $as_echo "$as_val"'`
     12276               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12277$as_echo "$ac_res" >&6; }
     12278else
     12279  # Is the header compilable?
     12280{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12281$as_echo_n "checking $ac_header usability... " >&6; }
     12282cat >conftest.$ac_ext <<_ACEOF
     12283/* confdefs.h.  */
     12284_ACEOF
     12285cat confdefs.h >>conftest.$ac_ext
     12286cat >>conftest.$ac_ext <<_ACEOF
     12287/* end confdefs.h.  */
     12288$ac_includes_default
     12289#include <$ac_header>
     12290_ACEOF
     12291rm -f conftest.$ac_objext
     12292if { (ac_try="$ac_compile"
     12293case "(($ac_try" in
     12294  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12295  *) ac_try_echo=$ac_try;;
     12296esac
     12297eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12298$as_echo "$ac_try_echo") >&5
     12299  (eval "$ac_compile") 2>conftest.er1
     12300  ac_status=$?
     12301  grep -v '^ *+' conftest.er1 >conftest.err
     12302  rm -f conftest.er1
     12303  cat conftest.err >&5
     12304  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12305  (exit $ac_status); } && {
     12306         test -z "$ac_cxx_werror_flag" ||
     12307         test ! -s conftest.err
     12308       } && test -s conftest.$ac_objext; then
     12309  ac_header_compiler=yes
     12310else
     12311  $as_echo "$as_me: failed program was:" >&5
     12312sed 's/^/| /' conftest.$ac_ext >&5
     12313
     12314        ac_header_compiler=no
     12315fi
     12316
     12317rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12318{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12319$as_echo "$ac_header_compiler" >&6; }
     12320
     12321# Is the header present?
     12322{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12323$as_echo_n "checking $ac_header presence... " >&6; }
     12324cat >conftest.$ac_ext <<_ACEOF
     12325/* confdefs.h.  */
     12326_ACEOF
     12327cat confdefs.h >>conftest.$ac_ext
     12328cat >>conftest.$ac_ext <<_ACEOF
     12329/* end confdefs.h.  */
     12330#include <$ac_header>
     12331_ACEOF
     12332if { (ac_try="$ac_cpp conftest.$ac_ext"
     12333case "(($ac_try" in
     12334  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12335  *) ac_try_echo=$ac_try;;
     12336esac
     12337eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12338$as_echo "$ac_try_echo") >&5
     12339  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12340  ac_status=$?
     12341  grep -v '^ *+' conftest.er1 >conftest.err
     12342  rm -f conftest.er1
     12343  cat conftest.err >&5
     12344  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12345  (exit $ac_status); } >/dev/null && {
     12346         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12347         test ! -s conftest.err
     12348       }; then
     12349  ac_header_preproc=yes
     12350else
     12351  $as_echo "$as_me: failed program was:" >&5
     12352sed 's/^/| /' conftest.$ac_ext >&5
     12353
     12354  ac_header_preproc=no
     12355fi
     12356
     12357rm -f conftest.err conftest.$ac_ext
     12358{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12359$as_echo "$ac_header_preproc" >&6; }
     12360
     12361# So?  What about this header?
     12362case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12363  yes:no: )
     12364    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12365$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12366    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12367$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12368    ac_header_preproc=yes
     12369    ;;
     12370  no:yes:* )
     12371    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12372$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12373    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12374$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12375    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12376$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12377    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12378$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12379    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12380$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12381    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12382$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12383    ( cat <<\_ASBOX
     12384## ----------------------------------- ##
     12385## Report this to rappture@nanohub.org ##
     12386## ----------------------------------- ##
     12387_ASBOX
     12388     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12389    ;;
     12390esac
     12391{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12392$as_echo_n "checking for $ac_header... " >&6; }
     12393if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12394  $as_echo_n "(cached) " >&6
     12395else
     12396  eval "$as_ac_Header=\$ac_header_preproc"
     12397fi
     12398ac_res=`eval 'as_val=${'$as_ac_Header'}
     12399                 $as_echo "$as_val"'`
     12400               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12401$as_echo "$ac_res" >&6; }
     12402
     12403fi
     12404as_val=`eval 'as_val=${'$as_ac_Header'}
     12405                 $as_echo "$as_val"'`
     12406   if test "x$as_val" = x""yes; then
    827012407  cat >>confdefs.h <<_ACEOF
    827112408#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    827612413done
    827712414
    8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lcv" >&5
    8279 $as_echo_n "checking for cvLoadImage in -lcv... " >&6; }
    8280 if ${ac_cv_lib_cv_cvLoadImage+:} false; then :
     12415
     12416{ $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lhighgui" >&5
     12417$as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; }
     12418if test "${ac_cv_lib_highgui_cvLoadImage+set}" = set; then
    828112419  $as_echo_n "(cached) " >&6
    828212420else
    828312421  ac_check_lib_save_LIBS=$LIBS
    8284 LIBS="-lcv  $LIBS"
    8285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12422LIBS="-lhighgui  $LIBS"
     12423cat >conftest.$ac_ext <<_ACEOF
     12424/* confdefs.h.  */
     12425_ACEOF
     12426cat confdefs.h >>conftest.$ac_ext
     12427cat >>conftest.$ac_ext <<_ACEOF
    828612428/* end confdefs.h.  */
    828712429
     
    830112443}
    830212444_ACEOF
    8303 if ac_fn_cxx_try_link "$LINENO"; then :
    8304   ac_cv_lib_cv_cvLoadImage=yes
    8305 else
    8306   ac_cv_lib_cv_cvLoadImage=no
    8307 fi
    8308 rm -f core conftest.err conftest.$ac_objext \
    8309     conftest$ac_exeext conftest.$ac_ext
     12445rm -f conftest.$ac_objext conftest$ac_exeext
     12446if { (ac_try="$ac_link"
     12447case "(($ac_try" in
     12448  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12449  *) ac_try_echo=$ac_try;;
     12450esac
     12451eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12452$as_echo "$ac_try_echo") >&5
     12453  (eval "$ac_link") 2>conftest.er1
     12454  ac_status=$?
     12455  grep -v '^ *+' conftest.er1 >conftest.err
     12456  rm -f conftest.er1
     12457  cat conftest.err >&5
     12458  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12459  (exit $ac_status); } && {
     12460         test -z "$ac_cxx_werror_flag" ||
     12461         test ! -s conftest.err
     12462       } && test -s conftest$ac_exeext && {
     12463         test "$cross_compiling" = yes ||
     12464         $as_test_x conftest$ac_exeext
     12465       }; then
     12466  ac_cv_lib_highgui_cvLoadImage=yes
     12467else
     12468  $as_echo "$as_me: failed program was:" >&5
     12469sed 's/^/| /' conftest.$ac_ext >&5
     12470
     12471        ac_cv_lib_highgui_cvLoadImage=no
     12472fi
     12473
     12474rm -rf conftest.dSYM
     12475rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12476      conftest$ac_exeext conftest.$ac_ext
    831012477LIBS=$ac_check_lib_save_LIBS
    831112478fi
    8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cv_cvLoadImage" >&5
    8313 $as_echo "$ac_cv_lib_cv_cvLoadImage" >&6; }
    8314 if test "x$ac_cv_lib_cv_cvLoadImage" = xyes; then :
     12479{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_highgui_cvLoadImage" >&5
     12480$as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; }
     12481if test "x$ac_cv_lib_highgui_cvLoadImage" = x""yes; then
    831512482  cat >>confdefs.h <<_ACEOF
    8316 #define HAVE_LIBCV 1
    8317 _ACEOF
    8318 
    8319   LIBS="-lcv $LIBS"
     12483#define HAVE_LIBHIGHGUI 1
     12484_ACEOF
     12485
     12486  LIBS="-lhighgui $LIBS"
    832012487
    832112488fi
     
    832912496fi
    833012497
     12498
     12499
     12500
     12501
     12502
     12503
    833112504for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    8332 do :
    8333   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8334 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
     12505do
     12506as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12507{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12508$as_echo_n "checking for $ac_header... " >&6; }
     12509if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12510  $as_echo_n "(cached) " >&6
     12511else
     12512  cat >conftest.$ac_ext <<_ACEOF
     12513/* confdefs.h.  */
     12514_ACEOF
     12515cat confdefs.h >>conftest.$ac_ext
     12516cat >>conftest.$ac_ext <<_ACEOF
     12517/* end confdefs.h.  */
     12518
    833512519#define SIZEOF_LONG ${ac_cv_sizeof_long}
    833612520#if SIZEOF_LONG == 8
     
    834212526#endif
    834312527
    8344 "
    8345 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     12528
     12529#include <$ac_header>
     12530_ACEOF
     12531rm -f conftest.$ac_objext
     12532if { (ac_try="$ac_compile"
     12533case "(($ac_try" in
     12534  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12535  *) ac_try_echo=$ac_try;;
     12536esac
     12537eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12538$as_echo "$ac_try_echo") >&5
     12539  (eval "$ac_compile") 2>conftest.er1
     12540  ac_status=$?
     12541  grep -v '^ *+' conftest.er1 >conftest.err
     12542  rm -f conftest.er1
     12543  cat conftest.err >&5
     12544  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12545  (exit $ac_status); } && {
     12546         test -z "$ac_cxx_werror_flag" ||
     12547         test ! -s conftest.err
     12548       } && test -s conftest.$ac_objext; then
     12549  eval "$as_ac_Header=yes"
     12550else
     12551  $as_echo "$as_me: failed program was:" >&5
     12552sed 's/^/| /' conftest.$ac_ext >&5
     12553
     12554        eval "$as_ac_Header=no"
     12555fi
     12556
     12557rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12558fi
     12559ac_res=`eval 'as_val=${'$as_ac_Header'}
     12560                 $as_echo "$as_val"'`
     12561               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12562$as_echo "$ac_res" >&6; }
     12563as_val=`eval 'as_val=${'$as_ac_Header'}
     12564                 $as_echo "$as_val"'`
     12565   if test "x$as_val" = x""yes; then
    834612566  cat >>confdefs.h <<_ACEOF
    834712567#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    835412574CPPFLAGS=$save_CPPFLAGS
    835512575
    8356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5
     12576
     12577{ $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5
    835712578$as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; }
    8358 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :
     12579if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then
    835912580  $as_echo_n "(cached) " >&6
    836012581else
    836112582  ac_check_lib_save_LIBS=$LIBS
    836212583LIBS="-lavcodec  $LIBS"
    8363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12584cat >conftest.$ac_ext <<_ACEOF
     12585/* confdefs.h.  */
     12586_ACEOF
     12587cat confdefs.h >>conftest.$ac_ext
     12588cat >>conftest.$ac_ext <<_ACEOF
    836412589/* end confdefs.h.  */
    836512590
     
    837912604}
    838012605_ACEOF
    8381 if ac_fn_cxx_try_link "$LINENO"; then :
     12606rm -f conftest.$ac_objext conftest$ac_exeext
     12607if { (ac_try="$ac_link"
     12608case "(($ac_try" in
     12609  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12610  *) ac_try_echo=$ac_try;;
     12611esac
     12612eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12613$as_echo "$ac_try_echo") >&5
     12614  (eval "$ac_link") 2>conftest.er1
     12615  ac_status=$?
     12616  grep -v '^ *+' conftest.er1 >conftest.err
     12617  rm -f conftest.er1
     12618  cat conftest.err >&5
     12619  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12620  (exit $ac_status); } && {
     12621         test -z "$ac_cxx_werror_flag" ||
     12622         test ! -s conftest.err
     12623       } && test -s conftest$ac_exeext && {
     12624         test "$cross_compiling" = yes ||
     12625         $as_test_x conftest$ac_exeext
     12626       }; then
    838212627  ac_cv_lib_avcodec_avcodec_alloc_frame=yes
    838312628else
    8384   ac_cv_lib_avcodec_avcodec_alloc_frame=no
    8385 fi
    8386 rm -f core conftest.err conftest.$ac_objext \
    8387     conftest$ac_exeext conftest.$ac_ext
     12629  $as_echo "$as_me: failed program was:" >&5
     12630sed 's/^/| /' conftest.$ac_ext >&5
     12631
     12632        ac_cv_lib_avcodec_avcodec_alloc_frame=no
     12633fi
     12634
     12635rm -rf conftest.dSYM
     12636rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12637      conftest$ac_exeext conftest.$ac_ext
    838812638LIBS=$ac_check_lib_save_LIBS
    838912639fi
    8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
     12640{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
    839112641$as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; }
    8392 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then :
     12642if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then
    839312643  cat >>confdefs.h <<_ACEOF
    839412644#define HAVE_LIBAVCODEC 1
     
    840012650
    840112651# Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found
    8402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5
     12652
     12653{ $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5
    840312654$as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; }
    8404 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :
     12655if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then
    840512656  $as_echo_n "(cached) " >&6
    840612657else
    840712658  ac_check_lib_save_LIBS=$LIBS
    840812659LIBS="-lavformat  $LIBS"
    8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12660cat >conftest.$ac_ext <<_ACEOF
     12661/* confdefs.h.  */
     12662_ACEOF
     12663cat confdefs.h >>conftest.$ac_ext
     12664cat >>conftest.$ac_ext <<_ACEOF
    841012665/* end confdefs.h.  */
    841112666
     
    842512680}
    842612681_ACEOF
    8427 if ac_fn_cxx_try_link "$LINENO"; then :
     12682rm -f conftest.$ac_objext conftest$ac_exeext
     12683if { (ac_try="$ac_link"
     12684case "(($ac_try" in
     12685  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12686  *) ac_try_echo=$ac_try;;
     12687esac
     12688eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12689$as_echo "$ac_try_echo") >&5
     12690  (eval "$ac_link") 2>conftest.er1
     12691  ac_status=$?
     12692  grep -v '^ *+' conftest.er1 >conftest.err
     12693  rm -f conftest.er1
     12694  cat conftest.err >&5
     12695  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12696  (exit $ac_status); } && {
     12697         test -z "$ac_cxx_werror_flag" ||
     12698         test ! -s conftest.err
     12699       } && test -s conftest$ac_exeext && {
     12700         test "$cross_compiling" = yes ||
     12701         $as_test_x conftest$ac_exeext
     12702       }; then
    842812703  ac_cv_lib_avformat_avformat_alloc_context=yes
    842912704else
    8430   ac_cv_lib_avformat_avformat_alloc_context=no
    8431 fi
    8432 rm -f core conftest.err conftest.$ac_objext \
    8433     conftest$ac_exeext conftest.$ac_ext
     12705  $as_echo "$as_me: failed program was:" >&5
     12706sed 's/^/| /' conftest.$ac_ext >&5
     12707
     12708        ac_cv_lib_avformat_avformat_alloc_context=no
     12709fi
     12710
     12711rm -rf conftest.dSYM
     12712rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12713      conftest$ac_exeext conftest.$ac_ext
    843412714LIBS=$ac_check_lib_save_LIBS
    843512715fi
    8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
     12716{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
    843712717$as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; }
    8438 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = xyes; then :
     12718if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then
    843912719  cat >>confdefs.h <<_ACEOF
    844012720#define HAVE_LIBAVFORMAT 1
     
    844412724
    844512725else
    8446   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5
     12726
     12727{ $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5
    844712728$as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; }
    8448 if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :
     12729if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then
    844912730  $as_echo_n "(cached) " >&6
    845012731else
    845112732  ac_check_lib_save_LIBS=$LIBS
    845212733LIBS="-lavformat  $LIBS"
    8453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12734cat >conftest.$ac_ext <<_ACEOF
     12735/* confdefs.h.  */
     12736_ACEOF
     12737cat confdefs.h >>conftest.$ac_ext
     12738cat >>conftest.$ac_ext <<_ACEOF
    845412739/* end confdefs.h.  */
    845512740
     
    846912754}
    847012755_ACEOF
    8471 if ac_fn_cxx_try_link "$LINENO"; then :
     12756rm -f conftest.$ac_objext conftest$ac_exeext
     12757if { (ac_try="$ac_link"
     12758case "(($ac_try" in
     12759  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12760  *) ac_try_echo=$ac_try;;
     12761esac
     12762eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12763$as_echo "$ac_try_echo") >&5
     12764  (eval "$ac_link") 2>conftest.er1
     12765  ac_status=$?
     12766  grep -v '^ *+' conftest.er1 >conftest.err
     12767  rm -f conftest.er1
     12768  cat conftest.err >&5
     12769  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12770  (exit $ac_status); } && {
     12771         test -z "$ac_cxx_werror_flag" ||
     12772         test ! -s conftest.err
     12773       } && test -s conftest$ac_exeext && {
     12774         test "$cross_compiling" = yes ||
     12775         $as_test_x conftest$ac_exeext
     12776       }; then
    847212777  ac_cv_lib_avformat_av_alloc_format_context=yes
    847312778else
    8474   ac_cv_lib_avformat_av_alloc_format_context=no
    8475 fi
    8476 rm -f core conftest.err conftest.$ac_objext \
    8477     conftest$ac_exeext conftest.$ac_ext
     12779  $as_echo "$as_me: failed program was:" >&5
     12780sed 's/^/| /' conftest.$ac_ext >&5
     12781
     12782        ac_cv_lib_avformat_av_alloc_format_context=no
     12783fi
     12784
     12785rm -rf conftest.dSYM
     12786rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12787      conftest$ac_exeext conftest.$ac_ext
    847812788LIBS=$ac_check_lib_save_LIBS
    847912789fi
    8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
     12790{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
    848112791$as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; }
    8482 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = xyes; then :
     12792if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then
    848312793  cat >>confdefs.h <<_ACEOF
    848412794#define HAVE_LIBAVFORMAT 1
     
    848812798
    848912799else
    8490   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavformat not usable" >&5
     12800  { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5
    849112801$as_echo "$as_me: WARNING: libavformat not usable" >&2;}
    849212802fi
     
    849412804fi
    849512805
    8496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5
     12806
     12807{ $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5
    849712808$as_echo_n "checking for av_free in -lavutil... " >&6; }
    8498 if ${ac_cv_lib_avutil_av_free+:} false; then :
     12809if test "${ac_cv_lib_avutil_av_free+set}" = set; then
    849912810  $as_echo_n "(cached) " >&6
    850012811else
    850112812  ac_check_lib_save_LIBS=$LIBS
    850212813LIBS="-lavutil  $LIBS"
    8503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12814cat >conftest.$ac_ext <<_ACEOF
     12815/* confdefs.h.  */
     12816_ACEOF
     12817cat confdefs.h >>conftest.$ac_ext
     12818cat >>conftest.$ac_ext <<_ACEOF
    850412819/* end confdefs.h.  */
    850512820
     
    851912834}
    852012835_ACEOF
    8521 if ac_fn_cxx_try_link "$LINENO"; then :
     12836rm -f conftest.$ac_objext conftest$ac_exeext
     12837if { (ac_try="$ac_link"
     12838case "(($ac_try" in
     12839  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12840  *) ac_try_echo=$ac_try;;
     12841esac
     12842eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12843$as_echo "$ac_try_echo") >&5
     12844  (eval "$ac_link") 2>conftest.er1
     12845  ac_status=$?
     12846  grep -v '^ *+' conftest.er1 >conftest.err
     12847  rm -f conftest.er1
     12848  cat conftest.err >&5
     12849  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12850  (exit $ac_status); } && {
     12851         test -z "$ac_cxx_werror_flag" ||
     12852         test ! -s conftest.err
     12853       } && test -s conftest$ac_exeext && {
     12854         test "$cross_compiling" = yes ||
     12855         $as_test_x conftest$ac_exeext
     12856       }; then
    852212857  ac_cv_lib_avutil_av_free=yes
    852312858else
    8524   ac_cv_lib_avutil_av_free=no
    8525 fi
    8526 rm -f core conftest.err conftest.$ac_objext \
    8527     conftest$ac_exeext conftest.$ac_ext
     12859  $as_echo "$as_me: failed program was:" >&5
     12860sed 's/^/| /' conftest.$ac_ext >&5
     12861
     12862        ac_cv_lib_avutil_av_free=no
     12863fi
     12864
     12865rm -rf conftest.dSYM
     12866rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12867      conftest$ac_exeext conftest.$ac_ext
    852812868LIBS=$ac_check_lib_save_LIBS
    852912869fi
    8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&5
     12870{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_free" >&5
    853112871$as_echo "$ac_cv_lib_avutil_av_free" >&6; }
    8532 if test "x$ac_cv_lib_avutil_av_free" = xyes; then :
     12872if test "x$ac_cv_lib_avutil_av_free" = x""yes; then
    853312873  cat >>confdefs.h <<_ACEOF
    853412874#define HAVE_LIBAVUTIL 1
     
    853912879fi
    854012880
     12881
    854112882for ac_func in img_convert
    8542 do :
    8543   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    8544 if test "x$ac_cv_func_img_convert" = xyes; then :
     12883do
     12884as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     12885{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     12886$as_echo_n "checking for $ac_func... " >&6; }
     12887if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     12888  $as_echo_n "(cached) " >&6
     12889else
     12890  cat >conftest.$ac_ext <<_ACEOF
     12891/* confdefs.h.  */
     12892_ACEOF
     12893cat confdefs.h >>conftest.$ac_ext
     12894cat >>conftest.$ac_ext <<_ACEOF
     12895/* end confdefs.h.  */
     12896/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     12897   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     12898#define $ac_func innocuous_$ac_func
     12899
     12900/* System header to define __stub macros and hopefully few prototypes,
     12901    which can conflict with char $ac_func (); below.
     12902    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     12903    <limits.h> exists even on freestanding compilers.  */
     12904
     12905#ifdef __STDC__
     12906# include <limits.h>
     12907#else
     12908# include <assert.h>
     12909#endif
     12910
     12911#undef $ac_func
     12912
     12913/* Override any GCC internal prototype to avoid an error.
     12914   Use char because int might match the return type of a GCC
     12915   builtin and then its argument prototype would still apply.  */
     12916#ifdef __cplusplus
     12917extern "C"
     12918#endif
     12919char $ac_func ();
     12920/* The GNU C library defines this for functions which it implements
     12921    to always fail with ENOSYS.  Some functions are actually named
     12922    something starting with __ and the normal name is an alias.  */
     12923#if defined __stub_$ac_func || defined __stub___$ac_func
     12924choke me
     12925#endif
     12926
     12927int
     12928main ()
     12929{
     12930return $ac_func ();
     12931  ;
     12932  return 0;
     12933}
     12934_ACEOF
     12935rm -f conftest.$ac_objext conftest$ac_exeext
     12936if { (ac_try="$ac_link"
     12937case "(($ac_try" in
     12938  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12939  *) ac_try_echo=$ac_try;;
     12940esac
     12941eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12942$as_echo "$ac_try_echo") >&5
     12943  (eval "$ac_link") 2>conftest.er1
     12944  ac_status=$?
     12945  grep -v '^ *+' conftest.er1 >conftest.err
     12946  rm -f conftest.er1
     12947  cat conftest.err >&5
     12948  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12949  (exit $ac_status); } && {
     12950         test -z "$ac_cxx_werror_flag" ||
     12951         test ! -s conftest.err
     12952       } && test -s conftest$ac_exeext && {
     12953         test "$cross_compiling" = yes ||
     12954         $as_test_x conftest$ac_exeext
     12955       }; then
     12956  eval "$as_ac_var=yes"
     12957else
     12958  $as_echo "$as_me: failed program was:" >&5
     12959sed 's/^/| /' conftest.$ac_ext >&5
     12960
     12961        eval "$as_ac_var=no"
     12962fi
     12963
     12964rm -rf conftest.dSYM
     12965rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12966      conftest$ac_exeext conftest.$ac_ext
     12967fi
     12968ac_res=`eval 'as_val=${'$as_ac_var'}
     12969                 $as_echo "$as_val"'`
     12970               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12971$as_echo "$ac_res" >&6; }
     12972as_val=`eval 'as_val=${'$as_ac_var'}
     12973                 $as_echo "$as_val"'`
     12974   if test "x$as_val" = x""yes; then
    854512975  cat >>confdefs.h <<_ACEOF
    8546 #define HAVE_IMG_CONVERT 1
     12976#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    854712977_ACEOF
    854812978
     
    855212982
    855312983
    8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
     12984{ $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
    855512985$as_echo_n "checking for nVidia Cg installation... " >&6; }
    855612986CG_DIR=""
     
    856512995  fi
    856612996done
    8567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
     12997{ $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
    856812998$as_echo "${CG_DIR}" >&6; }
    856912999
     
    857113001CG_LIB_DIR="$dir/lib"
    857213002
    8573 echo CGDIR=$CG_DIR
    857413003save_CPPFLAGS=$CPPFLAGS
    857513004CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS"
     13005
    857613006for ac_header in Cg/cgGL.h
    8577 do :
    8578   ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
    8579 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then :
     13007do
     13008as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     13009if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     13010  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     13011$as_echo_n "checking for $ac_header... " >&6; }
     13012if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     13013  $as_echo_n "(cached) " >&6
     13014fi
     13015ac_res=`eval 'as_val=${'$as_ac_Header'}
     13016                 $as_echo "$as_val"'`
     13017               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13018$as_echo "$ac_res" >&6; }
     13019else
     13020  # Is the header compilable?
     13021{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     13022$as_echo_n "checking $ac_header usability... " >&6; }
     13023cat >conftest.$ac_ext <<_ACEOF
     13024/* confdefs.h.  */
     13025_ACEOF
     13026cat confdefs.h >>conftest.$ac_ext
     13027cat >>conftest.$ac_ext <<_ACEOF
     13028/* end confdefs.h.  */
     13029$ac_includes_default
     13030#include <$ac_header>
     13031_ACEOF
     13032rm -f conftest.$ac_objext
     13033if { (ac_try="$ac_compile"
     13034case "(($ac_try" in
     13035  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13036  *) ac_try_echo=$ac_try;;
     13037esac
     13038eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13039$as_echo "$ac_try_echo") >&5
     13040  (eval "$ac_compile") 2>conftest.er1
     13041  ac_status=$?
     13042  grep -v '^ *+' conftest.er1 >conftest.err
     13043  rm -f conftest.er1
     13044  cat conftest.err >&5
     13045  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13046  (exit $ac_status); } && {
     13047         test -z "$ac_cxx_werror_flag" ||
     13048         test ! -s conftest.err
     13049       } && test -s conftest.$ac_objext; then
     13050  ac_header_compiler=yes
     13051else
     13052  $as_echo "$as_me: failed program was:" >&5
     13053sed 's/^/| /' conftest.$ac_ext >&5
     13054
     13055        ac_header_compiler=no
     13056fi
     13057
     13058rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     13059{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     13060$as_echo "$ac_header_compiler" >&6; }
     13061
     13062# Is the header present?
     13063{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     13064$as_echo_n "checking $ac_header presence... " >&6; }
     13065cat >conftest.$ac_ext <<_ACEOF
     13066/* confdefs.h.  */
     13067_ACEOF
     13068cat confdefs.h >>conftest.$ac_ext
     13069cat >>conftest.$ac_ext <<_ACEOF
     13070/* end confdefs.h.  */
     13071#include <$ac_header>
     13072_ACEOF
     13073if { (ac_try="$ac_cpp conftest.$ac_ext"
     13074case "(($ac_try" in
     13075  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13076  *) ac_try_echo=$ac_try;;
     13077esac
     13078eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13079$as_echo "$ac_try_echo") >&5
     13080  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     13081  ac_status=$?
     13082  grep -v '^ *+' conftest.er1 >conftest.err
     13083  rm -f conftest.er1
     13084  cat conftest.err >&5
     13085  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13086  (exit $ac_status); } >/dev/null && {
     13087         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     13088         test ! -s conftest.err
     13089       }; then
     13090  ac_header_preproc=yes
     13091else
     13092  $as_echo "$as_me: failed program was:" >&5
     13093sed 's/^/| /' conftest.$ac_ext >&5
     13094
     13095  ac_header_preproc=no
     13096fi
     13097
     13098rm -f conftest.err conftest.$ac_ext
     13099{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     13100$as_echo "$ac_header_preproc" >&6; }
     13101
     13102# So?  What about this header?
     13103case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     13104  yes:no: )
     13105    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     13106$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     13107    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     13108$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     13109    ac_header_preproc=yes
     13110    ;;
     13111  no:yes:* )
     13112    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     13113$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     13114    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     13115$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     13116    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     13117$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     13118    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     13119$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     13120    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     13121$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     13122    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     13123$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     13124    ( cat <<\_ASBOX
     13125## ----------------------------------- ##
     13126## Report this to rappture@nanohub.org ##
     13127## ----------------------------------- ##
     13128_ASBOX
     13129     ) | sed "s/^/$as_me: WARNING:     /" >&2
     13130    ;;
     13131esac
     13132{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     13133$as_echo_n "checking for $ac_header... " >&6; }
     13134if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     13135  $as_echo_n "(cached) " >&6
     13136else
     13137  eval "$as_ac_Header=\$ac_header_preproc"
     13138fi
     13139ac_res=`eval 'as_val=${'$as_ac_Header'}
     13140                 $as_echo "$as_val"'`
     13141               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13142$as_echo "$ac_res" >&6; }
     13143
     13144fi
     13145as_val=`eval 'as_val=${'$as_ac_Header'}
     13146                 $as_echo "$as_val"'`
     13147   if test "x$as_val" = x""yes; then
    858013148  cat >>confdefs.h <<_ACEOF
    8581 #define HAVE_CG_CGGL_H 1
    8582 _ACEOF
    8583 
    8584 else
    8585   as_fn_error $? "cannot find nVidia Cg headers" "$LINENO" 5
     13149#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     13150_ACEOF
     13151
     13152else
     13153  { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5
     13154$as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;}
    858613155fi
    858713156
     
    865813227    *${as_nl}*)
    865913228      case $ac_var in #(
    8660       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     13229      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    866113230$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    866213231      esac
     
    866413233      _ | IFS | as_nl) ;; #(
    866513234      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    8666       *) { eval $ac_var=; unset $ac_var;} ;;
     13235      *) $as_unset $ac_var ;;
    866713236      esac ;;
    866813237    esac
     
    867213241    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    867313242    *${as_nl}ac_space=\ *)
    8674       # `set' does not quote correctly, so add quotes: double-quote
    8675       # substitution turns \\\\ into \\, and sed turns \\ into \.
     13243      # `set' does not quote correctly, so add quotes (double-quote
     13244      # substitution turns \\\\ into \\, and sed turns \\ into \).
    867613245      sed -n \
    867713246        "s/'/'\\\\''/g;
     
    869513264if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    869613265  if test -w "$cache_file"; then
    8697     if test "x$cache_file" != "x/dev/null"; then
    8698       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     13266    test "x$cache_file" != "x/dev/null" &&
     13267      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
    869913268$as_echo "$as_me: updating cache $cache_file" >&6;}
    8700       if test ! -f "$cache_file" || test -h "$cache_file"; then
    8701         cat confcache >"$cache_file"
    8702       else
    8703         case $cache_file in #(
    8704         */* | ?:*)
    8705           mv -f confcache "$cache_file"$$ &&
    8706           mv -f "$cache_file"$$ "$cache_file" ;; #(
    8707         *)
    8708           mv -f confcache "$cache_file" ;;
    8709         esac
    8710       fi
    8711     fi
     13269    cat confcache >$cache_file
    871213270  else
    8713     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     13271    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    871413272$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    871513273  fi
     
    872513283ac_libobjs=
    872613284ac_ltlibobjs=
    8727 U=
    872813285for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    872913286  # 1. Remove the extension, and $U if already installed.
     
    873213289  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    873313290  #    will be set to the directory where LIBOBJS objects are built.
    8734   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    8735   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     13291  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     13292  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    873613293done
    873713294LIBOBJS=$ac_libobjs
     
    874213299
    874313300
    8744 : "${CONFIG_STATUS=./config.status}"
     13301: ${CONFIG_STATUS=./config.status}
    874513302ac_write_fail=0
    874613303ac_clean_files_save=$ac_clean_files
    874713304ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    8748 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     13305{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    874913306$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    8750 as_write_fail=0
    8751 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     13307cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    875213308#! $SHELL
    875313309# Generated by $as_me.
     
    875913315ac_cs_recheck=false
    876013316ac_cs_silent=false
    8761 
    876213317SHELL=\${CONFIG_SHELL-$SHELL}
    8763 export SHELL
    8764 _ASEOF
    8765 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    8766 ## -------------------- ##
    8767 ## M4sh Initialization. ##
    8768 ## -------------------- ##
     13318_ACEOF
     13319
     13320cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     13321## --------------------- ##
     13322## M4sh Initialization.  ##
     13323## --------------------- ##
    876913324
    877013325# Be more Bourne compatible
    877113326DUALCASE=1; export DUALCASE # for MKS sh
    8772 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     13327if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    877313328  emulate sh
    877413329  NULLCMD=:
     
    877813333  setopt NO_GLOB_SUBST
    877913334else
    8780   case `(set -o) 2>/dev/null` in #(
    8781   *posix*) :
    8782     set -o posix ;; #(
    8783   *) :
    8784      ;;
    8785 esac
    8786 fi
    8787 
     13335  case `(set -o) 2>/dev/null` in
     13336  *posix*) set -o posix ;;
     13337esac
     13338
     13339fi
     13340
     13341
     13342
     13343
     13344# PATH needs CR
     13345# Avoid depending upon Character Ranges.
     13346as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     13347as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     13348as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     13349as_cr_digits='0123456789'
     13350as_cr_alnum=$as_cr_Letters$as_cr_digits
    878813351
    878913352as_nl='
     
    879413357as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    879513358as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    8796 # Prefer a ksh shell builtin over an external printf program on Solaris,
    8797 # but without wasting forks for bash or zsh.
    8798 if test -z "$BASH_VERSION$ZSH_VERSION" \
    8799     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    8800   as_echo='print -r --'
    8801   as_echo_n='print -rn --'
    8802 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     13359if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    880313360  as_echo='printf %s\n'
    880413361  as_echo_n='printf %s'
     
    881113368    as_echo_n_body='eval
    881213369      arg=$1;
    8813       case $arg in #(
     13370      case $arg in
    881413371      *"$as_nl"*)
    881513372        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    883413391fi
    883513392
     13393# Support unset when possible.
     13394if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     13395  as_unset=unset
     13396else
     13397  as_unset=false
     13398fi
     13399
    883613400
    883713401# IFS
     
    884313407
    884413408# Find who we are.  Look in the path if we contain no directory separator.
    8845 as_myself=
    8846 case $0 in #((
     13409case $0 in
    884713410  *[\\/]* ) as_myself=$0 ;;
    884813411  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    885113414  IFS=$as_save_IFS
    885213415  test -z "$as_dir" && as_dir=.
    8853     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    8854   done
     13416  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     13417done
    885513418IFS=$as_save_IFS
    885613419
     
    886413427if test ! -f "$as_myself"; then
    886513428  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    8866   exit 1
    8867 fi
    8868 
    8869 # Unset variables that we do not need and which cause bugs (e.g. in
    8870 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    8871 # suppresses any "Segmentation fault" message there.  '((' could
    8872 # trigger a bug in pdksh 5.2.14.
    8873 for as_var in BASH_ENV ENV MAIL MAILPATH
    8874 do eval test x\${$as_var+set} = xset \
    8875   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     13429  { (exit 1); exit 1; }
     13430fi
     13431
     13432# Work around bugs in pre-3.0 UWIN ksh.
     13433for as_var in ENV MAIL MAILPATH
     13434do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    887613435done
    887713436PS1='$ '
     
    888513444export LANGUAGE
    888613445
    8887 # CDPATH.
    8888 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    8889 
    8890 
    8891 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    8892 # ----------------------------------------
    8893 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    8894 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    8895 # script with STATUS, using 1 if that was 0.
    8896 as_fn_error ()
    8897 {
    8898   as_status=$1; test $as_status -eq 0 && as_status=1
    8899   if test "$4"; then
    8900     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    8901     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    8902   fi
    8903   $as_echo "$as_me: error: $2" >&2
    8904   as_fn_exit $as_status
    8905 } # as_fn_error
    8906 
    8907 
    8908 # as_fn_set_status STATUS
    8909 # -----------------------
    8910 # Set $? to STATUS, without forking.
    8911 as_fn_set_status ()
    8912 {
    8913   return $1
    8914 } # as_fn_set_status
    8915 
    8916 # as_fn_exit STATUS
    8917 # -----------------
    8918 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    8919 as_fn_exit ()
    8920 {
    8921   set +e
    8922   as_fn_set_status $1
    8923   exit $1
    8924 } # as_fn_exit
    8925 
    8926 # as_fn_unset VAR
    8927 # ---------------
    8928 # Portably unset VAR.
    8929 as_fn_unset ()
    8930 {
    8931   { eval $1=; unset $1;}
    8932 }
    8933 as_unset=as_fn_unset
    8934 # as_fn_append VAR VALUE
    8935 # ----------------------
    8936 # Append the text in VALUE to the end of the definition contained in VAR. Take
    8937 # advantage of any shell optimizations that allow amortized linear growth over
    8938 # repeated appends, instead of the typical quadratic growth present in naive
    8939 # implementations.
    8940 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    8941   eval 'as_fn_append ()
    8942   {
    8943     eval $1+=\$2
    8944   }'
    8945 else
    8946   as_fn_append ()
    8947   {
    8948     eval $1=\$$1\$2
    8949   }
    8950 fi # as_fn_append
    8951 
    8952 # as_fn_arith ARG...
    8953 # ------------------
    8954 # Perform arithmetic evaluation on the ARGs, and store the result in the
    8955 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    8956 # must be portable across $(()) and expr.
    8957 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    8958   eval 'as_fn_arith ()
    8959   {
    8960     as_val=$(( $* ))
    8961   }'
    8962 else
    8963   as_fn_arith ()
    8964   {
    8965     as_val=`expr "$@" || test $? -eq 1`
    8966   }
    8967 fi # as_fn_arith
    8968 
    8969 
     13446# Required to use basename.
    897013447if expr a : '\(a\)' >/dev/null 2>&1 &&
    897113448   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    898113458fi
    898213459
    8983 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    8984   as_dirname=dirname
    8985 else
    8986   as_dirname=false
    8987 fi
    8988 
     13460
     13461# Name of the executable.
    898913462as_me=`$as_basename -- "$0" ||
    899013463$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    900613479          s/.*/./; q'`
    900713480
    9008 # Avoid depending upon Character Ranges.
    9009 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    9010 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    9011 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    9012 as_cr_digits='0123456789'
    9013 as_cr_alnum=$as_cr_Letters$as_cr_digits
     13481# CDPATH.
     13482$as_unset CDPATH
     13483
     13484
     13485
     13486  as_lineno_1=$LINENO
     13487  as_lineno_2=$LINENO
     13488  test "x$as_lineno_1" != "x$as_lineno_2" &&
     13489  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     13490
     13491  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     13492  # uniformly replaced by the line number.  The first 'sed' inserts a
     13493  # line-number line after each line using $LINENO; the second 'sed'
     13494  # does the real work.  The second script uses 'N' to pair each
     13495  # line-number line with the line containing $LINENO, and appends
     13496  # trailing '-' during substitution so that $LINENO is not a special
     13497  # case at line end.
     13498  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     13499  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     13500  # E. McMahon (1931-1989) for sed's syntax.  :-)
     13501  sed -n '
     13502    p
     13503    /[$]LINENO/=
     13504  ' <$as_myself |
     13505    sed '
     13506      s/[$]LINENO.*/&-/
     13507      t lineno
     13508      b
     13509      :lineno
     13510      N
     13511      :loop
     13512      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     13513      t loop
     13514      s/-\n.*//
     13515    ' >$as_me.lineno &&
     13516  chmod +x "$as_me.lineno" ||
     13517    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     13518   { (exit 1); exit 1; }; }
     13519
     13520  # Don't try to exec as it changes $[0], causing all sort of problems
     13521  # (the dirname of $[0] is not the place where we might find the
     13522  # original and so on.  Autoconf is especially sensitive to this).
     13523  . "./$as_me.lineno"
     13524  # Exit status is that of the last command.
     13525  exit
     13526}
     13527
     13528
     13529if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     13530  as_dirname=dirname
     13531else
     13532  as_dirname=false
     13533fi
    901413534
    901513535ECHO_C= ECHO_N= ECHO_T=
    9016 case `echo -n x` in #(((((
     13536case `echo -n x` in
    901713537-n*)
    9018   case `echo 'xy\c'` in
     13538  case `echo 'x\c'` in
    901913539  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    9020   xy)  ECHO_C='\c';;
    9021   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    9022        ECHO_T=' ';;
     13540  *)   ECHO_C='\c';;
    902313541  esac;;
    902413542*)
    902513543  ECHO_N='-n';;
    902613544esac
     13545if expr a : '\(a\)' >/dev/null 2>&1 &&
     13546   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     13547  as_expr=expr
     13548else
     13549  as_expr=false
     13550fi
    902713551
    902813552rm -f conf$$ conf$$.exe conf$$.file
     
    905313577rmdir conf$$.dir 2>/dev/null
    905413578
    9055 
    9056 # as_fn_mkdir_p
    9057 # -------------
    9058 # Create "$as_dir" as a directory, including parents if necessary.
    9059 as_fn_mkdir_p ()
    9060 {
    9061 
    9062   case $as_dir in #(
    9063   -*) as_dir=./$as_dir;;
    9064   esac
    9065   test -d "$as_dir" || eval $as_mkdir_p || {
    9066     as_dirs=
    9067     while :; do
    9068       case $as_dir in #(
    9069       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    9070       *) as_qdir=$as_dir;;
    9071       esac
    9072       as_dirs="'$as_qdir' $as_dirs"
    9073       as_dir=`$as_dirname -- "$as_dir" ||
    9074 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    9075          X"$as_dir" : 'X\(//\)[^/]' \| \
    9076          X"$as_dir" : 'X\(//\)$' \| \
    9077          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    9078 $as_echo X"$as_dir" |
    9079     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    9080             s//\1/
    9081             q
    9082           }
    9083           /^X\(\/\/\)[^/].*/{
    9084             s//\1/
    9085             q
    9086           }
    9087           /^X\(\/\/\)$/{
    9088             s//\1/
    9089             q
    9090           }
    9091           /^X\(\/\).*/{
    9092             s//\1/
    9093             q
    9094           }
    9095           s/.*/./; q'`
    9096       test -d "$as_dir" && break
    9097     done
    9098     test -z "$as_dirs" || eval "mkdir $as_dirs"
    9099   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    9100 
    9101 
    9102 } # as_fn_mkdir_p
    910313579if mkdir -p . 2>/dev/null; then
    9104   as_mkdir_p='mkdir -p "$as_dir"'
     13580  as_mkdir_p=:
    910513581else
    910613582  test -d ./-p && rmdir ./-p
     
    912113597        test -d "$1/.";
    912213598      else
    9123         case $1 in #(
     13599        case $1 in
    912413600        -*)set "./$1";;
    912513601        esac;
    9126         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     13602        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    912713603        ???[sx]*):;;*)false;;esac;fi
    912813604    '\'' sh
     
    913913615
    914013616exec 6>&1
    9141 ## ----------------------------------- ##
    9142 ## Main body of $CONFIG_STATUS script. ##
    9143 ## ----------------------------------- ##
    9144 _ASEOF
    9145 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
    9146 
    9147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9148 # Save the log message, to keep $0 and so on meaningful, and to
     13617
     13618# Save the log message, to keep $[0] and so on meaningful, and to
    914913619# report actual input values of CONFIG_FILES etc. instead of their
    915013620# values after options handling.
    915113621ac_log="
    915213622This file was extended by vizservers $as_me 0.1, which was
    9153 generated by GNU Autoconf 2.68.  Invocation command line was
     13623generated by GNU Autoconf 2.63.  Invocation command line was
    915413624
    915513625  CONFIG_FILES    = $CONFIG_FILES
     
    918213652cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    918313653ac_cs_usage="\
    9184 \`$as_me' instantiates files and other configuration actions
    9185 from templates according to the current configuration.  Unless the files
    9186 and actions are specified as TAGs, all are instantiated by default.
    9187 
    9188 Usage: $0 [OPTION]... [TAG]...
     13654\`$as_me' instantiates files from templates according to the
     13655current configuration.
     13656
     13657Usage: $0 [OPTION]... [FILE]...
    918913658
    919013659  -h, --help       print this help, then exit
    919113660  -V, --version    print version number and configuration settings, then exit
    9192       --config     print configuration, then exit
    919313661  -q, --quiet, --silent
    919413662                   do not print progress messages
     
    920613674$config_headers
    920713675
    9208 Report bugs to <rappture@nanohub.org>."
     13676Report bugs to <bug-autoconf@gnu.org>."
    920913677
    921013678_ACEOF
    921113679cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    9212 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    921313680ac_cs_version="\\
    921413681vizservers config.status 0.1
    9215 configured by $0, generated by GNU Autoconf 2.68,
    9216   with options \\"\$ac_cs_config\\"
    9217 
    9218 Copyright (C) 2010 Free Software Foundation, Inc.
     13682configured by $0, generated by GNU Autoconf 2.63,
     13683  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     13684
     13685Copyright (C) 2008 Free Software Foundation, Inc.
    921913686This config.status script is free software; the Free Software Foundation
    922013687gives unlimited permission to copy, distribute and modify it."
     
    923313700do
    923413701  case $1 in
    9235   --*=?*)
     13702  --*=*)
    923613703    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    923713704    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    9238     ac_shift=:
    9239     ;;
    9240   --*=)
    9241     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    9242     ac_optarg=
    924313705    ac_shift=:
    924413706    ;;
     
    925613718  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    925713719    $as_echo "$ac_cs_version"; exit ;;
    9258   --config | --confi | --conf | --con | --co | --c )
    9259     $as_echo "$ac_cs_config"; exit ;;
    926013720  --debug | --debu | --deb | --de | --d | -d )
    926113721    debug=: ;;
     
    926413724    case $ac_optarg in
    926513725    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    9266     '') as_fn_error $? "missing file argument" ;;
    926713726    esac
    9268     as_fn_append CONFIG_FILES " '$ac_optarg'"
     13727    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    926913728    ac_need_defaults=false;;
    927013729  --header | --heade | --head | --hea )
     
    927313732    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    927413733    esac
    9275     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     13734    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
    927613735    ac_need_defaults=false;;
    927713736  --he | --h)
    927813737    # Conflict between --help and --header
    9279     as_fn_error $? "ambiguous option: \`$1'
    9280 Try \`$0 --help' for more information.";;
     13738    { $as_echo "$as_me: error: ambiguous option: $1
     13739Try \`$0 --help' for more information." >&2
     13740   { (exit 1); exit 1; }; };;
    928113741  --help | --hel | -h )
    928213742    $as_echo "$ac_cs_usage"; exit ;;
     
    928613746
    928713747  # This is an error.
    9288   -*) as_fn_error $? "unrecognized option: \`$1'
    9289 Try \`$0 --help' for more information." ;;
    9290 
    9291   *) as_fn_append ac_config_targets " $1"
     13748  -*) { $as_echo "$as_me: error: unrecognized option: $1
     13749Try \`$0 --help' for more information." >&2
     13750   { (exit 1); exit 1; }; } ;;
     13751
     13752  *) ac_config_targets="$ac_config_targets $1"
    929213753     ac_need_defaults=false ;;
    929313754
     
    935413815    "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;;
    935513816
    9356   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     13817  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     13818$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     13819   { (exit 1); exit 1; }; };;
    935713820  esac
    935813821done
     
    937613839$debug ||
    937713840{
    9378   tmp= ac_tmp=
     13841  tmp=
    937913842  trap 'exit_status=$?
    9380   : "${ac_tmp:=$tmp}"
    9381   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     13843  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    938213844' 0
    9383   trap 'as_fn_exit 1' 1 2 13 15
     13845  trap '{ (exit 1); exit 1; }' 1 2 13 15
    938413846}
    938513847# Create a (secure) tmp directory for tmp files.
     
    938713849{
    938813850  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    9389   test -d "$tmp"
     13851  test -n "$tmp" && test -d "$tmp"
    939013852}  ||
    939113853{
    939213854  tmp=./conf$$-$RANDOM
    939313855  (umask 077 && mkdir "$tmp")
    9394 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    9395 ac_tmp=$tmp
     13856} ||
     13857{
     13858   $as_echo "$as_me: cannot create a temporary directory in ." >&2
     13859   { (exit 1); exit 1; }
     13860}
    939613861
    939713862# Set up the scripts for CONFIG_FILES section.
     
    940113866
    940213867
    9403 ac_cr=`echo X | tr X '\015'`
    9404 # On cygwin, bash can eat \r inside `` if the user requested igncr.
    9405 # But we know of no other shell where ac_cr would be empty at this
    9406 # point, so we can use a bashism as a fallback.
    9407 if test "x$ac_cr" = x; then
    9408   eval ac_cr=\$\'\\r\'
    9409 fi
     13868ac_cr='
     13869'
    941013870ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    941113871if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    941513875fi
    941613876
    9417 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     13877echo 'BEGIN {' >"$tmp/subs1.awk" &&
    941813878_ACEOF
    941913879
     
    942413884  echo "_ACEOF"
    942513885} >conf$$subs.sh ||
    9426   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    9427 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     13886  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     13887$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     13888   { (exit 1); exit 1; }; }
     13889ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    942813890ac_delim='%!_!# '
    942913891for ac_last_try in false false false false false :; do
    943013892  . ./conf$$subs.sh ||
    9431     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     13893    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     13894$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     13895   { (exit 1); exit 1; }; }
    943213896
    943313897  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    943513899    break
    943613900  elif $ac_last_try; then
    9437     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     13901    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     13902$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     13903   { (exit 1); exit 1; }; }
    943813904  else
    943913905    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    944313909
    944413910cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    9445 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     13911cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    944613912_ACEOF
    944713913sed -n '
     
    945713923:nl
    945813924h
    9459 s/\(.\{148\}\)..*/\1/
     13925s/\(.\{148\}\).*/\1/
    946013926t more1
    946113927s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    947113937:delim
    947213938h
    9473 s/\(.\{148\}\)..*/\1/
     13939s/\(.\{148\}\).*/\1/
    947413940t more2
    947513941s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    949113957cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    949213958_ACAWK
    9493 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     13959cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    949413960  for (key in S) S_is_set[key] = 1
    949513961  FS = ""
     
    952313989else
    952413990  cat
    9525 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
    9526   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    9527 _ACEOF
    9528 
    9529 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    9530 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     13991fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     13992  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     13993$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     13994   { (exit 1); exit 1; }; }
     13995_ACEOF
     13996
     13997# VPATH may cause trouble with some makes, so we remove $(srcdir),
     13998# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    953113999# trailing colons and then remove the whole line if VPATH becomes empty
    953214000# (actually we leave an empty line to preserve line numbers).
    953314001if test "x$srcdir" = x.; then
    9534   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
    9535 h
    9536 s///
    9537 s/^/:/
    9538 s/[      ]*$/:/
    9539 s/:\$(srcdir):/:/g
    9540 s/:\${srcdir}:/:/g
    9541 s/:@srcdir@:/:/g
    9542 s/^:*//
     14002  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     14003s/:*\$(srcdir):*/:/
     14004s/:*\${srcdir}:*/:/
     14005s/:*@srcdir@:*/:/
     14006s/^\([^=]*=[     ]*\):*/\1/
    954314007s/:*$//
    9544 x
    9545 s/\(=[   ]*\).*/\1/
    9546 G
    9547 s/\n//
    954814008s/^[^=]*=[       ]*$//
    954914009}'
     
    955714017# This happens for instance with `./config.status Makefile'.
    955814018if test -n "$CONFIG_HEADERS"; then
    9559 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     14019cat >"$tmp/defines.awk" <<\_ACAWK ||
    956014020BEGIN {
    956114021_ACEOF
     
    956914029ac_delim='%!_!# '
    957014030for ac_last_try in false false :; do
    9571   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
    9572   if test -z "$ac_tt"; then
     14031  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     14032  if test -z "$ac_t"; then
    957314033    break
    957414034  elif $ac_last_try; then
    9575     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     14035    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     14036$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     14037   { (exit 1); exit 1; }; }
    957614038  else
    957714039    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    965814120_ACEOF
    965914121cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9660   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     14122  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     14123$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     14124   { (exit 1); exit 1; }; }
    966114125fi # test -n "$CONFIG_HEADERS"
    966214126
     
    967114135  case $ac_mode$ac_tag in
    967214136  :[FHL]*:*);;
    9673   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     14137  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     14138$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     14139   { (exit 1); exit 1; }; };;
    967414140  :[FH]-) ac_tag=-:-;;
    967514141  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    969014156    do
    969114157      case $ac_f in
    9692       -) ac_f="$ac_tmp/stdin";;
     14158      -) ac_f="$tmp/stdin";;
    969314159      *) # Look for the file first in the build tree, then in the source tree
    969414160         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    969914165           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    970014166           esac ||
    9701            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     14167           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     14168$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     14169   { (exit 1); exit 1; }; };;
    970214170      esac
    970314171      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    9704       as_fn_append ac_file_inputs " '$ac_f'"
     14172      ac_file_inputs="$ac_file_inputs '$ac_f'"
    970514173    done
    970614174
     
    971314181    if test x"$ac_file" != x-; then
    971414182      configure_input="$ac_file.  $configure_input"
    9715       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     14183      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    971614184$as_echo "$as_me: creating $ac_file" >&6;}
    971714185    fi
     
    972514193
    972614194    case $ac_tag in
    9727     *:-:* | *:-) cat >"$ac_tmp/stdin" \
    9728       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     14195    *:-:* | *:-) cat >"$tmp/stdin" \
     14196      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14197$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14198   { (exit 1); exit 1; }; } ;;
    972914199    esac
    973014200    ;;
     
    975414224          }
    975514225          s/.*/./; q'`
    9756   as_dir="$ac_dir"; as_fn_mkdir_p
     14226  { as_dir="$ac_dir"
     14227  case $as_dir in #(
     14228  -*) as_dir=./$as_dir;;
     14229  esac
     14230  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     14231    as_dirs=
     14232    while :; do
     14233      case $as_dir in #(
     14234      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     14235      *) as_qdir=$as_dir;;
     14236      esac
     14237      as_dirs="'$as_qdir' $as_dirs"
     14238      as_dir=`$as_dirname -- "$as_dir" ||
     14239$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     14240         X"$as_dir" : 'X\(//\)[^/]' \| \
     14241         X"$as_dir" : 'X\(//\)$' \| \
     14242         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     14243$as_echo X"$as_dir" |
     14244    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     14245            s//\1/
     14246            q
     14247          }
     14248          /^X\(\/\/\)[^/].*/{
     14249            s//\1/
     14250            q
     14251          }
     14252          /^X\(\/\/\)$/{
     14253            s//\1/
     14254            q
     14255          }
     14256          /^X\(\/\).*/{
     14257            s//\1/
     14258            q
     14259          }
     14260          s/.*/./; q'`
     14261      test -d "$as_dir" && break
     14262    done
     14263    test -z "$as_dirs" || eval "mkdir $as_dirs"
     14264  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     14265$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
     14266   { (exit 1); exit 1; }; }; }
    975714267  ac_builddir=.
    975814268
     
    981114321# FIXME: This hack should be removed a few years after 2.60.
    981214322ac_datarootdir_hack=; ac_datarootdir_seen=
     14323
    981314324ac_sed_dataroot='
    981414325/datarootdir/ {
     
    982014331/@infodir@/p
    982114332/@localedir@/p
    9822 /@mandir@/p'
     14333/@mandir@/p
     14334'
    982314335case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    982414336*datarootdir*) ac_datarootdir_seen=yes;;
    982514337*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    9826   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     14338  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    982714339$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    982814340_ACEOF
     
    983414346  s&@localedir@&$localedir&g
    983514347  s&@mandir@&$mandir&g
    9836   s&\\\${datarootdir}&$datarootdir&g' ;;
     14348    s&\\\${datarootdir}&$datarootdir&g' ;;
    983714349esac
    983814350_ACEOF
     
    986214374$ac_datarootdir_hack
    986314375"
    9864 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
    9865   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     14376eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     14377  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14378$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14379   { (exit 1); exit 1; }; }
    986614380
    986714381test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    9868   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
    9869   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
    9870       "$ac_tmp/out"`; test -z "$ac_out"; } &&
    9871   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9872 which seems to be undefined.  Please make sure it is defined" >&5
     14382  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     14383  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     14384  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     14385which seems to be undefined.  Please make sure it is defined." >&5
    987314386$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9874 which seems to be undefined.  Please make sure it is defined" >&2;}
    9875 
    9876   rm -f "$ac_tmp/stdin"
     14387which seems to be undefined.  Please make sure it is defined." >&2;}
     14388
     14389  rm -f "$tmp/stdin"
    987714390  case $ac_file in
    9878   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
    9879   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     14391  -) cat "$tmp/out" && rm -f "$tmp/out";;
     14392  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    988014393  esac \
    9881   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     14394  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14395$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14396   { (exit 1); exit 1; }; }
    988214397 ;;
    988314398  :H)
     
    988814403    {
    988914404      $as_echo "/* $configure_input  */" \
    9890       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    9891     } >"$ac_tmp/config.h" \
    9892       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    9893     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
    9894       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     14405      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     14406    } >"$tmp/config.h" \
     14407      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14408$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14409   { (exit 1); exit 1; }; }
     14410    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     14411      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    989514412$as_echo "$as_me: $ac_file is unchanged" >&6;}
    989614413    else
    989714414      rm -f "$ac_file"
    9898       mv "$ac_tmp/config.h" "$ac_file" \
    9899         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     14415      mv "$tmp/config.h" "$ac_file" \
     14416        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14417$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14418   { (exit 1); exit 1; }; }
    990014419    fi
    990114420  else
    990214421    $as_echo "/* $configure_input  */" \
    9903       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
    9904       || as_fn_error $? "could not create -" "$LINENO" 5
     14422      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     14423      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     14424$as_echo "$as_me: error: could not create -" >&2;}
     14425   { (exit 1); exit 1; }; }
    990514426  fi
    990614427 ;;
     
    991214433
    991314434
    9914 as_fn_exit 0
    9915 _ACEOF
     14435{ (exit 0); exit 0; }
     14436_ACEOF
     14437chmod +x $CONFIG_STATUS
    991614438ac_clean_files=$ac_clean_files_save
    991714439
    991814440test $ac_write_fail = 0 ||
    9919   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
     14441  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     14442$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     14443   { (exit 1); exit 1; }; }
    992014444
    992114445
     
    993814462  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    993914463  # would make configure fail if this is the last instruction.
    9940   $ac_cs_success || as_fn_exit 1
     14464  $ac_cs_success || { (exit 1); exit 1; }
    994114465fi
    994214466if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    9943   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     14467  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    994414468$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    994514469fi
  • trunk/packages/vizservers/configure.in

    r2427 r2439  
    11AC_PREREQ([2.60])
    22AC_INIT(vizservers, 0.1, rappture@nanohub.org)
    3 AC_CONFIG_HEADER(nanovis/nvconf.h nanoscale/config.h)
    4 
    5 with_vtk="yes"
    6 with_vtk_libs=""
    7 with_vtk_includes=""
    8 with_rappture=""
    9 with_tcllib=""
    10 with_rappture="yes"
     3AC_CONFIG_HEADERS([nanovis/nvconf.h nanoscale/config.h])
    114
    125AC_ARG_WITH(
     
    139132fi
    140133
    141 RP2_INCL_DIR=""
    142134RP_DIR=""
    143135AC_MSG_CHECKING([for rappture])
     
    146138    if test -r "$dir/include/rappture2/rappture2.h" -a \
    147139     -r "$dir/lib/librappture.a"; then
    148       RP_INCL_SPEC="-I$dir/include"
    149140      RP_DIR="$dir"
     141      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    150142      RP_LIB_DIR="$dir/lib"
    151143      AC_MSG_RESULT([$dir])
     
    154146  done
    155147else
    156   if test -d "$with_rappture" ; then
     148  if test ! -d "$with_rappture" ; then
    157149    AC_MSG_ERROR([--with-rappture: no such directory $with_rappture])
    158150  fi
    159   RP_LIB=$with_rappture
    160   RP_INCL_SPEC="-I$with_rappture/include"
     151  RP_DIR=$with_rappture
     152  RP_INC_SPEC="-I$with_rappture/include -I$with_rappture/include/rappture2"
    161153  RP_LIB_DIR="$with_rappture/lib"
    162154fi
     
    197189save_CPPFLAGS=$CPPFLAGS
    198190CPPFLAGS=$VTK_INC_SPEC
    199 AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_ERROR([cannot find VTK includes])])
     191AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_WARN([cannot find vtkSmartPointer.h])])
    200192CPPFLAGS=$save_CPPFLAGS
    201193
     
    207199AC_CHECK_HEADERS([stdio.h unistd.h stdlib.h string.h sys/types.h])
    208200AC_CHECK_HEADERS([sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h])
     201
     202AC_CHECK_FUNCS([accept4])
    209203
    210204AC_MSG_CHECKING([for OpenDX headers])
     
    221215done
    222216if test "x${DX_INC_DIR}" = "x" ; then
    223   AC_MSG_ERROR([cannot find OpenDX include files])
    224 fi
    225 
    226 if test "${DX_INC_DIR}" = "/usr/include" ; then
     217  AC_MSG_WARN([cannot find OpenDX include files])
     218  DX_INC_SPEC=""
     219elif test "${DX_INC_DIR}" = "/usr/include" ; then
    227220  DX_INC_SPEC=""
    228221else
     
    232225
    233226DX_LIB_DIR=""
    234 found=no
    235227for dir in \
    236228 /usr/lib \
     
    251243  fi
    252244done
    253 if test "x{$DX_LIB_DIR}" = "x" ; then
    254   AC_MSG_ERROR([cannot find OpenDX libraries])
     245if test "x${DX_LIB_DIR}" = "x" ; then
     246  AC_MSG_WARN([cannot find OpenDX libraries])
    255247fi
    256248
    257249AC_MSG_CHECKING([for libDXcallm library])
    258 if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
     250if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
    259251  DX_LIB_SPEC=""
    260252else
     
    264256
    265257AC_CHECK_HEADERS([opencv/cv.h opencv/highgui.h])
    266 AC_CHECK_LIB([cv], [cvLoadImage])
     258AC_CHECK_LIB([highgui], [cvLoadImage])
    267259
    268260save_CPPFLAGS=$CPPFLAGS
     
    311303CG_LIB_DIR="$dir/lib"
    312304
    313 echo CGDIR=$CG_DIR
    314305save_CPPFLAGS=$CPPFLAGS
    315306CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS"
    316 AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_ERROR([cannot find nVidia Cg headers]))
     307AC_CHECK_HEADERS([Cg/cgGL.h], [], AC_MSG_WARN([cannot find nVidia Cg headers]))
    317308CPPFLAGS=$save_CPPFLAGS
    318309
Note: See TracChangeset for help on using the changeset viewer.