Ignore:
Timestamp:
Jul 14, 2010 7:07:44 PM (14 years ago)
Author:
gah
Message:
 
Location:
branches/blt4/packages/vizservers
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/packages/vizservers/configure

    r1571 r1823  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.65 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
     7#
    78# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     9# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
     10# Inc.
     11#
     12#
    913# This configure script is free software; the Free Software Foundation
    1014# gives unlimited permission to copy, distribute and modify it.
    11 ## --------------------- ##
    12 ## M4sh Initialization.  ##
    13 ## --------------------- ##
     15## -------------------- ##
     16## M4sh Initialization. ##
     17## -------------------- ##
    1418
    1519# Be more Bourne compatible
    1620DUALCASE=1; export DUALCASE # for MKS sh
    17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     21if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    1822  emulate sh
    1923  NULLCMD=:
     
    2327  setopt NO_GLOB_SUBST
    2428else
    25   case `(set -o) 2>/dev/null` in
    26   *posix*) set -o posix ;;
     29  case `(set -o) 2>/dev/null` in #(
     30  *posix*) :
     31    set -o posix ;; #(
     32  *) :
     33     ;;
    2734esac
    28 
    29 fi
    30 
    31 
    32 
    33 
    34 # PATH needs CR
    35 # Avoid depending upon Character Ranges.
    36 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    37 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    38 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    39 as_cr_digits='0123456789'
    40 as_cr_alnum=$as_cr_Letters$as_cr_digits
     35fi
     36
    4137
    4238as_nl='
     
    4743as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4844as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     45# Prefer a ksh shell builtin over an external printf program on Solaris,
     46# but without wasting forks for bash or zsh.
     47if 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 --'
     51elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5052  as_echo='printf %s\n'
    5153  as_echo_n='printf %s'
     
    5860    as_echo_n_body='eval
    5961      arg=$1;
    60       case $arg in
     62      case $arg in #(
    6163      *"$as_nl"*)
    6264        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8183fi
    8284
    83 # Support unset when possible.
    84 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    85   as_unset=unset
    86 else
    87   as_unset=false
    88 fi
    89 
    9085
    9186# IFS
     
    9792
    9893# Find who we are.  Look in the path if we contain no directory separator.
    99 case $0 in
     94case $0 in #((
    10095  *[\\/]* ) as_myself=$0 ;;
    10196  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    10499  IFS=$as_save_IFS
    105100  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     101    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     102  done
    108103IFS=$as_save_IFS
    109104
     
    117112if test ! -f "$as_myself"; then
    118113  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    119   { (exit 1); exit 1; }
    120 fi
    121 
    122 # Work around bugs in pre-3.0 UWIN ksh.
    123 for as_var in ENV MAIL MAILPATH
    124 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     114  exit 1
     115fi
     116
     117# Unset variables that we do not need and which cause bugs (e.g. in
     118# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     119# suppresses any "Segmentation fault" message there.  '((' could
     120# trigger a bug in pdksh 5.2.14.
     121for as_var in BASH_ENV ENV MAIL MAILPATH
     122do eval test x\${$as_var+set} = xset \
     123  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125124done
    126125PS1='$ '
     
    134133export LANGUAGE
    135134
    136 # Required to use basename.
     135# CDPATH.
     136(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     137
     138if test "x$CONFIG_SHELL" = x; then
     139  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     140  emulate sh
     141  NULLCMD=:
     142  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     143  # is contrary to our usage.  Disable this feature.
     144  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     145  setopt NO_GLOB_SUBST
     146else
     147  case \`(set -o) 2>/dev/null\` in #(
     148  *posix*) :
     149    set -o posix ;; #(
     150  *) :
     151     ;;
     152esac
     153fi
     154"
     155  as_required="as_fn_return () { (exit \$1); }
     156as_fn_success () { as_fn_return 0; }
     157as_fn_failure () { as_fn_return 1; }
     158as_fn_ret_success () { return 0; }
     159as_fn_ret_failure () { return 1; }
     160
     161exitcode=0
     162as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     163as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     164as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     165as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     166if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     167
     168else
     169  exitcode=1; echo positional parameters were not saved.
     170fi
     171test x\$exitcode = x0 || exit 1"
     172  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     173  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     174  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     175  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     176test \$(( 1 + 1 )) = 2 || exit 1"
     177  if (eval "$as_required") 2>/dev/null; then :
     178  as_have_required=yes
     179else
     180  as_have_required=no
     181fi
     182  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     183
     184else
     185  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     186as_found=false
     187for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     188do
     189  IFS=$as_save_IFS
     190  test -z "$as_dir" && as_dir=.
     191  as_found=:
     192  case $as_dir in #(
     193         /*)
     194           for as_base in sh bash ksh sh5; do
     195             # Try only shells that exist, to save several forks.
     196             as_shell=$as_dir/$as_base
     197             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     198                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     199  CONFIG_SHELL=$as_shell as_have_required=yes
     200                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     201  break 2
     202fi
     203fi
     204           done;;
     205       esac
     206  as_found=false
     207done
     208$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     209              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     210  CONFIG_SHELL=$SHELL as_have_required=yes
     211fi; }
     212IFS=$as_save_IFS
     213
     214
     215      if test "x$CONFIG_SHELL" != x; then :
     216  # We cannot yet assume a decent shell, so we have to provide a
     217        # neutralization value for shells without unset; and this also
     218        # works around shells that cannot unset nonexistent variables.
     219        BASH_ENV=/dev/null
     220        ENV=/dev/null
     221        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     222        export CONFIG_SHELL
     223        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     224fi
     225
     226    if test x$as_have_required = xno; then :
     227  $as_echo "$0: This script requires a shell more modern than all"
     228  $as_echo "$0: the shells that I found on your system."
     229  if test x${ZSH_VERSION+set} = xset ; then
     230    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     231    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     232  else
     233    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     234$0: rappture@nanohub.org about your system, including any
     235$0: error possibly output before this message. Then install
     236$0: a modern shell, or manually run the script under such a
     237$0: shell if you do have one."
     238  fi
     239  exit 1
     240fi
     241fi
     242fi
     243SHELL=${CONFIG_SHELL-/bin/sh}
     244export SHELL
     245# Unset more variables known to interfere with behavior of common tools.
     246CLICOLOR_FORCE= GREP_OPTIONS=
     247unset CLICOLOR_FORCE GREP_OPTIONS
     248
     249## --------------------- ##
     250## M4sh Shell Functions. ##
     251## --------------------- ##
     252# as_fn_unset VAR
     253# ---------------
     254# Portably unset VAR.
     255as_fn_unset ()
     256{
     257  { eval $1=; unset $1;}
     258}
     259as_unset=as_fn_unset
     260
     261# as_fn_set_status STATUS
     262# -----------------------
     263# Set $? to STATUS, without forking.
     264as_fn_set_status ()
     265{
     266  return $1
     267} # as_fn_set_status
     268
     269# as_fn_exit STATUS
     270# -----------------
     271# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     272as_fn_exit ()
     273{
     274  set +e
     275  as_fn_set_status $1
     276  exit $1
     277} # as_fn_exit
     278
     279# as_fn_mkdir_p
     280# -------------
     281# Create "$as_dir" as a directory, including parents if necessary.
     282as_fn_mkdir_p ()
     283{
     284
     285  case $as_dir in #(
     286  -*) as_dir=./$as_dir;;
     287  esac
     288  test -d "$as_dir" || eval $as_mkdir_p || {
     289    as_dirs=
     290    while :; do
     291      case $as_dir in #(
     292      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     293      *) as_qdir=$as_dir;;
     294      esac
     295      as_dirs="'$as_qdir' $as_dirs"
     296      as_dir=`$as_dirname -- "$as_dir" ||
     297$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     298         X"$as_dir" : 'X\(//\)[^/]' \| \
     299         X"$as_dir" : 'X\(//\)$' \| \
     300         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     301$as_echo X"$as_dir" |
     302    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     303            s//\1/
     304            q
     305          }
     306          /^X\(\/\/\)[^/].*/{
     307            s//\1/
     308            q
     309          }
     310          /^X\(\/\/\)$/{
     311            s//\1/
     312            q
     313          }
     314          /^X\(\/\).*/{
     315            s//\1/
     316            q
     317          }
     318          s/.*/./; q'`
     319      test -d "$as_dir" && break
     320    done
     321    test -z "$as_dirs" || eval "mkdir $as_dirs"
     322  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     323
     324
     325} # as_fn_mkdir_p
     326# as_fn_append VAR VALUE
     327# ----------------------
     328# Append the text in VALUE to the end of the definition contained in VAR. Take
     329# advantage of any shell optimizations that allow amortized linear growth over
     330# repeated appends, instead of the typical quadratic growth present in naive
     331# implementations.
     332if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     333  eval 'as_fn_append ()
     334  {
     335    eval $1+=\$2
     336  }'
     337else
     338  as_fn_append ()
     339  {
     340    eval $1=\$$1\$2
     341  }
     342fi # as_fn_append
     343
     344# as_fn_arith ARG...
     345# ------------------
     346# Perform arithmetic evaluation on the ARGs, and store the result in the
     347# global $as_val. Take advantage of shells that can avoid forks. The arguments
     348# must be portable across $(()) and expr.
     349if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     350  eval 'as_fn_arith ()
     351  {
     352    as_val=$(( $* ))
     353  }'
     354else
     355  as_fn_arith ()
     356  {
     357    as_val=`expr "$@" || test $? -eq 1`
     358  }
     359fi # as_fn_arith
     360
     361
     362# as_fn_error ERROR [LINENO LOG_FD]
     363# ---------------------------------
     364# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     365# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     366# script with status $?, using 1 if that was 0.
     367as_fn_error ()
     368{
     369  as_status=$?; test $as_status -eq 0 && as_status=1
     370  if test "$3"; then
     371    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     372    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     373  fi
     374  $as_echo "$as_me: error: $1" >&2
     375  as_fn_exit $as_status
     376} # as_fn_error
     377
    137378if expr a : '\(a\)' >/dev/null 2>&1 &&
    138379   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148389fi
    149390
    150 
    151 # Name of the executable.
     391if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     392  as_dirname=dirname
     393else
     394  as_dirname=false
     395fi
     396
    152397as_me=`$as_basename -- "$0" ||
    153398$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169414          s/.*/./; q'`
    170415
    171 # CDPATH.
    172 $as_unset CDPATH
    173 
    174 
    175 if test "x$CONFIG_SHELL" = x; then
    176   if (eval ":") 2>/dev/null; then
    177   as_have_required=yes
    178 else
    179   as_have_required=no
    180 fi
    181 
    182   if test $as_have_required = yes &&     (eval ":
    183 (as_func_return () {
    184   (exit \$1)
    185 }
    186 as_func_success () {
    187   as_func_return 0
    188 }
    189 as_func_failure () {
    190   as_func_return 1
    191 }
    192 as_func_ret_success () {
    193   return 0
    194 }
    195 as_func_ret_failure () {
    196   return 1
    197 }
    198 
    199 exitcode=0
    200 if as_func_success; then
    201   :
    202 else
    203   exitcode=1
    204   echo as_func_success failed.
    205 fi
    206 
    207 if as_func_failure; then
    208   exitcode=1
    209   echo as_func_failure succeeded.
    210 fi
    211 
    212 if as_func_ret_success; then
    213   :
    214 else
    215   exitcode=1
    216   echo as_func_ret_success failed.
    217 fi
    218 
    219 if as_func_ret_failure; then
    220   exitcode=1
    221   echo as_func_ret_failure succeeded.
    222 fi
    223 
    224 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    225   :
    226 else
    227   exitcode=1
    228   echo positional parameters were not saved.
    229 fi
    230 
    231 test \$exitcode = 0) || { (exit 1); exit 1; }
    232 
    233 (
    234   as_lineno_1=\$LINENO
    235   as_lineno_2=\$LINENO
    236   test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
    237   test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
    238 ") 2> /dev/null; then
    239   :
    240 else
    241   as_candidate_shells=
    242     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    243 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    244 do
    245   IFS=$as_save_IFS
    246   test -z "$as_dir" && as_dir=.
    247   case $as_dir in
    248          /*)
    249            for as_base in sh bash ksh sh5; do
    250              as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
    251            done;;
    252        esac
    253 done
    254 IFS=$as_save_IFS
    255 
    256 
    257       for as_shell in $as_candidate_shells $SHELL; do
    258          # Try only shells that exist, to save several forks.
    259          if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    260                 { ("$as_shell") 2> /dev/null <<\_ASEOF
    261 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    262   emulate sh
    263   NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    265   # is contrary to our usage.  Disable this feature.
    266   alias -g '${1+"$@"}'='"$@"'
    267   setopt NO_GLOB_SUBST
    268 else
    269   case `(set -o) 2>/dev/null` in
    270   *posix*) set -o posix ;;
    271 esac
    272 
    273 fi
    274 
    275 
    276 :
    277 _ASEOF
    278 }; then
    279   CONFIG_SHELL=$as_shell
    280                as_have_required=yes
    281                if { "$as_shell" 2> /dev/null <<\_ASEOF
    282 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    283   emulate sh
    284   NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
    286   # is contrary to our usage.  Disable this feature.
    287   alias -g '${1+"$@"}'='"$@"'
    288   setopt NO_GLOB_SUBST
    289 else
    290   case `(set -o) 2>/dev/null` in
    291   *posix*) set -o posix ;;
    292 esac
    293 
    294 fi
    295 
    296 
    297 :
    298 (as_func_return () {
    299   (exit $1)
    300 }
    301 as_func_success () {
    302   as_func_return 0
    303 }
    304 as_func_failure () {
    305   as_func_return 1
    306 }
    307 as_func_ret_success () {
    308   return 0
    309 }
    310 as_func_ret_failure () {
    311   return 1
    312 }
    313 
    314 exitcode=0
    315 if as_func_success; then
    316   :
    317 else
    318   exitcode=1
    319   echo as_func_success failed.
    320 fi
    321 
    322 if as_func_failure; then
    323   exitcode=1
    324   echo as_func_failure succeeded.
    325 fi
    326 
    327 if as_func_ret_success; then
    328   :
    329 else
    330   exitcode=1
    331   echo as_func_ret_success failed.
    332 fi
    333 
    334 if as_func_ret_failure; then
    335   exitcode=1
    336   echo as_func_ret_failure succeeded.
    337 fi
    338 
    339 if ( set x; as_func_ret_success y && test x = "$1" ); then
    340   :
    341 else
    342   exitcode=1
    343   echo positional parameters were not saved.
    344 fi
    345 
    346 test $exitcode = 0) || { (exit 1); exit 1; }
    347 
    348 (
    349   as_lineno_1=$LINENO
    350   as_lineno_2=$LINENO
    351   test "x$as_lineno_1" != "x$as_lineno_2" &&
    352   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
    353 
    354 _ASEOF
    355 }; then
    356   break
    357 fi
    358 
    359 fi
    360 
    361       done
    362 
    363       if test "x$CONFIG_SHELL" != x; then
    364   for as_var in BASH_ENV ENV
    365         do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    366         done
    367         export CONFIG_SHELL
    368         exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369 fi
    370 
    371 
    372     if test $as_have_required = no; then
    373   echo This script requires a shell more modern than all the
    374       echo shells that I found on your system.  Please install a
    375       echo modern shell, or manually run the script under such a
    376       echo shell if you do have one.
    377       { (exit 1); exit 1; }
    378 fi
    379 
    380 
    381 fi
    382 
    383 fi
    384 
    385 
    386 
    387 (eval "as_func_return () {
    388   (exit \$1)
    389 }
    390 as_func_success () {
    391   as_func_return 0
    392 }
    393 as_func_failure () {
    394   as_func_return 1
    395 }
    396 as_func_ret_success () {
    397   return 0
    398 }
    399 as_func_ret_failure () {
    400   return 1
    401 }
    402 
    403 exitcode=0
    404 if as_func_success; then
    405   :
    406 else
    407   exitcode=1
    408   echo as_func_success failed.
    409 fi
    410 
    411 if as_func_failure; then
    412   exitcode=1
    413   echo as_func_failure succeeded.
    414 fi
    415 
    416 if as_func_ret_success; then
    417   :
    418 else
    419   exitcode=1
    420   echo as_func_ret_success failed.
    421 fi
    422 
    423 if as_func_ret_failure; then
    424   exitcode=1
    425   echo as_func_ret_failure succeeded.
    426 fi
    427 
    428 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
    429   :
    430 else
    431   exitcode=1
    432   echo positional parameters were not saved.
    433 fi
    434 
    435 test \$exitcode = 0") || {
    436   echo No shell found that supports shell functions.
    437   echo Please tell bug-autoconf@gnu.org about your system,
    438   echo including any error possibly output before this message.
    439   echo This can help us improve future autoconf versions.
    440   echo Configuration will now proceed without shell functions.
    441 }
    442 
    443 
    444 
    445   as_lineno_1=$LINENO
    446   as_lineno_2=$LINENO
    447   test "x$as_lineno_1" != "x$as_lineno_2" &&
    448   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    449 
    450   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    451   # uniformly replaced by the line number.  The first 'sed' inserts a
    452   # line-number line after each line using $LINENO; the second 'sed'
    453   # does the real work.  The second script uses 'N' to pair each
    454   # line-number line with the line containing $LINENO, and appends
    455   # trailing '-' during substitution so that $LINENO is not a special
    456   # case at line end.
    457   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    458   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    459   # E. McMahon (1931-1989) for sed's syntax.  :-)
     416# Avoid depending upon Character Ranges.
     417as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     418as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     419as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     420as_cr_digits='0123456789'
     421as_cr_alnum=$as_cr_Letters$as_cr_digits
     422
     423
     424  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     425  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     426  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     427  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     428  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460429  sed -n '
    461430    p
     
    474443    ' >$as_me.lineno &&
    475444  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477    { (exit 1); exit 1; }; }
     445    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    478446
    479447  # Don't try to exec as it changes $[0], causing all sort of problems
     
    485453}
    486454
    487 
    488 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    489   as_dirname=dirname
    490 else
    491   as_dirname=false
    492 fi
    493 
    494455ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     456case `echo -n x` in #(((((
    496457-n*)
    497   case `echo 'x\c'` in
     458  case `echo 'xy\c'` in
    498459  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     460  xy)  ECHO_C='\c';;
     461  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     462       ECHO_T=' ';;
    500463  esac;;
    501464*)
    502465  ECHO_N='-n';;
    503466esac
    504 if expr a : '\(a\)' >/dev/null 2>&1 &&
    505    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    506   as_expr=expr
    507 else
    508   as_expr=false
    509 fi
    510467
    511468rm -f conf$$ conf$$.exe conf$$.file
     
    537494
    538495if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     496  as_mkdir_p='mkdir -p "$as_dir"'
    540497else
    541498  test -d ./-p && rmdir ./-p
     
    556513        test -d "$1/.";
    557514      else
    558         case $1 in
     515        case $1 in #(
    559516        -*)set "./$1";;
    560517        esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     518        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    562519        ???[sx]*):;;*)false;;esac;fi
    563520    '\'' sh
     
    573530
    574531
    575 
    576 exec 7<&0 </dev/null 6>&1
     532test -n "$DJDIR" || exec 7<&0 </dev/null
     533exec 6>&1
    577534
    578535# Name of the host.
     
    592549MFLAGS=
    593550MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595551
    596552# Identity of this package.
     
    600556PACKAGE_STRING='vizservers 0.1'
    601557PACKAGE_BUGREPORT='rappture@nanohub.org'
     558PACKAGE_URL=''
    602559
    603560# Factoring default headers for most tests.
     
    724681prefix
    725682exec_prefix
     683PACKAGE_URL
    726684PACKAGE_BUGREPORT
    727685PACKAGE_STRING
     
    862820    # Reject names that are not valid shell variable names.
    863821    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    864       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    865    { (exit 1); exit 1; }; }
     822      as_fn_error "invalid feature name: $ac_useropt"
    866823    ac_useropt_orig=$ac_useropt
    867824    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    889846    # Reject names that are not valid shell variable names.
    890847    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    891       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    892    { (exit 1); exit 1; }; }
     848      as_fn_error "invalid feature name: $ac_useropt"
    893849    ac_useropt_orig=$ac_useropt
    894850    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10941050    # Reject names that are not valid shell variable names.
    10951051    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1096       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1097    { (exit 1); exit 1; }; }
     1052      as_fn_error "invalid package name: $ac_useropt"
    10981053    ac_useropt_orig=$ac_useropt
    10991054    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11111066    # Reject names that are not valid shell variable names.
    11121067    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1113       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1114    { (exit 1); exit 1; }; }
     1068      as_fn_error "invalid package name: $ac_useropt"
    11151069    ac_useropt_orig=$ac_useropt
    11161070    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11421096    x_libraries=$ac_optarg ;;
    11431097
    1144   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1145 Try \`$0 --help' for more information." >&2
    1146    { (exit 1); exit 1; }; }
     1098  -*) as_fn_error "unrecognized option: \`$ac_option'
     1099Try \`$0 --help' for more information."
    11471100    ;;
    11481101
     
    11501103    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11511104    # Reject names that are not valid shell variable names.
    1152     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1153       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1154    { (exit 1); exit 1; }; }
     1105    case $ac_envvar in #(
     1106      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1107      as_fn_error "invalid variable name: \`$ac_envvar'" ;;
     1108    esac
    11551109    eval $ac_envvar=\$ac_optarg
    11561110    export $ac_envvar ;;
     
    11691123if test -n "$ac_prev"; then
    11701124  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1171   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1172    { (exit 1); exit 1; }; }
     1125  as_fn_error "missing argument to $ac_option"
    11731126fi
    11741127
     
    11761129  case $enable_option_checking in
    11771130    no) ;;
    1178     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1179    { (exit 1); exit 1; }; } ;;
     1131    fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
    11801132    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11811133  esac
     
    12001152    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12011153  esac
    1202   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1203    { (exit 1); exit 1; }; }
     1154  as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
    12041155done
    12051156
     
    12311182ac_ls_di=`ls -di .` &&
    12321183ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1233   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1234    { (exit 1); exit 1; }; }
     1184  as_fn_error "working directory cannot be determined"
    12351185test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1236   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1237    { (exit 1); exit 1; }; }
     1186  as_fn_error "pwd does not report name of working directory"
    12381187
    12391188
     
    12741223if test ! -r "$srcdir/$ac_unique_file"; then
    12751224  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1276   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1277    { (exit 1); exit 1; }; }
     1225  as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
    12781226fi
    12791227ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12801228ac_abs_confdir=`(
    1281         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1282    { (exit 1); exit 1; }; }
     1229        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
    12831230        pwd)`
    12841231# When building in place, set srcdir=.
     
    13941341              nonstandard directory <lib dir>
    13951342  LIBS        libraries to pass to the linker, e.g. -l<library>
    1396   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1343  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    13971344              you have headers in a nonstandard directory <include dir>
    13981345  CPP         C preprocessor
     
    14681415  cat <<\_ACEOF
    14691416vizservers configure 0.1
    1470 generated by GNU Autoconf 2.63
    1471 
    1472 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1473 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1417generated by GNU Autoconf 2.65
     1418
     1419Copyright (C) 2009 Free Software Foundation, Inc.
    14741420This configure script is free software; the Free Software Foundation
    14751421gives unlimited permission to copy, distribute and modify it.
     
    14771423  exit
    14781424fi
     1425
     1426## ------------------------ ##
     1427## Autoconf initialization. ##
     1428## ------------------------ ##
     1429
     1430# ac_fn_c_try_compile LINENO
     1431# --------------------------
     1432# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1433ac_fn_c_try_compile ()
     1434{
     1435  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1436  rm -f conftest.$ac_objext
     1437  if { { ac_try="$ac_compile"
     1438case "(($ac_try" in
     1439  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1440  *) ac_try_echo=$ac_try;;
     1441esac
     1442eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1443$as_echo "$ac_try_echo"; } >&5
     1444  (eval "$ac_compile") 2>conftest.err
     1445  ac_status=$?
     1446  if test -s conftest.err; then
     1447    grep -v '^ *+' conftest.err >conftest.er1
     1448    cat conftest.er1 >&5
     1449    mv -f conftest.er1 conftest.err
     1450  fi
     1451  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1452  test $ac_status = 0; } && {
     1453         test -z "$ac_c_werror_flag" ||
     1454         test ! -s conftest.err
     1455       } && test -s conftest.$ac_objext; then :
     1456  ac_retval=0
     1457else
     1458  $as_echo "$as_me: failed program was:" >&5
     1459sed 's/^/| /' conftest.$ac_ext >&5
     1460
     1461        ac_retval=1
     1462fi
     1463  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1464  as_fn_set_status $ac_retval
     1465
     1466} # ac_fn_c_try_compile
     1467
     1468# ac_fn_c_try_link LINENO
     1469# -----------------------
     1470# Try to link conftest.$ac_ext, and return whether this succeeded.
     1471ac_fn_c_try_link ()
     1472{
     1473  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1474  rm -f conftest.$ac_objext conftest$ac_exeext
     1475  if { { ac_try="$ac_link"
     1476case "(($ac_try" in
     1477  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1478  *) ac_try_echo=$ac_try;;
     1479esac
     1480eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1481$as_echo "$ac_try_echo"; } >&5
     1482  (eval "$ac_link") 2>conftest.err
     1483  ac_status=$?
     1484  if test -s conftest.err; then
     1485    grep -v '^ *+' conftest.err >conftest.er1
     1486    cat conftest.er1 >&5
     1487    mv -f conftest.er1 conftest.err
     1488  fi
     1489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1490  test $ac_status = 0; } && {
     1491         test -z "$ac_c_werror_flag" ||
     1492         test ! -s conftest.err
     1493       } && test -s conftest$ac_exeext && {
     1494         test "$cross_compiling" = yes ||
     1495         $as_test_x conftest$ac_exeext
     1496       }; then :
     1497  ac_retval=0
     1498else
     1499  $as_echo "$as_me: failed program was:" >&5
     1500sed 's/^/| /' conftest.$ac_ext >&5
     1501
     1502        ac_retval=1
     1503fi
     1504  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1505  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1506  # interfere with the next link command; also delete a directory that is
     1507  # left behind by Apple's compiler.  We do this before executing the actions.
     1508  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1509  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1510  as_fn_set_status $ac_retval
     1511
     1512} # ac_fn_c_try_link
     1513
     1514# ac_fn_c_try_cpp LINENO
     1515# ----------------------
     1516# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1517ac_fn_c_try_cpp ()
     1518{
     1519  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1520  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1521case "(($ac_try" in
     1522  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1523  *) ac_try_echo=$ac_try;;
     1524esac
     1525eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1526$as_echo "$ac_try_echo"; } >&5
     1527  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1528  ac_status=$?
     1529  if test -s conftest.err; then
     1530    grep -v '^ *+' conftest.err >conftest.er1
     1531    cat conftest.er1 >&5
     1532    mv -f conftest.er1 conftest.err
     1533  fi
     1534  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1535  test $ac_status = 0; } >/dev/null && {
     1536         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1537         test ! -s conftest.err
     1538       }; then :
     1539  ac_retval=0
     1540else
     1541  $as_echo "$as_me: failed program was:" >&5
     1542sed 's/^/| /' conftest.$ac_ext >&5
     1543
     1544    ac_retval=1
     1545fi
     1546  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1547  as_fn_set_status $ac_retval
     1548
     1549} # ac_fn_c_try_cpp
     1550
     1551# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1552# -------------------------------------------------------
     1553# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1554# the include files in INCLUDES and setting the cache variable VAR
     1555# accordingly.
     1556ac_fn_c_check_header_mongrel ()
     1557{
     1558  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1559  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1560  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1561$as_echo_n "checking for $2... " >&6; }
     1562if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1563  $as_echo_n "(cached) " >&6
     1564fi
     1565eval ac_res=\$$3
     1566               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1567$as_echo "$ac_res" >&6; }
     1568else
     1569  # Is the header compilable?
     1570{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1571$as_echo_n "checking $2 usability... " >&6; }
     1572cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1573/* end confdefs.h.  */
     1574$4
     1575#include <$2>
     1576_ACEOF
     1577if ac_fn_c_try_compile "$LINENO"; then :
     1578  ac_header_compiler=yes
     1579else
     1580  ac_header_compiler=no
     1581fi
     1582rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1583{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1584$as_echo "$ac_header_compiler" >&6; }
     1585
     1586# Is the header present?
     1587{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1588$as_echo_n "checking $2 presence... " >&6; }
     1589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1590/* end confdefs.h.  */
     1591#include <$2>
     1592_ACEOF
     1593if ac_fn_c_try_cpp "$LINENO"; then :
     1594  ac_header_preproc=yes
     1595else
     1596  ac_header_preproc=no
     1597fi
     1598rm -f conftest.err conftest.$ac_ext
     1599{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1600$as_echo "$ac_header_preproc" >&6; }
     1601
     1602# So?  What about this header?
     1603case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1604  yes:no: )
     1605    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1606$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1607    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1608$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1609    ;;
     1610  no:yes:* )
     1611    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1612$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1613    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1614$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1615    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1616$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1617    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1618$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1619    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1620$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1621( cat <<\_ASBOX
     1622## ----------------------------------- ##
     1623## Report this to rappture@nanohub.org ##
     1624## ----------------------------------- ##
     1625_ASBOX
     1626     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1627    ;;
     1628esac
     1629  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1630$as_echo_n "checking for $2... " >&6; }
     1631if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1632  $as_echo_n "(cached) " >&6
     1633else
     1634  eval "$3=\$ac_header_compiler"
     1635fi
     1636eval ac_res=\$$3
     1637               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1638$as_echo "$ac_res" >&6; }
     1639fi
     1640  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1641
     1642} # ac_fn_c_check_header_mongrel
     1643
     1644# ac_fn_c_try_run LINENO
     1645# ----------------------
     1646# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1647# that executables *can* be run.
     1648ac_fn_c_try_run ()
     1649{
     1650  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1651  if { { ac_try="$ac_link"
     1652case "(($ac_try" in
     1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1654  *) ac_try_echo=$ac_try;;
     1655esac
     1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1657$as_echo "$ac_try_echo"; } >&5
     1658  (eval "$ac_link") 2>&5
     1659  ac_status=$?
     1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1661  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1662  { { case "(($ac_try" in
     1663  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1664  *) ac_try_echo=$ac_try;;
     1665esac
     1666eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1667$as_echo "$ac_try_echo"; } >&5
     1668  (eval "$ac_try") 2>&5
     1669  ac_status=$?
     1670  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1671  test $ac_status = 0; }; }; then :
     1672  ac_retval=0
     1673else
     1674  $as_echo "$as_me: program exited with status $ac_status" >&5
     1675       $as_echo "$as_me: failed program was:" >&5
     1676sed 's/^/| /' conftest.$ac_ext >&5
     1677
     1678       ac_retval=$ac_status
     1679fi
     1680  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1681  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1682  as_fn_set_status $ac_retval
     1683
     1684} # ac_fn_c_try_run
     1685
     1686# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1687# -------------------------------------------------------
     1688# Tests whether HEADER exists and can be compiled using the include files in
     1689# INCLUDES, setting the cache variable VAR accordingly.
     1690ac_fn_c_check_header_compile ()
     1691{
     1692  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1693  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1694$as_echo_n "checking for $2... " >&6; }
     1695if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1696  $as_echo_n "(cached) " >&6
     1697else
     1698  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1699/* end confdefs.h.  */
     1700$4
     1701#include <$2>
     1702_ACEOF
     1703if ac_fn_c_try_compile "$LINENO"; then :
     1704  eval "$3=yes"
     1705else
     1706  eval "$3=no"
     1707fi
     1708rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1709fi
     1710eval ac_res=\$$3
     1711               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1712$as_echo "$ac_res" >&6; }
     1713  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1714
     1715} # ac_fn_c_check_header_compile
     1716
     1717# ac_fn_cxx_try_compile LINENO
     1718# ----------------------------
     1719# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1720ac_fn_cxx_try_compile ()
     1721{
     1722  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1723  rm -f conftest.$ac_objext
     1724  if { { ac_try="$ac_compile"
     1725case "(($ac_try" in
     1726  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1727  *) ac_try_echo=$ac_try;;
     1728esac
     1729eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1730$as_echo "$ac_try_echo"; } >&5
     1731  (eval "$ac_compile") 2>conftest.err
     1732  ac_status=$?
     1733  if test -s conftest.err; then
     1734    grep -v '^ *+' conftest.err >conftest.er1
     1735    cat conftest.er1 >&5
     1736    mv -f conftest.er1 conftest.err
     1737  fi
     1738  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1739  test $ac_status = 0; } && {
     1740         test -z "$ac_cxx_werror_flag" ||
     1741         test ! -s conftest.err
     1742       } && test -s conftest.$ac_objext; then :
     1743  ac_retval=0
     1744else
     1745  $as_echo "$as_me: failed program was:" >&5
     1746sed 's/^/| /' conftest.$ac_ext >&5
     1747
     1748        ac_retval=1
     1749fi
     1750  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1751  as_fn_set_status $ac_retval
     1752
     1753} # ac_fn_cxx_try_compile
     1754
     1755# ac_fn_cxx_try_cpp LINENO
     1756# ------------------------
     1757# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1758ac_fn_cxx_try_cpp ()
     1759{
     1760  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1761  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1762case "(($ac_try" in
     1763  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1764  *) ac_try_echo=$ac_try;;
     1765esac
     1766eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1767$as_echo "$ac_try_echo"; } >&5
     1768  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1769  ac_status=$?
     1770  if test -s conftest.err; then
     1771    grep -v '^ *+' conftest.err >conftest.er1
     1772    cat conftest.er1 >&5
     1773    mv -f conftest.er1 conftest.err
     1774  fi
     1775  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1776  test $ac_status = 0; } >/dev/null && {
     1777         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1778         test ! -s conftest.err
     1779       }; then :
     1780  ac_retval=0
     1781else
     1782  $as_echo "$as_me: failed program was:" >&5
     1783sed 's/^/| /' conftest.$ac_ext >&5
     1784
     1785    ac_retval=1
     1786fi
     1787  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1788  as_fn_set_status $ac_retval
     1789
     1790} # ac_fn_cxx_try_cpp
     1791
     1792# ac_fn_cxx_try_run LINENO
     1793# ------------------------
     1794# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1795# that executables *can* be run.
     1796ac_fn_cxx_try_run ()
     1797{
     1798  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1799  if { { ac_try="$ac_link"
     1800case "(($ac_try" in
     1801  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1802  *) ac_try_echo=$ac_try;;
     1803esac
     1804eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1805$as_echo "$ac_try_echo"; } >&5
     1806  (eval "$ac_link") 2>&5
     1807  ac_status=$?
     1808  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1809  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1810  { { case "(($ac_try" in
     1811  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1812  *) ac_try_echo=$ac_try;;
     1813esac
     1814eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1815$as_echo "$ac_try_echo"; } >&5
     1816  (eval "$ac_try") 2>&5
     1817  ac_status=$?
     1818  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1819  test $ac_status = 0; }; }; then :
     1820  ac_retval=0
     1821else
     1822  $as_echo "$as_me: program exited with status $ac_status" >&5
     1823       $as_echo "$as_me: failed program was:" >&5
     1824sed 's/^/| /' conftest.$ac_ext >&5
     1825
     1826       ac_retval=$ac_status
     1827fi
     1828  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1829  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1830  as_fn_set_status $ac_retval
     1831
     1832} # ac_fn_cxx_try_run
     1833
     1834# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     1835# ---------------------------------------------------------
     1836# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1837# the include files in INCLUDES and setting the cache variable VAR
     1838# accordingly.
     1839ac_fn_cxx_check_header_mongrel ()
     1840{
     1841  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1842  if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1843  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1844$as_echo_n "checking for $2... " >&6; }
     1845if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1846  $as_echo_n "(cached) " >&6
     1847fi
     1848eval ac_res=\$$3
     1849               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1850$as_echo "$ac_res" >&6; }
     1851else
     1852  # Is the header compilable?
     1853{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1854$as_echo_n "checking $2 usability... " >&6; }
     1855cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1856/* end confdefs.h.  */
     1857$4
     1858#include <$2>
     1859_ACEOF
     1860if ac_fn_cxx_try_compile "$LINENO"; then :
     1861  ac_header_compiler=yes
     1862else
     1863  ac_header_compiler=no
     1864fi
     1865rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1866{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1867$as_echo "$ac_header_compiler" >&6; }
     1868
     1869# Is the header present?
     1870{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1871$as_echo_n "checking $2 presence... " >&6; }
     1872cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1873/* end confdefs.h.  */
     1874#include <$2>
     1875_ACEOF
     1876if ac_fn_cxx_try_cpp "$LINENO"; then :
     1877  ac_header_preproc=yes
     1878else
     1879  ac_header_preproc=no
     1880fi
     1881rm -f conftest.err conftest.$ac_ext
     1882{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1883$as_echo "$ac_header_preproc" >&6; }
     1884
     1885# So?  What about this header?
     1886case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     1887  yes:no: )
     1888    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1889$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1890    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1891$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1892    ;;
     1893  no:yes:* )
     1894    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1895$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1896    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1897$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1898    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1899$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1900    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1901$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1902    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1903$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1904( cat <<\_ASBOX
     1905## ----------------------------------- ##
     1906## Report this to rappture@nanohub.org ##
     1907## ----------------------------------- ##
     1908_ASBOX
     1909     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1910    ;;
     1911esac
     1912  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1913$as_echo_n "checking for $2... " >&6; }
     1914if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1915  $as_echo_n "(cached) " >&6
     1916else
     1917  eval "$3=\$ac_header_compiler"
     1918fi
     1919eval ac_res=\$$3
     1920               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1921$as_echo "$ac_res" >&6; }
     1922fi
     1923  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1924
     1925} # ac_fn_cxx_check_header_mongrel
     1926
     1927# ac_fn_cxx_try_link LINENO
     1928# -------------------------
     1929# Try to link conftest.$ac_ext, and return whether this succeeded.
     1930ac_fn_cxx_try_link ()
     1931{
     1932  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1933  rm -f conftest.$ac_objext conftest$ac_exeext
     1934  if { { ac_try="$ac_link"
     1935case "(($ac_try" in
     1936  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1937  *) ac_try_echo=$ac_try;;
     1938esac
     1939eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1940$as_echo "$ac_try_echo"; } >&5
     1941  (eval "$ac_link") 2>conftest.err
     1942  ac_status=$?
     1943  if test -s conftest.err; then
     1944    grep -v '^ *+' conftest.err >conftest.er1
     1945    cat conftest.er1 >&5
     1946    mv -f conftest.er1 conftest.err
     1947  fi
     1948  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1949  test $ac_status = 0; } && {
     1950         test -z "$ac_cxx_werror_flag" ||
     1951         test ! -s conftest.err
     1952       } && test -s conftest$ac_exeext && {
     1953         test "$cross_compiling" = yes ||
     1954         $as_test_x conftest$ac_exeext
     1955       }; then :
     1956  ac_retval=0
     1957else
     1958  $as_echo "$as_me: failed program was:" >&5
     1959sed 's/^/| /' conftest.$ac_ext >&5
     1960
     1961        ac_retval=1
     1962fi
     1963  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1964  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1965  # interfere with the next link command; also delete a directory that is
     1966  # left behind by Apple's compiler.  We do this before executing the actions.
     1967  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1968  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     1969  as_fn_set_status $ac_retval
     1970
     1971} # ac_fn_cxx_try_link
     1972
     1973# ac_fn_cxx_check_func LINENO FUNC VAR
     1974# ------------------------------------
     1975# Tests whether FUNC exists, setting the cache variable VAR accordingly
     1976ac_fn_cxx_check_func ()
     1977{
     1978  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1979  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1980$as_echo_n "checking for $2... " >&6; }
     1981if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
     1982  $as_echo_n "(cached) " >&6
     1983else
     1984  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1985/* end confdefs.h.  */
     1986/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     1987   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     1988#define $2 innocuous_$2
     1989
     1990/* System header to define __stub macros and hopefully few prototypes,
     1991    which can conflict with char $2 (); below.
     1992    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     1993    <limits.h> exists even on freestanding compilers.  */
     1994
     1995#ifdef __STDC__
     1996# include <limits.h>
     1997#else
     1998# include <assert.h>
     1999#endif
     2000
     2001#undef $2
     2002
     2003/* Override any GCC internal prototype to avoid an error.
     2004   Use char because int might match the return type of a GCC
     2005   builtin and then its argument prototype would still apply.  */
     2006#ifdef __cplusplus
     2007extern "C"
     2008#endif
     2009char $2 ();
     2010/* The GNU C library defines this for functions which it implements
     2011    to always fail with ENOSYS.  Some functions are actually named
     2012    something starting with __ and the normal name is an alias.  */
     2013#if defined __stub_$2 || defined __stub___$2
     2014choke me
     2015#endif
     2016
     2017int
     2018main ()
     2019{
     2020return $2 ();
     2021  ;
     2022  return 0;
     2023}
     2024_ACEOF
     2025if ac_fn_cxx_try_link "$LINENO"; then :
     2026  eval "$3=yes"
     2027else
     2028  eval "$3=no"
     2029fi
     2030rm -f core conftest.err conftest.$ac_objext \
     2031    conftest$ac_exeext conftest.$ac_ext
     2032fi
     2033eval ac_res=\$$3
     2034               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2035$as_echo "$ac_res" >&6; }
     2036  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
     2037
     2038} # ac_fn_cxx_check_func
    14792039cat >config.log <<_ACEOF
    14802040This file contains any messages produced by compilers while
     
    14822042
    14832043It was created by vizservers $as_me 0.1, which was
    1484 generated by GNU Autoconf 2.63.  Invocation command line was
     2044generated by GNU Autoconf 2.65.  Invocation command line was
    14852045
    14862046  $ $0 $@
     
    15182078  IFS=$as_save_IFS
    15192079  test -z "$as_dir" && as_dir=.
    1520   $as_echo "PATH: $as_dir"
    1521 done
     2080    $as_echo "PATH: $as_dir"
     2081  done
    15222082IFS=$as_save_IFS
    15232083
     
    15562116    esac
    15572117    case $ac_pass in
    1558     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2118    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15592119    2)
    1560       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2120      as_fn_append ac_configure_args1 " '$ac_arg'"
    15612121      if test $ac_must_keep_next = true; then
    15622122        ac_must_keep_next=false # Got value, back to normal.
     
    15742134        esac
    15752135      fi
    1576       ac_configure_args="$ac_configure_args '$ac_arg'"
     2136      as_fn_append ac_configure_args " '$ac_arg'"
    15772137      ;;
    15782138    esac
    15792139  done
    15802140done
    1581 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1582 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2141{ ac_configure_args0=; unset ac_configure_args0;}
     2142{ ac_configure_args1=; unset ac_configure_args1;}
    15832143
    15842144# When interrupted or exit'd, cleanup temporary files, and complete
     
    16052165    *${as_nl}*)
    16062166      case $ac_var in #(
    1607       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2167      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16082168$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16092169      esac
     
    16112171      _ | IFS | as_nl) ;; #(
    16122172      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1613       *) $as_unset $ac_var ;;
     2173      *) { eval $ac_var=; unset $ac_var;} ;;
    16142174      esac ;;
    16152175    esac
     
    16832243' 0
    16842244for ac_signal in 1 2 13 15; do
    1685   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2245  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    16862246done
    16872247ac_signal=0
     
    16902250rm -f -r conftest* confdefs.h
    16912251
     2252$as_echo "/* confdefs.h */" > confdefs.h
     2253
    16922254# Predefined preprocessor variables.
    16932255
     
    16962258_ACEOF
    16972259
    1698 
    16992260cat >>confdefs.h <<_ACEOF
    17002261#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17012262_ACEOF
    17022263
    1703 
    17042264cat >>confdefs.h <<_ACEOF
    17052265#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17062266_ACEOF
    17072267
    1708 
    17092268cat >>confdefs.h <<_ACEOF
    17102269#define PACKAGE_STRING "$PACKAGE_STRING"
    17112270_ACEOF
    17122271
    1713 
    17142272cat >>confdefs.h <<_ACEOF
    17152273#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2274_ACEOF
     2275
     2276cat >>confdefs.h <<_ACEOF
     2277#define PACKAGE_URL "$PACKAGE_URL"
    17162278_ACEOF
    17172279
     
    17332295do
    17342296  test "x$ac_site_file" = xNONE && continue
    1735   if test -r "$ac_site_file"; then
    1736     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2297  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2298    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17372299$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17382300    sed 's/^/| /' "$ac_site_file" >&5
     
    17422304
    17432305if test -r "$cache_file"; then
    1744   # Some versions of bash will fail to source /dev/null (special
    1745   # files actually), so we avoid doing that.
    1746   if test -f "$cache_file"; then
    1747     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2306  # Some versions of bash will fail to source /dev/null (special files
     2307  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2308  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2309    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17482310$as_echo "$as_me: loading cache $cache_file" >&6;}
    17492311    case $cache_file in
     
    17532315  fi
    17542316else
    1755   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2317  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17562318$as_echo "$as_me: creating cache $cache_file" >&6;}
    17572319  >$cache_file
     
    17682330  case $ac_old_set,$ac_new_set in
    17692331    set,)
    1770       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2332      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    17712333$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17722334      ac_cache_corrupted=: ;;
    17732335    ,set)
    1774       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2336      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    17752337$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17762338      ac_cache_corrupted=: ;;
     
    17822344        ac_new_val_w=`echo x $ac_new_val`
    17832345        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1784           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2346          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    17852347$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    17862348          ac_cache_corrupted=:
    17872349        else
    1788           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2350          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    17892351$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    17902352          eval $ac_var=\$ac_old_val
    17912353        fi
    1792         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2354        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    17932355$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1794         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2356        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    17952357$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    17962358      fi;;
     
    18042366    case " $ac_configure_args " in
    18052367      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1806       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2368      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18072369    esac
    18082370  fi
    18092371done
    18102372if $ac_cache_corrupted; then
    1811   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2373  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18122374$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1813   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2375  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18142376$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1815   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1816 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1817    { (exit 1); exit 1; }; }
    1818 fi
    1819 
    1820 
    1821 
    1822 
    1823 
    1824 
    1825 
    1826 
    1827 
    1828 
    1829 
    1830 
    1831 
    1832 
    1833 
    1834 
    1835 
    1836 
    1837 
    1838 
    1839 
    1840 
    1841 
    1842 
     2377  as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2378fi
     2379## -------------------- ##
     2380## Main body of script. ##
     2381## -------------------- ##
    18432382
    18442383ac_ext=c
     
    18802419  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    18812420set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1882 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2421{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    18832422$as_echo_n "checking for $ac_word... " >&6; }
    1884 if test "${ac_cv_prog_CC+set}" = set; then
     2423if test "${ac_cv_prog_CC+set}" = set; then :
    18852424  $as_echo_n "(cached) " >&6
    18862425else
     
    18932432  IFS=$as_save_IFS
    18942433  test -z "$as_dir" && as_dir=.
    1895   for ac_exec_ext in '' $ac_executable_extensions; do
     2434    for ac_exec_ext in '' $ac_executable_extensions; do
    18962435  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18972436    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1898     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2437    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    18992438    break 2
    19002439  fi
    19012440done
    1902 done
     2441  done
    19032442IFS=$as_save_IFS
    19042443
     
    19072446CC=$ac_cv_prog_CC
    19082447if test -n "$CC"; then
    1909   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2448  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19102449$as_echo "$CC" >&6; }
    19112450else
    1912   { $as_echo "$as_me:$LINENO: result: no" >&5
     2451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19132452$as_echo "no" >&6; }
    19142453fi
     
    19202459  # Extract the first word of "gcc", so it can be a program name with args.
    19212460set dummy gcc; ac_word=$2
    1922 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2461{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19232462$as_echo_n "checking for $ac_word... " >&6; }
    1924 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2463if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    19252464  $as_echo_n "(cached) " >&6
    19262465else
     
    19332472  IFS=$as_save_IFS
    19342473  test -z "$as_dir" && as_dir=.
    1935   for ac_exec_ext in '' $ac_executable_extensions; do
     2474    for ac_exec_ext in '' $ac_executable_extensions; do
    19362475  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19372476    ac_cv_prog_ac_ct_CC="gcc"
    1938     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2477    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19392478    break 2
    19402479  fi
    19412480done
    1942 done
     2481  done
    19432482IFS=$as_save_IFS
    19442483
     
    19472486ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19482487if test -n "$ac_ct_CC"; then
    1949   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2488  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    19502489$as_echo "$ac_ct_CC" >&6; }
    19512490else
    1952   { $as_echo "$as_me:$LINENO: result: no" >&5
     2491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19532492$as_echo "no" >&6; }
    19542493fi
     
    19592498    case $cross_compiling:$ac_tool_warned in
    19602499yes:)
    1961 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2500{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    19622501$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    19632502ac_tool_warned=yes ;;
     
    19732512    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    19742513set dummy ${ac_tool_prefix}cc; ac_word=$2
    1975 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19762515$as_echo_n "checking for $ac_word... " >&6; }
    1977 if test "${ac_cv_prog_CC+set}" = set; then
     2516if test "${ac_cv_prog_CC+set}" = set; then :
    19782517  $as_echo_n "(cached) " >&6
    19792518else
     
    19862525  IFS=$as_save_IFS
    19872526  test -z "$as_dir" && as_dir=.
    1988   for ac_exec_ext in '' $ac_executable_extensions; do
     2527    for ac_exec_ext in '' $ac_executable_extensions; do
    19892528  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19902529    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1991     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19922531    break 2
    19932532  fi
    19942533done
    1995 done
     2534  done
    19962535IFS=$as_save_IFS
    19972536
     
    20002539CC=$ac_cv_prog_CC
    20012540if test -n "$CC"; then
    2002   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20032542$as_echo "$CC" >&6; }
    20042543else
    2005   { $as_echo "$as_me:$LINENO: result: no" >&5
     2544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20062545$as_echo "no" >&6; }
    20072546fi
     
    20132552  # Extract the first word of "cc", so it can be a program name with args.
    20142553set dummy cc; ac_word=$2
    2015 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20162555$as_echo_n "checking for $ac_word... " >&6; }
    2017 if test "${ac_cv_prog_CC+set}" = set; then
     2556if test "${ac_cv_prog_CC+set}" = set; then :
    20182557  $as_echo_n "(cached) " >&6
    20192558else
     
    20272566  IFS=$as_save_IFS
    20282567  test -z "$as_dir" && as_dir=.
    2029   for ac_exec_ext in '' $ac_executable_extensions; do
     2568    for ac_exec_ext in '' $ac_executable_extensions; do
    20302569  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20312570    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    20342573     fi
    20352574    ac_cv_prog_CC="cc"
    2036     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2575    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20372576    break 2
    20382577  fi
    20392578done
    2040 done
     2579  done
    20412580IFS=$as_save_IFS
    20422581
     
    20572596CC=$ac_cv_prog_CC
    20582597if test -n "$CC"; then
    2059   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2598  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20602599$as_echo "$CC" >&6; }
    20612600else
    2062   { $as_echo "$as_me:$LINENO: result: no" >&5
     2601  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20632602$as_echo "no" >&6; }
    20642603fi
     
    20722611    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20732612set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2074 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2613{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20752614$as_echo_n "checking for $ac_word... " >&6; }
    2076 if test "${ac_cv_prog_CC+set}" = set; then
     2615if test "${ac_cv_prog_CC+set}" = set; then :
    20772616  $as_echo_n "(cached) " >&6
    20782617else
     
    20852624  IFS=$as_save_IFS
    20862625  test -z "$as_dir" && as_dir=.
    2087   for ac_exec_ext in '' $ac_executable_extensions; do
     2626    for ac_exec_ext in '' $ac_executable_extensions; do
    20882627  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20892628    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2090     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2629    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20912630    break 2
    20922631  fi
    20932632done
    2094 done
     2633  done
    20952634IFS=$as_save_IFS
    20962635
     
    20992638CC=$ac_cv_prog_CC
    21002639if test -n "$CC"; then
    2101   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2640  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21022641$as_echo "$CC" >&6; }
    21032642else
    2104   { $as_echo "$as_me:$LINENO: result: no" >&5
     2643  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21052644$as_echo "no" >&6; }
    21062645fi
     
    21162655  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21172656set dummy $ac_prog; ac_word=$2
    2118 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2657{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21192658$as_echo_n "checking for $ac_word... " >&6; }
    2120 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2659if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    21212660  $as_echo_n "(cached) " >&6
    21222661else
     
    21292668  IFS=$as_save_IFS
    21302669  test -z "$as_dir" && as_dir=.
    2131   for ac_exec_ext in '' $ac_executable_extensions; do
     2670    for ac_exec_ext in '' $ac_executable_extensions; do
    21322671  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21332672    ac_cv_prog_ac_ct_CC="$ac_prog"
    2134     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2673    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21352674    break 2
    21362675  fi
    21372676done
    2138 done
     2677  done
    21392678IFS=$as_save_IFS
    21402679
     
    21432682ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21442683if test -n "$ac_ct_CC"; then
    2145   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2684  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    21462685$as_echo "$ac_ct_CC" >&6; }
    21472686else
    2148   { $as_echo "$as_me:$LINENO: result: no" >&5
     2687  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21492688$as_echo "no" >&6; }
    21502689fi
     
    21592698    case $cross_compiling:$ac_tool_warned in
    21602699yes:)
    2161 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2700{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    21622701$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    21632702ac_tool_warned=yes ;;
     
    21702709
    21712710
    2172 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2711test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    21732712$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2174 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2175 See \`config.log' for more details." >&5
    2176 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2177 See \`config.log' for more details." >&2;}
    2178    { (exit 1); exit 1; }; }; }
     2713as_fn_error "no acceptable C compiler found in \$PATH
     2714See \`config.log' for more details." "$LINENO" 5; }
    21792715
    21802716# Provide some information about the compiler.
    2181 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     2717$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    21822718set X $ac_compile
    21832719ac_compiler=$2
    2184 { (ac_try="$ac_compiler --version >&5"
     2720for ac_option in --version -v -V -qversion; do
     2721  { { ac_try="$ac_compiler $ac_option >&5"
    21852722case "(($ac_try" in
    21862723  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    21872724  *) ac_try_echo=$ac_try;;
    21882725esac
    2189 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2190 $as_echo "$ac_try_echo") >&5
    2191   (eval "$ac_compiler --version >&5") 2>&5
     2726eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2727$as_echo "$ac_try_echo"; } >&5
     2728  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    21922729  ac_status=$?
    2193   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2194   (exit $ac_status); }
    2195 { (ac_try="$ac_compiler -v >&5"
    2196 case "(($ac_try" in
    2197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2198   *) ac_try_echo=$ac_try;;
    2199 esac
    2200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2201 $as_echo "$ac_try_echo") >&5
    2202   (eval "$ac_compiler -v >&5") 2>&5
    2203   ac_status=$?
    2204   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2205   (exit $ac_status); }
    2206 { (ac_try="$ac_compiler -V >&5"
    2207 case "(($ac_try" in
    2208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2209   *) ac_try_echo=$ac_try;;
    2210 esac
    2211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2212 $as_echo "$ac_try_echo") >&5
    2213   (eval "$ac_compiler -V >&5") 2>&5
    2214   ac_status=$?
    2215   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2216   (exit $ac_status); }
    2217 
    2218 cat >conftest.$ac_ext <<_ACEOF
    2219 /* confdefs.h.  */
    2220 _ACEOF
    2221 cat confdefs.h >>conftest.$ac_ext
    2222 cat >>conftest.$ac_ext <<_ACEOF
     2730  if test -s conftest.err; then
     2731    sed '10a\
     2732... rest of stderr output deleted ...
     2733         10q' conftest.err >conftest.er1
     2734    cat conftest.er1 >&5
     2735  fi
     2736  rm -f conftest.er1 conftest.err
     2737  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2738  test $ac_status = 0; }
     2739done
     2740
     2741cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22232742/* end confdefs.h.  */
    22242743
     
    22362755# It will help us diagnose broken compilers, and finding out an intuition
    22372756# of exeext.
    2238 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2239 $as_echo_n "checking for C compiler default output file name... " >&6; }
     2757{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     2758$as_echo_n "checking whether the C compiler works... " >&6; }
    22402759ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    22412760
     
    22532772rm -f $ac_rmfiles
    22542773
    2255 if { (ac_try="$ac_link_default"
     2774if { { ac_try="$ac_link_default"
    22562775case "(($ac_try" in
    22572776  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22582777  *) ac_try_echo=$ac_try;;
    22592778esac
    2260 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2261 $as_echo "$ac_try_echo") >&5
     2779eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2780$as_echo "$ac_try_echo"; } >&5
    22622781  (eval "$ac_link_default") 2>&5
    22632782  ac_status=$?
    2264   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2265   (exit $ac_status); }; then
     2783  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2784  test $ac_status = 0; }; then :
    22662785  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    22672786# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    22802799        break;;
    22812800    *.* )
    2282         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2801        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    22832802        then :; else
    22842803           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    22992818  ac_file=''
    23002819fi
    2301 
    2302 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2820if test -z "$ac_file"; then :
     2821  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2822$as_echo "no" >&6; }
     2823$as_echo "$as_me: failed program was:" >&5
     2824sed 's/^/| /' conftest.$ac_ext >&5
     2825
     2826{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2827$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2828{ as_fn_set_status 77
     2829as_fn_error "C compiler cannot create executables
     2830See \`config.log' for more details." "$LINENO" 5; }; }
     2831else
     2832  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2833$as_echo "yes" >&6; }
     2834fi
     2835{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     2836$as_echo_n "checking for C compiler default output file name... " >&6; }
     2837{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23032838$as_echo "$ac_file" >&6; }
    2304 if test -z "$ac_file"; then
    2305   $as_echo "$as_me: failed program was:" >&5
    2306 sed 's/^/| /' conftest.$ac_ext >&5
    2307 
    2308 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2310 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2311 See \`config.log' for more details." >&5
    2312 $as_echo "$as_me: error: C compiler cannot create executables
    2313 See \`config.log' for more details." >&2;}
    2314    { (exit 77); exit 77; }; }; }
    2315 fi
    2316 
    23172839ac_exeext=$ac_cv_exeext
    2318 
    2319 # Check that the compiler produces executables we can run.  If not, either
    2320 # the compiler is broken, or we cross compile.
    2321 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2322 $as_echo_n "checking whether the C compiler works... " >&6; }
    2323 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2324 # If not cross compiling, check that we can run a simple program.
    2325 if test "$cross_compiling" != yes; then
    2326   if { ac_try='./$ac_file'
    2327   { (case "(($ac_try" in
    2328   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2329   *) ac_try_echo=$ac_try;;
    2330 esac
    2331 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2332 $as_echo "$ac_try_echo") >&5
    2333   (eval "$ac_try") 2>&5
    2334   ac_status=$?
    2335   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2336   (exit $ac_status); }; }; then
    2337     cross_compiling=no
    2338   else
    2339     if test "$cross_compiling" = maybe; then
    2340         cross_compiling=yes
    2341     else
    2342         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2344 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2345 If you meant to cross compile, use \`--host'.
    2346 See \`config.log' for more details." >&5
    2347 $as_echo "$as_me: error: cannot run C compiled programs.
    2348 If you meant to cross compile, use \`--host'.
    2349 See \`config.log' for more details." >&2;}
    2350    { (exit 1); exit 1; }; }; }
    2351     fi
    2352   fi
    2353 fi
    2354 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2355 $as_echo "yes" >&6; }
    23562840
    23572841rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    23582842ac_clean_files=$ac_clean_files_save
    2359 # Check that the compiler produces executables we can run.  If not, either
    2360 # the compiler is broken, or we cross compile.
    2361 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2362 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2363 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2364 $as_echo "$cross_compiling" >&6; }
    2365 
    2366 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2843{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    23672844$as_echo_n "checking for suffix of executables... " >&6; }
    2368 if { (ac_try="$ac_link"
     2845if { { ac_try="$ac_link"
    23692846case "(($ac_try" in
    23702847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23712848  *) ac_try_echo=$ac_try;;
    23722849esac
    2373 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2374 $as_echo "$ac_try_echo") >&5
     2850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2851$as_echo "$ac_try_echo"; } >&5
    23752852  (eval "$ac_link") 2>&5
    23762853  ac_status=$?
    2377   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2378   (exit $ac_status); }; then
     2854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2855  test $ac_status = 0; }; then :
    23792856  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    23802857# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    23912868done
    23922869else
    2393   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2870  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    23942871$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2395 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2396 See \`config.log' for more details." >&5
    2397 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2398 See \`config.log' for more details." >&2;}
    2399    { (exit 1); exit 1; }; }; }
    2400 fi
    2401 
    2402 rm -f conftest$ac_cv_exeext
    2403 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2872as_fn_error "cannot compute suffix of executables: cannot compile and link
     2873See \`config.log' for more details." "$LINENO" 5; }
     2874fi
     2875rm -f conftest conftest$ac_cv_exeext
     2876{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    24042877$as_echo "$ac_cv_exeext" >&6; }
    24052878
     
    24072880EXEEXT=$ac_cv_exeext
    24082881ac_exeext=$EXEEXT
    2409 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2410 $as_echo_n "checking for suffix of object files... " >&6; }
    2411 if test "${ac_cv_objext+set}" = set; then
    2412   $as_echo_n "(cached) " >&6
    2413 else
    2414   cat >conftest.$ac_ext <<_ACEOF
    2415 /* confdefs.h.  */
    2416 _ACEOF
    2417 cat confdefs.h >>conftest.$ac_ext
    2418 cat >>conftest.$ac_ext <<_ACEOF
     2882cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24192883/* end confdefs.h.  */
    2420 
     2884#include <stdio.h>
    24212885int
    24222886main ()
    24232887{
     2888FILE *f = fopen ("conftest.out", "w");
     2889 return ferror (f) || fclose (f) != 0;
    24242890
    24252891  ;
     
    24272893}
    24282894_ACEOF
    2429 rm -f conftest.o conftest.obj
    2430 if { (ac_try="$ac_compile"
     2895ac_clean_files="$ac_clean_files conftest.out"
     2896# Check that the compiler produces executables we can run.  If not, either
     2897# the compiler is broken, or we cross compile.
     2898{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     2899$as_echo_n "checking whether we are cross compiling... " >&6; }
     2900if test "$cross_compiling" != yes; then
     2901  { { ac_try="$ac_link"
    24312902case "(($ac_try" in
    24322903  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24332904  *) ac_try_echo=$ac_try;;
    24342905esac
    2435 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2436 $as_echo "$ac_try_echo") >&5
     2906eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2907$as_echo "$ac_try_echo"; } >&5
     2908  (eval "$ac_link") 2>&5
     2909  ac_status=$?
     2910  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2911  test $ac_status = 0; }
     2912  if { ac_try='./conftest$ac_cv_exeext'
     2913  { { case "(($ac_try" in
     2914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2915  *) ac_try_echo=$ac_try;;
     2916esac
     2917eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2918$as_echo "$ac_try_echo"; } >&5
     2919  (eval "$ac_try") 2>&5
     2920  ac_status=$?
     2921  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2922  test $ac_status = 0; }; }; then
     2923    cross_compiling=no
     2924  else
     2925    if test "$cross_compiling" = maybe; then
     2926        cross_compiling=yes
     2927    else
     2928        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2929$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2930as_fn_error "cannot run C compiled programs.
     2931If you meant to cross compile, use \`--host'.
     2932See \`config.log' for more details." "$LINENO" 5; }
     2933    fi
     2934  fi
     2935fi
     2936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     2937$as_echo "$cross_compiling" >&6; }
     2938
     2939rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     2940ac_clean_files=$ac_clean_files_save
     2941{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     2942$as_echo_n "checking for suffix of object files... " >&6; }
     2943if test "${ac_cv_objext+set}" = set; then :
     2944  $as_echo_n "(cached) " >&6
     2945else
     2946  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2947/* end confdefs.h.  */
     2948
     2949int
     2950main ()
     2951{
     2952
     2953  ;
     2954  return 0;
     2955}
     2956_ACEOF
     2957rm -f conftest.o conftest.obj
     2958if { { ac_try="$ac_compile"
     2959case "(($ac_try" in
     2960  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2961  *) ac_try_echo=$ac_try;;
     2962esac
     2963eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2964$as_echo "$ac_try_echo"; } >&5
    24372965  (eval "$ac_compile") 2>&5
    24382966  ac_status=$?
    2439   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2440   (exit $ac_status); }; then
     2967  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2968  test $ac_status = 0; }; then :
    24412969  for ac_file in conftest.o conftest.obj conftest.*; do
    24422970  test -f "$ac_file" || continue;
     
    24512979sed 's/^/| /' conftest.$ac_ext >&5
    24522980
    2453 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2981{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24542982$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2455 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2456 See \`config.log' for more details." >&5
    2457 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2458 See \`config.log' for more details." >&2;}
    2459    { (exit 1); exit 1; }; }; }
    2460 fi
    2461 
     2983as_fn_error "cannot compute suffix of object files: cannot compile
     2984See \`config.log' for more details." "$LINENO" 5; }
     2985fi
    24622986rm -f conftest.$ac_cv_objext conftest.$ac_ext
    24632987fi
    2464 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2988{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    24652989$as_echo "$ac_cv_objext" >&6; }
    24662990OBJEXT=$ac_cv_objext
    24672991ac_objext=$OBJEXT
    2468 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2992{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    24692993$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2470 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     2994if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    24712995  $as_echo_n "(cached) " >&6
    24722996else
    2473   cat >conftest.$ac_ext <<_ACEOF
    2474 /* confdefs.h.  */
    2475 _ACEOF
    2476 cat confdefs.h >>conftest.$ac_ext
    2477 cat >>conftest.$ac_ext <<_ACEOF
     2997  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24782998/* end confdefs.h.  */
    24792999
     
    24893009}
    24903010_ACEOF
    2491 rm -f conftest.$ac_objext
    2492 if { (ac_try="$ac_compile"
    2493 case "(($ac_try" in
    2494   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2495   *) ac_try_echo=$ac_try;;
    2496 esac
    2497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2498 $as_echo "$ac_try_echo") >&5
    2499   (eval "$ac_compile") 2>conftest.er1
    2500   ac_status=$?
    2501   grep -v '^ *+' conftest.er1 >conftest.err
    2502   rm -f conftest.er1
    2503   cat conftest.err >&5
    2504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2505   (exit $ac_status); } && {
    2506          test -z "$ac_c_werror_flag" ||
    2507          test ! -s conftest.err
    2508        } && test -s conftest.$ac_objext; then
     3011if ac_fn_c_try_compile "$LINENO"; then :
    25093012  ac_compiler_gnu=yes
    25103013else
    2511   $as_echo "$as_me: failed program was:" >&5
    2512 sed 's/^/| /' conftest.$ac_ext >&5
    2513 
    2514         ac_compiler_gnu=no
    2515 fi
    2516 
     3014  ac_compiler_gnu=no
     3015fi
    25173016rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25183017ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25193018
    25203019fi
    2521 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3020{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    25223021$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    25233022if test $ac_compiler_gnu = yes; then
     
    25283027ac_test_CFLAGS=${CFLAGS+set}
    25293028ac_save_CFLAGS=$CFLAGS
    2530 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3029{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    25313030$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2532 if test "${ac_cv_prog_cc_g+set}" = set; then
     3031if test "${ac_cv_prog_cc_g+set}" = set; then :
    25333032  $as_echo_n "(cached) " >&6
    25343033else
     
    25373036   ac_cv_prog_cc_g=no
    25383037   CFLAGS="-g"
    2539    cat >conftest.$ac_ext <<_ACEOF
    2540 /* confdefs.h.  */
    2541 _ACEOF
    2542 cat confdefs.h >>conftest.$ac_ext
    2543 cat >>conftest.$ac_ext <<_ACEOF
     3038   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25443039/* end confdefs.h.  */
    25453040
     
    25523047}
    25533048_ACEOF
    2554 rm -f conftest.$ac_objext
    2555 if { (ac_try="$ac_compile"
    2556 case "(($ac_try" in
    2557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2558   *) ac_try_echo=$ac_try;;
    2559 esac
    2560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2561 $as_echo "$ac_try_echo") >&5
    2562   (eval "$ac_compile") 2>conftest.er1
    2563   ac_status=$?
    2564   grep -v '^ *+' conftest.er1 >conftest.err
    2565   rm -f conftest.er1
    2566   cat conftest.err >&5
    2567   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2568   (exit $ac_status); } && {
    2569          test -z "$ac_c_werror_flag" ||
    2570          test ! -s conftest.err
    2571        } && test -s conftest.$ac_objext; then
     3049if ac_fn_c_try_compile "$LINENO"; then :
    25723050  ac_cv_prog_cc_g=yes
    25733051else
    2574   $as_echo "$as_me: failed program was:" >&5
    2575 sed 's/^/| /' conftest.$ac_ext >&5
    2576 
    2577         CFLAGS=""
    2578       cat >conftest.$ac_ext <<_ACEOF
    2579 /* confdefs.h.  */
    2580 _ACEOF
    2581 cat confdefs.h >>conftest.$ac_ext
    2582 cat >>conftest.$ac_ext <<_ACEOF
     3052  CFLAGS=""
     3053      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25833054/* end confdefs.h.  */
    25843055
     
    25913062}
    25923063_ACEOF
    2593 rm -f conftest.$ac_objext
    2594 if { (ac_try="$ac_compile"
    2595 case "(($ac_try" in
    2596   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2597   *) ac_try_echo=$ac_try;;
    2598 esac
    2599 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2600 $as_echo "$ac_try_echo") >&5
    2601   (eval "$ac_compile") 2>conftest.er1
    2602   ac_status=$?
    2603   grep -v '^ *+' conftest.er1 >conftest.err
    2604   rm -f conftest.er1
    2605   cat conftest.err >&5
    2606   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2607   (exit $ac_status); } && {
    2608          test -z "$ac_c_werror_flag" ||
    2609          test ! -s conftest.err
    2610        } && test -s conftest.$ac_objext; then
    2611   :
    2612 else
    2613   $as_echo "$as_me: failed program was:" >&5
    2614 sed 's/^/| /' conftest.$ac_ext >&5
    2615 
    2616         ac_c_werror_flag=$ac_save_c_werror_flag
     3064if ac_fn_c_try_compile "$LINENO"; then :
     3065
     3066else
     3067  ac_c_werror_flag=$ac_save_c_werror_flag
    26173068         CFLAGS="-g"
    2618          cat >conftest.$ac_ext <<_ACEOF
    2619 /* confdefs.h.  */
    2620 _ACEOF
    2621 cat confdefs.h >>conftest.$ac_ext
    2622 cat >>conftest.$ac_ext <<_ACEOF
     3069         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26233070/* end confdefs.h.  */
    26243071
     
    26313078}
    26323079_ACEOF
    2633 rm -f conftest.$ac_objext
    2634 if { (ac_try="$ac_compile"
    2635 case "(($ac_try" in
    2636   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2637   *) ac_try_echo=$ac_try;;
    2638 esac
    2639 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2640 $as_echo "$ac_try_echo") >&5
    2641   (eval "$ac_compile") 2>conftest.er1
    2642   ac_status=$?
    2643   grep -v '^ *+' conftest.er1 >conftest.err
    2644   rm -f conftest.er1
    2645   cat conftest.err >&5
    2646   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2647   (exit $ac_status); } && {
    2648          test -z "$ac_c_werror_flag" ||
    2649          test ! -s conftest.err
    2650        } && test -s conftest.$ac_objext; then
     3080if ac_fn_c_try_compile "$LINENO"; then :
    26513081  ac_cv_prog_cc_g=yes
    2652 else
    2653   $as_echo "$as_me: failed program was:" >&5
    2654 sed 's/^/| /' conftest.$ac_ext >&5
    2655 
    2656 
    2657 fi
    2658 
     3082fi
    26593083rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26603084fi
    2661 
    26623085rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26633086fi
    2664 
    26653087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    26663088   ac_c_werror_flag=$ac_save_c_werror_flag
    26673089fi
    2668 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3090{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    26693091$as_echo "$ac_cv_prog_cc_g" >&6; }
    26703092if test "$ac_test_CFLAGS" = set; then
     
    26833105  fi
    26843106fi
    2685 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    26863108$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2687 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3109if test "${ac_cv_prog_cc_c89+set}" = set; then :
    26883110  $as_echo_n "(cached) " >&6
    26893111else
    26903112  ac_cv_prog_cc_c89=no
    26913113ac_save_CC=$CC
    2692 cat >conftest.$ac_ext <<_ACEOF
    2693 /* confdefs.h.  */
    2694 _ACEOF
    2695 cat confdefs.h >>conftest.$ac_ext
    2696 cat >>conftest.$ac_ext <<_ACEOF
     3114cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26973115/* end confdefs.h.  */
    26983116#include <stdarg.h>
     
    27513169do
    27523170  CC="$ac_save_CC $ac_arg"
    2753   rm -f conftest.$ac_objext
    2754 if { (ac_try="$ac_compile"
    2755 case "(($ac_try" in
    2756   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2757   *) ac_try_echo=$ac_try;;
    2758 esac
    2759 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2760 $as_echo "$ac_try_echo") >&5
    2761   (eval "$ac_compile") 2>conftest.er1
    2762   ac_status=$?
    2763   grep -v '^ *+' conftest.er1 >conftest.err
    2764   rm -f conftest.er1
    2765   cat conftest.err >&5
    2766   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2767   (exit $ac_status); } && {
    2768          test -z "$ac_c_werror_flag" ||
    2769          test ! -s conftest.err
    2770        } && test -s conftest.$ac_objext; then
     3171  if ac_fn_c_try_compile "$LINENO"; then :
    27713172  ac_cv_prog_cc_c89=$ac_arg
    2772 else
    2773   $as_echo "$as_me: failed program was:" >&5
    2774 sed 's/^/| /' conftest.$ac_ext >&5
    2775 
    2776 
    2777 fi
    2778 
     3173fi
    27793174rm -f core conftest.err conftest.$ac_objext
    27803175  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    27873182case "x$ac_cv_prog_cc_c89" in
    27883183  x)
    2789     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3184    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    27903185$as_echo "none needed" >&6; } ;;
    27913186  xno)
    2792     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3187    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    27933188$as_echo "unsupported" >&6; } ;;
    27943189  *)
    27953190    CC="$CC $ac_cv_prog_cc_c89"
    2796     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3191    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    27973192$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    27983193esac
    2799 
     3194if test "x$ac_cv_prog_cc_c89" != xno; then :
     3195
     3196fi
    28003197
    28013198ac_ext=c
     
    28093206  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    28103207set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2811 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3208{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    28123209$as_echo_n "checking for $ac_word... " >&6; }
    2813 if test "${ac_cv_prog_RANLIB+set}" = set; then
     3210if test "${ac_cv_prog_RANLIB+set}" = set; then :
    28143211  $as_echo_n "(cached) " >&6
    28153212else
     
    28223219  IFS=$as_save_IFS
    28233220  test -z "$as_dir" && as_dir=.
    2824   for ac_exec_ext in '' $ac_executable_extensions; do
     3221    for ac_exec_ext in '' $ac_executable_extensions; do
    28253222  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28263223    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2827     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3224    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    28283225    break 2
    28293226  fi
    28303227done
    2831 done
     3228  done
    28323229IFS=$as_save_IFS
    28333230
     
    28363233RANLIB=$ac_cv_prog_RANLIB
    28373234if test -n "$RANLIB"; then
    2838   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     3235  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    28393236$as_echo "$RANLIB" >&6; }
    28403237else
    2841   { $as_echo "$as_me:$LINENO: result: no" >&5
     3238  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    28423239$as_echo "no" >&6; }
    28433240fi
     
    28493246  # Extract the first word of "ranlib", so it can be a program name with args.
    28503247set dummy ranlib; ac_word=$2
    2851 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    28523249$as_echo_n "checking for $ac_word... " >&6; }
    2853 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     3250if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
    28543251  $as_echo_n "(cached) " >&6
    28553252else
     
    28623259  IFS=$as_save_IFS
    28633260  test -z "$as_dir" && as_dir=.
    2864   for ac_exec_ext in '' $ac_executable_extensions; do
     3261    for ac_exec_ext in '' $ac_executable_extensions; do
    28653262  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28663263    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2867     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3264    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    28683265    break 2
    28693266  fi
    28703267done
    2871 done
     3268  done
    28723269IFS=$as_save_IFS
    28733270
     
    28763273ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    28773274if test -n "$ac_ct_RANLIB"; then
    2878   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     3275  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    28793276$as_echo "$ac_ct_RANLIB" >&6; }
    28803277else
    2881   { $as_echo "$as_me:$LINENO: result: no" >&5
     3278  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    28823279$as_echo "no" >&6; }
    28833280fi
     
    28883285    case $cross_compiling:$ac_tool_warned in
    28893286yes:)
    2890 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     3287{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    28913288$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28923289ac_tool_warned=yes ;;
     
    29033300ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29043301ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2905 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3302{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    29063303$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29073304# On Suns, sometimes $CPP names a directory.
     
    29103307fi
    29113308if test -z "$CPP"; then
    2912   if test "${ac_cv_prog_CPP+set}" = set; then
     3309  if test "${ac_cv_prog_CPP+set}" = set; then :
    29133310  $as_echo_n "(cached) " >&6
    29143311else
     
    29253322  # On the NeXT, cc -E runs the code through the compiler's parser,
    29263323  # not just through cpp. "Syntax error" is here to catch this case.
    2927   cat >conftest.$ac_ext <<_ACEOF
    2928 /* confdefs.h.  */
    2929 _ACEOF
    2930 cat confdefs.h >>conftest.$ac_ext
    2931 cat >>conftest.$ac_ext <<_ACEOF
     3324  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29323325/* end confdefs.h.  */
    29333326#ifdef __STDC__
     
    29383331                     Syntax error
    29393332_ACEOF
    2940 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2941 case "(($ac_try" in
    2942   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2943   *) ac_try_echo=$ac_try;;
    2944 esac
    2945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2946 $as_echo "$ac_try_echo") >&5
    2947   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2948   ac_status=$?
    2949   grep -v '^ *+' conftest.er1 >conftest.err
    2950   rm -f conftest.er1
    2951   cat conftest.err >&5
    2952   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2953   (exit $ac_status); } >/dev/null && {
    2954          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2955          test ! -s conftest.err
    2956        }; then
    2957   :
    2958 else
    2959   $as_echo "$as_me: failed program was:" >&5
    2960 sed 's/^/| /' conftest.$ac_ext >&5
    2961 
     3333if ac_fn_c_try_cpp "$LINENO"; then :
     3334
     3335else
    29623336  # Broken: fails on valid input.
    29633337continue
    29643338fi
    2965 
    29663339rm -f conftest.err conftest.$ac_ext
    29673340
    29683341  # OK, works on sane cases.  Now check whether nonexistent headers
    29693342  # can be detected and how.
    2970   cat >conftest.$ac_ext <<_ACEOF
    2971 /* confdefs.h.  */
    2972 _ACEOF
    2973 cat confdefs.h >>conftest.$ac_ext
    2974 cat >>conftest.$ac_ext <<_ACEOF
     3343  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    29753344/* end confdefs.h.  */
    29763345#include <ac_nonexistent.h>
    29773346_ACEOF
    2978 if { (ac_try="$ac_cpp conftest.$ac_ext"
    2979 case "(($ac_try" in
    2980   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2981   *) ac_try_echo=$ac_try;;
    2982 esac
    2983 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2984 $as_echo "$ac_try_echo") >&5
    2985   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    2986   ac_status=$?
    2987   grep -v '^ *+' conftest.er1 >conftest.err
    2988   rm -f conftest.er1
    2989   cat conftest.err >&5
    2990   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2991   (exit $ac_status); } >/dev/null && {
    2992          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    2993          test ! -s conftest.err
    2994        }; then
     3347if ac_fn_c_try_cpp "$LINENO"; then :
    29953348  # Broken: success on invalid input.
    29963349continue
    29973350else
    2998   $as_echo "$as_me: failed program was:" >&5
    2999 sed 's/^/| /' conftest.$ac_ext >&5
    3000 
    30013351  # Passes both tests.
    30023352ac_preproc_ok=:
    30033353break
    30043354fi
    3005 
    30063355rm -f conftest.err conftest.$ac_ext
    30073356
     
    30093358# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    30103359rm -f conftest.err conftest.$ac_ext
    3011 if $ac_preproc_ok; then
     3360if $ac_preproc_ok; then :
    30123361  break
    30133362fi
     
    30213370  ac_cv_prog_CPP=$CPP
    30223371fi
    3023 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30243373$as_echo "$CPP" >&6; }
    30253374ac_preproc_ok=false
     
    30323381  # On the NeXT, cc -E runs the code through the compiler's parser,
    30333382  # not just through cpp. "Syntax error" is here to catch this case.
    3034   cat >conftest.$ac_ext <<_ACEOF
    3035 /* confdefs.h.  */
    3036 _ACEOF
    3037 cat confdefs.h >>conftest.$ac_ext
    3038 cat >>conftest.$ac_ext <<_ACEOF
     3383  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30393384/* end confdefs.h.  */
    30403385#ifdef __STDC__
     
    30453390                     Syntax error
    30463391_ACEOF
    3047 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3048 case "(($ac_try" in
    3049   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3050   *) ac_try_echo=$ac_try;;
    3051 esac
    3052 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3053 $as_echo "$ac_try_echo") >&5
    3054   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3055   ac_status=$?
    3056   grep -v '^ *+' conftest.er1 >conftest.err
    3057   rm -f conftest.er1
    3058   cat conftest.err >&5
    3059   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3060   (exit $ac_status); } >/dev/null && {
    3061          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3062          test ! -s conftest.err
    3063        }; then
    3064   :
    3065 else
    3066   $as_echo "$as_me: failed program was:" >&5
    3067 sed 's/^/| /' conftest.$ac_ext >&5
    3068 
     3392if ac_fn_c_try_cpp "$LINENO"; then :
     3393
     3394else
    30693395  # Broken: fails on valid input.
    30703396continue
    30713397fi
    3072 
    30733398rm -f conftest.err conftest.$ac_ext
    30743399
    30753400  # OK, works on sane cases.  Now check whether nonexistent headers
    30763401  # can be detected and how.
    3077   cat >conftest.$ac_ext <<_ACEOF
    3078 /* confdefs.h.  */
    3079 _ACEOF
    3080 cat confdefs.h >>conftest.$ac_ext
    3081 cat >>conftest.$ac_ext <<_ACEOF
     3402  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30823403/* end confdefs.h.  */
    30833404#include <ac_nonexistent.h>
    30843405_ACEOF
    3085 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3086 case "(($ac_try" in
    3087   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3088   *) ac_try_echo=$ac_try;;
    3089 esac
    3090 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3091 $as_echo "$ac_try_echo") >&5
    3092   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3093   ac_status=$?
    3094   grep -v '^ *+' conftest.er1 >conftest.err
    3095   rm -f conftest.er1
    3096   cat conftest.err >&5
    3097   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3098   (exit $ac_status); } >/dev/null && {
    3099          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3100          test ! -s conftest.err
    3101        }; then
     3406if ac_fn_c_try_cpp "$LINENO"; then :
    31023407  # Broken: success on invalid input.
    31033408continue
    31043409else
    3105   $as_echo "$as_me: failed program was:" >&5
    3106 sed 's/^/| /' conftest.$ac_ext >&5
    3107 
    31083410  # Passes both tests.
    31093411ac_preproc_ok=:
    31103412break
    31113413fi
    3112 
    31133414rm -f conftest.err conftest.$ac_ext
    31143415
     
    31163417# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    31173418rm -f conftest.err conftest.$ac_ext
    3118 if $ac_preproc_ok; then
    3119   :
    3120 else
    3121   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3419if $ac_preproc_ok; then :
     3420
     3421else
     3422  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31223423$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3123 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3124 See \`config.log' for more details." >&5
    3125 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3126 See \`config.log' for more details." >&2;}
    3127    { (exit 1); exit 1; }; }; }
     3424as_fn_error "C preprocessor \"$CPP\" fails sanity check
     3425See \`config.log' for more details." "$LINENO" 5; }
    31283426fi
    31293427
     
    31353433
    31363434
    3137 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    31383436$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3139 if test "${ac_cv_path_GREP+set}" = set; then
     3437if test "${ac_cv_path_GREP+set}" = set; then :
    31403438  $as_echo_n "(cached) " >&6
    31413439else
     
    31483446  IFS=$as_save_IFS
    31493447  test -z "$as_dir" && as_dir=.
    3150   for ac_prog in grep ggrep; do
     3448    for ac_prog in grep ggrep; do
    31513449    for ac_exec_ext in '' $ac_executable_extensions; do
    31523450      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    31683466    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31693467    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3170     ac_count=`expr $ac_count + 1`
     3468    as_fn_arith $ac_count + 1 && ac_count=$as_val
    31713469    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    31723470      # Best one so far, save it but keep looking for a better one
     
    31833481    done
    31843482  done
    3185 done
     3483  done
    31863484IFS=$as_save_IFS
    31873485  if test -z "$ac_cv_path_GREP"; then
    3188     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3189 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3190    { (exit 1); exit 1; }; }
     3486    as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    31913487  fi
    31923488else
     
    31953491
    31963492fi
    3197 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3493{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    31983494$as_echo "$ac_cv_path_GREP" >&6; }
    31993495 GREP="$ac_cv_path_GREP"
    32003496
    32013497
    3202 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3498{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    32033499$as_echo_n "checking for egrep... " >&6; }
    3204 if test "${ac_cv_path_EGREP+set}" = set; then
     3500if test "${ac_cv_path_EGREP+set}" = set; then :
    32053501  $as_echo_n "(cached) " >&6
    32063502else
     
    32163512  IFS=$as_save_IFS
    32173513  test -z "$as_dir" && as_dir=.
    3218   for ac_prog in egrep; do
     3514    for ac_prog in egrep; do
    32193515    for ac_exec_ext in '' $ac_executable_extensions; do
    32203516      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    32363532    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32373533    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3238     ac_count=`expr $ac_count + 1`
     3534    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32393535    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    32403536      # Best one so far, save it but keep looking for a better one
     
    32513547    done
    32523548  done
    3253 done
     3549  done
    32543550IFS=$as_save_IFS
    32553551  if test -z "$ac_cv_path_EGREP"; then
    3256     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3257 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3258    { (exit 1); exit 1; }; }
     3552    as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32593553  fi
    32603554else
     
    32643558   fi
    32653559fi
    3266 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3560{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    32673561$as_echo "$ac_cv_path_EGREP" >&6; }
    32683562 EGREP="$ac_cv_path_EGREP"
    32693563
    32703564
    3271 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3565{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    32723566$as_echo_n "checking for ANSI C header files... " >&6; }
    3273 if test "${ac_cv_header_stdc+set}" = set; then
     3567if test "${ac_cv_header_stdc+set}" = set; then :
    32743568  $as_echo_n "(cached) " >&6
    32753569else
    3276   cat >conftest.$ac_ext <<_ACEOF
    3277 /* confdefs.h.  */
    3278 _ACEOF
    3279 cat confdefs.h >>conftest.$ac_ext
    3280 cat >>conftest.$ac_ext <<_ACEOF
     3570  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    32813571/* end confdefs.h.  */
    32823572#include <stdlib.h>
     
    32933583}
    32943584_ACEOF
    3295 rm -f conftest.$ac_objext
    3296 if { (ac_try="$ac_compile"
    3297 case "(($ac_try" in
    3298   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3299   *) ac_try_echo=$ac_try;;
    3300 esac
    3301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3302 $as_echo "$ac_try_echo") >&5
    3303   (eval "$ac_compile") 2>conftest.er1
    3304   ac_status=$?
    3305   grep -v '^ *+' conftest.er1 >conftest.err
    3306   rm -f conftest.er1
    3307   cat conftest.err >&5
    3308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3309   (exit $ac_status); } && {
    3310          test -z "$ac_c_werror_flag" ||
    3311          test ! -s conftest.err
    3312        } && test -s conftest.$ac_objext; then
     3585if ac_fn_c_try_compile "$LINENO"; then :
    33133586  ac_cv_header_stdc=yes
    33143587else
    3315   $as_echo "$as_me: failed program was:" >&5
    3316 sed 's/^/| /' conftest.$ac_ext >&5
    3317 
    3318         ac_cv_header_stdc=no
    3319 fi
    3320 
     3588  ac_cv_header_stdc=no
     3589fi
    33213590rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33223591
    33233592if test $ac_cv_header_stdc = yes; then
    33243593  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3325   cat >conftest.$ac_ext <<_ACEOF
    3326 /* confdefs.h.  */
    3327 _ACEOF
    3328 cat confdefs.h >>conftest.$ac_ext
    3329 cat >>conftest.$ac_ext <<_ACEOF
     3594  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33303595/* end confdefs.h.  */
    33313596#include <string.h>
     
    33333598_ACEOF
    33343599if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3335   $EGREP "memchr" >/dev/null 2>&1; then
    3336   :
     3600  $EGREP "memchr" >/dev/null 2>&1; then :
     3601
    33373602else
    33383603  ac_cv_header_stdc=no
     
    33443609if test $ac_cv_header_stdc = yes; then
    33453610  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3346   cat >conftest.$ac_ext <<_ACEOF
    3347 /* confdefs.h.  */
    3348 _ACEOF
    3349 cat confdefs.h >>conftest.$ac_ext
    3350 cat >>conftest.$ac_ext <<_ACEOF
     3611  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33513612/* end confdefs.h.  */
    33523613#include <stdlib.h>
     
    33543615_ACEOF
    33553616if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3356   $EGREP "free" >/dev/null 2>&1; then
    3357   :
     3617  $EGREP "free" >/dev/null 2>&1; then :
     3618
    33583619else
    33593620  ac_cv_header_stdc=no
     
    33653626if test $ac_cv_header_stdc = yes; then
    33663627  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3367   if test "$cross_compiling" = yes; then
     3628  if test "$cross_compiling" = yes; then :
    33683629  :
    33693630else
    3370   cat >conftest.$ac_ext <<_ACEOF
    3371 /* confdefs.h.  */
    3372 _ACEOF
    3373 cat confdefs.h >>conftest.$ac_ext
    3374 cat >>conftest.$ac_ext <<_ACEOF
     3631  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33753632/* end confdefs.h.  */
    33763633#include <ctype.h>
     
    33993656}
    34003657_ACEOF
    3401 rm -f conftest$ac_exeext
    3402 if { (ac_try="$ac_link"
    3403 case "(($ac_try" in
    3404   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3405   *) ac_try_echo=$ac_try;;
    3406 esac
    3407 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3408 $as_echo "$ac_try_echo") >&5
    3409   (eval "$ac_link") 2>&5
    3410   ac_status=$?
    3411   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3412   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3413   { (case "(($ac_try" in
    3414   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3415   *) ac_try_echo=$ac_try;;
    3416 esac
    3417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3418 $as_echo "$ac_try_echo") >&5
    3419   (eval "$ac_try") 2>&5
    3420   ac_status=$?
    3421   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3422   (exit $ac_status); }; }; then
    3423   :
    3424 else
    3425   $as_echo "$as_me: program exited with status $ac_status" >&5
    3426 $as_echo "$as_me: failed program was:" >&5
    3427 sed 's/^/| /' conftest.$ac_ext >&5
    3428 
    3429 ( exit $ac_status )
    3430 ac_cv_header_stdc=no
    3431 fi
    3432 rm -rf conftest.dSYM
    3433 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3434 fi
    3435 
    3436 
    3437 fi
    3438 fi
    3439 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3658if ac_fn_c_try_run "$LINENO"; then :
     3659
     3660else
     3661  ac_cv_header_stdc=no
     3662fi
     3663rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3664  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3665fi
     3666
     3667fi
     3668fi
     3669{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    34403670$as_echo "$ac_cv_header_stdc" >&6; }
    34413671if test $ac_cv_header_stdc = yes; then
    34423672
    3443 cat >>confdefs.h <<\_ACEOF
    3444 #define STDC_HEADERS 1
    3445 _ACEOF
     3673$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    34463674
    34473675fi
    34483676
    34493677# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3450 
    3451 
    3452 
    3453 
    3454 
    3455 
    3456 
    3457 
    3458 
    34593678for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    34603679                  inttypes.h stdint.h unistd.h
    3461 do
    3462 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3463 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3464 $as_echo_n "checking for $ac_header... " >&6; }
    3465 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3466   $as_echo_n "(cached) " >&6
    3467 else
    3468   cat >conftest.$ac_ext <<_ACEOF
    3469 /* confdefs.h.  */
    3470 _ACEOF
    3471 cat confdefs.h >>conftest.$ac_ext
    3472 cat >>conftest.$ac_ext <<_ACEOF
    3473 /* end confdefs.h.  */
    3474 $ac_includes_default
    3475 
    3476 #include <$ac_header>
    3477 _ACEOF
    3478 rm -f conftest.$ac_objext
    3479 if { (ac_try="$ac_compile"
    3480 case "(($ac_try" in
    3481   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3482   *) ac_try_echo=$ac_try;;
    3483 esac
    3484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3485 $as_echo "$ac_try_echo") >&5
    3486   (eval "$ac_compile") 2>conftest.er1
    3487   ac_status=$?
    3488   grep -v '^ *+' conftest.er1 >conftest.err
    3489   rm -f conftest.er1
    3490   cat conftest.err >&5
    3491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3492   (exit $ac_status); } && {
    3493          test -z "$ac_c_werror_flag" ||
    3494          test ! -s conftest.err
    3495        } && test -s conftest.$ac_objext; then
    3496   eval "$as_ac_Header=yes"
    3497 else
    3498   $as_echo "$as_me: failed program was:" >&5
    3499 sed 's/^/| /' conftest.$ac_ext >&5
    3500 
    3501         eval "$as_ac_Header=no"
    3502 fi
    3503 
    3504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3505 fi
    3506 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3507                  $as_echo "$as_val"'`
    3508                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3509 $as_echo "$ac_res" >&6; }
    3510 as_val=`eval 'as_val=${'$as_ac_Header'}
    3511                  $as_echo "$as_val"'`
    3512    if test "x$as_val" = x""yes; then
     3680do :
     3681  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3682ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3683"
     3684eval as_val=\$$as_ac_Header
     3685   if test "x$as_val" = x""yes; then :
    35133686  cat >>confdefs.h <<_ACEOF
    35143687#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35243697    # Step 0.a: Enable 64 bit support?
    35253698
    3526     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     3699    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    35273700$as_echo_n "checking if 64bit support is requested... " >&6; }
    35283701    # Check whether --enable-64bit was given.
    3529 if test "${enable_64bit+set}" = set; then
     3702if test "${enable_64bit+set}" = set; then :
    35303703  enableval=$enable_64bit; do64bit=$enableval
    35313704else
     
    35333706fi
    35343707
    3535     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     3708    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    35363709$as_echo "$do64bit" >&6; }
    35373710
    35383711    # Step 0.b: Enable Solaris 64 bit VIS support?
    35393712
    3540     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     3713    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    35413714$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    35423715    # Check whether --enable-64bit-vis was given.
    3543 if test "${enable_64bit_vis+set}" = set; then
     3716if test "${enable_64bit_vis+set}" = set; then :
    35443717  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    35453718else
     
    35473720fi
    35483721
    3549     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     3722    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    35503723$as_echo "$do64bitVIS" >&6; }
    35513724
     
    35593732
    35603733
    3561     { $as_echo "$as_me:$LINENO: checking system version" >&5
     3734    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    35623735$as_echo_n "checking system version... " >&6; }
    3563 if test "${tcl_cv_sys_version+set}" = set; then
     3736if test "${tcl_cv_sys_version+set}" = set; then :
    35643737  $as_echo_n "(cached) " >&6
    35653738else
     
    35703743            tcl_cv_sys_version=`uname -s`-`uname -r`
    35713744            if test "$?" -ne 0 ; then
    3572                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     3745                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    35733746$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    35743747                tcl_cv_sys_version=unknown
     
    35873760
    35883761fi
    3589 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     3762{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    35903763$as_echo "$tcl_cv_sys_version" >&6; }
    35913764    system=$tcl_cv_sys_version
     
    35953768    # Linux can use either -ldl or -ldld for dynamic loading.
    35963769
    3597     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     3770    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    35983771$as_echo_n "checking for dlopen in -ldl... " >&6; }
    3599 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     3772if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
    36003773  $as_echo_n "(cached) " >&6
    36013774else
    36023775  ac_check_lib_save_LIBS=$LIBS
    36033776LIBS="-ldl  $LIBS"
    3604 cat >conftest.$ac_ext <<_ACEOF
    3605 /* confdefs.h.  */
    3606 _ACEOF
    3607 cat confdefs.h >>conftest.$ac_ext
    3608 cat >>conftest.$ac_ext <<_ACEOF
     3777cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36093778/* end confdefs.h.  */
    36103779
     
    36243793}
    36253794_ACEOF
    3626 rm -f conftest.$ac_objext conftest$ac_exeext
    3627 if { (ac_try="$ac_link"
    3628 case "(($ac_try" in
    3629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3630   *) ac_try_echo=$ac_try;;
    3631 esac
    3632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3633 $as_echo "$ac_try_echo") >&5
    3634   (eval "$ac_link") 2>conftest.er1
    3635   ac_status=$?
    3636   grep -v '^ *+' conftest.er1 >conftest.err
    3637   rm -f conftest.er1
    3638   cat conftest.err >&5
    3639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3640   (exit $ac_status); } && {
    3641          test -z "$ac_c_werror_flag" ||
    3642          test ! -s conftest.err
    3643        } && test -s conftest$ac_exeext && {
    3644          test "$cross_compiling" = yes ||
    3645          $as_test_x conftest$ac_exeext
    3646        }; then
     3795if ac_fn_c_try_link "$LINENO"; then :
    36473796  ac_cv_lib_dl_dlopen=yes
    36483797else
    3649   $as_echo "$as_me: failed program was:" >&5
    3650 sed 's/^/| /' conftest.$ac_ext >&5
    3651 
    3652         ac_cv_lib_dl_dlopen=no
    3653 fi
    3654 
    3655 rm -rf conftest.dSYM
    3656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3657       conftest$ac_exeext conftest.$ac_ext
     3798  ac_cv_lib_dl_dlopen=no
     3799fi
     3800rm -f core conftest.err conftest.$ac_objext \
     3801    conftest$ac_exeext conftest.$ac_ext
    36583802LIBS=$ac_check_lib_save_LIBS
    36593803fi
    3660 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     3804{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    36613805$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    3662 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     3806if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
    36633807  have_dl=yes
    36643808else
     
    36923836    # Extract the first word of "ar", so it can be a program name with args.
    36933837set dummy ar; ac_word=$2
    3694 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     3838{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    36953839$as_echo_n "checking for $ac_word... " >&6; }
    3696 if test "${ac_cv_prog_AR+set}" = set; then
     3840if test "${ac_cv_prog_AR+set}" = set; then :
    36973841  $as_echo_n "(cached) " >&6
    36983842else
     
    37053849  IFS=$as_save_IFS
    37063850  test -z "$as_dir" && as_dir=.
    3707   for ac_exec_ext in '' $ac_executable_extensions; do
     3851    for ac_exec_ext in '' $ac_executable_extensions; do
    37083852  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37093853    ac_cv_prog_AR="ar"
    3710     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3854    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37113855    break 2
    37123856  fi
    37133857done
    3714 done
     3858  done
    37153859IFS=$as_save_IFS
    37163860
     
    37193863AR=$ac_cv_prog_AR
    37203864if test -n "$AR"; then
    3721   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     3865  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    37223866$as_echo "$AR" >&6; }
    37233867else
    3724   { $as_echo "$as_me:$LINENO: result: no" >&5
     3868  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    37253869$as_echo "no" >&6; }
    37263870fi
     
    37283872
    37293873    if test "${AR}" = "" ; then
    3730         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    3731 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    3732    { (exit 1); exit 1; }; }
     3874        as_fn_error "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    37333875    fi
    37343876    STLIB_LD='${AR} cr'
     
    37483890                        ;;
    37493891                esac
    3750                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     3892                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    37513893$as_echo "Using $CC for compiling with threads" >&6; }
    37523894            fi
     
    37643906            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    37653907                if test "$GCC" = "yes" ; then
    3766                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     3908                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    37673909$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    37683910                else
     
    38193961            # known GMT value.
    38203962
    3821             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     3963            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    38223964$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    3823 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     3965if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then :
    38243966  $as_echo_n "(cached) " >&6
    38253967else
    38263968  ac_check_lib_save_LIBS=$LIBS
    38273969LIBS="-lbsd  $LIBS"
    3828 cat >conftest.$ac_ext <<_ACEOF
    3829 /* confdefs.h.  */
    3830 _ACEOF
    3831 cat confdefs.h >>conftest.$ac_ext
    3832 cat >>conftest.$ac_ext <<_ACEOF
     3970cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    38333971/* end confdefs.h.  */
    38343972
     
    38483986}
    38493987_ACEOF
    3850 rm -f conftest.$ac_objext conftest$ac_exeext
    3851 if { (ac_try="$ac_link"
    3852 case "(($ac_try" in
    3853   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3854   *) ac_try_echo=$ac_try;;
    3855 esac
    3856 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3857 $as_echo "$ac_try_echo") >&5
    3858   (eval "$ac_link") 2>conftest.er1
    3859   ac_status=$?
    3860   grep -v '^ *+' conftest.er1 >conftest.err
    3861   rm -f conftest.er1
    3862   cat conftest.err >&5
    3863   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3864   (exit $ac_status); } && {
    3865          test -z "$ac_c_werror_flag" ||
    3866          test ! -s conftest.err
    3867        } && test -s conftest$ac_exeext && {
    3868          test "$cross_compiling" = yes ||
    3869          $as_test_x conftest$ac_exeext
    3870        }; then
     3988if ac_fn_c_try_link "$LINENO"; then :
    38713989  ac_cv_lib_bsd_gettimeofday=yes
    38723990else
    3873   $as_echo "$as_me: failed program was:" >&5
    3874 sed 's/^/| /' conftest.$ac_ext >&5
    3875 
    3876         ac_cv_lib_bsd_gettimeofday=no
    3877 fi
    3878 
    3879 rm -rf conftest.dSYM
    3880 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3881       conftest$ac_exeext conftest.$ac_ext
     3991  ac_cv_lib_bsd_gettimeofday=no
     3992fi
     3993rm -f core conftest.err conftest.$ac_objext \
     3994    conftest$ac_exeext conftest.$ac_ext
    38823995LIBS=$ac_check_lib_save_LIBS
    38833996fi
    3884 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     3997{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    38853998$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    3886 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     3999if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then :
    38874000  libbsd=yes
    38884001else
     
    38924005            if test $libbsd = yes; then
    38934006                MATH_LIBS="$MATH_LIBS -lbsd"
    3894                 cat >>confdefs.h <<\_ACEOF
    3895 #define USE_DELTA_FOR_TZ 1
    3896 _ACEOF
     4007                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    38974008
    38984009            fi
     
    39114022            # is always linked to, for compatibility.
    39124023            #-----------------------------------------------------------
    3913             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4024            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    39144025$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    3915 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4026if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then :
    39164027  $as_echo_n "(cached) " >&6
    39174028else
    39184029  ac_check_lib_save_LIBS=$LIBS
    39194030LIBS="-lbind  $LIBS"
    3920 cat >conftest.$ac_ext <<_ACEOF
    3921 /* confdefs.h.  */
    3922 _ACEOF
    3923 cat confdefs.h >>conftest.$ac_ext
    3924 cat >>conftest.$ac_ext <<_ACEOF
     4031cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39254032/* end confdefs.h.  */
    39264033
     
    39404047}
    39414048_ACEOF
    3942 rm -f conftest.$ac_objext conftest$ac_exeext
    3943 if { (ac_try="$ac_link"
    3944 case "(($ac_try" in
    3945   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3946   *) ac_try_echo=$ac_try;;
    3947 esac
    3948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3949 $as_echo "$ac_try_echo") >&5
    3950   (eval "$ac_link") 2>conftest.er1
    3951   ac_status=$?
    3952   grep -v '^ *+' conftest.er1 >conftest.err
    3953   rm -f conftest.er1
    3954   cat conftest.err >&5
    3955   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3956   (exit $ac_status); } && {
    3957          test -z "$ac_c_werror_flag" ||
    3958          test ! -s conftest.err
    3959        } && test -s conftest$ac_exeext && {
    3960          test "$cross_compiling" = yes ||
    3961          $as_test_x conftest$ac_exeext
    3962        }; then
     4049if ac_fn_c_try_link "$LINENO"; then :
    39634050  ac_cv_lib_bind_inet_ntoa=yes
    39644051else
    3965   $as_echo "$as_me: failed program was:" >&5
    3966 sed 's/^/| /' conftest.$ac_ext >&5
    3967 
    3968         ac_cv_lib_bind_inet_ntoa=no
    3969 fi
    3970 
    3971 rm -rf conftest.dSYM
    3972 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3973       conftest$ac_exeext conftest.$ac_ext
     4052  ac_cv_lib_bind_inet_ntoa=no
     4053fi
     4054rm -f core conftest.err conftest.$ac_objext \
     4055    conftest$ac_exeext conftest.$ac_ext
    39744056LIBS=$ac_check_lib_save_LIBS
    39754057fi
    3976 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4058{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    39774059$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    3978 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4060if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then :
    39794061  LIBS="$LIBS -lbind -lsocket"
    39804062fi
     
    40144096        HP-UX-*.11.*)
    40154097            # Use updated header definitions where possible
    4016             cat >>confdefs.h <<\_ACEOF
    4017 #define _XOPEN_SOURCE 1
    4018 _ACEOF
     4098            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    40194099          # Use the XOPEN network library
    4020             cat >>confdefs.h <<\_ACEOF
    4021 #define _XOPEN_SOURCE_EXTENDED 1
    4022 _ACEOF
     4100            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    40234101 # Use the XOPEN network library
    40244102            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    40294107                SHLIB_SUFFIX=".sl"
    40304108            fi
    4031             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4109            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    40324110$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4033 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4111if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
    40344112  $as_echo_n "(cached) " >&6
    40354113else
    40364114  ac_check_lib_save_LIBS=$LIBS
    40374115LIBS="-ldld  $LIBS"
    4038 cat >conftest.$ac_ext <<_ACEOF
    4039 /* confdefs.h.  */
    4040 _ACEOF
    4041 cat confdefs.h >>conftest.$ac_ext
    4042 cat >>conftest.$ac_ext <<_ACEOF
     4116cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40434117/* end confdefs.h.  */
    40444118
     
    40584132}
    40594133_ACEOF
    4060 rm -f conftest.$ac_objext conftest$ac_exeext
    4061 if { (ac_try="$ac_link"
    4062 case "(($ac_try" in
    4063   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4064   *) ac_try_echo=$ac_try;;
    4065 esac
    4066 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4067 $as_echo "$ac_try_echo") >&5
    4068   (eval "$ac_link") 2>conftest.er1
    4069   ac_status=$?
    4070   grep -v '^ *+' conftest.er1 >conftest.err
    4071   rm -f conftest.er1
    4072   cat conftest.err >&5
    4073   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4074   (exit $ac_status); } && {
    4075          test -z "$ac_c_werror_flag" ||
    4076          test ! -s conftest.err
    4077        } && test -s conftest$ac_exeext && {
    4078          test "$cross_compiling" = yes ||
    4079          $as_test_x conftest$ac_exeext
    4080        }; then
     4134if ac_fn_c_try_link "$LINENO"; then :
    40814135  ac_cv_lib_dld_shl_load=yes
    40824136else
    4083   $as_echo "$as_me: failed program was:" >&5
    4084 sed 's/^/| /' conftest.$ac_ext >&5
    4085 
    4086         ac_cv_lib_dld_shl_load=no
    4087 fi
    4088 
    4089 rm -rf conftest.dSYM
    4090 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4091       conftest$ac_exeext conftest.$ac_ext
     4137  ac_cv_lib_dld_shl_load=no
     4138fi
     4139rm -f core conftest.err conftest.$ac_objext \
     4140    conftest$ac_exeext conftest.$ac_ext
    40924141LIBS=$ac_check_lib_save_LIBS
    40934142fi
    4094 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4143{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    40954144$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4096 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4145if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
    40974146  tcl_ok=yes
    40984147else
     
    41344183                            ;;
    41354184                        *)
    4136                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4185                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    41374186$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    41384187                            ;;
     
    41474196        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    41484197            SHLIB_SUFFIX=".sl"
    4149             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4198            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    41504199$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4151 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4200if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
    41524201  $as_echo_n "(cached) " >&6
    41534202else
    41544203  ac_check_lib_save_LIBS=$LIBS
    41554204LIBS="-ldld  $LIBS"
    4156 cat >conftest.$ac_ext <<_ACEOF
    4157 /* confdefs.h.  */
    4158 _ACEOF
    4159 cat confdefs.h >>conftest.$ac_ext
    4160 cat >>conftest.$ac_ext <<_ACEOF
     4205cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41614206/* end confdefs.h.  */
    41624207
     
    41764221}
    41774222_ACEOF
    4178 rm -f conftest.$ac_objext conftest$ac_exeext
    4179 if { (ac_try="$ac_link"
    4180 case "(($ac_try" in
    4181   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4182   *) ac_try_echo=$ac_try;;
    4183 esac
    4184 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4185 $as_echo "$ac_try_echo") >&5
    4186   (eval "$ac_link") 2>conftest.er1
    4187   ac_status=$?
    4188   grep -v '^ *+' conftest.er1 >conftest.err
    4189   rm -f conftest.er1
    4190   cat conftest.err >&5
    4191   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4192   (exit $ac_status); } && {
    4193          test -z "$ac_c_werror_flag" ||
    4194          test ! -s conftest.err
    4195        } && test -s conftest$ac_exeext && {
    4196          test "$cross_compiling" = yes ||
    4197          $as_test_x conftest$ac_exeext
    4198        }; then
     4223if ac_fn_c_try_link "$LINENO"; then :
    41994224  ac_cv_lib_dld_shl_load=yes
    42004225else
    4201   $as_echo "$as_me: failed program was:" >&5
    4202 sed 's/^/| /' conftest.$ac_ext >&5
    4203 
    4204         ac_cv_lib_dld_shl_load=no
    4205 fi
    4206 
    4207 rm -rf conftest.dSYM
    4208 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4209       conftest$ac_exeext conftest.$ac_ext
     4226  ac_cv_lib_dld_shl_load=no
     4227fi
     4228rm -f core conftest.err conftest.$ac_objext \
     4229    conftest$ac_exeext conftest.$ac_ext
    42104230LIBS=$ac_check_lib_save_LIBS
    42114231fi
    4212 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4232{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    42134233$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4214 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4234if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
    42154235  tcl_ok=yes
    42164236else
     
    42914311            if test "$do64bit" = "yes" ; then
    42924312                if test "$GCC" = "yes" ; then
    4293                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4313                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    42944314$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    42954315                else
     
    43204340                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    43214341            else
    4322                 if test "${ac_cv_header_dld_h+set}" = set; then
    4323   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4324 $as_echo_n "checking for dld.h... " >&6; }
    4325 if test "${ac_cv_header_dld_h+set}" = set; then
    4326   $as_echo_n "(cached) " >&6
    4327 fi
    4328 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4329 $as_echo "$ac_cv_header_dld_h" >&6; }
    4330 else
    4331   # Is the header compilable?
    4332 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4333 $as_echo_n "checking dld.h usability... " >&6; }
    4334 cat >conftest.$ac_ext <<_ACEOF
    4335 /* confdefs.h.  */
    4336 _ACEOF
    4337 cat confdefs.h >>conftest.$ac_ext
    4338 cat >>conftest.$ac_ext <<_ACEOF
    4339 /* end confdefs.h.  */
    4340 $ac_includes_default
    4341 #include <dld.h>
    4342 _ACEOF
    4343 rm -f conftest.$ac_objext
    4344 if { (ac_try="$ac_compile"
    4345 case "(($ac_try" in
    4346   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4347   *) ac_try_echo=$ac_try;;
    4348 esac
    4349 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4350 $as_echo "$ac_try_echo") >&5
    4351   (eval "$ac_compile") 2>conftest.er1
    4352   ac_status=$?
    4353   grep -v '^ *+' conftest.er1 >conftest.err
    4354   rm -f conftest.er1
    4355   cat conftest.err >&5
    4356   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4357   (exit $ac_status); } && {
    4358          test -z "$ac_c_werror_flag" ||
    4359          test ! -s conftest.err
    4360        } && test -s conftest.$ac_objext; then
    4361   ac_header_compiler=yes
    4362 else
    4363   $as_echo "$as_me: failed program was:" >&5
    4364 sed 's/^/| /' conftest.$ac_ext >&5
    4365 
    4366         ac_header_compiler=no
    4367 fi
    4368 
    4369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4370 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4371 $as_echo "$ac_header_compiler" >&6; }
    4372 
    4373 # Is the header present?
    4374 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4375 $as_echo_n "checking dld.h presence... " >&6; }
    4376 cat >conftest.$ac_ext <<_ACEOF
    4377 /* confdefs.h.  */
    4378 _ACEOF
    4379 cat confdefs.h >>conftest.$ac_ext
    4380 cat >>conftest.$ac_ext <<_ACEOF
    4381 /* end confdefs.h.  */
    4382 #include <dld.h>
    4383 _ACEOF
    4384 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4385 case "(($ac_try" in
    4386   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4387   *) ac_try_echo=$ac_try;;
    4388 esac
    4389 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4390 $as_echo "$ac_try_echo") >&5
    4391   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4392   ac_status=$?
    4393   grep -v '^ *+' conftest.er1 >conftest.err
    4394   rm -f conftest.er1
    4395   cat conftest.err >&5
    4396   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4397   (exit $ac_status); } >/dev/null && {
    4398          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4399          test ! -s conftest.err
    4400        }; then
    4401   ac_header_preproc=yes
    4402 else
    4403   $as_echo "$as_me: failed program was:" >&5
    4404 sed 's/^/| /' conftest.$ac_ext >&5
    4405 
    4406   ac_header_preproc=no
    4407 fi
    4408 
    4409 rm -f conftest.err conftest.$ac_ext
    4410 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4411 $as_echo "$ac_header_preproc" >&6; }
    4412 
    4413 # So?  What about this header?
    4414 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4415   yes:no: )
    4416     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4417 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4418     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4419 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4420     ac_header_preproc=yes
    4421     ;;
    4422   no:yes:* )
    4423     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4424 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4425     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4426 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4427     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4428 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4429     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4430 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4431     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4432 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4433     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4434 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4435     ( cat <<\_ASBOX
    4436 ## ----------------------------------- ##
    4437 ## Report this to rappture@nanohub.org ##
    4438 ## ----------------------------------- ##
    4439 _ASBOX
    4440      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4441     ;;
    4442 esac
    4443 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4444 $as_echo_n "checking for dld.h... " >&6; }
    4445 if test "${ac_cv_header_dld_h+set}" = set; then
    4446   $as_echo_n "(cached) " >&6
    4447 else
    4448   ac_cv_header_dld_h=$ac_header_preproc
    4449 fi
    4450 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4451 $as_echo "$ac_cv_header_dld_h" >&6; }
    4452 
    4453 fi
    4454 if test "x$ac_cv_header_dld_h" = x""yes; then
     4342                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4343if test "x$ac_cv_header_dld_h" = x""yes; then :
    44554344
    44564345                    SHLIB_LD="ld -shared"
     
    44674356            fi
    44684357            if test $do64bit = yes; then
    4469                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4358                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    44704359$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4471 if test "${tcl_cv_cc_m64+set}" = set; then
     4360if test "${tcl_cv_cc_m64+set}" = set; then :
    44724361  $as_echo_n "(cached) " >&6
    44734362else
     
    44754364                    hold_cflags=$CFLAGS
    44764365                    CFLAGS="$CFLAGS -m64"
    4477                     cat >conftest.$ac_ext <<_ACEOF
    4478 /* confdefs.h.  */
    4479 _ACEOF
    4480 cat confdefs.h >>conftest.$ac_ext
    4481 cat >>conftest.$ac_ext <<_ACEOF
     4366                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    44824367/* end confdefs.h.  */
    44834368
     
    44904375}
    44914376_ACEOF
    4492 rm -f conftest.$ac_objext conftest$ac_exeext
    4493 if { (ac_try="$ac_link"
    4494 case "(($ac_try" in
    4495   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4496   *) ac_try_echo=$ac_try;;
    4497 esac
    4498 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4499 $as_echo "$ac_try_echo") >&5
    4500   (eval "$ac_link") 2>conftest.er1
    4501   ac_status=$?
    4502   grep -v '^ *+' conftest.er1 >conftest.err
    4503   rm -f conftest.er1
    4504   cat conftest.err >&5
    4505   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4506   (exit $ac_status); } && {
    4507          test -z "$ac_c_werror_flag" ||
    4508          test ! -s conftest.err
    4509        } && test -s conftest$ac_exeext && {
    4510          test "$cross_compiling" = yes ||
    4511          $as_test_x conftest$ac_exeext
    4512        }; then
     4377if ac_fn_c_try_link "$LINENO"; then :
    45134378  tcl_cv_cc_m64=yes
    45144379else
    4515   $as_echo "$as_me: failed program was:" >&5
    4516 sed 's/^/| /' conftest.$ac_ext >&5
    4517 
    4518         tcl_cv_cc_m64=no
    4519 fi
    4520 
    4521 rm -rf conftest.dSYM
    4522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4523       conftest$ac_exeext conftest.$ac_ext
     4380  tcl_cv_cc_m64=no
     4381fi
     4382rm -f core conftest.err conftest.$ac_objext \
     4383    conftest$ac_exeext conftest.$ac_ext
    45244384                    CFLAGS=$hold_cflags
    45254385fi
    4526 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4386{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    45274387$as_echo "$tcl_cv_cc_m64" >&6; }
    45284388                if test $tcl_cv_cc_m64 = yes; then
     
    45444404
    45454405            # XIM peeking works under XFree86.
    4546             cat >>confdefs.h <<\_ACEOF
    4547 #define PEEK_XCLOSEIM 1
    4548 _ACEOF
     4406            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    45494407
    45504408
     
    45634421                LD_SEARCH_FLAGS=""
    45644422            else
    4565                 if test "${ac_cv_header_dld_h+set}" = set; then
    4566   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4567 $as_echo_n "checking for dld.h... " >&6; }
    4568 if test "${ac_cv_header_dld_h+set}" = set; then
    4569   $as_echo_n "(cached) " >&6
    4570 fi
    4571 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4572 $as_echo "$ac_cv_header_dld_h" >&6; }
    4573 else
    4574   # Is the header compilable?
    4575 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4576 $as_echo_n "checking dld.h usability... " >&6; }
    4577 cat >conftest.$ac_ext <<_ACEOF
    4578 /* confdefs.h.  */
    4579 _ACEOF
    4580 cat confdefs.h >>conftest.$ac_ext
    4581 cat >>conftest.$ac_ext <<_ACEOF
    4582 /* end confdefs.h.  */
    4583 $ac_includes_default
    4584 #include <dld.h>
    4585 _ACEOF
    4586 rm -f conftest.$ac_objext
    4587 if { (ac_try="$ac_compile"
    4588 case "(($ac_try" in
    4589   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4590   *) ac_try_echo=$ac_try;;
    4591 esac
    4592 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4593 $as_echo "$ac_try_echo") >&5
    4594   (eval "$ac_compile") 2>conftest.er1
    4595   ac_status=$?
    4596   grep -v '^ *+' conftest.er1 >conftest.err
    4597   rm -f conftest.er1
    4598   cat conftest.err >&5
    4599   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4600   (exit $ac_status); } && {
    4601          test -z "$ac_c_werror_flag" ||
    4602          test ! -s conftest.err
    4603        } && test -s conftest.$ac_objext; then
    4604   ac_header_compiler=yes
    4605 else
    4606   $as_echo "$as_me: failed program was:" >&5
    4607 sed 's/^/| /' conftest.$ac_ext >&5
    4608 
    4609         ac_header_compiler=no
    4610 fi
    4611 
    4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4613 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4614 $as_echo "$ac_header_compiler" >&6; }
    4615 
    4616 # Is the header present?
    4617 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4618 $as_echo_n "checking dld.h presence... " >&6; }
    4619 cat >conftest.$ac_ext <<_ACEOF
    4620 /* confdefs.h.  */
    4621 _ACEOF
    4622 cat confdefs.h >>conftest.$ac_ext
    4623 cat >>conftest.$ac_ext <<_ACEOF
    4624 /* end confdefs.h.  */
    4625 #include <dld.h>
    4626 _ACEOF
    4627 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4628 case "(($ac_try" in
    4629   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4630   *) ac_try_echo=$ac_try;;
    4631 esac
    4632 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4633 $as_echo "$ac_try_echo") >&5
    4634   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4635   ac_status=$?
    4636   grep -v '^ *+' conftest.er1 >conftest.err
    4637   rm -f conftest.er1
    4638   cat conftest.err >&5
    4639   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4640   (exit $ac_status); } >/dev/null && {
    4641          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4642          test ! -s conftest.err
    4643        }; then
    4644   ac_header_preproc=yes
    4645 else
    4646   $as_echo "$as_me: failed program was:" >&5
    4647 sed 's/^/| /' conftest.$ac_ext >&5
    4648 
    4649   ac_header_preproc=no
    4650 fi
    4651 
    4652 rm -f conftest.err conftest.$ac_ext
    4653 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4654 $as_echo "$ac_header_preproc" >&6; }
    4655 
    4656 # So?  What about this header?
    4657 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4658   yes:no: )
    4659     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4660 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4661     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4662 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4663     ac_header_preproc=yes
    4664     ;;
    4665   no:yes:* )
    4666     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4667 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4668     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4669 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4670     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4671 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4672     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4673 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4674     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4675 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4676     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4677 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4678     ( cat <<\_ASBOX
    4679 ## ----------------------------------- ##
    4680 ## Report this to rappture@nanohub.org ##
    4681 ## ----------------------------------- ##
    4682 _ASBOX
    4683      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4684     ;;
    4685 esac
    4686 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4687 $as_echo_n "checking for dld.h... " >&6; }
    4688 if test "${ac_cv_header_dld_h+set}" = set; then
    4689   $as_echo_n "(cached) " >&6
    4690 else
    4691   ac_cv_header_dld_h=$ac_header_preproc
    4692 fi
    4693 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4694 $as_echo "$ac_cv_header_dld_h" >&6; }
    4695 
    4696 fi
    4697 if test "x$ac_cv_header_dld_h" = x""yes; then
     4423                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4424if test "x$ac_cv_header_dld_h" = x""yes; then :
    46984425
    46994426                    SHLIB_LD="ld -shared"
     
    47454472        NetBSD-*|FreeBSD-[1-2].*)
    47464473            # Not available on all versions:  check for include file.
    4747             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4748   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4749 $as_echo_n "checking for dlfcn.h... " >&6; }
    4750 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4751   $as_echo_n "(cached) " >&6
    4752 fi
    4753 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4754 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4755 else
    4756   # Is the header compilable?
    4757 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    4758 $as_echo_n "checking dlfcn.h usability... " >&6; }
    4759 cat >conftest.$ac_ext <<_ACEOF
    4760 /* confdefs.h.  */
    4761 _ACEOF
    4762 cat confdefs.h >>conftest.$ac_ext
    4763 cat >>conftest.$ac_ext <<_ACEOF
    4764 /* end confdefs.h.  */
    4765 $ac_includes_default
    4766 #include <dlfcn.h>
    4767 _ACEOF
    4768 rm -f conftest.$ac_objext
    4769 if { (ac_try="$ac_compile"
    4770 case "(($ac_try" in
    4771   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4772   *) ac_try_echo=$ac_try;;
    4773 esac
    4774 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4775 $as_echo "$ac_try_echo") >&5
    4776   (eval "$ac_compile") 2>conftest.er1
    4777   ac_status=$?
    4778   grep -v '^ *+' conftest.er1 >conftest.err
    4779   rm -f conftest.er1
    4780   cat conftest.err >&5
    4781   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4782   (exit $ac_status); } && {
    4783          test -z "$ac_c_werror_flag" ||
    4784          test ! -s conftest.err
    4785        } && test -s conftest.$ac_objext; then
    4786   ac_header_compiler=yes
    4787 else
    4788   $as_echo "$as_me: failed program was:" >&5
    4789 sed 's/^/| /' conftest.$ac_ext >&5
    4790 
    4791         ac_header_compiler=no
    4792 fi
    4793 
    4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4795 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4796 $as_echo "$ac_header_compiler" >&6; }
    4797 
    4798 # Is the header present?
    4799 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    4800 $as_echo_n "checking dlfcn.h presence... " >&6; }
    4801 cat >conftest.$ac_ext <<_ACEOF
    4802 /* confdefs.h.  */
    4803 _ACEOF
    4804 cat confdefs.h >>conftest.$ac_ext
    4805 cat >>conftest.$ac_ext <<_ACEOF
    4806 /* end confdefs.h.  */
    4807 #include <dlfcn.h>
    4808 _ACEOF
    4809 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4810 case "(($ac_try" in
    4811   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4812   *) ac_try_echo=$ac_try;;
    4813 esac
    4814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4815 $as_echo "$ac_try_echo") >&5
    4816   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4817   ac_status=$?
    4818   grep -v '^ *+' conftest.er1 >conftest.err
    4819   rm -f conftest.er1
    4820   cat conftest.err >&5
    4821   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4822   (exit $ac_status); } >/dev/null && {
    4823          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4824          test ! -s conftest.err
    4825        }; then
    4826   ac_header_preproc=yes
    4827 else
    4828   $as_echo "$as_me: failed program was:" >&5
    4829 sed 's/^/| /' conftest.$ac_ext >&5
    4830 
    4831   ac_header_preproc=no
    4832 fi
    4833 
    4834 rm -f conftest.err conftest.$ac_ext
    4835 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4836 $as_echo "$ac_header_preproc" >&6; }
    4837 
    4838 # So?  What about this header?
    4839 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4840   yes:no: )
    4841     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4842 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4843     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    4844 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    4845     ac_header_preproc=yes
    4846     ;;
    4847   no:yes:* )
    4848     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    4849 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    4850     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    4851 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    4852     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    4853 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    4854     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    4855 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4856     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    4857 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    4858     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    4859 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    4860     ( cat <<\_ASBOX
    4861 ## ----------------------------------- ##
    4862 ## Report this to rappture@nanohub.org ##
    4863 ## ----------------------------------- ##
    4864 _ASBOX
    4865      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4866     ;;
    4867 esac
    4868 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4869 $as_echo_n "checking for dlfcn.h... " >&6; }
    4870 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4871   $as_echo_n "(cached) " >&6
    4872 else
    4873   ac_cv_header_dlfcn_h=$ac_header_preproc
    4874 fi
    4875 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4876 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4877 
    4878 fi
    4879 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4474            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4475if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
    48804476
    48814477                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    48884484                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    48894485                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4890                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4486                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    48914487$as_echo_n "checking for ELF... " >&6; }
    4892 if test "${tcl_cv_ld_elf+set}" = set; then
     4488if test "${tcl_cv_ld_elf+set}" = set; then :
    48934489  $as_echo_n "(cached) " >&6
    48944490else
    48954491
    4896                     cat >conftest.$ac_ext <<_ACEOF
    4897 /* confdefs.h.  */
    4898 _ACEOF
    4899 cat confdefs.h >>conftest.$ac_ext
    4900 cat >>conftest.$ac_ext <<_ACEOF
     4492                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49014493/* end confdefs.h.  */
    49024494
     
    49074499_ACEOF
    49084500if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4909   $EGREP "yes" >/dev/null 2>&1; then
     4501  $EGREP "yes" >/dev/null 2>&1; then :
    49104502  tcl_cv_ld_elf=yes
    49114503else
     
    49154507
    49164508fi
    4917 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     4509{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    49184510$as_echo "$tcl_cv_ld_elf" >&6; }
    49194511                if test $tcl_cv_ld_elf = yes; then
     
    49744566                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    49754567                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4976                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4568                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    49774569$as_echo_n "checking for ELF... " >&6; }
    4978 if test "${tcl_cv_ld_elf+set}" = set; then
     4570if test "${tcl_cv_ld_elf+set}" = set; then :
    49794571  $as_echo_n "(cached) " >&6
    49804572else
    49814573
    4982                     cat >conftest.$ac_ext <<_ACEOF
    4983 /* confdefs.h.  */
    4984 _ACEOF
    4985 cat confdefs.h >>conftest.$ac_ext
    4986 cat >>conftest.$ac_ext <<_ACEOF
     4574                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49874575/* end confdefs.h.  */
    49884576
     
    49934581_ACEOF
    49944582if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4995   $EGREP "yes" >/dev/null 2>&1; then
     4583  $EGREP "yes" >/dev/null 2>&1; then :
    49964584  tcl_cv_ld_elf=yes
    49974585else
     
    50014589
    50024590fi
    5003 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     4591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    50044592$as_echo "$tcl_cv_ld_elf" >&6; }
    50054593                if test $tcl_cv_ld_elf = yes; then
     
    50564644                case `arch` in
    50574645                    ppc)
    5058                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     4646                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    50594647$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5060 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     4648if test "${tcl_cv_cc_arch_ppc64+set}" = set; then :
    50614649  $as_echo_n "(cached) " >&6
    50624650else
     
    50644652                            hold_cflags=$CFLAGS
    50654653                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5066                             cat >conftest.$ac_ext <<_ACEOF
    5067 /* confdefs.h.  */
    5068 _ACEOF
    5069 cat confdefs.h >>conftest.$ac_ext
    5070 cat >>conftest.$ac_ext <<_ACEOF
     4654                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50714655/* end confdefs.h.  */
    50724656
     
    50794663}
    50804664_ACEOF
    5081 rm -f conftest.$ac_objext conftest$ac_exeext
    5082 if { (ac_try="$ac_link"
    5083 case "(($ac_try" in
    5084   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5085   *) ac_try_echo=$ac_try;;
    5086 esac
    5087 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5088 $as_echo "$ac_try_echo") >&5
    5089   (eval "$ac_link") 2>conftest.er1
    5090   ac_status=$?
    5091   grep -v '^ *+' conftest.er1 >conftest.err
    5092   rm -f conftest.er1
    5093   cat conftest.err >&5
    5094   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5095   (exit $ac_status); } && {
    5096          test -z "$ac_c_werror_flag" ||
    5097          test ! -s conftest.err
    5098        } && test -s conftest$ac_exeext && {
    5099          test "$cross_compiling" = yes ||
    5100          $as_test_x conftest$ac_exeext
    5101        }; then
     4665if ac_fn_c_try_link "$LINENO"; then :
    51024666  tcl_cv_cc_arch_ppc64=yes
    51034667else
    5104   $as_echo "$as_me: failed program was:" >&5
    5105 sed 's/^/| /' conftest.$ac_ext >&5
    5106 
    5107         tcl_cv_cc_arch_ppc64=no
    5108 fi
    5109 
    5110 rm -rf conftest.dSYM
    5111 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5112       conftest$ac_exeext conftest.$ac_ext
     4668  tcl_cv_cc_arch_ppc64=no
     4669fi
     4670rm -f core conftest.err conftest.$ac_objext \
     4671    conftest$ac_exeext conftest.$ac_ext
    51134672                            CFLAGS=$hold_cflags
    51144673fi
    5115 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     4674{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    51164675$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    51174676                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    51204679                        fi;;
    51214680                    i386)
    5122                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     4681                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    51234682$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5124 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     4683if test "${tcl_cv_cc_arch_x86_64+set}" = set; then :
    51254684  $as_echo_n "(cached) " >&6
    51264685else
     
    51284687                            hold_cflags=$CFLAGS
    51294688                            CFLAGS="$CFLAGS -arch x86_64"
    5130                             cat >conftest.$ac_ext <<_ACEOF
    5131 /* confdefs.h.  */
    5132 _ACEOF
    5133 cat confdefs.h >>conftest.$ac_ext
    5134 cat >>conftest.$ac_ext <<_ACEOF
     4689                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51354690/* end confdefs.h.  */
    51364691
     
    51434698}
    51444699_ACEOF
    5145 rm -f conftest.$ac_objext conftest$ac_exeext
    5146 if { (ac_try="$ac_link"
    5147 case "(($ac_try" in
    5148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5149   *) ac_try_echo=$ac_try;;
    5150 esac
    5151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5152 $as_echo "$ac_try_echo") >&5
    5153   (eval "$ac_link") 2>conftest.er1
    5154   ac_status=$?
    5155   grep -v '^ *+' conftest.er1 >conftest.err
    5156   rm -f conftest.er1
    5157   cat conftest.err >&5
    5158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5159   (exit $ac_status); } && {
    5160          test -z "$ac_c_werror_flag" ||
    5161          test ! -s conftest.err
    5162        } && test -s conftest$ac_exeext && {
    5163          test "$cross_compiling" = yes ||
    5164          $as_test_x conftest$ac_exeext
    5165        }; then
     4700if ac_fn_c_try_link "$LINENO"; then :
    51664701  tcl_cv_cc_arch_x86_64=yes
    51674702else
    5168   $as_echo "$as_me: failed program was:" >&5
    5169 sed 's/^/| /' conftest.$ac_ext >&5
    5170 
    5171         tcl_cv_cc_arch_x86_64=no
    5172 fi
    5173 
    5174 rm -rf conftest.dSYM
    5175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5176       conftest$ac_exeext conftest.$ac_ext
     4703  tcl_cv_cc_arch_x86_64=no
     4704fi
     4705rm -f core conftest.err conftest.$ac_objext \
     4706    conftest$ac_exeext conftest.$ac_ext
    51774707                            CFLAGS=$hold_cflags
    51784708fi
    5179 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     4709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    51804710$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    51814711                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    51844714                        fi;;
    51854715                    *)
    5186                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     4716                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    51874717$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    51884718                esac
     
    51944724            fi
    51954725            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5196             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     4726            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    51974727$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5198 if test "${tcl_cv_ld_single_module+set}" = set; then
     4728if test "${tcl_cv_ld_single_module+set}" = set; then :
    51994729  $as_echo_n "(cached) " >&6
    52004730else
     
    52024732                hold_ldflags=$LDFLAGS
    52034733                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5204                 cat >conftest.$ac_ext <<_ACEOF
    5205 /* confdefs.h.  */
    5206 _ACEOF
    5207 cat confdefs.h >>conftest.$ac_ext
    5208 cat >>conftest.$ac_ext <<_ACEOF
     4734                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52094735/* end confdefs.h.  */
    52104736
     
    52174743}
    52184744_ACEOF
    5219 rm -f conftest.$ac_objext conftest$ac_exeext
    5220 if { (ac_try="$ac_link"
    5221 case "(($ac_try" in
    5222   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5223   *) ac_try_echo=$ac_try;;
    5224 esac
    5225 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5226 $as_echo "$ac_try_echo") >&5
    5227   (eval "$ac_link") 2>conftest.er1
    5228   ac_status=$?
    5229   grep -v '^ *+' conftest.er1 >conftest.err
    5230   rm -f conftest.er1
    5231   cat conftest.err >&5
    5232   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5233   (exit $ac_status); } && {
    5234          test -z "$ac_c_werror_flag" ||
    5235          test ! -s conftest.err
    5236        } && test -s conftest$ac_exeext && {
    5237          test "$cross_compiling" = yes ||
    5238          $as_test_x conftest$ac_exeext
    5239        }; then
     4745if ac_fn_c_try_link "$LINENO"; then :
    52404746  tcl_cv_ld_single_module=yes
    52414747else
    5242   $as_echo "$as_me: failed program was:" >&5
    5243 sed 's/^/| /' conftest.$ac_ext >&5
    5244 
    5245         tcl_cv_ld_single_module=no
    5246 fi
    5247 
    5248 rm -rf conftest.dSYM
    5249 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5250       conftest$ac_exeext conftest.$ac_ext
     4748  tcl_cv_ld_single_module=no
     4749fi
     4750rm -f core conftest.err conftest.$ac_objext \
     4751    conftest$ac_exeext conftest.$ac_ext
    52514752                LDFLAGS=$hold_ldflags
    52524753fi
    5253 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     4754{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    52544755$as_echo "$tcl_cv_ld_single_module" >&6; }
    52554756            if test $tcl_cv_ld_single_module = yes; then
     
    52654766                LDFLAGS="$LDFLAGS -prebind"
    52664767            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5267             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     4768            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    52684769$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5269 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     4770if test "${tcl_cv_ld_search_paths_first+set}" = set; then :
    52704771  $as_echo_n "(cached) " >&6
    52714772else
     
    52734774                hold_ldflags=$LDFLAGS
    52744775                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5275                 cat >conftest.$ac_ext <<_ACEOF
    5276 /* confdefs.h.  */
    5277 _ACEOF
    5278 cat confdefs.h >>conftest.$ac_ext
    5279 cat >>conftest.$ac_ext <<_ACEOF
     4776                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52804777/* end confdefs.h.  */
    52814778
     
    52884785}
    52894786_ACEOF
    5290 rm -f conftest.$ac_objext conftest$ac_exeext
    5291 if { (ac_try="$ac_link"
    5292 case "(($ac_try" in
    5293   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5294   *) ac_try_echo=$ac_try;;
    5295 esac
    5296 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5297 $as_echo "$ac_try_echo") >&5
    5298   (eval "$ac_link") 2>conftest.er1
    5299   ac_status=$?
    5300   grep -v '^ *+' conftest.er1 >conftest.err
    5301   rm -f conftest.er1
    5302   cat conftest.err >&5
    5303   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5304   (exit $ac_status); } && {
    5305          test -z "$ac_c_werror_flag" ||
    5306          test ! -s conftest.err
    5307        } && test -s conftest$ac_exeext && {
    5308          test "$cross_compiling" = yes ||
    5309          $as_test_x conftest$ac_exeext
    5310        }; then
     4787if ac_fn_c_try_link "$LINENO"; then :
    53114788  tcl_cv_ld_search_paths_first=yes
    53124789else
    5313   $as_echo "$as_me: failed program was:" >&5
    5314 sed 's/^/| /' conftest.$ac_ext >&5
    5315 
    5316         tcl_cv_ld_search_paths_first=no
    5317 fi
    5318 
    5319 rm -rf conftest.dSYM
    5320 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5321       conftest$ac_exeext conftest.$ac_ext
     4790  tcl_cv_ld_search_paths_first=no
     4791fi
     4792rm -f core conftest.err conftest.$ac_objext \
     4793    conftest$ac_exeext conftest.$ac_ext
    53224794                LDFLAGS=$hold_ldflags
    53234795fi
    5324 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     4796{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    53254797$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    53264798            if test $tcl_cv_ld_search_paths_first = yes; then
     
    53324804            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    53334805            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5334             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     4806            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    53354807$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    53364808            # Check whether --enable-corefoundation was given.
    5337 if test "${enable_corefoundation+set}" = set; then
     4809if test "${enable_corefoundation+set}" = set; then :
    53384810  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    53394811else
     
    53414813fi
    53424814
    5343             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     4815            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    53444816$as_echo "$tcl_corefoundation" >&6; }
    53454817            if test $tcl_corefoundation = yes; then
    5346                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     4818                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    53474819$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5348 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     4820if test "${tcl_cv_lib_corefoundation+set}" = set; then :
    53494821  $as_echo_n "(cached) " >&6
    53504822else
     
    53584830                    done; fi
    53594831                    LIBS="$LIBS -framework CoreFoundation"
    5360                     cat >conftest.$ac_ext <<_ACEOF
    5361 /* confdefs.h.  */
    5362 _ACEOF
    5363 cat confdefs.h >>conftest.$ac_ext
    5364 cat >>conftest.$ac_ext <<_ACEOF
     4832                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53654833/* end confdefs.h.  */
    53664834#include <CoreFoundation/CoreFoundation.h>
     
    53734841}
    53744842_ACEOF
    5375 rm -f conftest.$ac_objext conftest$ac_exeext
    5376 if { (ac_try="$ac_link"
    5377 case "(($ac_try" in
    5378   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5379   *) ac_try_echo=$ac_try;;
    5380 esac
    5381 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5382 $as_echo "$ac_try_echo") >&5
    5383   (eval "$ac_link") 2>conftest.er1
    5384   ac_status=$?
    5385   grep -v '^ *+' conftest.er1 >conftest.err
    5386   rm -f conftest.er1
    5387   cat conftest.err >&5
    5388   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5389   (exit $ac_status); } && {
    5390          test -z "$ac_c_werror_flag" ||
    5391          test ! -s conftest.err
    5392        } && test -s conftest$ac_exeext && {
    5393          test "$cross_compiling" = yes ||
    5394          $as_test_x conftest$ac_exeext
    5395        }; then
     4843if ac_fn_c_try_link "$LINENO"; then :
    53964844  tcl_cv_lib_corefoundation=yes
    53974845else
    5398   $as_echo "$as_me: failed program was:" >&5
    5399 sed 's/^/| /' conftest.$ac_ext >&5
    5400 
    5401         tcl_cv_lib_corefoundation=no
    5402 fi
    5403 
    5404 rm -rf conftest.dSYM
    5405 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5406       conftest$ac_exeext conftest.$ac_ext
     4846  tcl_cv_lib_corefoundation=no
     4847fi
     4848rm -f core conftest.err conftest.$ac_objext \
     4849    conftest$ac_exeext conftest.$ac_ext
    54074850                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    54084851                        eval $v'="$hold_'$v'"'
    54094852                    done; fi; LIBS=$hold_libs
    54104853fi
    5411 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     4854{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    54124855$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    54134856                if test $tcl_cv_lib_corefoundation = yes; then
    54144857                    LIBS="$LIBS -framework CoreFoundation"
    5415                     cat >>confdefs.h <<\_ACEOF
    5416 #define HAVE_COREFOUNDATION 1
    5417 _ACEOF
     4858                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    54184859
    54194860                else
     
    54214862                fi
    54224863                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5423                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     4864                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    54244865$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5425 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     4866if test "${tcl_cv_lib_corefoundation_64+set}" = set; then :
    54264867  $as_echo_n "(cached) " >&6
    54274868else
     
    54304871                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    54314872                        done
    5432                         cat >conftest.$ac_ext <<_ACEOF
    5433 /* confdefs.h.  */
    5434 _ACEOF
    5435 cat confdefs.h >>conftest.$ac_ext
    5436 cat >>conftest.$ac_ext <<_ACEOF
     4873                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54374874/* end confdefs.h.  */
    54384875#include <CoreFoundation/CoreFoundation.h>
     
    54454882}
    54464883_ACEOF
    5447 rm -f conftest.$ac_objext conftest$ac_exeext
    5448 if { (ac_try="$ac_link"
    5449 case "(($ac_try" in
    5450   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5451   *) ac_try_echo=$ac_try;;
    5452 esac
    5453 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5454 $as_echo "$ac_try_echo") >&5
    5455   (eval "$ac_link") 2>conftest.er1
    5456   ac_status=$?
    5457   grep -v '^ *+' conftest.er1 >conftest.err
    5458   rm -f conftest.er1
    5459   cat conftest.err >&5
    5460   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5461   (exit $ac_status); } && {
    5462          test -z "$ac_c_werror_flag" ||
    5463          test ! -s conftest.err
    5464        } && test -s conftest$ac_exeext && {
    5465          test "$cross_compiling" = yes ||
    5466          $as_test_x conftest$ac_exeext
    5467        }; then
     4884if ac_fn_c_try_link "$LINENO"; then :
    54684885  tcl_cv_lib_corefoundation_64=yes
    54694886else
    5470   $as_echo "$as_me: failed program was:" >&5
    5471 sed 's/^/| /' conftest.$ac_ext >&5
    5472 
    5473         tcl_cv_lib_corefoundation_64=no
    5474 fi
    5475 
    5476 rm -rf conftest.dSYM
    5477 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5478       conftest$ac_exeext conftest.$ac_ext
     4887  tcl_cv_lib_corefoundation_64=no
     4888fi
     4889rm -f core conftest.err conftest.$ac_objext \
     4890    conftest$ac_exeext conftest.$ac_ext
    54794891                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    54804892                            eval $v'="$hold_'$v'"'
    54814893                        done
    54824894fi
    5483 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     4895{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    54844896$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    54854897                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5486                         cat >>confdefs.h <<\_ACEOF
    5487 #define NO_COREFOUNDATION_64 1
    5488 _ACEOF
     4898                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    54894899
    54904900                    fi
    54914901                fi
    54924902            fi
    5493             cat >>confdefs.h <<\_ACEOF
    5494 #define MAC_OSX_TCL 1
    5495 _ACEOF
     4903            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    54964904
    54974905            ;;
     
    55084916        OS/390-*)
    55094917            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5510             cat >>confdefs.h <<\_ACEOF
    5511 #define _OE_SOCKETS 1
    5512 _ACEOF
     4918            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    55134919        # needed in sys/socket.h
    55144920            ;;
     
    56515057            # won't define thread-safe library routines.
    56525058
    5653             cat >>confdefs.h <<\_ACEOF
    5654 #define _REENTRANT 1
    5655 _ACEOF
    5656 
    5657             cat >>confdefs.h <<\_ACEOF
    5658 #define _POSIX_PTHREAD_SEMANTICS 1
    5659 _ACEOF
     5059            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5060
     5061            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    56605062
    56615063
     
    56835085            # won't define thread-safe library routines.
    56845086
    5685             cat >>confdefs.h <<\_ACEOF
    5686 #define _REENTRANT 1
    5687 _ACEOF
    5688 
    5689             cat >>confdefs.h <<\_ACEOF
    5690 #define _POSIX_PTHREAD_SEMANTICS 1
    5691 _ACEOF
     5087            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5088
     5089            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    56925090
    56935091
     
    57005098                        if test "$GCC" = "yes" ; then
    57015099                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5702                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5100                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    57035101$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    57045102                            else
     
    57225120                elif test "$arch" = "amd64 i386" ; then
    57235121                    if test "$GCC" = "yes" ; then
    5724                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5122                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    57255123$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    57265124                    else
     
    57305128                    fi
    57315129                else
    5732                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5130                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    57335131$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    57345132                fi
     
    57895187            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    57905188            # that don't grok the -Bexport option.  Test that it does.
    5791             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5189            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    57925190$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5793 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5191if test "${tcl_cv_ld_Bexport+set}" = set; then :
    57945192  $as_echo_n "(cached) " >&6
    57955193else
     
    57975195                hold_ldflags=$LDFLAGS
    57985196                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5799                 cat >conftest.$ac_ext <<_ACEOF
    5800 /* confdefs.h.  */
    5801 _ACEOF
    5802 cat confdefs.h >>conftest.$ac_ext
    5803 cat >>conftest.$ac_ext <<_ACEOF
     5197                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58045198/* end confdefs.h.  */
    58055199
     
    58125206}
    58135207_ACEOF
    5814 rm -f conftest.$ac_objext conftest$ac_exeext
    5815 if { (ac_try="$ac_link"
    5816 case "(($ac_try" in
    5817   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5818   *) ac_try_echo=$ac_try;;
    5819 esac
    5820 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5821 $as_echo "$ac_try_echo") >&5
    5822   (eval "$ac_link") 2>conftest.er1
    5823   ac_status=$?
    5824   grep -v '^ *+' conftest.er1 >conftest.err
    5825   rm -f conftest.er1
    5826   cat conftest.err >&5
    5827   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5828   (exit $ac_status); } && {
    5829          test -z "$ac_c_werror_flag" ||
    5830          test ! -s conftest.err
    5831        } && test -s conftest$ac_exeext && {
    5832          test "$cross_compiling" = yes ||
    5833          $as_test_x conftest$ac_exeext
    5834        }; then
     5208if ac_fn_c_try_link "$LINENO"; then :
    58355209  tcl_cv_ld_Bexport=yes
    58365210else
    5837   $as_echo "$as_me: failed program was:" >&5
    5838 sed 's/^/| /' conftest.$ac_ext >&5
    5839 
    5840         tcl_cv_ld_Bexport=no
    5841 fi
    5842 
    5843 rm -rf conftest.dSYM
    5844 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5845       conftest$ac_exeext conftest.$ac_ext
     5211  tcl_cv_ld_Bexport=no
     5212fi
     5213rm -f core conftest.err conftest.$ac_objext \
     5214    conftest$ac_exeext conftest.$ac_ext
    58465215                LDFLAGS=$hold_ldflags
    58475216fi
    5848 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5217{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    58495218$as_echo "$tcl_cv_ld_Bexport" >&6; }
    58505219            if test $tcl_cv_ld_Bexport = yes; then
     
    58575226
    58585227    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5859         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5228        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    58605229$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    58615230    fi
     
    58845253
    58855254    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5886         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5255        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    58875256$as_echo_n "checking sys/exec.h... " >&6; }
    5888 if test "${tcl_cv_sysexec_h+set}" = set; then
     5257if test "${tcl_cv_sysexec_h+set}" = set; then :
    58895258  $as_echo_n "(cached) " >&6
    58905259else
    58915260
    5892         cat >conftest.$ac_ext <<_ACEOF
    5893 /* confdefs.h.  */
    5894 _ACEOF
    5895 cat confdefs.h >>conftest.$ac_ext
    5896 cat >>conftest.$ac_ext <<_ACEOF
     5261        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58975262/* end confdefs.h.  */
    58985263#include <sys/exec.h>
     
    59165281}
    59175282_ACEOF
    5918 rm -f conftest.$ac_objext
    5919 if { (ac_try="$ac_compile"
    5920 case "(($ac_try" in
    5921   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5922   *) ac_try_echo=$ac_try;;
    5923 esac
    5924 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5925 $as_echo "$ac_try_echo") >&5
    5926   (eval "$ac_compile") 2>conftest.er1
    5927   ac_status=$?
    5928   grep -v '^ *+' conftest.er1 >conftest.err
    5929   rm -f conftest.er1
    5930   cat conftest.err >&5
    5931   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5932   (exit $ac_status); } && {
    5933          test -z "$ac_c_werror_flag" ||
    5934          test ! -s conftest.err
    5935        } && test -s conftest.$ac_objext; then
     5283if ac_fn_c_try_compile "$LINENO"; then :
    59365284  tcl_cv_sysexec_h=usable
    59375285else
    5938   $as_echo "$as_me: failed program was:" >&5
    5939 sed 's/^/| /' conftest.$ac_ext >&5
    5940 
    5941         tcl_cv_sysexec_h=unusable
    5942 fi
    5943 
     5286  tcl_cv_sysexec_h=unusable
     5287fi
    59445288rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    59455289fi
    5946 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5290{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    59475291$as_echo "$tcl_cv_sysexec_h" >&6; }
    59485292        if test $tcl_cv_sysexec_h = usable; then
    5949             cat >>confdefs.h <<\_ACEOF
    5950 #define USE_SYS_EXEC_H 1
    5951 _ACEOF
     5293            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    59525294
    59535295        else
    5954             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5296            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    59555297$as_echo_n "checking a.out.h... " >&6; }
    5956 if test "${tcl_cv_aout_h+set}" = set; then
     5298if test "${tcl_cv_aout_h+set}" = set; then :
    59575299  $as_echo_n "(cached) " >&6
    59585300else
    59595301
    5960             cat >conftest.$ac_ext <<_ACEOF
    5961 /* confdefs.h.  */
    5962 _ACEOF
    5963 cat confdefs.h >>conftest.$ac_ext
    5964 cat >>conftest.$ac_ext <<_ACEOF
     5302            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59655303/* end confdefs.h.  */
    59665304#include <a.out.h>
     
    59845322}
    59855323_ACEOF
    5986 rm -f conftest.$ac_objext
    5987 if { (ac_try="$ac_compile"
    5988 case "(($ac_try" in
    5989   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5990   *) ac_try_echo=$ac_try;;
    5991 esac
    5992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5993 $as_echo "$ac_try_echo") >&5
    5994   (eval "$ac_compile") 2>conftest.er1
    5995   ac_status=$?
    5996   grep -v '^ *+' conftest.er1 >conftest.err
    5997   rm -f conftest.er1
    5998   cat conftest.err >&5
    5999   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6000   (exit $ac_status); } && {
    6001          test -z "$ac_c_werror_flag" ||
    6002          test ! -s conftest.err
    6003        } && test -s conftest.$ac_objext; then
     5324if ac_fn_c_try_compile "$LINENO"; then :
    60045325  tcl_cv_aout_h=usable
    60055326else
    6006   $as_echo "$as_me: failed program was:" >&5
    6007 sed 's/^/| /' conftest.$ac_ext >&5
    6008 
    6009         tcl_cv_aout_h=unusable
    6010 fi
    6011 
     5327  tcl_cv_aout_h=unusable
     5328fi
    60125329rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60135330fi
    6014 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5331{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    60155332$as_echo "$tcl_cv_aout_h" >&6; }
    60165333            if test $tcl_cv_aout_h = usable; then
    6017                 cat >>confdefs.h <<\_ACEOF
    6018 #define USE_A_OUT_H 1
    6019 _ACEOF
     5334                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    60205335
    60215336            else
    6022                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5337                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    60235338$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6024 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5339if test "${tcl_cv_sysexecaout_h+set}" = set; then :
    60255340  $as_echo_n "(cached) " >&6
    60265341else
    60275342
    6028                 cat >conftest.$ac_ext <<_ACEOF
    6029 /* confdefs.h.  */
    6030 _ACEOF
    6031 cat confdefs.h >>conftest.$ac_ext
    6032 cat >>conftest.$ac_ext <<_ACEOF
     5343                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60335344/* end confdefs.h.  */
    60345345#include <sys/exec_aout.h>
     
    60525363}
    60535364_ACEOF
    6054 rm -f conftest.$ac_objext
    6055 if { (ac_try="$ac_compile"
    6056 case "(($ac_try" in
    6057   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6058   *) ac_try_echo=$ac_try;;
    6059 esac
    6060 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6061 $as_echo "$ac_try_echo") >&5
    6062   (eval "$ac_compile") 2>conftest.er1
    6063   ac_status=$?
    6064   grep -v '^ *+' conftest.er1 >conftest.err
    6065   rm -f conftest.er1
    6066   cat conftest.err >&5
    6067   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6068   (exit $ac_status); } && {
    6069          test -z "$ac_c_werror_flag" ||
    6070          test ! -s conftest.err
    6071        } && test -s conftest.$ac_objext; then
     5365if ac_fn_c_try_compile "$LINENO"; then :
    60725366  tcl_cv_sysexecaout_h=usable
    60735367else
    6074   $as_echo "$as_me: failed program was:" >&5
    6075 sed 's/^/| /' conftest.$ac_ext >&5
    6076 
    6077         tcl_cv_sysexecaout_h=unusable
    6078 fi
    6079 
     5368  tcl_cv_sysexecaout_h=unusable
     5369fi
    60805370rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60815371fi
    6082 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5372{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    60835373$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    60845374                if test $tcl_cv_sysexecaout_h = usable; then
    6085                     cat >>confdefs.h <<\_ACEOF
    6086 #define USE_SYS_EXEC_AOUT_H 1
    6087 _ACEOF
     5375                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    60885376
    60895377                else
     
    60975385
    60985386    # Check whether --enable-load was given.
    6099 if test "${enable_load+set}" = set; then
     5387if test "${enable_load+set}" = set; then :
    61005388  enableval=$enable_load; tcl_ok=$enableval
    61015389else
     
    62295517ac_aux_dir=
    62305518for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    6231   if test -f "$ac_dir/install-sh"; then
    6232     ac_aux_dir=$ac_dir
    6233     ac_install_sh="$ac_aux_dir/install-sh -c"
    6234     break
    6235   elif test -f "$ac_dir/install.sh"; then
    6236     ac_aux_dir=$ac_dir
    6237     ac_install_sh="$ac_aux_dir/install.sh -c"
    6238     break
    6239   elif test -f "$ac_dir/shtool"; then
    6240     ac_aux_dir=$ac_dir
    6241     ac_install_sh="$ac_aux_dir/shtool install -c"
    6242     break
    6243   fi
     5519  for ac_t in install-sh install.sh shtool; do
     5520    if test -f "$ac_dir/$ac_t"; then
     5521      ac_aux_dir=$ac_dir
     5522      ac_install_sh="$ac_aux_dir/$ac_t -c"
     5523      break 2
     5524    fi
     5525  done
    62445526done
    62455527if test -z "$ac_aux_dir"; then
    6246   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    6247 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    6248    { (exit 1); exit 1; }; }
     5528  as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
    62495529fi
    62505530
     
    62725552# ./install, which can be erroneously created by make from ./install.sh.
    62735553# Reject install programs that cannot install multiple files.
    6274 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     5554{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    62755555$as_echo_n "checking for a BSD-compatible install... " >&6; }
    62765556if test -z "$INSTALL"; then
    6277 if test "${ac_cv_path_install+set}" = set; then
     5557if test "${ac_cv_path_install+set}" = set; then :
    62785558  $as_echo_n "(cached) " >&6
    62795559else
     
    62835563  IFS=$as_save_IFS
    62845564  test -z "$as_dir" && as_dir=.
    6285   # Account for people who put trailing slashes in PATH elements.
    6286 case $as_dir/ in
    6287   ./ | .// | /cC/* | \
     5565    # Account for people who put trailing slashes in PATH elements.
     5566case $as_dir/ in #((
     5567  ./ | .// | /[cC]/* | \
    62885568  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6289   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     5569  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    62905570  /usr/ucb/* ) ;;
    62915571  *)
     
    63245604esac
    63255605
    6326 done
     5606  done
    63275607IFS=$as_save_IFS
    63285608
     
    63405620  fi
    63415621fi
    6342 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     5622{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    63435623$as_echo "$INSTALL" >&6; }
    63445624
     
    63545634  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    63555635set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6356 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5636{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    63575637$as_echo_n "checking for $ac_word... " >&6; }
    6358 if test "${ac_cv_prog_RANLIB+set}" = set; then
     5638if test "${ac_cv_prog_RANLIB+set}" = set; then :
    63595639  $as_echo_n "(cached) " >&6
    63605640else
     
    63675647  IFS=$as_save_IFS
    63685648  test -z "$as_dir" && as_dir=.
    6369   for ac_exec_ext in '' $ac_executable_extensions; do
     5649    for ac_exec_ext in '' $ac_executable_extensions; do
    63705650  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63715651    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6372     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5652    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    63735653    break 2
    63745654  fi
    63755655done
    6376 done
     5656  done
    63775657IFS=$as_save_IFS
    63785658
     
    63815661RANLIB=$ac_cv_prog_RANLIB
    63825662if test -n "$RANLIB"; then
    6383   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     5663  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    63845664$as_echo "$RANLIB" >&6; }
    63855665else
    6386   { $as_echo "$as_me:$LINENO: result: no" >&5
     5666  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    63875667$as_echo "no" >&6; }
    63885668fi
     
    63945674  # Extract the first word of "ranlib", so it can be a program name with args.
    63955675set dummy ranlib; ac_word=$2
    6396 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5676{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    63975677$as_echo_n "checking for $ac_word... " >&6; }
    6398 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     5678if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
    63995679  $as_echo_n "(cached) " >&6
    64005680else
     
    64075687  IFS=$as_save_IFS
    64085688  test -z "$as_dir" && as_dir=.
    6409   for ac_exec_ext in '' $ac_executable_extensions; do
     5689    for ac_exec_ext in '' $ac_executable_extensions; do
    64105690  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64115691    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6412     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5692    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    64135693    break 2
    64145694  fi
    64155695done
    6416 done
     5696  done
    64175697IFS=$as_save_IFS
    64185698
     
    64215701ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    64225702if test -n "$ac_ct_RANLIB"; then
    6423   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     5703  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    64245704$as_echo "$ac_ct_RANLIB" >&6; }
    64255705else
    6426   { $as_echo "$as_me:$LINENO: result: no" >&5
     5706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    64275707$as_echo "no" >&6; }
    64285708fi
     
    64335713    case $cross_compiling:$ac_tool_warned in
    64345714yes:)
    6435 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     5715{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    64365716$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    64375717ac_tool_warned=yes ;;
     
    64435723fi
    64445724
    6445 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     5725{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    64465726$as_echo_n "checking whether ln -s works... " >&6; }
    64475727LN_S=$as_ln_s
    64485728if test "$LN_S" = "ln -s"; then
    6449   { $as_echo "$as_me:$LINENO: result: yes" >&5
     5729  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    64505730$as_echo "yes" >&6; }
    64515731else
    6452   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     5732  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    64535733$as_echo "no, using $LN_S" >&6; }
    64545734fi
    64555735
    6456 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     5736{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    64575737$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    64585738if test -z "$MKDIR_P"; then
    6459   if test "${ac_cv_path_mkdir+set}" = set; then
     5739  if test "${ac_cv_path_mkdir+set}" = set; then :
    64605740  $as_echo_n "(cached) " >&6
    64615741else
     
    64655745  IFS=$as_save_IFS
    64665746  test -z "$as_dir" && as_dir=.
    6467   for ac_prog in mkdir gmkdir; do
     5747    for ac_prog in mkdir gmkdir; do
    64685748         for ac_exec_ext in '' $ac_executable_extensions; do
    64695749           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    64775757         done
    64785758       done
    6479 done
     5759  done
    64805760IFS=$as_save_IFS
    64815761
    64825762fi
    64835763
     5764  test -d ./--version && rmdir ./--version
    64845765  if test "${ac_cv_path_mkdir+set}" = set; then
    64855766    MKDIR_P="$ac_cv_path_mkdir -p"
     
    64895770    # break other packages using the cache if that directory is
    64905771    # removed, or if the value is a relative name.
    6491     test -d ./--version && rmdir ./--version
    64925772    MKDIR_P="$ac_install_sh -d"
    64935773  fi
    64945774fi
    6495 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     5775{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    64965776$as_echo "$MKDIR_P" >&6; }
    64975777
     
    65055785  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    65065786set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6507 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5787{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    65085788$as_echo_n "checking for $ac_word... " >&6; }
    6509 if test "${ac_cv_prog_CC+set}" = set; then
     5789if test "${ac_cv_prog_CC+set}" = set; then :
    65105790  $as_echo_n "(cached) " >&6
    65115791else
     
    65185798  IFS=$as_save_IFS
    65195799  test -z "$as_dir" && as_dir=.
    6520   for ac_exec_ext in '' $ac_executable_extensions; do
     5800    for ac_exec_ext in '' $ac_executable_extensions; do
    65215801  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65225802    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6523     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5803    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    65245804    break 2
    65255805  fi
    65265806done
    6527 done
     5807  done
    65285808IFS=$as_save_IFS
    65295809
     
    65325812CC=$ac_cv_prog_CC
    65335813if test -n "$CC"; then
    6534   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     5814  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    65355815$as_echo "$CC" >&6; }
    65365816else
    6537   { $as_echo "$as_me:$LINENO: result: no" >&5
     5817  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    65385818$as_echo "no" >&6; }
    65395819fi
     
    65455825  # Extract the first word of "gcc", so it can be a program name with args.
    65465826set dummy gcc; ac_word=$2
    6547 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5827{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    65485828$as_echo_n "checking for $ac_word... " >&6; }
    6549 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     5829if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    65505830  $as_echo_n "(cached) " >&6
    65515831else
     
    65585838  IFS=$as_save_IFS
    65595839  test -z "$as_dir" && as_dir=.
    6560   for ac_exec_ext in '' $ac_executable_extensions; do
     5840    for ac_exec_ext in '' $ac_executable_extensions; do
    65615841  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65625842    ac_cv_prog_ac_ct_CC="gcc"
    6563     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5843    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    65645844    break 2
    65655845  fi
    65665846done
    6567 done
     5847  done
    65685848IFS=$as_save_IFS
    65695849
     
    65725852ac_ct_CC=$ac_cv_prog_ac_ct_CC
    65735853if test -n "$ac_ct_CC"; then
    6574   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     5854  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    65755855$as_echo "$ac_ct_CC" >&6; }
    65765856else
    6577   { $as_echo "$as_me:$LINENO: result: no" >&5
     5857  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    65785858$as_echo "no" >&6; }
    65795859fi
     
    65845864    case $cross_compiling:$ac_tool_warned in
    65855865yes:)
    6586 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     5866{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    65875867$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    65885868ac_tool_warned=yes ;;
     
    65985878    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    65995879set dummy ${ac_tool_prefix}cc; ac_word=$2
    6600 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5880{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    66015881$as_echo_n "checking for $ac_word... " >&6; }
    6602 if test "${ac_cv_prog_CC+set}" = set; then
     5882if test "${ac_cv_prog_CC+set}" = set; then :
    66035883  $as_echo_n "(cached) " >&6
    66045884else
     
    66115891  IFS=$as_save_IFS
    66125892  test -z "$as_dir" && as_dir=.
    6613   for ac_exec_ext in '' $ac_executable_extensions; do
     5893    for ac_exec_ext in '' $ac_executable_extensions; do
    66145894  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    66155895    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6616     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5896    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    66175897    break 2
    66185898  fi
    66195899done
    6620 done
     5900  done
    66215901IFS=$as_save_IFS
    66225902
     
    66255905CC=$ac_cv_prog_CC
    66265906if test -n "$CC"; then
    6627   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     5907  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    66285908$as_echo "$CC" >&6; }
    66295909else
    6630   { $as_echo "$as_me:$LINENO: result: no" >&5
     5910  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    66315911$as_echo "no" >&6; }
    66325912fi
     
    66385918  # Extract the first word of "cc", so it can be a program name with args.
    66395919set dummy cc; ac_word=$2
    6640 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5920{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    66415921$as_echo_n "checking for $ac_word... " >&6; }
    6642 if test "${ac_cv_prog_CC+set}" = set; then
     5922if test "${ac_cv_prog_CC+set}" = set; then :
    66435923  $as_echo_n "(cached) " >&6
    66445924else
     
    66525932  IFS=$as_save_IFS
    66535933  test -z "$as_dir" && as_dir=.
    6654   for ac_exec_ext in '' $ac_executable_extensions; do
     5934    for ac_exec_ext in '' $ac_executable_extensions; do
    66555935  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    66565936    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    66595939     fi
    66605940    ac_cv_prog_CC="cc"
    6661     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5941    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    66625942    break 2
    66635943  fi
    66645944done
    6665 done
     5945  done
    66665946IFS=$as_save_IFS
    66675947
     
    66825962CC=$ac_cv_prog_CC
    66835963if test -n "$CC"; then
    6684   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     5964  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    66855965$as_echo "$CC" >&6; }
    66865966else
    6687   { $as_echo "$as_me:$LINENO: result: no" >&5
     5967  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    66885968$as_echo "no" >&6; }
    66895969fi
     
    66975977    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    66985978set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6699 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     5979{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    67005980$as_echo_n "checking for $ac_word... " >&6; }
    6701 if test "${ac_cv_prog_CC+set}" = set; then
     5981if test "${ac_cv_prog_CC+set}" = set; then :
    67025982  $as_echo_n "(cached) " >&6
    67035983else
     
    67105990  IFS=$as_save_IFS
    67115991  test -z "$as_dir" && as_dir=.
    6712   for ac_exec_ext in '' $ac_executable_extensions; do
     5992    for ac_exec_ext in '' $ac_executable_extensions; do
    67135993  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    67145994    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    6715     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     5995    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    67165996    break 2
    67175997  fi
    67185998done
    6719 done
     5999  done
    67206000IFS=$as_save_IFS
    67216001
     
    67246004CC=$ac_cv_prog_CC
    67256005if test -n "$CC"; then
    6726   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    67276007$as_echo "$CC" >&6; }
    67286008else
    6729   { $as_echo "$as_me:$LINENO: result: no" >&5
     6009  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    67306010$as_echo "no" >&6; }
    67316011fi
     
    67416021  # Extract the first word of "$ac_prog", so it can be a program name with args.
    67426022set dummy $ac_prog; ac_word=$2
    6743 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6023{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    67446024$as_echo_n "checking for $ac_word... " >&6; }
    6745 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6025if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
    67466026  $as_echo_n "(cached) " >&6
    67476027else
     
    67546034  IFS=$as_save_IFS
    67556035  test -z "$as_dir" && as_dir=.
    6756   for ac_exec_ext in '' $ac_executable_extensions; do
     6036    for ac_exec_ext in '' $ac_executable_extensions; do
    67576037  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    67586038    ac_cv_prog_ac_ct_CC="$ac_prog"
    6759     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6039    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    67606040    break 2
    67616041  fi
    67626042done
    6763 done
     6043  done
    67646044IFS=$as_save_IFS
    67656045
     
    67686048ac_ct_CC=$ac_cv_prog_ac_ct_CC
    67696049if test -n "$ac_ct_CC"; then
    6770   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6050  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    67716051$as_echo "$ac_ct_CC" >&6; }
    67726052else
    6773   { $as_echo "$as_me:$LINENO: result: no" >&5
     6053  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    67746054$as_echo "no" >&6; }
    67756055fi
     
    67846064    case $cross_compiling:$ac_tool_warned in
    67856065yes:)
    6786 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6066{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    67876067$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    67886068ac_tool_warned=yes ;;
     
    67956075
    67966076
    6797 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6077test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    67986078$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6799 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    6800 See \`config.log' for more details." >&5
    6801 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    6802 See \`config.log' for more details." >&2;}
    6803    { (exit 1); exit 1; }; }; }
     6079as_fn_error "no acceptable C compiler found in \$PATH
     6080See \`config.log' for more details." "$LINENO" 5; }
    68046081
    68056082# Provide some information about the compiler.
    6806 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     6083$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    68076084set X $ac_compile
    68086085ac_compiler=$2
    6809 { (ac_try="$ac_compiler --version >&5"
     6086for ac_option in --version -v -V -qversion; do
     6087  { { ac_try="$ac_compiler $ac_option >&5"
    68106088case "(($ac_try" in
    68116089  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    68126090  *) ac_try_echo=$ac_try;;
    68136091esac
    6814 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6815 $as_echo "$ac_try_echo") >&5
    6816   (eval "$ac_compiler --version >&5") 2>&5
     6092eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6093$as_echo "$ac_try_echo"; } >&5
     6094  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    68176095  ac_status=$?
    6818   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6819   (exit $ac_status); }
    6820 { (ac_try="$ac_compiler -v >&5"
    6821 case "(($ac_try" in
    6822   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6823   *) ac_try_echo=$ac_try;;
    6824 esac
    6825 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6826 $as_echo "$ac_try_echo") >&5
    6827   (eval "$ac_compiler -v >&5") 2>&5
    6828   ac_status=$?
    6829   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6830   (exit $ac_status); }
    6831 { (ac_try="$ac_compiler -V >&5"
    6832 case "(($ac_try" in
    6833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6834   *) ac_try_echo=$ac_try;;
    6835 esac
    6836 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6837 $as_echo "$ac_try_echo") >&5
    6838   (eval "$ac_compiler -V >&5") 2>&5
    6839   ac_status=$?
    6840   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6841   (exit $ac_status); }
    6842 
    6843 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     6096  if test -s conftest.err; then
     6097    sed '10a\
     6098... rest of stderr output deleted ...
     6099         10q' conftest.err >conftest.er1
     6100    cat conftest.er1 >&5
     6101  fi
     6102  rm -f conftest.er1 conftest.err
     6103  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6104  test $ac_status = 0; }
     6105done
     6106
     6107{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    68446108$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    6845 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     6109if test "${ac_cv_c_compiler_gnu+set}" = set; then :
    68466110  $as_echo_n "(cached) " >&6
    68476111else
    6848   cat >conftest.$ac_ext <<_ACEOF
    6849 /* confdefs.h.  */
    6850 _ACEOF
    6851 cat confdefs.h >>conftest.$ac_ext
    6852 cat >>conftest.$ac_ext <<_ACEOF
     6112  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    68536113/* end confdefs.h.  */
    68546114
     
    68646124}
    68656125_ACEOF
    6866 rm -f conftest.$ac_objext
    6867 if { (ac_try="$ac_compile"
    6868 case "(($ac_try" in
    6869   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6870   *) ac_try_echo=$ac_try;;
    6871 esac
    6872 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6873 $as_echo "$ac_try_echo") >&5
    6874   (eval "$ac_compile") 2>conftest.er1
    6875   ac_status=$?
    6876   grep -v '^ *+' conftest.er1 >conftest.err
    6877   rm -f conftest.er1
    6878   cat conftest.err >&5
    6879   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6880   (exit $ac_status); } && {
    6881          test -z "$ac_c_werror_flag" ||
    6882          test ! -s conftest.err
    6883        } && test -s conftest.$ac_objext; then
     6126if ac_fn_c_try_compile "$LINENO"; then :
    68846127  ac_compiler_gnu=yes
    68856128else
    6886   $as_echo "$as_me: failed program was:" >&5
    6887 sed 's/^/| /' conftest.$ac_ext >&5
    6888 
    6889         ac_compiler_gnu=no
    6890 fi
    6891 
     6129  ac_compiler_gnu=no
     6130fi
    68926131rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    68936132ac_cv_c_compiler_gnu=$ac_compiler_gnu
    68946133
    68956134fi
    6896 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     6135{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    68976136$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    68986137if test $ac_compiler_gnu = yes; then
     
    69036142ac_test_CFLAGS=${CFLAGS+set}
    69046143ac_save_CFLAGS=$CFLAGS
    6905 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     6144{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    69066145$as_echo_n "checking whether $CC accepts -g... " >&6; }
    6907 if test "${ac_cv_prog_cc_g+set}" = set; then
     6146if test "${ac_cv_prog_cc_g+set}" = set; then :
    69086147  $as_echo_n "(cached) " >&6
    69096148else
     
    69126151   ac_cv_prog_cc_g=no
    69136152   CFLAGS="-g"
    6914    cat >conftest.$ac_ext <<_ACEOF
    6915 /* confdefs.h.  */
    6916 _ACEOF
    6917 cat confdefs.h >>conftest.$ac_ext
    6918 cat >>conftest.$ac_ext <<_ACEOF
     6153   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    69196154/* end confdefs.h.  */
    69206155
     
    69276162}
    69286163_ACEOF
    6929 rm -f conftest.$ac_objext
    6930 if { (ac_try="$ac_compile"
    6931 case "(($ac_try" in
    6932   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6933   *) ac_try_echo=$ac_try;;
    6934 esac
    6935 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6936 $as_echo "$ac_try_echo") >&5
    6937   (eval "$ac_compile") 2>conftest.er1
    6938   ac_status=$?
    6939   grep -v '^ *+' conftest.er1 >conftest.err
    6940   rm -f conftest.er1
    6941   cat conftest.err >&5
    6942   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6943   (exit $ac_status); } && {
    6944          test -z "$ac_c_werror_flag" ||
    6945          test ! -s conftest.err
    6946        } && test -s conftest.$ac_objext; then
     6164if ac_fn_c_try_compile "$LINENO"; then :
    69476165  ac_cv_prog_cc_g=yes
    69486166else
    6949   $as_echo "$as_me: failed program was:" >&5
    6950 sed 's/^/| /' conftest.$ac_ext >&5
    6951 
    6952         CFLAGS=""
    6953       cat >conftest.$ac_ext <<_ACEOF
    6954 /* confdefs.h.  */
    6955 _ACEOF
    6956 cat confdefs.h >>conftest.$ac_ext
    6957 cat >>conftest.$ac_ext <<_ACEOF
     6167  CFLAGS=""
     6168      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    69586169/* end confdefs.h.  */
    69596170
     
    69666177}
    69676178_ACEOF
    6968 rm -f conftest.$ac_objext
    6969 if { (ac_try="$ac_compile"
    6970 case "(($ac_try" in
    6971   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6972   *) ac_try_echo=$ac_try;;
    6973 esac
    6974 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6975 $as_echo "$ac_try_echo") >&5
    6976   (eval "$ac_compile") 2>conftest.er1
    6977   ac_status=$?
    6978   grep -v '^ *+' conftest.er1 >conftest.err
    6979   rm -f conftest.er1
    6980   cat conftest.err >&5
    6981   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6982   (exit $ac_status); } && {
    6983          test -z "$ac_c_werror_flag" ||
    6984          test ! -s conftest.err
    6985        } && test -s conftest.$ac_objext; then
    6986   :
    6987 else
    6988   $as_echo "$as_me: failed program was:" >&5
    6989 sed 's/^/| /' conftest.$ac_ext >&5
    6990 
    6991         ac_c_werror_flag=$ac_save_c_werror_flag
     6179if ac_fn_c_try_compile "$LINENO"; then :
     6180
     6181else
     6182  ac_c_werror_flag=$ac_save_c_werror_flag
    69926183         CFLAGS="-g"
    6993          cat >conftest.$ac_ext <<_ACEOF
    6994 /* confdefs.h.  */
    6995 _ACEOF
    6996 cat confdefs.h >>conftest.$ac_ext
    6997 cat >>conftest.$ac_ext <<_ACEOF
     6184         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    69986185/* end confdefs.h.  */
    69996186
     
    70066193}
    70076194_ACEOF
    7008 rm -f conftest.$ac_objext
    7009 if { (ac_try="$ac_compile"
    7010 case "(($ac_try" in
    7011   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7012   *) ac_try_echo=$ac_try;;
    7013 esac
    7014 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7015 $as_echo "$ac_try_echo") >&5
    7016   (eval "$ac_compile") 2>conftest.er1
    7017   ac_status=$?
    7018   grep -v '^ *+' conftest.er1 >conftest.err
    7019   rm -f conftest.er1
    7020   cat conftest.err >&5
    7021   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7022   (exit $ac_status); } && {
    7023          test -z "$ac_c_werror_flag" ||
    7024          test ! -s conftest.err
    7025        } && test -s conftest.$ac_objext; then
     6195if ac_fn_c_try_compile "$LINENO"; then :
    70266196  ac_cv_prog_cc_g=yes
    7027 else
    7028   $as_echo "$as_me: failed program was:" >&5
    7029 sed 's/^/| /' conftest.$ac_ext >&5
    7030 
    7031 
    7032 fi
    7033 
     6197fi
    70346198rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70356199fi
    7036 
    70376200rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70386201fi
    7039 
    70406202rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70416203   ac_c_werror_flag=$ac_save_c_werror_flag
    70426204fi
    7043 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     6205{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    70446206$as_echo "$ac_cv_prog_cc_g" >&6; }
    70456207if test "$ac_test_CFLAGS" = set; then
     
    70586220  fi
    70596221fi
    7060 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     6222{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    70616223$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    7062 if test "${ac_cv_prog_cc_c89+set}" = set; then
     6224if test "${ac_cv_prog_cc_c89+set}" = set; then :
    70636225  $as_echo_n "(cached) " >&6
    70646226else
    70656227  ac_cv_prog_cc_c89=no
    70666228ac_save_CC=$CC
    7067 cat >conftest.$ac_ext <<_ACEOF
    7068 /* confdefs.h.  */
    7069 _ACEOF
    7070 cat confdefs.h >>conftest.$ac_ext
    7071 cat >>conftest.$ac_ext <<_ACEOF
     6229cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    70726230/* end confdefs.h.  */
    70736231#include <stdarg.h>
     
    71266284do
    71276285  CC="$ac_save_CC $ac_arg"
    7128   rm -f conftest.$ac_objext
    7129 if { (ac_try="$ac_compile"
    7130 case "(($ac_try" in
    7131   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7132   *) ac_try_echo=$ac_try;;
    7133 esac
    7134 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7135 $as_echo "$ac_try_echo") >&5
    7136   (eval "$ac_compile") 2>conftest.er1
    7137   ac_status=$?
    7138   grep -v '^ *+' conftest.er1 >conftest.err
    7139   rm -f conftest.er1
    7140   cat conftest.err >&5
    7141   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7142   (exit $ac_status); } && {
    7143          test -z "$ac_c_werror_flag" ||
    7144          test ! -s conftest.err
    7145        } && test -s conftest.$ac_objext; then
     6286  if ac_fn_c_try_compile "$LINENO"; then :
    71466287  ac_cv_prog_cc_c89=$ac_arg
    7147 else
    7148   $as_echo "$as_me: failed program was:" >&5
    7149 sed 's/^/| /' conftest.$ac_ext >&5
    7150 
    7151 
    7152 fi
    7153 
     6288fi
    71546289rm -f core conftest.err conftest.$ac_objext
    71556290  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    71626297case "x$ac_cv_prog_cc_c89" in
    71636298  x)
    7164     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     6299    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    71656300$as_echo "none needed" >&6; } ;;
    71666301  xno)
    7167     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     6302    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    71686303$as_echo "unsupported" >&6; } ;;
    71696304  *)
    71706305    CC="$CC $ac_cv_prog_cc_c89"
    7171     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     6306    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    71726307$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    71736308esac
    7174 
     6309if test "x$ac_cv_prog_cc_c89" != xno; then :
     6310
     6311fi
    71756312
    71766313ac_ext=c
     
    71856322ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    71866323ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7187 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     6324{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    71886325$as_echo_n "checking how to run the C preprocessor... " >&6; }
    71896326# On Suns, sometimes $CPP names a directory.
     
    71926329fi
    71936330if test -z "$CPP"; then
    7194   if test "${ac_cv_prog_CPP+set}" = set; then
     6331  if test "${ac_cv_prog_CPP+set}" = set; then :
    71956332  $as_echo_n "(cached) " >&6
    71966333else
     
    72076344  # On the NeXT, cc -E runs the code through the compiler's parser,
    72086345  # not just through cpp. "Syntax error" is here to catch this case.
    7209   cat >conftest.$ac_ext <<_ACEOF
    7210 /* confdefs.h.  */
    7211 _ACEOF
    7212 cat confdefs.h >>conftest.$ac_ext
    7213 cat >>conftest.$ac_ext <<_ACEOF
     6346  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72146347/* end confdefs.h.  */
    72156348#ifdef __STDC__
     
    72206353                     Syntax error
    72216354_ACEOF
    7222 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7223 case "(($ac_try" in
    7224   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7225   *) ac_try_echo=$ac_try;;
    7226 esac
    7227 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7228 $as_echo "$ac_try_echo") >&5
    7229   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7230   ac_status=$?
    7231   grep -v '^ *+' conftest.er1 >conftest.err
    7232   rm -f conftest.er1
    7233   cat conftest.err >&5
    7234   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7235   (exit $ac_status); } >/dev/null && {
    7236          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7237          test ! -s conftest.err
    7238        }; then
    7239   :
    7240 else
    7241   $as_echo "$as_me: failed program was:" >&5
    7242 sed 's/^/| /' conftest.$ac_ext >&5
    7243 
     6355if ac_fn_c_try_cpp "$LINENO"; then :
     6356
     6357else
    72446358  # Broken: fails on valid input.
    72456359continue
    72466360fi
    7247 
    72486361rm -f conftest.err conftest.$ac_ext
    72496362
    72506363  # OK, works on sane cases.  Now check whether nonexistent headers
    72516364  # can be detected and how.
    7252   cat >conftest.$ac_ext <<_ACEOF
    7253 /* confdefs.h.  */
    7254 _ACEOF
    7255 cat confdefs.h >>conftest.$ac_ext
    7256 cat >>conftest.$ac_ext <<_ACEOF
     6365  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72576366/* end confdefs.h.  */
    72586367#include <ac_nonexistent.h>
    72596368_ACEOF
    7260 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7261 case "(($ac_try" in
    7262   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7263   *) ac_try_echo=$ac_try;;
    7264 esac
    7265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7266 $as_echo "$ac_try_echo") >&5
    7267   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7268   ac_status=$?
    7269   grep -v '^ *+' conftest.er1 >conftest.err
    7270   rm -f conftest.er1
    7271   cat conftest.err >&5
    7272   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7273   (exit $ac_status); } >/dev/null && {
    7274          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7275          test ! -s conftest.err
    7276        }; then
     6369if ac_fn_c_try_cpp "$LINENO"; then :
    72776370  # Broken: success on invalid input.
    72786371continue
    72796372else
    7280   $as_echo "$as_me: failed program was:" >&5
    7281 sed 's/^/| /' conftest.$ac_ext >&5
    7282 
    72836373  # Passes both tests.
    72846374ac_preproc_ok=:
    72856375break
    72866376fi
    7287 
    72886377rm -f conftest.err conftest.$ac_ext
    72896378
     
    72916380# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    72926381rm -f conftest.err conftest.$ac_ext
    7293 if $ac_preproc_ok; then
     6382if $ac_preproc_ok; then :
    72946383  break
    72956384fi
     
    73036392  ac_cv_prog_CPP=$CPP
    73046393fi
    7305 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     6394{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    73066395$as_echo "$CPP" >&6; }
    73076396ac_preproc_ok=false
     
    73146403  # On the NeXT, cc -E runs the code through the compiler's parser,
    73156404  # not just through cpp. "Syntax error" is here to catch this case.
    7316   cat >conftest.$ac_ext <<_ACEOF
    7317 /* confdefs.h.  */
    7318 _ACEOF
    7319 cat confdefs.h >>conftest.$ac_ext
    7320 cat >>conftest.$ac_ext <<_ACEOF
     6405  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    73216406/* end confdefs.h.  */
    73226407#ifdef __STDC__
     
    73276412                     Syntax error
    73286413_ACEOF
    7329 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7330 case "(($ac_try" in
    7331   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7332   *) ac_try_echo=$ac_try;;
    7333 esac
    7334 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7335 $as_echo "$ac_try_echo") >&5
    7336   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7337   ac_status=$?
    7338   grep -v '^ *+' conftest.er1 >conftest.err
    7339   rm -f conftest.er1
    7340   cat conftest.err >&5
    7341   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7342   (exit $ac_status); } >/dev/null && {
    7343          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7344          test ! -s conftest.err
    7345        }; then
    7346   :
    7347 else
    7348   $as_echo "$as_me: failed program was:" >&5
    7349 sed 's/^/| /' conftest.$ac_ext >&5
    7350 
     6414if ac_fn_c_try_cpp "$LINENO"; then :
     6415
     6416else
    73516417  # Broken: fails on valid input.
    73526418continue
    73536419fi
    7354 
    73556420rm -f conftest.err conftest.$ac_ext
    73566421
    73576422  # OK, works on sane cases.  Now check whether nonexistent headers
    73586423  # can be detected and how.
    7359   cat >conftest.$ac_ext <<_ACEOF
    7360 /* confdefs.h.  */
    7361 _ACEOF
    7362 cat confdefs.h >>conftest.$ac_ext
    7363 cat >>conftest.$ac_ext <<_ACEOF
     6424  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    73646425/* end confdefs.h.  */
    73656426#include <ac_nonexistent.h>
    73666427_ACEOF
    7367 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7368 case "(($ac_try" in
    7369   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7370   *) ac_try_echo=$ac_try;;
    7371 esac
    7372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7373 $as_echo "$ac_try_echo") >&5
    7374   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7375   ac_status=$?
    7376   grep -v '^ *+' conftest.er1 >conftest.err
    7377   rm -f conftest.er1
    7378   cat conftest.err >&5
    7379   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7380   (exit $ac_status); } >/dev/null && {
    7381          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7382          test ! -s conftest.err
    7383        }; then
     6428if ac_fn_c_try_cpp "$LINENO"; then :
    73846429  # Broken: success on invalid input.
    73856430continue
    73866431else
    7387   $as_echo "$as_me: failed program was:" >&5
    7388 sed 's/^/| /' conftest.$ac_ext >&5
    7389 
    73906432  # Passes both tests.
    73916433ac_preproc_ok=:
    73926434break
    73936435fi
    7394 
    73956436rm -f conftest.err conftest.$ac_ext
    73966437
     
    73986439# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    73996440rm -f conftest.err conftest.$ac_ext
    7400 if $ac_preproc_ok; then
    7401   :
    7402 else
    7403   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6441if $ac_preproc_ok; then :
     6442
     6443else
     6444  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    74046445$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7405 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    7406 See \`config.log' for more details." >&5
    7407 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    7408 See \`config.log' for more details." >&2;}
    7409    { (exit 1); exit 1; }; }; }
     6446as_fn_error "C preprocessor \"$CPP\" fails sanity check
     6447See \`config.log' for more details." "$LINENO" 5; }
    74106448fi
    74116449
     
    74306468    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    74316469set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7432 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6470{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    74336471$as_echo_n "checking for $ac_word... " >&6; }
    7434 if test "${ac_cv_prog_CXX+set}" = set; then
     6472if test "${ac_cv_prog_CXX+set}" = set; then :
    74356473  $as_echo_n "(cached) " >&6
    74366474else
     
    74436481  IFS=$as_save_IFS
    74446482  test -z "$as_dir" && as_dir=.
    7445   for ac_exec_ext in '' $ac_executable_extensions; do
     6483    for ac_exec_ext in '' $ac_executable_extensions; do
    74466484  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    74476485    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7448     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6486    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    74496487    break 2
    74506488  fi
    74516489done
    7452 done
     6490  done
    74536491IFS=$as_save_IFS
    74546492
     
    74576495CXX=$ac_cv_prog_CXX
    74586496if test -n "$CXX"; then
    7459   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     6497  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    74606498$as_echo "$CXX" >&6; }
    74616499else
    7462   { $as_echo "$as_me:$LINENO: result: no" >&5
     6500  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    74636501$as_echo "no" >&6; }
    74646502fi
     
    74746512  # Extract the first word of "$ac_prog", so it can be a program name with args.
    74756513set dummy $ac_prog; ac_word=$2
    7476 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6514{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    74776515$as_echo_n "checking for $ac_word... " >&6; }
    7478 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     6516if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
    74796517  $as_echo_n "(cached) " >&6
    74806518else
     
    74876525  IFS=$as_save_IFS
    74886526  test -z "$as_dir" && as_dir=.
    7489   for ac_exec_ext in '' $ac_executable_extensions; do
     6527    for ac_exec_ext in '' $ac_executable_extensions; do
    74906528  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    74916529    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7492     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6530    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    74936531    break 2
    74946532  fi
    74956533done
    7496 done
     6534  done
    74976535IFS=$as_save_IFS
    74986536
     
    75016539ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    75026540if test -n "$ac_ct_CXX"; then
    7503   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     6541  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    75046542$as_echo "$ac_ct_CXX" >&6; }
    75056543else
    7506   { $as_echo "$as_me:$LINENO: result: no" >&5
     6544  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    75076545$as_echo "no" >&6; }
    75086546fi
     
    75176555    case $cross_compiling:$ac_tool_warned in
    75186556yes:)
    7519 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6557{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    75206558$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    75216559ac_tool_warned=yes ;;
     
    75286566fi
    75296567# Provide some information about the compiler.
    7530 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     6568$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    75316569set X $ac_compile
    75326570ac_compiler=$2
    7533 { (ac_try="$ac_compiler --version >&5"
     6571for ac_option in --version -v -V -qversion; do
     6572  { { ac_try="$ac_compiler $ac_option >&5"
    75346573case "(($ac_try" in
    75356574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    75366575  *) ac_try_echo=$ac_try;;
    75376576esac
    7538 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7539 $as_echo "$ac_try_echo") >&5
    7540   (eval "$ac_compiler --version >&5") 2>&5
     6577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6578$as_echo "$ac_try_echo"; } >&5
     6579  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    75416580  ac_status=$?
    7542   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7543   (exit $ac_status); }
    7544 { (ac_try="$ac_compiler -v >&5"
    7545 case "(($ac_try" in
    7546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7547   *) ac_try_echo=$ac_try;;
    7548 esac
    7549 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7550 $as_echo "$ac_try_echo") >&5
    7551   (eval "$ac_compiler -v >&5") 2>&5
    7552   ac_status=$?
    7553   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7554   (exit $ac_status); }
    7555 { (ac_try="$ac_compiler -V >&5"
    7556 case "(($ac_try" in
    7557   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7558   *) ac_try_echo=$ac_try;;
    7559 esac
    7560 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7561 $as_echo "$ac_try_echo") >&5
    7562   (eval "$ac_compiler -V >&5") 2>&5
    7563   ac_status=$?
    7564   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7565   (exit $ac_status); }
    7566 
    7567 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     6581  if test -s conftest.err; then
     6582    sed '10a\
     6583... rest of stderr output deleted ...
     6584         10q' conftest.err >conftest.er1
     6585    cat conftest.er1 >&5
     6586  fi
     6587  rm -f conftest.er1 conftest.err
     6588  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6589  test $ac_status = 0; }
     6590done
     6591
     6592{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    75686593$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7569 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     6594if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
    75706595  $as_echo_n "(cached) " >&6
    75716596else
    7572   cat >conftest.$ac_ext <<_ACEOF
    7573 /* confdefs.h.  */
    7574 _ACEOF
    7575 cat confdefs.h >>conftest.$ac_ext
    7576 cat >>conftest.$ac_ext <<_ACEOF
     6597  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75776598/* end confdefs.h.  */
    75786599
     
    75886609}
    75896610_ACEOF
    7590 rm -f conftest.$ac_objext
    7591 if { (ac_try="$ac_compile"
    7592 case "(($ac_try" in
    7593   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7594   *) ac_try_echo=$ac_try;;
    7595 esac
    7596 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7597 $as_echo "$ac_try_echo") >&5
    7598   (eval "$ac_compile") 2>conftest.er1
    7599   ac_status=$?
    7600   grep -v '^ *+' conftest.er1 >conftest.err
    7601   rm -f conftest.er1
    7602   cat conftest.err >&5
    7603   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7604   (exit $ac_status); } && {
    7605          test -z "$ac_cxx_werror_flag" ||
    7606          test ! -s conftest.err
    7607        } && test -s conftest.$ac_objext; then
     6611if ac_fn_cxx_try_compile "$LINENO"; then :
    76086612  ac_compiler_gnu=yes
    76096613else
    7610   $as_echo "$as_me: failed program was:" >&5
    7611 sed 's/^/| /' conftest.$ac_ext >&5
    7612 
    7613         ac_compiler_gnu=no
    7614 fi
    7615 
     6614  ac_compiler_gnu=no
     6615fi
    76166616rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76176617ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    76186618
    76196619fi
    7620 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     6620{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    76216621$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    76226622if test $ac_compiler_gnu = yes; then
     
    76276627ac_test_CXXFLAGS=${CXXFLAGS+set}
    76286628ac_save_CXXFLAGS=$CXXFLAGS
    7629 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     6629{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    76306630$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7631 if test "${ac_cv_prog_cxx_g+set}" = set; then
     6631if test "${ac_cv_prog_cxx_g+set}" = set; then :
    76326632  $as_echo_n "(cached) " >&6
    76336633else
     
    76366636   ac_cv_prog_cxx_g=no
    76376637   CXXFLAGS="-g"
    7638    cat >conftest.$ac_ext <<_ACEOF
    7639 /* confdefs.h.  */
    7640 _ACEOF
    7641 cat confdefs.h >>conftest.$ac_ext
    7642 cat >>conftest.$ac_ext <<_ACEOF
     6638   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76436639/* end confdefs.h.  */
    76446640
     
    76516647}
    76526648_ACEOF
    7653 rm -f conftest.$ac_objext
    7654 if { (ac_try="$ac_compile"
    7655 case "(($ac_try" in
    7656   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7657   *) ac_try_echo=$ac_try;;
    7658 esac
    7659 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7660 $as_echo "$ac_try_echo") >&5
    7661   (eval "$ac_compile") 2>conftest.er1
    7662   ac_status=$?
    7663   grep -v '^ *+' conftest.er1 >conftest.err
    7664   rm -f conftest.er1
    7665   cat conftest.err >&5
    7666   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7667   (exit $ac_status); } && {
    7668          test -z "$ac_cxx_werror_flag" ||
    7669          test ! -s conftest.err
    7670        } && test -s conftest.$ac_objext; then
     6649if ac_fn_cxx_try_compile "$LINENO"; then :
    76716650  ac_cv_prog_cxx_g=yes
    76726651else
    7673   $as_echo "$as_me: failed program was:" >&5
    7674 sed 's/^/| /' conftest.$ac_ext >&5
    7675 
    7676         CXXFLAGS=""
    7677       cat >conftest.$ac_ext <<_ACEOF
    7678 /* confdefs.h.  */
    7679 _ACEOF
    7680 cat confdefs.h >>conftest.$ac_ext
    7681 cat >>conftest.$ac_ext <<_ACEOF
     6652  CXXFLAGS=""
     6653      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76826654/* end confdefs.h.  */
    76836655
     
    76906662}
    76916663_ACEOF
    7692 rm -f conftest.$ac_objext
    7693 if { (ac_try="$ac_compile"
    7694 case "(($ac_try" in
    7695   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7696   *) ac_try_echo=$ac_try;;
    7697 esac
    7698 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7699 $as_echo "$ac_try_echo") >&5
    7700   (eval "$ac_compile") 2>conftest.er1
    7701   ac_status=$?
    7702   grep -v '^ *+' conftest.er1 >conftest.err
    7703   rm -f conftest.er1
    7704   cat conftest.err >&5
    7705   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7706   (exit $ac_status); } && {
    7707          test -z "$ac_cxx_werror_flag" ||
    7708          test ! -s conftest.err
    7709        } && test -s conftest.$ac_objext; then
    7710   :
    7711 else
    7712   $as_echo "$as_me: failed program was:" >&5
    7713 sed 's/^/| /' conftest.$ac_ext >&5
    7714 
    7715         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     6664if ac_fn_cxx_try_compile "$LINENO"; then :
     6665
     6666else
     6667  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    77166668         CXXFLAGS="-g"
    7717          cat >conftest.$ac_ext <<_ACEOF
    7718 /* confdefs.h.  */
    7719 _ACEOF
    7720 cat confdefs.h >>conftest.$ac_ext
    7721 cat >>conftest.$ac_ext <<_ACEOF
     6669         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    77226670/* end confdefs.h.  */
    77236671
     
    77306678}
    77316679_ACEOF
    7732 rm -f conftest.$ac_objext
    7733 if { (ac_try="$ac_compile"
    7734 case "(($ac_try" in
    7735   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7736   *) ac_try_echo=$ac_try;;
    7737 esac
    7738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7739 $as_echo "$ac_try_echo") >&5
    7740   (eval "$ac_compile") 2>conftest.er1
    7741   ac_status=$?
    7742   grep -v '^ *+' conftest.er1 >conftest.err
    7743   rm -f conftest.er1
    7744   cat conftest.err >&5
    7745   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7746   (exit $ac_status); } && {
    7747          test -z "$ac_cxx_werror_flag" ||
    7748          test ! -s conftest.err
    7749        } && test -s conftest.$ac_objext; then
     6680if ac_fn_cxx_try_compile "$LINENO"; then :
    77506681  ac_cv_prog_cxx_g=yes
    7751 else
    7752   $as_echo "$as_me: failed program was:" >&5
    7753 sed 's/^/| /' conftest.$ac_ext >&5
    7754 
    7755 
    7756 fi
    7757 
     6682fi
    77586683rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77596684fi
    7760 
    77616685rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77626686fi
    7763 
    77646687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77656688   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    77666689fi
    7767 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     6690{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    77686691$as_echo "$ac_cv_prog_cxx_g" >&6; }
    77696692if test "$ac_test_CXXFLAGS" = set; then
     
    77936716ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    77946717ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    7795 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     6718{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    77966719$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    77976720if test -z "$CXXCPP"; then
    7798   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     6721  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
    77996722  $as_echo_n "(cached) " >&6
    78006723else
     
    78116734  # On the NeXT, cc -E runs the code through the compiler's parser,
    78126735  # not just through cpp. "Syntax error" is here to catch this case.
    7813   cat >conftest.$ac_ext <<_ACEOF
    7814 /* confdefs.h.  */
    7815 _ACEOF
    7816 cat confdefs.h >>conftest.$ac_ext
    7817 cat >>conftest.$ac_ext <<_ACEOF
     6736  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78186737/* end confdefs.h.  */
    78196738#ifdef __STDC__
     
    78246743                     Syntax error
    78256744_ACEOF
    7826 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7827 case "(($ac_try" in
    7828   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7829   *) ac_try_echo=$ac_try;;
    7830 esac
    7831 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7832 $as_echo "$ac_try_echo") >&5
    7833   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7834   ac_status=$?
    7835   grep -v '^ *+' conftest.er1 >conftest.err
    7836   rm -f conftest.er1
    7837   cat conftest.err >&5
    7838   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7839   (exit $ac_status); } >/dev/null && {
    7840          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7841          test ! -s conftest.err
    7842        }; then
    7843   :
    7844 else
    7845   $as_echo "$as_me: failed program was:" >&5
    7846 sed 's/^/| /' conftest.$ac_ext >&5
    7847 
     6745if ac_fn_cxx_try_cpp "$LINENO"; then :
     6746
     6747else
    78486748  # Broken: fails on valid input.
    78496749continue
    78506750fi
    7851 
    78526751rm -f conftest.err conftest.$ac_ext
    78536752
    78546753  # OK, works on sane cases.  Now check whether nonexistent headers
    78556754  # can be detected and how.
    7856   cat >conftest.$ac_ext <<_ACEOF
    7857 /* confdefs.h.  */
    7858 _ACEOF
    7859 cat confdefs.h >>conftest.$ac_ext
    7860 cat >>conftest.$ac_ext <<_ACEOF
     6755  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78616756/* end confdefs.h.  */
    78626757#include <ac_nonexistent.h>
    78636758_ACEOF
    7864 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7865 case "(($ac_try" in
    7866   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7867   *) ac_try_echo=$ac_try;;
    7868 esac
    7869 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7870 $as_echo "$ac_try_echo") >&5
    7871   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7872   ac_status=$?
    7873   grep -v '^ *+' conftest.er1 >conftest.err
    7874   rm -f conftest.er1
    7875   cat conftest.err >&5
    7876   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7877   (exit $ac_status); } >/dev/null && {
    7878          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7879          test ! -s conftest.err
    7880        }; then
     6759if ac_fn_cxx_try_cpp "$LINENO"; then :
    78816760  # Broken: success on invalid input.
    78826761continue
    78836762else
    7884   $as_echo "$as_me: failed program was:" >&5
    7885 sed 's/^/| /' conftest.$ac_ext >&5
    7886 
    78876763  # Passes both tests.
    78886764ac_preproc_ok=:
    78896765break
    78906766fi
    7891 
    78926767rm -f conftest.err conftest.$ac_ext
    78936768
     
    78956770# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    78966771rm -f conftest.err conftest.$ac_ext
    7897 if $ac_preproc_ok; then
     6772if $ac_preproc_ok; then :
    78986773  break
    78996774fi
     
    79076782  ac_cv_prog_CXXCPP=$CXXCPP
    79086783fi
    7909 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     6784{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    79106785$as_echo "$CXXCPP" >&6; }
    79116786ac_preproc_ok=false
     
    79186793  # On the NeXT, cc -E runs the code through the compiler's parser,
    79196794  # not just through cpp. "Syntax error" is here to catch this case.
    7920   cat >conftest.$ac_ext <<_ACEOF
    7921 /* confdefs.h.  */
    7922 _ACEOF
    7923 cat confdefs.h >>conftest.$ac_ext
    7924 cat >>conftest.$ac_ext <<_ACEOF
     6795  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79256796/* end confdefs.h.  */
    79266797#ifdef __STDC__
     
    79316802                     Syntax error
    79326803_ACEOF
    7933 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7934 case "(($ac_try" in
    7935   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7936   *) ac_try_echo=$ac_try;;
    7937 esac
    7938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7939 $as_echo "$ac_try_echo") >&5
    7940   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7941   ac_status=$?
    7942   grep -v '^ *+' conftest.er1 >conftest.err
    7943   rm -f conftest.er1
    7944   cat conftest.err >&5
    7945   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7946   (exit $ac_status); } >/dev/null && {
    7947          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7948          test ! -s conftest.err
    7949        }; then
    7950   :
    7951 else
    7952   $as_echo "$as_me: failed program was:" >&5
    7953 sed 's/^/| /' conftest.$ac_ext >&5
    7954 
     6804if ac_fn_cxx_try_cpp "$LINENO"; then :
     6805
     6806else
    79556807  # Broken: fails on valid input.
    79566808continue
    79576809fi
    7958 
    79596810rm -f conftest.err conftest.$ac_ext
    79606811
    79616812  # OK, works on sane cases.  Now check whether nonexistent headers
    79626813  # can be detected and how.
    7963   cat >conftest.$ac_ext <<_ACEOF
    7964 /* confdefs.h.  */
    7965 _ACEOF
    7966 cat confdefs.h >>conftest.$ac_ext
    7967 cat >>conftest.$ac_ext <<_ACEOF
     6814  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79686815/* end confdefs.h.  */
    79696816#include <ac_nonexistent.h>
    79706817_ACEOF
    7971 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7972 case "(($ac_try" in
    7973   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7974   *) ac_try_echo=$ac_try;;
    7975 esac
    7976 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7977 $as_echo "$ac_try_echo") >&5
    7978   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7979   ac_status=$?
    7980   grep -v '^ *+' conftest.er1 >conftest.err
    7981   rm -f conftest.er1
    7982   cat conftest.err >&5
    7983   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7984   (exit $ac_status); } >/dev/null && {
    7985          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    7986          test ! -s conftest.err
    7987        }; then
     6818if ac_fn_cxx_try_cpp "$LINENO"; then :
    79886819  # Broken: success on invalid input.
    79896820continue
    79906821else
    7991   $as_echo "$as_me: failed program was:" >&5
    7992 sed 's/^/| /' conftest.$ac_ext >&5
    7993 
    79946822  # Passes both tests.
    79956823ac_preproc_ok=:
    79966824break
    79976825fi
    7998 
    79996826rm -f conftest.err conftest.$ac_ext
    80006827
     
    80026829# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    80036830rm -f conftest.err conftest.$ac_ext
    8004 if $ac_preproc_ok; then
    8005   :
    8006 else
    8007   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6831if $ac_preproc_ok; then :
     6832
     6833else
     6834  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    80086835$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8009 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8010 See \`config.log' for more details." >&5
    8011 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8012 See \`config.log' for more details." >&2;}
    8013    { (exit 1); exit 1; }; }; }
     6836as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
     6837See \`config.log' for more details." "$LINENO" 5; }
    80146838fi
    80156839
     
    80346858    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    80356859set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8036 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6860{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    80376861$as_echo_n "checking for $ac_word... " >&6; }
    8038 if test "${ac_cv_prog_CXX+set}" = set; then
     6862if test "${ac_cv_prog_CXX+set}" = set; then :
    80396863  $as_echo_n "(cached) " >&6
    80406864else
     
    80476871  IFS=$as_save_IFS
    80486872  test -z "$as_dir" && as_dir=.
    8049   for ac_exec_ext in '' $ac_executable_extensions; do
     6873    for ac_exec_ext in '' $ac_executable_extensions; do
    80506874  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    80516875    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8052     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6876    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    80536877    break 2
    80546878  fi
    80556879done
    8056 done
     6880  done
    80576881IFS=$as_save_IFS
    80586882
     
    80616885CXX=$ac_cv_prog_CXX
    80626886if test -n "$CXX"; then
    8063   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     6887  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    80646888$as_echo "$CXX" >&6; }
    80656889else
    8066   { $as_echo "$as_me:$LINENO: result: no" >&5
     6890  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    80676891$as_echo "no" >&6; }
    80686892fi
     
    80786902  # Extract the first word of "$ac_prog", so it can be a program name with args.
    80796903set dummy $ac_prog; ac_word=$2
    8080 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6904{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    80816905$as_echo_n "checking for $ac_word... " >&6; }
    8082 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     6906if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
    80836907  $as_echo_n "(cached) " >&6
    80846908else
     
    80916915  IFS=$as_save_IFS
    80926916  test -z "$as_dir" && as_dir=.
    8093   for ac_exec_ext in '' $ac_executable_extensions; do
     6917    for ac_exec_ext in '' $ac_executable_extensions; do
    80946918  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    80956919    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8096     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6920    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    80976921    break 2
    80986922  fi
    80996923done
    8100 done
     6924  done
    81016925IFS=$as_save_IFS
    81026926
     
    81056929ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    81066930if test -n "$ac_ct_CXX"; then
    8107   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     6931  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    81086932$as_echo "$ac_ct_CXX" >&6; }
    81096933else
    8110   { $as_echo "$as_me:$LINENO: result: no" >&5
     6934  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    81116935$as_echo "no" >&6; }
    81126936fi
     
    81216945    case $cross_compiling:$ac_tool_warned in
    81226946yes:)
    8123 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6947{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    81246948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    81256949ac_tool_warned=yes ;;
     
    81326956fi
    81336957# Provide some information about the compiler.
    8134 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     6958$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    81356959set X $ac_compile
    81366960ac_compiler=$2
    8137 { (ac_try="$ac_compiler --version >&5"
     6961for ac_option in --version -v -V -qversion; do
     6962  { { ac_try="$ac_compiler $ac_option >&5"
    81386963case "(($ac_try" in
    81396964  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    81406965  *) ac_try_echo=$ac_try;;
    81416966esac
    8142 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8143 $as_echo "$ac_try_echo") >&5
    8144   (eval "$ac_compiler --version >&5") 2>&5
     6967eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6968$as_echo "$ac_try_echo"; } >&5
     6969  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    81456970  ac_status=$?
    8146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8147   (exit $ac_status); }
    8148 { (ac_try="$ac_compiler -v >&5"
    8149 case "(($ac_try" in
    8150   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8151   *) ac_try_echo=$ac_try;;
    8152 esac
    8153 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8154 $as_echo "$ac_try_echo") >&5
    8155   (eval "$ac_compiler -v >&5") 2>&5
    8156   ac_status=$?
    8157   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8158   (exit $ac_status); }
    8159 { (ac_try="$ac_compiler -V >&5"
    8160 case "(($ac_try" in
    8161   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8162   *) ac_try_echo=$ac_try;;
    8163 esac
    8164 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8165 $as_echo "$ac_try_echo") >&5
    8166   (eval "$ac_compiler -V >&5") 2>&5
    8167   ac_status=$?
    8168   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8169   (exit $ac_status); }
    8170 
    8171 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     6971  if test -s conftest.err; then
     6972    sed '10a\
     6973... rest of stderr output deleted ...
     6974         10q' conftest.err >conftest.er1
     6975    cat conftest.er1 >&5
     6976  fi
     6977  rm -f conftest.er1 conftest.err
     6978  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6979  test $ac_status = 0; }
     6980done
     6981
     6982{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    81726983$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8173 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     6984if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
    81746985  $as_echo_n "(cached) " >&6
    81756986else
    8176   cat >conftest.$ac_ext <<_ACEOF
    8177 /* confdefs.h.  */
    8178 _ACEOF
    8179 cat confdefs.h >>conftest.$ac_ext
    8180 cat >>conftest.$ac_ext <<_ACEOF
     6987  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    81816988/* end confdefs.h.  */
    81826989
     
    81926999}
    81937000_ACEOF
    8194 rm -f conftest.$ac_objext
    8195 if { (ac_try="$ac_compile"
    8196 case "(($ac_try" in
    8197   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8198   *) ac_try_echo=$ac_try;;
    8199 esac
    8200 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8201 $as_echo "$ac_try_echo") >&5
    8202   (eval "$ac_compile") 2>conftest.er1
    8203   ac_status=$?
    8204   grep -v '^ *+' conftest.er1 >conftest.err
    8205   rm -f conftest.er1
    8206   cat conftest.err >&5
    8207   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8208   (exit $ac_status); } && {
    8209          test -z "$ac_cxx_werror_flag" ||
    8210          test ! -s conftest.err
    8211        } && test -s conftest.$ac_objext; then
     7001if ac_fn_cxx_try_compile "$LINENO"; then :
    82127002  ac_compiler_gnu=yes
    82137003else
    8214   $as_echo "$as_me: failed program was:" >&5
    8215 sed 's/^/| /' conftest.$ac_ext >&5
    8216 
    8217         ac_compiler_gnu=no
    8218 fi
    8219 
     7004  ac_compiler_gnu=no
     7005fi
    82207006rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    82217007ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    82227008
    82237009fi
    8224 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7010{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    82257011$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    82267012if test $ac_compiler_gnu = yes; then
     
    82317017ac_test_CXXFLAGS=${CXXFLAGS+set}
    82327018ac_save_CXXFLAGS=$CXXFLAGS
    8233 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7019{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    82347020$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8235 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7021if test "${ac_cv_prog_cxx_g+set}" = set; then :
    82367022  $as_echo_n "(cached) " >&6
    82377023else
     
    82407026   ac_cv_prog_cxx_g=no
    82417027   CXXFLAGS="-g"
    8242    cat >conftest.$ac_ext <<_ACEOF
    8243 /* confdefs.h.  */
    8244 _ACEOF
    8245 cat confdefs.h >>conftest.$ac_ext
    8246 cat >>conftest.$ac_ext <<_ACEOF
     7028   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82477029/* end confdefs.h.  */
    82487030
     
    82557037}
    82567038_ACEOF
    8257 rm -f conftest.$ac_objext
    8258 if { (ac_try="$ac_compile"
    8259 case "(($ac_try" in
    8260   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8261   *) ac_try_echo=$ac_try;;
    8262 esac
    8263 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8264 $as_echo "$ac_try_echo") >&5
    8265   (eval "$ac_compile") 2>conftest.er1
    8266   ac_status=$?
    8267   grep -v '^ *+' conftest.er1 >conftest.err
    8268   rm -f conftest.er1
    8269   cat conftest.err >&5
    8270   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8271   (exit $ac_status); } && {
    8272          test -z "$ac_cxx_werror_flag" ||
    8273          test ! -s conftest.err
    8274        } && test -s conftest.$ac_objext; then
     7039if ac_fn_cxx_try_compile "$LINENO"; then :
    82757040  ac_cv_prog_cxx_g=yes
    82767041else
    8277   $as_echo "$as_me: failed program was:" >&5
    8278 sed 's/^/| /' conftest.$ac_ext >&5
    8279 
    8280         CXXFLAGS=""
    8281       cat >conftest.$ac_ext <<_ACEOF
    8282 /* confdefs.h.  */
    8283 _ACEOF
    8284 cat confdefs.h >>conftest.$ac_ext
    8285 cat >>conftest.$ac_ext <<_ACEOF
     7042  CXXFLAGS=""
     7043      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82867044/* end confdefs.h.  */
    82877045
     
    82947052}
    82957053_ACEOF
    8296 rm -f conftest.$ac_objext
    8297 if { (ac_try="$ac_compile"
    8298 case "(($ac_try" in
    8299   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8300   *) ac_try_echo=$ac_try;;
    8301 esac
    8302 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8303 $as_echo "$ac_try_echo") >&5
    8304   (eval "$ac_compile") 2>conftest.er1
    8305   ac_status=$?
    8306   grep -v '^ *+' conftest.er1 >conftest.err
    8307   rm -f conftest.er1
    8308   cat conftest.err >&5
    8309   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8310   (exit $ac_status); } && {
    8311          test -z "$ac_cxx_werror_flag" ||
    8312          test ! -s conftest.err
    8313        } && test -s conftest.$ac_objext; then
    8314   :
    8315 else
    8316   $as_echo "$as_me: failed program was:" >&5
    8317 sed 's/^/| /' conftest.$ac_ext >&5
    8318 
    8319         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7054if ac_fn_cxx_try_compile "$LINENO"; then :
     7055
     7056else
     7057  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    83207058         CXXFLAGS="-g"
    8321          cat >conftest.$ac_ext <<_ACEOF
    8322 /* confdefs.h.  */
    8323 _ACEOF
    8324 cat confdefs.h >>conftest.$ac_ext
    8325 cat >>conftest.$ac_ext <<_ACEOF
     7059         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    83267060/* end confdefs.h.  */
    83277061
     
    83347068}
    83357069_ACEOF
    8336 rm -f conftest.$ac_objext
    8337 if { (ac_try="$ac_compile"
    8338 case "(($ac_try" in
    8339   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8340   *) ac_try_echo=$ac_try;;
    8341 esac
    8342 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8343 $as_echo "$ac_try_echo") >&5
    8344   (eval "$ac_compile") 2>conftest.er1
    8345   ac_status=$?
    8346   grep -v '^ *+' conftest.er1 >conftest.err
    8347   rm -f conftest.er1
    8348   cat conftest.err >&5
    8349   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8350   (exit $ac_status); } && {
    8351          test -z "$ac_cxx_werror_flag" ||
    8352          test ! -s conftest.err
    8353        } && test -s conftest.$ac_objext; then
     7070if ac_fn_cxx_try_compile "$LINENO"; then :
    83547071  ac_cv_prog_cxx_g=yes
    8355 else
    8356   $as_echo "$as_me: failed program was:" >&5
    8357 sed 's/^/| /' conftest.$ac_ext >&5
    8358 
    8359 
    8360 fi
    8361 
     7072fi
    83627073rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    83637074fi
    8364 
    83657075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    83667076fi
    8367 
    83687077rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    83697078   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    83707079fi
    8371 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    83727081$as_echo "$ac_cv_prog_cxx_g" >&6; }
    83737082if test "$ac_test_CXXFLAGS" = set; then
     
    84007109
    84017110
    8402 
    8403  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    84047112$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    8405 if test "${ac_cv_c_bigendian+set}" = set; then
     7113if test "${ac_cv_c_bigendian+set}" = set; then :
    84067114  $as_echo_n "(cached) " >&6
    84077115else
    84087116  ac_cv_c_bigendian=unknown
    84097117    # See if we're dealing with a universal compiler.
    8410     cat >conftest.$ac_ext <<_ACEOF
    8411 /* confdefs.h.  */
    8412 _ACEOF
    8413 cat confdefs.h >>conftest.$ac_ext
    8414 cat >>conftest.$ac_ext <<_ACEOF
     7118    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84157119/* end confdefs.h.  */
    84167120#ifndef __APPLE_CC__
     
    84207124
    84217125_ACEOF
    8422 rm -f conftest.$ac_objext
    8423 if { (ac_try="$ac_compile"
    8424 case "(($ac_try" in
    8425   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8426   *) ac_try_echo=$ac_try;;
    8427 esac
    8428 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8429 $as_echo "$ac_try_echo") >&5
    8430   (eval "$ac_compile") 2>conftest.er1
    8431   ac_status=$?
    8432   grep -v '^ *+' conftest.er1 >conftest.err
    8433   rm -f conftest.er1
    8434   cat conftest.err >&5
    8435   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8436   (exit $ac_status); } && {
    8437          test -z "$ac_cxx_werror_flag" ||
    8438          test ! -s conftest.err
    8439        } && test -s conftest.$ac_objext; then
     7126if ac_fn_cxx_try_compile "$LINENO"; then :
    84407127
    84417128        # Check for potential -arch flags.  It is not universal unless
    8442         # there are some -arch flags.  Note that *ppc* also matches
    8443         # ppc64.  This check is also rather less than ideal.
    8444         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    8445           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    8446         esac
    8447 else
    8448   $as_echo "$as_me: failed program was:" >&5
    8449 sed 's/^/| /' conftest.$ac_ext >&5
    8450 
    8451 
    8452 fi
    8453 
     7129        # there are at least two -arch flags with different values.
     7130        ac_arch=
     7131        ac_prev=
     7132        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     7133         if test -n "$ac_prev"; then
     7134           case $ac_word in
     7135             i?86 | x86_64 | ppc | ppc64)
     7136               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     7137                 ac_arch=$ac_word
     7138               else
     7139                 ac_cv_c_bigendian=universal
     7140                 break
     7141               fi
     7142               ;;
     7143           esac
     7144           ac_prev=
     7145         elif test "x$ac_word" = "x-arch"; then
     7146           ac_prev=arch
     7147         fi
     7148       done
     7149fi
    84547150rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    84557151    if test $ac_cv_c_bigendian = unknown; then
    84567152      # See if sys/param.h defines the BYTE_ORDER macro.
    8457       cat >conftest.$ac_ext <<_ACEOF
    8458 /* confdefs.h.  */
    8459 _ACEOF
    8460 cat confdefs.h >>conftest.$ac_ext
    8461 cat >>conftest.$ac_ext <<_ACEOF
     7153      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84627154/* end confdefs.h.  */
    84637155#include <sys/types.h>
     
    84777169}
    84787170_ACEOF
    8479 rm -f conftest.$ac_objext
    8480 if { (ac_try="$ac_compile"
    8481 case "(($ac_try" in
    8482   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8483   *) ac_try_echo=$ac_try;;
    8484 esac
    8485 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8486 $as_echo "$ac_try_echo") >&5
    8487   (eval "$ac_compile") 2>conftest.er1
    8488   ac_status=$?
    8489   grep -v '^ *+' conftest.er1 >conftest.err
    8490   rm -f conftest.er1
    8491   cat conftest.err >&5
    8492   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8493   (exit $ac_status); } && {
    8494          test -z "$ac_cxx_werror_flag" ||
    8495          test ! -s conftest.err
    8496        } && test -s conftest.$ac_objext; then
     7171if ac_fn_cxx_try_compile "$LINENO"; then :
    84977172  # It does; now see whether it defined to BIG_ENDIAN or not.
    8498          cat >conftest.$ac_ext <<_ACEOF
    8499 /* confdefs.h.  */
    8500 _ACEOF
    8501 cat confdefs.h >>conftest.$ac_ext
    8502 cat >>conftest.$ac_ext <<_ACEOF
     7173         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85037174/* end confdefs.h.  */
    85047175#include <sys/types.h>
     
    85167187}
    85177188_ACEOF
    8518 rm -f conftest.$ac_objext
    8519 if { (ac_try="$ac_compile"
    8520 case "(($ac_try" in
    8521   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8522   *) ac_try_echo=$ac_try;;
    8523 esac
    8524 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8525 $as_echo "$ac_try_echo") >&5
    8526   (eval "$ac_compile") 2>conftest.er1
    8527   ac_status=$?
    8528   grep -v '^ *+' conftest.er1 >conftest.err
    8529   rm -f conftest.er1
    8530   cat conftest.err >&5
    8531   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8532   (exit $ac_status); } && {
    8533          test -z "$ac_cxx_werror_flag" ||
    8534          test ! -s conftest.err
    8535        } && test -s conftest.$ac_objext; then
     7189if ac_fn_cxx_try_compile "$LINENO"; then :
    85367190  ac_cv_c_bigendian=yes
    85377191else
    8538   $as_echo "$as_me: failed program was:" >&5
    8539 sed 's/^/| /' conftest.$ac_ext >&5
    8540 
    8541         ac_cv_c_bigendian=no
    8542 fi
    8543 
     7192  ac_cv_c_bigendian=no
     7193fi
    85447194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8545 else
    8546   $as_echo "$as_me: failed program was:" >&5
    8547 sed 's/^/| /' conftest.$ac_ext >&5
    8548 
    8549 
    8550 fi
    8551 
     7195fi
    85527196rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    85537197    fi
    85547198    if test $ac_cv_c_bigendian = unknown; then
    85557199      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    8556       cat >conftest.$ac_ext <<_ACEOF
    8557 /* confdefs.h.  */
    8558 _ACEOF
    8559 cat confdefs.h >>conftest.$ac_ext
    8560 cat >>conftest.$ac_ext <<_ACEOF
     7200      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85617201/* end confdefs.h.  */
    85627202#include <limits.h>
     
    85737213}
    85747214_ACEOF
    8575 rm -f conftest.$ac_objext
    8576 if { (ac_try="$ac_compile"
    8577 case "(($ac_try" in
    8578   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8579   *) ac_try_echo=$ac_try;;
    8580 esac
    8581 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8582 $as_echo "$ac_try_echo") >&5
    8583   (eval "$ac_compile") 2>conftest.er1
    8584   ac_status=$?
    8585   grep -v '^ *+' conftest.er1 >conftest.err
    8586   rm -f conftest.er1
    8587   cat conftest.err >&5
    8588   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8589   (exit $ac_status); } && {
    8590          test -z "$ac_cxx_werror_flag" ||
    8591          test ! -s conftest.err
    8592        } && test -s conftest.$ac_objext; then
     7215if ac_fn_cxx_try_compile "$LINENO"; then :
    85937216  # It does; now see whether it defined to _BIG_ENDIAN or not.
    8594          cat >conftest.$ac_ext <<_ACEOF
    8595 /* confdefs.h.  */
    8596 _ACEOF
    8597 cat confdefs.h >>conftest.$ac_ext
    8598 cat >>conftest.$ac_ext <<_ACEOF
     7217         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85997218/* end confdefs.h.  */
    86007219#include <limits.h>
     
    86117230}
    86127231_ACEOF
    8613 rm -f conftest.$ac_objext
    8614 if { (ac_try="$ac_compile"
    8615 case "(($ac_try" in
    8616   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8617   *) ac_try_echo=$ac_try;;
    8618 esac
    8619 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8620 $as_echo "$ac_try_echo") >&5
    8621   (eval "$ac_compile") 2>conftest.er1
    8622   ac_status=$?
    8623   grep -v '^ *+' conftest.er1 >conftest.err
    8624   rm -f conftest.er1
    8625   cat conftest.err >&5
    8626   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8627   (exit $ac_status); } && {
    8628          test -z "$ac_cxx_werror_flag" ||
    8629          test ! -s conftest.err
    8630        } && test -s conftest.$ac_objext; then
     7232if ac_fn_cxx_try_compile "$LINENO"; then :
    86317233  ac_cv_c_bigendian=yes
    86327234else
    8633   $as_echo "$as_me: failed program was:" >&5
    8634 sed 's/^/| /' conftest.$ac_ext >&5
    8635 
    8636         ac_cv_c_bigendian=no
    8637 fi
    8638 
     7235  ac_cv_c_bigendian=no
     7236fi
    86397237rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8640 else
    8641   $as_echo "$as_me: failed program was:" >&5
    8642 sed 's/^/| /' conftest.$ac_ext >&5
    8643 
    8644 
    8645 fi
    8646 
     7238fi
    86477239rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    86487240    fi
    86497241    if test $ac_cv_c_bigendian = unknown; then
    86507242      # Compile a test program.
    8651       if test "$cross_compiling" = yes; then
     7243      if test "$cross_compiling" = yes; then :
    86527244  # Try to guess by grepping values from an object file.
    8653          cat >conftest.$ac_ext <<_ACEOF
    8654 /* confdefs.h.  */
    8655 _ACEOF
    8656 cat confdefs.h >>conftest.$ac_ext
    8657 cat >>conftest.$ac_ext <<_ACEOF
     7245         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86587246/* end confdefs.h.  */
    86597247short int ascii_mm[] =
     
    86817269}
    86827270_ACEOF
    8683 rm -f conftest.$ac_objext
    8684 if { (ac_try="$ac_compile"
    8685 case "(($ac_try" in
    8686   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8687   *) ac_try_echo=$ac_try;;
    8688 esac
    8689 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8690 $as_echo "$ac_try_echo") >&5
    8691   (eval "$ac_compile") 2>conftest.er1
    8692   ac_status=$?
    8693   grep -v '^ *+' conftest.er1 >conftest.err
    8694   rm -f conftest.er1
    8695   cat conftest.err >&5
    8696   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8697   (exit $ac_status); } && {
    8698          test -z "$ac_cxx_werror_flag" ||
    8699          test ! -s conftest.err
    8700        } && test -s conftest.$ac_objext; then
     7271if ac_fn_cxx_try_compile "$LINENO"; then :
    87017272  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    87027273              ac_cv_c_bigendian=yes
     
    87107281              fi
    87117282            fi
    8712 else
    8713   $as_echo "$as_me: failed program was:" >&5
    8714 sed 's/^/| /' conftest.$ac_ext >&5
    8715 
    8716 
    8717 fi
    8718 
     7283fi
    87197284rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    87207285else
    8721   cat >conftest.$ac_ext <<_ACEOF
    8722 /* confdefs.h.  */
    8723 _ACEOF
    8724 cat confdefs.h >>conftest.$ac_ext
    8725 cat >>conftest.$ac_ext <<_ACEOF
     7286  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87267287/* end confdefs.h.  */
    87277288$ac_includes_default
     
    87437304}
    87447305_ACEOF
    8745 rm -f conftest$ac_exeext
    8746 if { (ac_try="$ac_link"
    8747 case "(($ac_try" in
    8748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8749   *) ac_try_echo=$ac_try;;
    8750 esac
    8751 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8752 $as_echo "$ac_try_echo") >&5
    8753   (eval "$ac_link") 2>&5
    8754   ac_status=$?
    8755   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8756   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    8757   { (case "(($ac_try" in
    8758   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8759   *) ac_try_echo=$ac_try;;
    8760 esac
    8761 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8762 $as_echo "$ac_try_echo") >&5
    8763   (eval "$ac_try") 2>&5
    8764   ac_status=$?
    8765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8766   (exit $ac_status); }; }; then
     7306if ac_fn_cxx_try_run "$LINENO"; then :
    87677307  ac_cv_c_bigendian=no
    87687308else
    8769   $as_echo "$as_me: program exited with status $ac_status" >&5
    8770 $as_echo "$as_me: failed program was:" >&5
    8771 sed 's/^/| /' conftest.$ac_ext >&5
    8772 
    8773 ( exit $ac_status )
    8774 ac_cv_c_bigendian=yes
    8775 fi
    8776 rm -rf conftest.dSYM
    8777 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    8778 fi
    8779 
     7309  ac_cv_c_bigendian=yes
     7310fi
     7311rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7312  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7313fi
    87807314
    87817315    fi
    87827316fi
    8783 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    87847318$as_echo "$ac_cv_c_bigendian" >&6; }
    87857319 case $ac_cv_c_bigendian in #(
    87867320   yes)
    8787      cat >>confdefs.h <<\_ACEOF
    8788 #define WORDS_BIGENDIAN 1
    8789 _ACEOF
     7321     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    87907322;; #(
    87917323   no)
     
    87937325   universal)
    87947326
    8795 cat >>confdefs.h <<\_ACEOF
    8796 #define AC_APPLE_UNIVERSAL_BUILD 1
    8797 _ACEOF
     7327$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    87987328
    87997329     ;; #(
    88007330   *)
    8801      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    8802  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    8803 $as_echo "$as_me: error: unknown endianness
    8804  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    8805    { (exit 1); exit 1; }; } ;;
     7331     as_fn_error "unknown endianness
     7332 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    88067333 esac
    88077334
     
    88147341
    88157342# Check whether --with-tcllib was given.
    8816 if test "${with_tcllib+set}" = set; then
     7343if test "${with_tcllib+set}" = set; then :
    88177344  withval=$with_tcllib; with_tcllib=$withval
    88187345else
     
    88677394
    88687395# Check whether --with-rappture was given.
    8869 if test "${with_rappture+set}" = set; then
     7396if test "${with_rappture+set}" = set; then :
    88707397  withval=$with_rappture; with_rappture=$withval
    88717398else
     
    88767403RP2_INCL_DIR=""
    88777404RP_DIR=""
    8878 { $as_echo "$as_me:$LINENO: checking for rappture" >&5
     7405{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
    88797406$as_echo_n "checking for rappture... " >&6; }
    88807407if test "x$with_rappture" != "x" ; then
     
    88827409        if test -f "$with_rappture"
    88837410        then
    8884             { $as_echo "$as_me:$LINENO: result: no" >&5
     7411            { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    88857412$as_echo "no" >&6; }
    8886             { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5
    8887 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;}
    8888    { (exit 1); exit 1; }; }
     7413            as_fn_error "please provide --with-rappture with directory" "$LINENO" 5
    88897414        else
    88907415            if test -d "$with_rappture"
     
    88947419                    RP2_INCL_DIR="$with_rappture/include/rappture2"
    88957420                    RP_DIR="$with_rappture"
    8896                     { $as_echo "$as_me:$LINENO: result: yes" >&5
     7421                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    88977422$as_echo "yes" >&6; }
    88987423                else
    8899                     { $as_echo "$as_me:$LINENO: result: no" >&5
     7424                    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    89007425$as_echo "no" >&6; }
    8901                     { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5
    8902 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}
    8903    { (exit 1); exit 1; }; }
     7426                    as_fn_error "cannot find rappture2.h and librappture2.a, try using --with-rappture" "$LINENO" 5
    89047427                fi
    89057428            else
    8906                 { $as_echo "$as_me:$LINENO: result: no" >&5
     7429                { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    89077430$as_echo "no" >&6; }
    8908                 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5
    8909 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}
    8910    { (exit 1); exit 1; }; }
     7431                as_fn_error "cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" "$LINENO" 5
    89117432            fi
    89127433        fi
     
    89147435        RP2_INCL_DIR="$prefix/include/rappture2"
    89157436        RP_DIR="$prefix"
    8916         { $as_echo "$as_me:$LINENO: result: set to prefix" >&5
     7437        { $as_echo "$as_me:${as_lineno-$LINENO}: result: set to prefix" >&5
    89177438$as_echo "set to prefix" >&6; }
    89187439    fi
    89197440else
    89207441
    8921 
    89227442for ac_header in rappture.h
    8923 do
    8924 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8925 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8926   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8927 $as_echo_n "checking for $ac_header... " >&6; }
    8928 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8929   $as_echo_n "(cached) " >&6
    8930 fi
    8931 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8932                  $as_echo "$as_val"'`
    8933                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8934 $as_echo "$ac_res" >&6; }
    8935 else
    8936   # Is the header compilable?
    8937 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8938 $as_echo_n "checking $ac_header usability... " >&6; }
    8939 cat >conftest.$ac_ext <<_ACEOF
    8940 /* confdefs.h.  */
    8941 _ACEOF
    8942 cat confdefs.h >>conftest.$ac_ext
    8943 cat >>conftest.$ac_ext <<_ACEOF
    8944 /* end confdefs.h.  */
    8945 $ac_includes_default
    8946 #include <$ac_header>
    8947 _ACEOF
    8948 rm -f conftest.$ac_objext
    8949 if { (ac_try="$ac_compile"
    8950 case "(($ac_try" in
    8951   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8952   *) ac_try_echo=$ac_try;;
    8953 esac
    8954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8955 $as_echo "$ac_try_echo") >&5
    8956   (eval "$ac_compile") 2>conftest.er1
    8957   ac_status=$?
    8958   grep -v '^ *+' conftest.er1 >conftest.err
    8959   rm -f conftest.er1
    8960   cat conftest.err >&5
    8961   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8962   (exit $ac_status); } && {
    8963          test -z "$ac_cxx_werror_flag" ||
    8964          test ! -s conftest.err
    8965        } && test -s conftest.$ac_objext; then
    8966   ac_header_compiler=yes
    8967 else
    8968   $as_echo "$as_me: failed program was:" >&5
    8969 sed 's/^/| /' conftest.$ac_ext >&5
    8970 
    8971         ac_header_compiler=no
    8972 fi
    8973 
    8974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8975 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8976 $as_echo "$ac_header_compiler" >&6; }
    8977 
    8978 # Is the header present?
    8979 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8980 $as_echo_n "checking $ac_header presence... " >&6; }
    8981 cat >conftest.$ac_ext <<_ACEOF
    8982 /* confdefs.h.  */
    8983 _ACEOF
    8984 cat confdefs.h >>conftest.$ac_ext
    8985 cat >>conftest.$ac_ext <<_ACEOF
    8986 /* end confdefs.h.  */
    8987 #include <$ac_header>
    8988 _ACEOF
    8989 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8990 case "(($ac_try" in
    8991   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8992   *) ac_try_echo=$ac_try;;
    8993 esac
    8994 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8995 $as_echo "$ac_try_echo") >&5
    8996   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8997   ac_status=$?
    8998   grep -v '^ *+' conftest.er1 >conftest.err
    8999   rm -f conftest.er1
    9000   cat conftest.err >&5
    9001   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9002   (exit $ac_status); } >/dev/null && {
    9003          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9004          test ! -s conftest.err
    9005        }; then
    9006   ac_header_preproc=yes
    9007 else
    9008   $as_echo "$as_me: failed program was:" >&5
    9009 sed 's/^/| /' conftest.$ac_ext >&5
    9010 
    9011   ac_header_preproc=no
    9012 fi
    9013 
    9014 rm -f conftest.err conftest.$ac_ext
    9015 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9016 $as_echo "$ac_header_preproc" >&6; }
    9017 
    9018 # So?  What about this header?
    9019 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9020   yes:no: )
    9021     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9022 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9023     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9024 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9025     ac_header_preproc=yes
    9026     ;;
    9027   no:yes:* )
    9028     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9029 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9030     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9031 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9032     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9033 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9034     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9035 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9036     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9037 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9038     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9039 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9040     ( cat <<\_ASBOX
    9041 ## ----------------------------------- ##
    9042 ## Report this to rappture@nanohub.org ##
    9043 ## ----------------------------------- ##
    9044 _ASBOX
    9045      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9046     ;;
    9047 esac
    9048 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9049 $as_echo_n "checking for $ac_header... " >&6; }
    9050 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9051   $as_echo_n "(cached) " >&6
    9052 else
    9053   eval "$as_ac_Header=\$ac_header_preproc"
    9054 fi
    9055 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9056                  $as_echo "$as_val"'`
    9057                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9058 $as_echo "$ac_res" >&6; }
    9059 
    9060 fi
    9061 as_val=`eval 'as_val=${'$as_ac_Header'}
    9062                  $as_echo "$as_val"'`
    9063    if test "x$as_val" = x""yes; then
     7443do :
     7444  ac_fn_cxx_check_header_mongrel "$LINENO" "rappture.h" "ac_cv_header_rappture_h" "$ac_includes_default"
     7445if test "x$ac_cv_header_rappture_h" = x""yes; then :
     7446  cat >>confdefs.h <<_ACEOF
     7447#define HAVE_RAPPTURE_H 1
     7448_ACEOF
     7449
     7450else
     7451  as_fn_error "cannot find rappture.h, try using --with-rappture" "$LINENO" 5
     7452fi
     7453
     7454done
     7455
     7456
     7457
     7458fi
     7459{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${RP_DIR}/include" >&5
     7460$as_echo "${RP_DIR}/include" >&6; }
     7461
     7462
     7463
     7464ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default"
     7465if test "x$ac_cv_header_GL_glui_h" = x""yes; then :
     7466
     7467fi
     7468
     7469
     7470ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default"
     7471if test "x$ac_cv_header_glui_h" = x""yes; then :
     7472
     7473fi
     7474
     7475
     7476ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
     7477if test "x$ac_cv_header_GL_glut_h" = x""yes; then :
     7478
     7479fi
     7480
     7481
     7482ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
     7483if test "x$ac_cv_header_GL_glew_h" = x""yes; then :
     7484
     7485fi
     7486
     7487
     7488ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
     7489if test "x$ac_cv_header_Cg_cgGL_h" = x""yes; then :
     7490
     7491fi
     7492
     7493
     7494
     7495for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     7496do :
     7497  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7498ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     7499eval as_val=\$$as_ac_Header
     7500   if test "x$as_val" = x""yes; then :
    90647501  cat >>confdefs.h <<_ACEOF
    90657502#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    90667503_ACEOF
    90677504
    9068 else
    9069   { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5
    9070 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}
    9071    { (exit 1); exit 1; }; }
    90727505fi
    90737506
    90747507done
    90757508
    9076 
    9077 
    9078 fi
    9079 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5
    9080 $as_echo "${RP_DIR}/include" >&6; }
    9081 
    9082 
    9083 
    9084 if test "${ac_cv_header_GL_glui_h+set}" = set; then
    9085   { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    9086 $as_echo_n "checking for GL/glui.h... " >&6; }
    9087 if test "${ac_cv_header_GL_glui_h+set}" = set; then
    9088   $as_echo_n "(cached) " >&6
    9089 fi
    9090 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    9091 $as_echo "$ac_cv_header_GL_glui_h" >&6; }
    9092 else
    9093   # Is the header compilable?
    9094 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
    9095 $as_echo_n "checking GL/glui.h usability... " >&6; }
    9096 cat >conftest.$ac_ext <<_ACEOF
    9097 /* confdefs.h.  */
    9098 _ACEOF
    9099 cat confdefs.h >>conftest.$ac_ext
    9100 cat >>conftest.$ac_ext <<_ACEOF
    9101 /* end confdefs.h.  */
    9102 $ac_includes_default
    9103 #include <GL/glui.h>
    9104 _ACEOF
    9105 rm -f conftest.$ac_objext
    9106 if { (ac_try="$ac_compile"
    9107 case "(($ac_try" in
    9108   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9109   *) ac_try_echo=$ac_try;;
    9110 esac
    9111 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9112 $as_echo "$ac_try_echo") >&5
    9113   (eval "$ac_compile") 2>conftest.er1
    9114   ac_status=$?
    9115   grep -v '^ *+' conftest.er1 >conftest.err
    9116   rm -f conftest.er1
    9117   cat conftest.err >&5
    9118   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9119   (exit $ac_status); } && {
    9120          test -z "$ac_cxx_werror_flag" ||
    9121          test ! -s conftest.err
    9122        } && test -s conftest.$ac_objext; then
    9123   ac_header_compiler=yes
    9124 else
    9125   $as_echo "$as_me: failed program was:" >&5
    9126 sed 's/^/| /' conftest.$ac_ext >&5
    9127 
    9128         ac_header_compiler=no
    9129 fi
    9130 
    9131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9132 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9133 $as_echo "$ac_header_compiler" >&6; }
    9134 
    9135 # Is the header present?
    9136 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
    9137 $as_echo_n "checking GL/glui.h presence... " >&6; }
    9138 cat >conftest.$ac_ext <<_ACEOF
    9139 /* confdefs.h.  */
    9140 _ACEOF
    9141 cat confdefs.h >>conftest.$ac_ext
    9142 cat >>conftest.$ac_ext <<_ACEOF
    9143 /* end confdefs.h.  */
    9144 #include <GL/glui.h>
    9145 _ACEOF
    9146 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9147 case "(($ac_try" in
    9148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9149   *) ac_try_echo=$ac_try;;
    9150 esac
    9151 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9152 $as_echo "$ac_try_echo") >&5
    9153   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9154   ac_status=$?
    9155   grep -v '^ *+' conftest.er1 >conftest.err
    9156   rm -f conftest.er1
    9157   cat conftest.err >&5
    9158   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9159   (exit $ac_status); } >/dev/null && {
    9160          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9161          test ! -s conftest.err
    9162        }; then
    9163   ac_header_preproc=yes
    9164 else
    9165   $as_echo "$as_me: failed program was:" >&5
    9166 sed 's/^/| /' conftest.$ac_ext >&5
    9167 
    9168   ac_header_preproc=no
    9169 fi
    9170 
    9171 rm -f conftest.err conftest.$ac_ext
    9172 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9173 $as_echo "$ac_header_preproc" >&6; }
    9174 
    9175 # So?  What about this header?
    9176 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9177   yes:no: )
    9178     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9179 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9180     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
    9181 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
    9182     ac_header_preproc=yes
    9183     ;;
    9184   no:yes:* )
    9185     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
    9186 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
    9187     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
    9188 $as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
    9189     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
    9190 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
    9191     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
    9192 $as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9193     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
    9194 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
    9195     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
    9196 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
    9197     ( cat <<\_ASBOX
    9198 ## ----------------------------------- ##
    9199 ## Report this to rappture@nanohub.org ##
    9200 ## ----------------------------------- ##
    9201 _ASBOX
    9202      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9203     ;;
    9204 esac
    9205 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    9206 $as_echo_n "checking for GL/glui.h... " >&6; }
    9207 if test "${ac_cv_header_GL_glui_h+set}" = set; then
    9208   $as_echo_n "(cached) " >&6
    9209 else
    9210   ac_cv_header_GL_glui_h=$ac_header_preproc
    9211 fi
    9212 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    9213 $as_echo "$ac_cv_header_GL_glui_h" >&6; }
    9214 
    9215 fi
    9216 
    9217 
    9218 if test "${ac_cv_header_glui_h+set}" = set; then
    9219   { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
    9220 $as_echo_n "checking for glui.h... " >&6; }
    9221 if test "${ac_cv_header_glui_h+set}" = set; then
    9222   $as_echo_n "(cached) " >&6
    9223 fi
    9224 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    9225 $as_echo "$ac_cv_header_glui_h" >&6; }
    9226 else
    9227   # Is the header compilable?
    9228 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
    9229 $as_echo_n "checking glui.h usability... " >&6; }
    9230 cat >conftest.$ac_ext <<_ACEOF
    9231 /* confdefs.h.  */
    9232 _ACEOF
    9233 cat confdefs.h >>conftest.$ac_ext
    9234 cat >>conftest.$ac_ext <<_ACEOF
    9235 /* end confdefs.h.  */
    9236 $ac_includes_default
    9237 #include <glui.h>
    9238 _ACEOF
    9239 rm -f conftest.$ac_objext
    9240 if { (ac_try="$ac_compile"
    9241 case "(($ac_try" in
    9242   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9243   *) ac_try_echo=$ac_try;;
    9244 esac
    9245 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9246 $as_echo "$ac_try_echo") >&5
    9247   (eval "$ac_compile") 2>conftest.er1
    9248   ac_status=$?
    9249   grep -v '^ *+' conftest.er1 >conftest.err
    9250   rm -f conftest.er1
    9251   cat conftest.err >&5
    9252   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9253   (exit $ac_status); } && {
    9254          test -z "$ac_cxx_werror_flag" ||
    9255          test ! -s conftest.err
    9256        } && test -s conftest.$ac_objext; then
    9257   ac_header_compiler=yes
    9258 else
    9259   $as_echo "$as_me: failed program was:" >&5
    9260 sed 's/^/| /' conftest.$ac_ext >&5
    9261 
    9262         ac_header_compiler=no
    9263 fi
    9264 
    9265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9266 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9267 $as_echo "$ac_header_compiler" >&6; }
    9268 
    9269 # Is the header present?
    9270 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
    9271 $as_echo_n "checking glui.h presence... " >&6; }
    9272 cat >conftest.$ac_ext <<_ACEOF
    9273 /* confdefs.h.  */
    9274 _ACEOF
    9275 cat confdefs.h >>conftest.$ac_ext
    9276 cat >>conftest.$ac_ext <<_ACEOF
    9277 /* end confdefs.h.  */
    9278 #include <glui.h>
    9279 _ACEOF
    9280 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9281 case "(($ac_try" in
    9282   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9283   *) ac_try_echo=$ac_try;;
    9284 esac
    9285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9286 $as_echo "$ac_try_echo") >&5
    9287   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9288   ac_status=$?
    9289   grep -v '^ *+' conftest.er1 >conftest.err
    9290   rm -f conftest.er1
    9291   cat conftest.err >&5
    9292   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9293   (exit $ac_status); } >/dev/null && {
    9294          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9295          test ! -s conftest.err
    9296        }; then
    9297   ac_header_preproc=yes
    9298 else
    9299   $as_echo "$as_me: failed program was:" >&5
    9300 sed 's/^/| /' conftest.$ac_ext >&5
    9301 
    9302   ac_header_preproc=no
    9303 fi
    9304 
    9305 rm -f conftest.err conftest.$ac_ext
    9306 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9307 $as_echo "$ac_header_preproc" >&6; }
    9308 
    9309 # So?  What about this header?
    9310 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9311   yes:no: )
    9312     { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9313 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9314     { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
    9315 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
    9316     ac_header_preproc=yes
    9317     ;;
    9318   no:yes:* )
    9319     { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
    9320 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
    9321     { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
    9322 $as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
    9323     { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
    9324 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
    9325     { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
    9326 $as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9327     { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
    9328 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
    9329     { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
    9330 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
    9331     ( cat <<\_ASBOX
    9332 ## ----------------------------------- ##
    9333 ## Report this to rappture@nanohub.org ##
    9334 ## ----------------------------------- ##
    9335 _ASBOX
    9336      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9337     ;;
    9338 esac
    9339 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
    9340 $as_echo_n "checking for glui.h... " >&6; }
    9341 if test "${ac_cv_header_glui_h+set}" = set; then
    9342   $as_echo_n "(cached) " >&6
    9343 else
    9344   ac_cv_header_glui_h=$ac_header_preproc
    9345 fi
    9346 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    9347 $as_echo "$ac_cv_header_glui_h" >&6; }
    9348 
    9349 fi
    9350 
    9351 
    9352 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9353   { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    9354 $as_echo_n "checking for GL/glut.h... " >&6; }
    9355 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9356   $as_echo_n "(cached) " >&6
    9357 fi
    9358 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    9359 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    9360 else
    9361   # Is the header compilable?
    9362 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
    9363 $as_echo_n "checking GL/glut.h usability... " >&6; }
    9364 cat >conftest.$ac_ext <<_ACEOF
    9365 /* confdefs.h.  */
    9366 _ACEOF
    9367 cat confdefs.h >>conftest.$ac_ext
    9368 cat >>conftest.$ac_ext <<_ACEOF
    9369 /* end confdefs.h.  */
    9370 $ac_includes_default
    9371 #include <GL/glut.h>
    9372 _ACEOF
    9373 rm -f conftest.$ac_objext
    9374 if { (ac_try="$ac_compile"
    9375 case "(($ac_try" in
    9376   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9377   *) ac_try_echo=$ac_try;;
    9378 esac
    9379 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9380 $as_echo "$ac_try_echo") >&5
    9381   (eval "$ac_compile") 2>conftest.er1
    9382   ac_status=$?
    9383   grep -v '^ *+' conftest.er1 >conftest.err
    9384   rm -f conftest.er1
    9385   cat conftest.err >&5
    9386   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9387   (exit $ac_status); } && {
    9388          test -z "$ac_cxx_werror_flag" ||
    9389          test ! -s conftest.err
    9390        } && test -s conftest.$ac_objext; then
    9391   ac_header_compiler=yes
    9392 else
    9393   $as_echo "$as_me: failed program was:" >&5
    9394 sed 's/^/| /' conftest.$ac_ext >&5
    9395 
    9396         ac_header_compiler=no
    9397 fi
    9398 
    9399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9400 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9401 $as_echo "$ac_header_compiler" >&6; }
    9402 
    9403 # Is the header present?
    9404 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
    9405 $as_echo_n "checking GL/glut.h presence... " >&6; }
    9406 cat >conftest.$ac_ext <<_ACEOF
    9407 /* confdefs.h.  */
    9408 _ACEOF
    9409 cat confdefs.h >>conftest.$ac_ext
    9410 cat >>conftest.$ac_ext <<_ACEOF
    9411 /* end confdefs.h.  */
    9412 #include <GL/glut.h>
    9413 _ACEOF
    9414 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9415 case "(($ac_try" in
    9416   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9417   *) ac_try_echo=$ac_try;;
    9418 esac
    9419 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9420 $as_echo "$ac_try_echo") >&5
    9421   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9422   ac_status=$?
    9423   grep -v '^ *+' conftest.er1 >conftest.err
    9424   rm -f conftest.er1
    9425   cat conftest.err >&5
    9426   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9427   (exit $ac_status); } >/dev/null && {
    9428          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9429          test ! -s conftest.err
    9430        }; then
    9431   ac_header_preproc=yes
    9432 else
    9433   $as_echo "$as_me: failed program was:" >&5
    9434 sed 's/^/| /' conftest.$ac_ext >&5
    9435 
    9436   ac_header_preproc=no
    9437 fi
    9438 
    9439 rm -f conftest.err conftest.$ac_ext
    9440 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9441 $as_echo "$ac_header_preproc" >&6; }
    9442 
    9443 # So?  What about this header?
    9444 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9445   yes:no: )
    9446     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9447 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9448     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
    9449 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
    9450     ac_header_preproc=yes
    9451     ;;
    9452   no:yes:* )
    9453     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
    9454 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
    9455     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
    9456 $as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
    9457     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
    9458 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
    9459     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
    9460 $as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9461     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
    9462 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
    9463     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
    9464 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
    9465     ( cat <<\_ASBOX
    9466 ## ----------------------------------- ##
    9467 ## Report this to rappture@nanohub.org ##
    9468 ## ----------------------------------- ##
    9469 _ASBOX
    9470      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9471     ;;
    9472 esac
    9473 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    9474 $as_echo_n "checking for GL/glut.h... " >&6; }
    9475 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9476   $as_echo_n "(cached) " >&6
    9477 else
    9478   ac_cv_header_GL_glut_h=$ac_header_preproc
    9479 fi
    9480 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    9481 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    9482 
    9483 fi
    9484 
    9485 
    9486 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9487   { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    9488 $as_echo_n "checking for GL/glew.h... " >&6; }
    9489 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9490   $as_echo_n "(cached) " >&6
    9491 fi
    9492 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    9493 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    9494 else
    9495   # Is the header compilable?
    9496 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
    9497 $as_echo_n "checking GL/glew.h usability... " >&6; }
    9498 cat >conftest.$ac_ext <<_ACEOF
    9499 /* confdefs.h.  */
    9500 _ACEOF
    9501 cat confdefs.h >>conftest.$ac_ext
    9502 cat >>conftest.$ac_ext <<_ACEOF
    9503 /* end confdefs.h.  */
    9504 $ac_includes_default
    9505 #include <GL/glew.h>
    9506 _ACEOF
    9507 rm -f conftest.$ac_objext
    9508 if { (ac_try="$ac_compile"
    9509 case "(($ac_try" in
    9510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9511   *) ac_try_echo=$ac_try;;
    9512 esac
    9513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9514 $as_echo "$ac_try_echo") >&5
    9515   (eval "$ac_compile") 2>conftest.er1
    9516   ac_status=$?
    9517   grep -v '^ *+' conftest.er1 >conftest.err
    9518   rm -f conftest.er1
    9519   cat conftest.err >&5
    9520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9521   (exit $ac_status); } && {
    9522          test -z "$ac_cxx_werror_flag" ||
    9523          test ! -s conftest.err
    9524        } && test -s conftest.$ac_objext; then
    9525   ac_header_compiler=yes
    9526 else
    9527   $as_echo "$as_me: failed program was:" >&5
    9528 sed 's/^/| /' conftest.$ac_ext >&5
    9529 
    9530         ac_header_compiler=no
    9531 fi
    9532 
    9533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9534 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9535 $as_echo "$ac_header_compiler" >&6; }
    9536 
    9537 # Is the header present?
    9538 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
    9539 $as_echo_n "checking GL/glew.h presence... " >&6; }
    9540 cat >conftest.$ac_ext <<_ACEOF
    9541 /* confdefs.h.  */
    9542 _ACEOF
    9543 cat confdefs.h >>conftest.$ac_ext
    9544 cat >>conftest.$ac_ext <<_ACEOF
    9545 /* end confdefs.h.  */
    9546 #include <GL/glew.h>
    9547 _ACEOF
    9548 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9549 case "(($ac_try" in
    9550   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9551   *) ac_try_echo=$ac_try;;
    9552 esac
    9553 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9554 $as_echo "$ac_try_echo") >&5
    9555   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9556   ac_status=$?
    9557   grep -v '^ *+' conftest.er1 >conftest.err
    9558   rm -f conftest.er1
    9559   cat conftest.err >&5
    9560   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9561   (exit $ac_status); } >/dev/null && {
    9562          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9563          test ! -s conftest.err
    9564        }; then
    9565   ac_header_preproc=yes
    9566 else
    9567   $as_echo "$as_me: failed program was:" >&5
    9568 sed 's/^/| /' conftest.$ac_ext >&5
    9569 
    9570   ac_header_preproc=no
    9571 fi
    9572 
    9573 rm -f conftest.err conftest.$ac_ext
    9574 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9575 $as_echo "$ac_header_preproc" >&6; }
    9576 
    9577 # So?  What about this header?
    9578 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9579   yes:no: )
    9580     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9581 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9582     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
    9583 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
    9584     ac_header_preproc=yes
    9585     ;;
    9586   no:yes:* )
    9587     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
    9588 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
    9589     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
    9590 $as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
    9591     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
    9592 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
    9593     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
    9594 $as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9595     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
    9596 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
    9597     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
    9598 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
    9599     ( cat <<\_ASBOX
    9600 ## ----------------------------------- ##
    9601 ## Report this to rappture@nanohub.org ##
    9602 ## ----------------------------------- ##
    9603 _ASBOX
    9604      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9605     ;;
    9606 esac
    9607 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    9608 $as_echo_n "checking for GL/glew.h... " >&6; }
    9609 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9610   $as_echo_n "(cached) " >&6
    9611 else
    9612   ac_cv_header_GL_glew_h=$ac_header_preproc
    9613 fi
    9614 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    9615 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    9616 
    9617 fi
    9618 
    9619 
    9620 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9621   { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
    9622 $as_echo_n "checking for Cg/cgGL.h... " >&6; }
    9623 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9624   $as_echo_n "(cached) " >&6
    9625 fi
    9626 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
    9627 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
    9628 else
    9629   # Is the header compilable?
    9630 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
    9631 $as_echo_n "checking Cg/cgGL.h usability... " >&6; }
    9632 cat >conftest.$ac_ext <<_ACEOF
    9633 /* confdefs.h.  */
    9634 _ACEOF
    9635 cat confdefs.h >>conftest.$ac_ext
    9636 cat >>conftest.$ac_ext <<_ACEOF
    9637 /* end confdefs.h.  */
    9638 $ac_includes_default
    9639 #include <Cg/cgGL.h>
    9640 _ACEOF
    9641 rm -f conftest.$ac_objext
    9642 if { (ac_try="$ac_compile"
    9643 case "(($ac_try" in
    9644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9645   *) ac_try_echo=$ac_try;;
    9646 esac
    9647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9648 $as_echo "$ac_try_echo") >&5
    9649   (eval "$ac_compile") 2>conftest.er1
    9650   ac_status=$?
    9651   grep -v '^ *+' conftest.er1 >conftest.err
    9652   rm -f conftest.er1
    9653   cat conftest.err >&5
    9654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9655   (exit $ac_status); } && {
    9656          test -z "$ac_cxx_werror_flag" ||
    9657          test ! -s conftest.err
    9658        } && test -s conftest.$ac_objext; then
    9659   ac_header_compiler=yes
    9660 else
    9661   $as_echo "$as_me: failed program was:" >&5
    9662 sed 's/^/| /' conftest.$ac_ext >&5
    9663 
    9664         ac_header_compiler=no
    9665 fi
    9666 
    9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9668 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9669 $as_echo "$ac_header_compiler" >&6; }
    9670 
    9671 # Is the header present?
    9672 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
    9673 $as_echo_n "checking Cg/cgGL.h presence... " >&6; }
    9674 cat >conftest.$ac_ext <<_ACEOF
    9675 /* confdefs.h.  */
    9676 _ACEOF
    9677 cat confdefs.h >>conftest.$ac_ext
    9678 cat >>conftest.$ac_ext <<_ACEOF
    9679 /* end confdefs.h.  */
    9680 #include <Cg/cgGL.h>
    9681 _ACEOF
    9682 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9683 case "(($ac_try" in
    9684   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9685   *) ac_try_echo=$ac_try;;
    9686 esac
    9687 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9688 $as_echo "$ac_try_echo") >&5
    9689   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9690   ac_status=$?
    9691   grep -v '^ *+' conftest.er1 >conftest.err
    9692   rm -f conftest.er1
    9693   cat conftest.err >&5
    9694   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9695   (exit $ac_status); } >/dev/null && {
    9696          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9697          test ! -s conftest.err
    9698        }; then
    9699   ac_header_preproc=yes
    9700 else
    9701   $as_echo "$as_me: failed program was:" >&5
    9702 sed 's/^/| /' conftest.$ac_ext >&5
    9703 
    9704   ac_header_preproc=no
    9705 fi
    9706 
    9707 rm -f conftest.err conftest.$ac_ext
    9708 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9709 $as_echo "$ac_header_preproc" >&6; }
    9710 
    9711 # So?  What about this header?
    9712 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9713   yes:no: )
    9714     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9715 $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9716     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5
    9717 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
    9718     ac_header_preproc=yes
    9719     ;;
    9720   no:yes:* )
    9721     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
    9722 $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}
    9723     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&5
    9724 $as_echo "$as_me: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&2;}
    9725     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5
    9726 $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}
    9727     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&5
    9728 $as_echo "$as_me: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9729     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5
    9730 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}
    9731     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5
    9732 $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
    9733     ( cat <<\_ASBOX
    9734 ## ----------------------------------- ##
    9735 ## Report this to rappture@nanohub.org ##
    9736 ## ----------------------------------- ##
    9737 _ASBOX
    9738      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9739     ;;
    9740 esac
    9741 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
    9742 $as_echo_n "checking for Cg/cgGL.h... " >&6; }
    9743 if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9744   $as_echo_n "(cached) " >&6
    9745 else
    9746   ac_cv_header_Cg_cgGL_h=$ac_header_preproc
    9747 fi
    9748 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
    9749 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
    9750 
    9751 fi
    9752 
    9753 
    9754 
    9755 
    9756 
    9757 
    9758 
    9759 
    9760 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    9761 do
    9762 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9763 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9764   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9765 $as_echo_n "checking for $ac_header... " >&6; }
    9766 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9767   $as_echo_n "(cached) " >&6
    9768 fi
    9769 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9770                  $as_echo "$as_val"'`
    9771                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9772 $as_echo "$ac_res" >&6; }
    9773 else
    9774   # Is the header compilable?
    9775 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9776 $as_echo_n "checking $ac_header usability... " >&6; }
    9777 cat >conftest.$ac_ext <<_ACEOF
    9778 /* confdefs.h.  */
    9779 _ACEOF
    9780 cat confdefs.h >>conftest.$ac_ext
    9781 cat >>conftest.$ac_ext <<_ACEOF
    9782 /* end confdefs.h.  */
    9783 $ac_includes_default
    9784 #include <$ac_header>
    9785 _ACEOF
    9786 rm -f conftest.$ac_objext
    9787 if { (ac_try="$ac_compile"
    9788 case "(($ac_try" in
    9789   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9790   *) ac_try_echo=$ac_try;;
    9791 esac
    9792 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9793 $as_echo "$ac_try_echo") >&5
    9794   (eval "$ac_compile") 2>conftest.er1
    9795   ac_status=$?
    9796   grep -v '^ *+' conftest.er1 >conftest.err
    9797   rm -f conftest.er1
    9798   cat conftest.err >&5
    9799   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9800   (exit $ac_status); } && {
    9801          test -z "$ac_cxx_werror_flag" ||
    9802          test ! -s conftest.err
    9803        } && test -s conftest.$ac_objext; then
    9804   ac_header_compiler=yes
    9805 else
    9806   $as_echo "$as_me: failed program was:" >&5
    9807 sed 's/^/| /' conftest.$ac_ext >&5
    9808 
    9809         ac_header_compiler=no
    9810 fi
    9811 
    9812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9813 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9814 $as_echo "$ac_header_compiler" >&6; }
    9815 
    9816 # Is the header present?
    9817 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9818 $as_echo_n "checking $ac_header presence... " >&6; }
    9819 cat >conftest.$ac_ext <<_ACEOF
    9820 /* confdefs.h.  */
    9821 _ACEOF
    9822 cat confdefs.h >>conftest.$ac_ext
    9823 cat >>conftest.$ac_ext <<_ACEOF
    9824 /* end confdefs.h.  */
    9825 #include <$ac_header>
    9826 _ACEOF
    9827 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9828 case "(($ac_try" in
    9829   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9830   *) ac_try_echo=$ac_try;;
    9831 esac
    9832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9833 $as_echo "$ac_try_echo") >&5
    9834   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9835   ac_status=$?
    9836   grep -v '^ *+' conftest.er1 >conftest.err
    9837   rm -f conftest.er1
    9838   cat conftest.err >&5
    9839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9840   (exit $ac_status); } >/dev/null && {
    9841          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9842          test ! -s conftest.err
    9843        }; then
    9844   ac_header_preproc=yes
    9845 else
    9846   $as_echo "$as_me: failed program was:" >&5
    9847 sed 's/^/| /' conftest.$ac_ext >&5
    9848 
    9849   ac_header_preproc=no
    9850 fi
    9851 
    9852 rm -f conftest.err conftest.$ac_ext
    9853 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9854 $as_echo "$ac_header_preproc" >&6; }
    9855 
    9856 # So?  What about this header?
    9857 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    9858   yes:no: )
    9859     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9860 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9861     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9862 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    9863     ac_header_preproc=yes
    9864     ;;
    9865   no:yes:* )
    9866     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9867 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9868     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9869 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9870     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9871 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9872     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9873 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9874     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9875 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9876     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9877 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    9878     ( cat <<\_ASBOX
    9879 ## ----------------------------------- ##
    9880 ## Report this to rappture@nanohub.org ##
    9881 ## ----------------------------------- ##
    9882 _ASBOX
    9883      ) | sed "s/^/$as_me: WARNING:     /" >&2
    9884     ;;
    9885 esac
    9886 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9887 $as_echo_n "checking for $ac_header... " >&6; }
    9888 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9889   $as_echo_n "(cached) " >&6
    9890 else
    9891   eval "$as_ac_Header=\$ac_header_preproc"
    9892 fi
    9893 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9894                  $as_echo "$as_val"'`
    9895                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9896 $as_echo "$ac_res" >&6; }
    9897 
    9898 fi
    9899 as_val=`eval 'as_val=${'$as_ac_Header'}
    9900                  $as_echo "$as_val"'`
    9901    if test "x$as_val" = x""yes; then
     7509for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     7510do :
     7511  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7512ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     7513eval as_val=\$$as_ac_Header
     7514   if test "x$as_val" = x""yes; then :
    99027515  cat >>confdefs.h <<_ACEOF
    99037516#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    99097522
    99107523
    9911 
    9912 
    9913 
    9914 
    9915 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    9916 do
    9917 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    9918 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9919   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9920 $as_echo_n "checking for $ac_header... " >&6; }
    9921 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9922   $as_echo_n "(cached) " >&6
    9923 fi
    9924 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9925                  $as_echo "$as_val"'`
    9926                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9927 $as_echo "$ac_res" >&6; }
    9928 else
    9929   # Is the header compilable?
    9930 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9931 $as_echo_n "checking $ac_header usability... " >&6; }
    9932 cat >conftest.$ac_ext <<_ACEOF
    9933 /* confdefs.h.  */
    9934 _ACEOF
    9935 cat confdefs.h >>conftest.$ac_ext
    9936 cat >>conftest.$ac_ext <<_ACEOF
    9937 /* end confdefs.h.  */
    9938 $ac_includes_default
    9939 #include <$ac_header>
    9940 _ACEOF
    9941 rm -f conftest.$ac_objext
    9942 if { (ac_try="$ac_compile"
    9943 case "(($ac_try" in
    9944   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9945   *) ac_try_echo=$ac_try;;
    9946 esac
    9947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9948 $as_echo "$ac_try_echo") >&5
    9949   (eval "$ac_compile") 2>conftest.er1
    9950   ac_status=$?
    9951   grep -v '^ *+' conftest.er1 >conftest.err
    9952   rm -f conftest.er1
    9953   cat conftest.err >&5
    9954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9955   (exit $ac_status); } && {
    9956          test -z "$ac_cxx_werror_flag" ||
    9957          test ! -s conftest.err
    9958        } && test -s conftest.$ac_objext; then
    9959   ac_header_compiler=yes
    9960 else
    9961   $as_echo "$as_me: failed program was:" >&5
    9962 sed 's/^/| /' conftest.$ac_ext >&5
    9963 
    9964         ac_header_compiler=no
    9965 fi
    9966 
    9967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9968 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9969 $as_echo "$ac_header_compiler" >&6; }
    9970 
    9971 # Is the header present?
    9972 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9973 $as_echo_n "checking $ac_header presence... " >&6; }
    9974 cat >conftest.$ac_ext <<_ACEOF
    9975 /* confdefs.h.  */
    9976 _ACEOF
    9977 cat confdefs.h >>conftest.$ac_ext
    9978 cat >>conftest.$ac_ext <<_ACEOF
    9979 /* end confdefs.h.  */
    9980 #include <$ac_header>
    9981 _ACEOF
    9982 if { (ac_try="$ac_cpp conftest.$ac_ext"
    9983 case "(($ac_try" in
    9984   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9985   *) ac_try_echo=$ac_try;;
    9986 esac
    9987 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9988 $as_echo "$ac_try_echo") >&5
    9989   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    9990   ac_status=$?
    9991   grep -v '^ *+' conftest.er1 >conftest.err
    9992   rm -f conftest.er1
    9993   cat conftest.err >&5
    9994   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9995   (exit $ac_status); } >/dev/null && {
    9996          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    9997          test ! -s conftest.err
    9998        }; then
    9999   ac_header_preproc=yes
    10000 else
    10001   $as_echo "$as_me: failed program was:" >&5
    10002 sed 's/^/| /' conftest.$ac_ext >&5
    10003 
    10004   ac_header_preproc=no
    10005 fi
    10006 
    10007 rm -f conftest.err conftest.$ac_ext
    10008 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10009 $as_echo "$ac_header_preproc" >&6; }
    10010 
    10011 # So?  What about this header?
    10012 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10013   yes:no: )
    10014     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    10015 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10016     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    10017 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    10018     ac_header_preproc=yes
    10019     ;;
    10020   no:yes:* )
    10021     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    10022 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    10023     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    10024 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    10025     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    10026 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    10027     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    10028 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    10029     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    10030 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    10031     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    10032 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    10033     ( cat <<\_ASBOX
    10034 ## ----------------------------------- ##
    10035 ## Report this to rappture@nanohub.org ##
    10036 ## ----------------------------------- ##
    10037 _ASBOX
    10038      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10039     ;;
    10040 esac
    10041 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    10042 $as_echo_n "checking for $ac_header... " >&6; }
    10043 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    10044   $as_echo_n "(cached) " >&6
    10045 else
    10046   eval "$as_ac_Header=\$ac_header_preproc"
    10047 fi
    10048 ac_res=`eval 'as_val=${'$as_ac_Header'}
    10049                  $as_echo "$as_val"'`
    10050                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    10051 $as_echo "$ac_res" >&6; }
    10052 
    10053 fi
    10054 as_val=`eval 'as_val=${'$as_ac_Header'}
    10055                  $as_echo "$as_val"'`
    10056    if test "x$as_val" = x""yes; then
    10057   cat >>confdefs.h <<_ACEOF
    10058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    10059 _ACEOF
    10060 
    10061 fi
    10062 
    10063 done
    10064 
    10065 
    10066 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5
     7524{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5
    100677525$as_echo_n "checking for OpenDX headers... " >&6; }
    100687526DX_INC_DIR=""
     
    100787536done
    100797537if test "x${DX_INC_DIR}" = "x" ; then
    10080   { { $as_echo "$as_me:$LINENO: error: can't find OpenDX include files" >&5
    10081 $as_echo "$as_me: error: can't find OpenDX include files" >&2;}
    10082    { (exit 1); exit 1; }; }
     7538  as_fn_error "can't find OpenDX include files" "$LINENO" 5
    100837539fi
    100847540
     
    100897545fi
    100907546
    10091 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5
     7547{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5
    100927548$as_echo "${DX_INC_DIR}" >&6; }
    100937549
    10094 { $as_echo "$as_me:$LINENO: checking for OpenDX libraries" >&5
     7550{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX libraries" >&5
    100957551$as_echo_n "checking for OpenDX libraries... " >&6; }
    100967552DX_LIB_DIR=""
     
    101077563done
    101087564if test "x${DX_LIB_DIR}" = "x" ; then
    10109   { { $as_echo "$as_me:$LINENO: error: can't find OpenDX libraries" >&5
    10110 $as_echo "$as_me: error: can't find OpenDX libraries" >&2;}
    10111    { (exit 1); exit 1; }; }
     7565  as_fn_error "can't find OpenDX libraries" "$LINENO" 5
    101127566fi
    101137567
     
    101197573
    101207574
    10121 { $as_echo "$as_me:$LINENO: result: ${DX_LIB_DIR}" >&5
     7575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_LIB_DIR}" >&5
    101227576$as_echo "${DX_LIB_DIR}" >&6; }
    101237577
    10124 
    10125 
    10126 
    10127 
    10128 
    10129 
    101307578for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    10131 do
    10132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    10133 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    10134   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    10135 $as_echo_n "checking for $ac_header... " >&6; }
    10136 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    10137   $as_echo_n "(cached) " >&6
    10138 fi
    10139 ac_res=`eval 'as_val=${'$as_ac_Header'}
    10140                  $as_echo "$as_val"'`
    10141                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    10142 $as_echo "$ac_res" >&6; }
    10143 else
    10144   # Is the header compilable?
    10145 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    10146 $as_echo_n "checking $ac_header usability... " >&6; }
    10147 cat >conftest.$ac_ext <<_ACEOF
    10148 /* confdefs.h.  */
    10149 _ACEOF
    10150 cat confdefs.h >>conftest.$ac_ext
    10151 cat >>conftest.$ac_ext <<_ACEOF
    10152 /* end confdefs.h.  */
    10153 $ac_includes_default
    10154 #include <$ac_header>
    10155 _ACEOF
    10156 rm -f conftest.$ac_objext
    10157 if { (ac_try="$ac_compile"
    10158 case "(($ac_try" in
    10159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10160   *) ac_try_echo=$ac_try;;
    10161 esac
    10162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10163 $as_echo "$ac_try_echo") >&5
    10164   (eval "$ac_compile") 2>conftest.er1
    10165   ac_status=$?
    10166   grep -v '^ *+' conftest.er1 >conftest.err
    10167   rm -f conftest.er1
    10168   cat conftest.err >&5
    10169   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10170   (exit $ac_status); } && {
    10171          test -z "$ac_cxx_werror_flag" ||
    10172          test ! -s conftest.err
    10173        } && test -s conftest.$ac_objext; then
    10174   ac_header_compiler=yes
    10175 else
    10176   $as_echo "$as_me: failed program was:" >&5
    10177 sed 's/^/| /' conftest.$ac_ext >&5
    10178 
    10179         ac_header_compiler=no
    10180 fi
    10181 
    10182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10183 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    10184 $as_echo "$ac_header_compiler" >&6; }
    10185 
    10186 # Is the header present?
    10187 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    10188 $as_echo_n "checking $ac_header presence... " >&6; }
    10189 cat >conftest.$ac_ext <<_ACEOF
    10190 /* confdefs.h.  */
    10191 _ACEOF
    10192 cat confdefs.h >>conftest.$ac_ext
    10193 cat >>conftest.$ac_ext <<_ACEOF
    10194 /* end confdefs.h.  */
    10195 #include <$ac_header>
    10196 _ACEOF
    10197 if { (ac_try="$ac_cpp conftest.$ac_ext"
    10198 case "(($ac_try" in
    10199   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10200   *) ac_try_echo=$ac_try;;
    10201 esac
    10202 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10203 $as_echo "$ac_try_echo") >&5
    10204   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    10205   ac_status=$?
    10206   grep -v '^ *+' conftest.er1 >conftest.err
    10207   rm -f conftest.er1
    10208   cat conftest.err >&5
    10209   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10210   (exit $ac_status); } >/dev/null && {
    10211          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    10212          test ! -s conftest.err
    10213        }; then
    10214   ac_header_preproc=yes
    10215 else
    10216   $as_echo "$as_me: failed program was:" >&5
    10217 sed 's/^/| /' conftest.$ac_ext >&5
    10218 
    10219   ac_header_preproc=no
    10220 fi
    10221 
    10222 rm -f conftest.err conftest.$ac_ext
    10223 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10224 $as_echo "$ac_header_preproc" >&6; }
    10225 
    10226 # So?  What about this header?
    10227 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    10228   yes:no: )
    10229     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    10230 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10231     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    10232 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    10233     ac_header_preproc=yes
    10234     ;;
    10235   no:yes:* )
    10236     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    10237 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    10238     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    10239 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    10240     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    10241 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    10242     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    10243 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    10244     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    10245 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    10246     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    10247 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    10248     ( cat <<\_ASBOX
    10249 ## ----------------------------------- ##
    10250 ## Report this to rappture@nanohub.org ##
    10251 ## ----------------------------------- ##
    10252 _ASBOX
    10253      ) | sed "s/^/$as_me: WARNING:     /" >&2
    10254     ;;
    10255 esac
    10256 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    10257 $as_echo_n "checking for $ac_header... " >&6; }
    10258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    10259   $as_echo_n "(cached) " >&6
    10260 else
    10261   eval "$as_ac_Header=\$ac_header_preproc"
    10262 fi
    10263 ac_res=`eval 'as_val=${'$as_ac_Header'}
    10264                  $as_echo "$as_val"'`
    10265                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    10266 $as_echo "$ac_res" >&6; }
    10267 
    10268 fi
    10269 as_val=`eval 'as_val=${'$as_ac_Header'}
    10270                  $as_echo "$as_val"'`
    10271    if test "x$as_val" = x""yes; then
     7579do :
     7580  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     7581ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     7582eval as_val=\$$as_ac_Header
     7583   if test "x$as_val" = x""yes; then :
    102727584  cat >>confdefs.h <<_ACEOF
    102737585#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    102817593oldLIBS=$LIBS
    102827594LIBS=-lavcodec
    10283 
    102847595for ac_func in img_convert
    10285 do
    10286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    10287 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    10288 $as_echo_n "checking for $ac_func... " >&6; }
    10289 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    10290   $as_echo_n "(cached) " >&6
    10291 else
    10292   cat >conftest.$ac_ext <<_ACEOF
    10293 /* confdefs.h.  */
    10294 _ACEOF
    10295 cat confdefs.h >>conftest.$ac_ext
    10296 cat >>conftest.$ac_ext <<_ACEOF
    10297 /* end confdefs.h.  */
    10298 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    10299    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10300 #define $ac_func innocuous_$ac_func
    10301 
    10302 /* System header to define __stub macros and hopefully few prototypes,
    10303     which can conflict with char $ac_func (); below.
    10304     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10305     <limits.h> exists even on freestanding compilers.  */
    10306 
    10307 #ifdef __STDC__
    10308 # include <limits.h>
    10309 #else
    10310 # include <assert.h>
    10311 #endif
    10312 
    10313 #undef $ac_func
    10314 
    10315 /* Override any GCC internal prototype to avoid an error.
    10316    Use char because int might match the return type of a GCC
    10317    builtin and then its argument prototype would still apply.  */
    10318 #ifdef __cplusplus
    10319 extern "C"
    10320 #endif
    10321 char $ac_func ();
    10322 /* The GNU C library defines this for functions which it implements
    10323     to always fail with ENOSYS.  Some functions are actually named
    10324     something starting with __ and the normal name is an alias.  */
    10325 #if defined __stub_$ac_func || defined __stub___$ac_func
    10326 choke me
    10327 #endif
    10328 
    10329 int
    10330 main ()
    10331 {
    10332 return $ac_func ();
    10333   ;
    10334   return 0;
    10335 }
    10336 _ACEOF
    10337 rm -f conftest.$ac_objext conftest$ac_exeext
    10338 if { (ac_try="$ac_link"
    10339 case "(($ac_try" in
    10340   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10341   *) ac_try_echo=$ac_try;;
    10342 esac
    10343 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10344 $as_echo "$ac_try_echo") >&5
    10345   (eval "$ac_link") 2>conftest.er1
    10346   ac_status=$?
    10347   grep -v '^ *+' conftest.er1 >conftest.err
    10348   rm -f conftest.er1
    10349   cat conftest.err >&5
    10350   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10351   (exit $ac_status); } && {
    10352          test -z "$ac_cxx_werror_flag" ||
    10353          test ! -s conftest.err
    10354        } && test -s conftest$ac_exeext && {
    10355          test "$cross_compiling" = yes ||
    10356          $as_test_x conftest$ac_exeext
    10357        }; then
    10358   eval "$as_ac_var=yes"
    10359 else
    10360   $as_echo "$as_me: failed program was:" >&5
    10361 sed 's/^/| /' conftest.$ac_ext >&5
    10362 
    10363         eval "$as_ac_var=no"
    10364 fi
    10365 
    10366 rm -rf conftest.dSYM
    10367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10368       conftest$ac_exeext conftest.$ac_ext
    10369 fi
    10370 ac_res=`eval 'as_val=${'$as_ac_var'}
    10371                  $as_echo "$as_val"'`
    10372                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    10373 $as_echo "$ac_res" >&6; }
    10374 as_val=`eval 'as_val=${'$as_ac_var'}
    10375                  $as_echo "$as_val"'`
    10376    if test "x$as_val" = x""yes; then
     7596do :
     7597  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     7598if test "x$ac_cv_func_img_convert" = x""yes; then :
    103777599  cat >>confdefs.h <<_ACEOF
    10378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7600#define HAVE_IMG_CONVERT 1
    103797601_ACEOF
    103807602
     
    103837605
    103847606LIBS=-lavformat
    10385 
    103867607for ac_func in avformat_alloc_context
    10387 do
    10388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    10389 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    10390 $as_echo_n "checking for $ac_func... " >&6; }
    10391 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    10392   $as_echo_n "(cached) " >&6
    10393 else
    10394   cat >conftest.$ac_ext <<_ACEOF
    10395 /* confdefs.h.  */
    10396 _ACEOF
    10397 cat confdefs.h >>conftest.$ac_ext
    10398 cat >>conftest.$ac_ext <<_ACEOF
    10399 /* end confdefs.h.  */
    10400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    10401    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    10402 #define $ac_func innocuous_$ac_func
    10403 
    10404 /* System header to define __stub macros and hopefully few prototypes,
    10405     which can conflict with char $ac_func (); below.
    10406     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    10407     <limits.h> exists even on freestanding compilers.  */
    10408 
    10409 #ifdef __STDC__
    10410 # include <limits.h>
    10411 #else
    10412 # include <assert.h>
    10413 #endif
    10414 
    10415 #undef $ac_func
    10416 
    10417 /* Override any GCC internal prototype to avoid an error.
    10418    Use char because int might match the return type of a GCC
    10419    builtin and then its argument prototype would still apply.  */
    10420 #ifdef __cplusplus
    10421 extern "C"
    10422 #endif
    10423 char $ac_func ();
    10424 /* The GNU C library defines this for functions which it implements
    10425     to always fail with ENOSYS.  Some functions are actually named
    10426     something starting with __ and the normal name is an alias.  */
    10427 #if defined __stub_$ac_func || defined __stub___$ac_func
    10428 choke me
    10429 #endif
    10430 
    10431 int
    10432 main ()
    10433 {
    10434 return $ac_func ();
    10435   ;
    10436   return 0;
    10437 }
    10438 _ACEOF
    10439 rm -f conftest.$ac_objext conftest$ac_exeext
    10440 if { (ac_try="$ac_link"
    10441 case "(($ac_try" in
    10442   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10443   *) ac_try_echo=$ac_try;;
    10444 esac
    10445 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10446 $as_echo "$ac_try_echo") >&5
    10447   (eval "$ac_link") 2>conftest.er1
    10448   ac_status=$?
    10449   grep -v '^ *+' conftest.er1 >conftest.err
    10450   rm -f conftest.er1
    10451   cat conftest.err >&5
    10452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10453   (exit $ac_status); } && {
    10454          test -z "$ac_cxx_werror_flag" ||
    10455          test ! -s conftest.err
    10456        } && test -s conftest$ac_exeext && {
    10457          test "$cross_compiling" = yes ||
    10458          $as_test_x conftest$ac_exeext
    10459        }; then
    10460   eval "$as_ac_var=yes"
    10461 else
    10462   $as_echo "$as_me: failed program was:" >&5
    10463 sed 's/^/| /' conftest.$ac_ext >&5
    10464 
    10465         eval "$as_ac_var=no"
    10466 fi
    10467 
    10468 rm -rf conftest.dSYM
    10469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    10470       conftest$ac_exeext conftest.$ac_ext
    10471 fi
    10472 ac_res=`eval 'as_val=${'$as_ac_var'}
    10473                  $as_echo "$as_val"'`
    10474                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    10475 $as_echo "$ac_res" >&6; }
    10476 as_val=`eval 'as_val=${'$as_ac_var'}
    10477                  $as_echo "$as_val"'`
    10478    if test "x$as_val" = x""yes; then
     7608do :
     7609  ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context"
     7610if test "x$ac_cv_func_avformat_alloc_context" = x""yes; then :
    104797611  cat >>confdefs.h <<_ACEOF
    10480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     7612#define HAVE_AVFORMAT_ALLOC_CONTEXT 1
    104817613_ACEOF
    104827614
     
    104867618LIBS=$oldLIBS
    104877619
    10488 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     7620{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
    104897621$as_echo_n "checking for nVidia Cg installation... " >&6; }
    104907622CG_DIR=""
     
    105007632done
    105017633if test "x${CG_DIR}" = "x" ; then
    10502   { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
    10503 $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;}
    10504    { (exit 1); exit 1; }; }
     7634  as_fn_error "can't find nVidia Cg installation" "$LINENO" 5
    105057635fi
    105067636
     
    105127642
    105137643
    10514 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     7644{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
    105157645$as_echo "${CG_DIR}" >&6; }
    105167646
     
    105187648
    105197649
    10520 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh"
     7650ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh"
    105217651
    105227652cat >confcache <<\_ACEOF
     
    105477677    *${as_nl}*)
    105487678      case $ac_var in #(
    10549       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     7679      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    105507680$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    105517681      esac
     
    105537683      _ | IFS | as_nl) ;; #(
    105547684      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    10555       *) $as_unset $ac_var ;;
     7685      *) { eval $ac_var=; unset $ac_var;} ;;
    105567686      esac ;;
    105577687    esac
     
    105617691    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    105627692    *${as_nl}ac_space=\ *)
    10563       # `set' does not quote correctly, so add quotes (double-quote
    10564       # substitution turns \\\\ into \\, and sed turns \\ into \).
     7693      # `set' does not quote correctly, so add quotes: double-quote
     7694      # substitution turns \\\\ into \\, and sed turns \\ into \.
    105657695      sed -n \
    105667696        "s/'/'\\\\''/g;
     
    105857715  if test -w "$cache_file"; then
    105867716    test "x$cache_file" != "x/dev/null" &&
    10587       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     7717      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    105887718$as_echo "$as_me: updating cache $cache_file" >&6;}
    105897719    cat confcache >$cache_file
    105907720  else
    10591     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     7721    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    105927722$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    105937723  fi
     
    106097739  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    106107740  #    will be set to the directory where LIBOBJS objects are built.
    10611   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    10612   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     7741  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     7742  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    106137743done
    106147744LIBOBJS=$ac_libobjs
     
    106237753ac_clean_files_save=$ac_clean_files
    106247754ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    10625 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     7755{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    106267756$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    10627 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     7757as_write_fail=0
     7758cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    106287759#! $SHELL
    106297760# Generated by $as_me.
     
    106357766ac_cs_recheck=false
    106367767ac_cs_silent=false
     7768
    106377769SHELL=\${CONFIG_SHELL-$SHELL}
    10638 _ACEOF
    10639 
    10640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    10641 ## --------------------- ##
    10642 ## M4sh Initialization.  ##
    10643 ## --------------------- ##
     7770export SHELL
     7771_ASEOF
     7772cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     7773## -------------------- ##
     7774## M4sh Initialization. ##
     7775## -------------------- ##
    106447776
    106457777# Be more Bourne compatible
    106467778DUALCASE=1; export DUALCASE # for MKS sh
    10647 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     7779if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    106487780  emulate sh
    106497781  NULLCMD=:
     
    106537785  setopt NO_GLOB_SUBST
    106547786else
    10655   case `(set -o) 2>/dev/null` in
    10656   *posix*) set -o posix ;;
     7787  case `(set -o) 2>/dev/null` in #(
     7788  *posix*) :
     7789    set -o posix ;; #(
     7790  *) :
     7791     ;;
    106577792esac
    10658 
    10659 fi
    10660 
    10661 
    10662 
    10663 
    10664 # PATH needs CR
    10665 # Avoid depending upon Character Ranges.
    10666 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    10667 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    10668 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    10669 as_cr_digits='0123456789'
    10670 as_cr_alnum=$as_cr_Letters$as_cr_digits
     7793fi
     7794
    106717795
    106727796as_nl='
     
    106777801as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    106787802as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    10679 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     7803# Prefer a ksh shell builtin over an external printf program on Solaris,
     7804# but without wasting forks for bash or zsh.
     7805if test -z "$BASH_VERSION$ZSH_VERSION" \
     7806    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     7807  as_echo='print -r --'
     7808  as_echo_n='print -rn --'
     7809elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    106807810  as_echo='printf %s\n'
    106817811  as_echo_n='printf %s'
     
    106887818    as_echo_n_body='eval
    106897819      arg=$1;
    10690       case $arg in
     7820      case $arg in #(
    106917821      *"$as_nl"*)
    106927822        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    107117841fi
    107127842
    10713 # Support unset when possible.
    10714 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    10715   as_unset=unset
    10716 else
    10717   as_unset=false
    10718 fi
    10719 
    107207843
    107217844# IFS
     
    107277850
    107287851# Find who we are.  Look in the path if we contain no directory separator.
    10729 case $0 in
     7852case $0 in #((
    107307853  *[\\/]* ) as_myself=$0 ;;
    107317854  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    107347857  IFS=$as_save_IFS
    107357858  test -z "$as_dir" && as_dir=.
    10736   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    10737 done
     7859    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     7860  done
    107387861IFS=$as_save_IFS
    107397862
     
    107477870if test ! -f "$as_myself"; then
    107487871  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    10749   { (exit 1); exit 1; }
    10750 fi
    10751 
    10752 # Work around bugs in pre-3.0 UWIN ksh.
    10753 for as_var in ENV MAIL MAILPATH
    10754 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     7872  exit 1
     7873fi
     7874
     7875# Unset variables that we do not need and which cause bugs (e.g. in
     7876# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     7877# suppresses any "Segmentation fault" message there.  '((' could
     7878# trigger a bug in pdksh 5.2.14.
     7879for as_var in BASH_ENV ENV MAIL MAILPATH
     7880do eval test x\${$as_var+set} = xset \
     7881  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    107557882done
    107567883PS1='$ '
     
    107647891export LANGUAGE
    107657892
    10766 # Required to use basename.
     7893# CDPATH.
     7894(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     7895
     7896
     7897# as_fn_error ERROR [LINENO LOG_FD]
     7898# ---------------------------------
     7899# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     7900# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     7901# script with status $?, using 1 if that was 0.
     7902as_fn_error ()
     7903{
     7904  as_status=$?; test $as_status -eq 0 && as_status=1
     7905  if test "$3"; then
     7906    as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     7907    $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
     7908  fi
     7909  $as_echo "$as_me: error: $1" >&2
     7910  as_fn_exit $as_status
     7911} # as_fn_error
     7912
     7913
     7914# as_fn_set_status STATUS
     7915# -----------------------
     7916# Set $? to STATUS, without forking.
     7917as_fn_set_status ()
     7918{
     7919  return $1
     7920} # as_fn_set_status
     7921
     7922# as_fn_exit STATUS
     7923# -----------------
     7924# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     7925as_fn_exit ()
     7926{
     7927  set +e
     7928  as_fn_set_status $1
     7929  exit $1
     7930} # as_fn_exit
     7931
     7932# as_fn_unset VAR
     7933# ---------------
     7934# Portably unset VAR.
     7935as_fn_unset ()
     7936{
     7937  { eval $1=; unset $1;}
     7938}
     7939as_unset=as_fn_unset
     7940# as_fn_append VAR VALUE
     7941# ----------------------
     7942# Append the text in VALUE to the end of the definition contained in VAR. Take
     7943# advantage of any shell optimizations that allow amortized linear growth over
     7944# repeated appends, instead of the typical quadratic growth present in naive
     7945# implementations.
     7946if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     7947  eval 'as_fn_append ()
     7948  {
     7949    eval $1+=\$2
     7950  }'
     7951else
     7952  as_fn_append ()
     7953  {
     7954    eval $1=\$$1\$2
     7955  }
     7956fi # as_fn_append
     7957
     7958# as_fn_arith ARG...
     7959# ------------------
     7960# Perform arithmetic evaluation on the ARGs, and store the result in the
     7961# global $as_val. Take advantage of shells that can avoid forks. The arguments
     7962# must be portable across $(()) and expr.
     7963if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     7964  eval 'as_fn_arith ()
     7965  {
     7966    as_val=$(( $* ))
     7967  }'
     7968else
     7969  as_fn_arith ()
     7970  {
     7971    as_val=`expr "$@" || test $? -eq 1`
     7972  }
     7973fi # as_fn_arith
     7974
     7975
    107677976if expr a : '\(a\)' >/dev/null 2>&1 &&
    107687977   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    107787987fi
    107797988
    10780 
    10781 # Name of the executable.
     7989if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     7990  as_dirname=dirname
     7991else
     7992  as_dirname=false
     7993fi
     7994
    107827995as_me=`$as_basename -- "$0" ||
    107837996$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    107998012          s/.*/./; q'`
    108008013
    10801 # CDPATH.
    10802 $as_unset CDPATH
    10803 
    10804 
    10805 
    10806   as_lineno_1=$LINENO
    10807   as_lineno_2=$LINENO
    10808   test "x$as_lineno_1" != "x$as_lineno_2" &&
    10809   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    10810 
    10811   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    10812   # uniformly replaced by the line number.  The first 'sed' inserts a
    10813   # line-number line after each line using $LINENO; the second 'sed'
    10814   # does the real work.  The second script uses 'N' to pair each
    10815   # line-number line with the line containing $LINENO, and appends
    10816   # trailing '-' during substitution so that $LINENO is not a special
    10817   # case at line end.
    10818   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    10819   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    10820   # E. McMahon (1931-1989) for sed's syntax.  :-)
    10821   sed -n '
    10822     p
    10823     /[$]LINENO/=
    10824   ' <$as_myself |
    10825     sed '
    10826       s/[$]LINENO.*/&-/
    10827       t lineno
    10828       b
    10829       :lineno
    10830       N
    10831       :loop
    10832       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    10833       t loop
    10834       s/-\n.*//
    10835     ' >$as_me.lineno &&
    10836   chmod +x "$as_me.lineno" ||
    10837     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    10838    { (exit 1); exit 1; }; }
    10839 
    10840   # Don't try to exec as it changes $[0], causing all sort of problems
    10841   # (the dirname of $[0] is not the place where we might find the
    10842   # original and so on.  Autoconf is especially sensitive to this).
    10843   . "./$as_me.lineno"
    10844   # Exit status is that of the last command.
    10845   exit
    10846 }
    10847 
    10848 
    10849 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    10850   as_dirname=dirname
    10851 else
    10852   as_dirname=false
    10853 fi
     8014# Avoid depending upon Character Ranges.
     8015as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     8016as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     8017as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     8018as_cr_digits='0123456789'
     8019as_cr_alnum=$as_cr_Letters$as_cr_digits
    108548020
    108558021ECHO_C= ECHO_N= ECHO_T=
    10856 case `echo -n x` in
     8022case `echo -n x` in #(((((
    108578023-n*)
    10858   case `echo 'x\c'` in
     8024  case `echo 'xy\c'` in
    108598025  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    10860   *)   ECHO_C='\c';;
     8026  xy)  ECHO_C='\c';;
     8027  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     8028       ECHO_T=' ';;
    108618029  esac;;
    108628030*)
    108638031  ECHO_N='-n';;
    108648032esac
    10865 if expr a : '\(a\)' >/dev/null 2>&1 &&
    10866    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    10867   as_expr=expr
    10868 else
    10869   as_expr=false
    10870 fi
    108718033
    108728034rm -f conf$$ conf$$.exe conf$$.file
     
    108978059rmdir conf$$.dir 2>/dev/null
    108988060
     8061
     8062# as_fn_mkdir_p
     8063# -------------
     8064# Create "$as_dir" as a directory, including parents if necessary.
     8065as_fn_mkdir_p ()
     8066{
     8067
     8068  case $as_dir in #(
     8069  -*) as_dir=./$as_dir;;
     8070  esac
     8071  test -d "$as_dir" || eval $as_mkdir_p || {
     8072    as_dirs=
     8073    while :; do
     8074      case $as_dir in #(
     8075      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     8076      *) as_qdir=$as_dir;;
     8077      esac
     8078      as_dirs="'$as_qdir' $as_dirs"
     8079      as_dir=`$as_dirname -- "$as_dir" ||
     8080$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     8081         X"$as_dir" : 'X\(//\)[^/]' \| \
     8082         X"$as_dir" : 'X\(//\)$' \| \
     8083         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     8084$as_echo X"$as_dir" |
     8085    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     8086            s//\1/
     8087            q
     8088          }
     8089          /^X\(\/\/\)[^/].*/{
     8090            s//\1/
     8091            q
     8092          }
     8093          /^X\(\/\/\)$/{
     8094            s//\1/
     8095            q
     8096          }
     8097          /^X\(\/\).*/{
     8098            s//\1/
     8099            q
     8100          }
     8101          s/.*/./; q'`
     8102      test -d "$as_dir" && break
     8103    done
     8104    test -z "$as_dirs" || eval "mkdir $as_dirs"
     8105  } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
     8106
     8107
     8108} # as_fn_mkdir_p
    108998109if mkdir -p . 2>/dev/null; then
    10900   as_mkdir_p=:
     8110  as_mkdir_p='mkdir -p "$as_dir"'
    109018111else
    109028112  test -d ./-p && rmdir ./-p
     
    109178127        test -d "$1/.";
    109188128      else
    10919         case $1 in
     8129        case $1 in #(
    109208130        -*)set "./$1";;
    109218131        esac;
    10922         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     8132        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    109238133        ???[sx]*):;;*)false;;esac;fi
    109248134    '\'' sh
     
    109358145
    109368146exec 6>&1
    10937 
    10938 # Save the log message, to keep $[0] and so on meaningful, and to
     8147## ----------------------------------- ##
     8148## Main body of $CONFIG_STATUS script. ##
     8149## ----------------------------------- ##
     8150_ASEOF
     8151test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     8152
     8153cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     8154# Save the log message, to keep $0 and so on meaningful, and to
    109398155# report actual input values of CONFIG_FILES etc. instead of their
    109408156# values after options handling.
    109418157ac_log="
    109428158This file was extended by vizservers $as_me 0.1, which was
    10943 generated by GNU Autoconf 2.63.  Invocation command line was
     8159generated by GNU Autoconf 2.65.  Invocation command line was
    109448160
    109458161  CONFIG_FILES    = $CONFIG_FILES
     
    109728188cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    109738189ac_cs_usage="\
    10974 \`$as_me' instantiates files from templates according to the
    10975 current configuration.
    10976 
    10977 Usage: $0 [OPTION]... [FILE]...
     8190\`$as_me' instantiates files and other configuration actions
     8191from templates according to the current configuration.  Unless the files
     8192and actions are specified as TAGs, all are instantiated by default.
     8193
     8194Usage: $0 [OPTION]... [TAG]...
    109788195
    109798196  -h, --help       print this help, then exit
    109808197  -V, --version    print version number and configuration settings, then exit
     8198      --config     print configuration, then exit
    109818199  -q, --quiet, --silent
    109828200                   do not print progress messages
     
    109948212$config_headers
    109958213
    10996 Report bugs to <bug-autoconf@gnu.org>."
     8214Report bugs to <rappture@nanohub.org>."
    109978215
    109988216_ACEOF
    109998217cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8218ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    110008219ac_cs_version="\\
    110018220vizservers config.status 0.1
    11002 configured by $0, generated by GNU Autoconf 2.63,
    11003   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    11004 
    11005 Copyright (C) 2008 Free Software Foundation, Inc.
     8221configured by $0, generated by GNU Autoconf 2.65,
     8222  with options \\"\$ac_cs_config\\"
     8223
     8224Copyright (C) 2009 Free Software Foundation, Inc.
    110068225This config.status script is free software; the Free Software Foundation
    110078226gives unlimited permission to copy, distribute and modify it."
     
    110388257  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    110398258    $as_echo "$ac_cs_version"; exit ;;
     8259  --config | --confi | --conf | --con | --co | --c )
     8260    $as_echo "$ac_cs_config"; exit ;;
    110408261  --debug | --debu | --deb | --de | --d | -d )
    110418262    debug=: ;;
     
    110458266    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    110468267    esac
    11047     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     8268    as_fn_append CONFIG_FILES " '$ac_optarg'"
    110488269    ac_need_defaults=false;;
    110498270  --header | --heade | --head | --hea )
     
    110528273    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    110538274    esac
    11054     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     8275    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    110558276    ac_need_defaults=false;;
    110568277  --he | --h)
    110578278    # Conflict between --help and --header
    11058     { $as_echo "$as_me: error: ambiguous option: $1
    11059 Try \`$0 --help' for more information." >&2
    11060    { (exit 1); exit 1; }; };;
     8279    as_fn_error "ambiguous option: \`$1'
     8280Try \`$0 --help' for more information.";;
    110618281  --help | --hel | -h )
    110628282    $as_echo "$ac_cs_usage"; exit ;;
     
    110668286
    110678287  # This is an error.
    11068   -*) { $as_echo "$as_me: error: unrecognized option: $1
    11069 Try \`$0 --help' for more information." >&2
    11070    { (exit 1); exit 1; }; } ;;
    11071 
    11072   *) ac_config_targets="$ac_config_targets $1"
     8288  -*) as_fn_error "unrecognized option: \`$1'
     8289Try \`$0 --help' for more information." ;;
     8290
     8291  *) as_fn_append ac_config_targets " $1"
    110738292     ac_need_defaults=false ;;
    110748293
     
    111238342    "nanovis/newmat11/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/newmat11/Makefile" ;;
    111248343    "nanovis/R2/src/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/R2/src/Makefile" ;;
     8344    "nanovis/vrutil/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrutil/Makefile" ;;
     8345    "nanovis/vrmath/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vrmath/Makefile" ;;
     8346    "nanovis/vr3d/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/vr3d/Makefile" ;;
    111258347    "nanovis/imgLoaders/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/imgLoaders/Makefile" ;;
    111268348    "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;;
     
    111288350    "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;;
    111298351
    11130   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    11131 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    11132    { (exit 1); exit 1; }; };;
     8352  *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    111338353  esac
    111348354done
     
    111568376  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    111578377' 0
    11158   trap '{ (exit 1); exit 1; }' 1 2 13 15
     8378  trap 'as_fn_exit 1' 1 2 13 15
    111598379}
    111608380# Create a (secure) tmp directory for tmp files.
     
    111678387  tmp=./conf$$-$RANDOM
    111688388  (umask 077 && mkdir "$tmp")
    11169 } ||
    11170 {
    11171    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    11172    { (exit 1); exit 1; }
    11173 }
     8389} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
    111748390
    111758391# Set up the scripts for CONFIG_FILES section.
     
    111798395
    111808396
    11181 ac_cr='
    11182 '
     8397ac_cr=`echo X | tr X '\015'`
     8398# On cygwin, bash can eat \r inside `` if the user requested igncr.
     8399# But we know of no other shell where ac_cr would be empty at this
     8400# point, so we can use a bashism as a fallback.
     8401if test "x$ac_cr" = x; then
     8402  eval ac_cr=\$\'\\r\'
     8403fi
    111838404ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    111848405if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    11185   ac_cs_awk_cr='\\r'
     8406  ac_cs_awk_cr='\r'
    111868407else
    111878408  ac_cs_awk_cr=$ac_cr
     
    111978418  echo "_ACEOF"
    111988419} >conf$$subs.sh ||
    11199   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    11200 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    11201    { (exit 1); exit 1; }; }
     8420  as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    112028421ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    112038422ac_delim='%!_!# '
    112048423for ac_last_try in false false false false false :; do
    112058424  . ./conf$$subs.sh ||
    11206     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    11207 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    11208    { (exit 1); exit 1; }; }
     8425    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    112098426
    112108427  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    112128429    break
    112138430  elif $ac_last_try; then
    11214     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    11215 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    11216    { (exit 1); exit 1; }; }
     8431    as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
    112178432  else
    112188433    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    112368451:nl
    112378452h
    11238 s/\(.\{148\}\).*/\1/
     8453s/\(.\{148\}\)..*/\1/
    112398454t more1
    112408455s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    112508465:delim
    112518466h
    11252 s/\(.\{148\}\).*/\1/
     8467s/\(.\{148\}\)..*/\1/
    112538468t more2
    112548469s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    113038518  cat
    113048519fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    11305   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    11306 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    11307    { (exit 1); exit 1; }; }
     8520  || as_fn_error "could not setup config files machinery" "$LINENO" 5
    113088521_ACEOF
    113098522
     
    113468559    break
    113478560  elif $ac_last_try; then
    11348     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    11349 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    11350    { (exit 1); exit 1; }; }
     8561    as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
    113518562  else
    113528563    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    114338644_ACEOF
    114348645cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    11435   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    11436 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    11437    { (exit 1); exit 1; }; }
     8646  as_fn_error "could not setup config headers machinery" "$LINENO" 5
    114388647fi # test -n "$CONFIG_HEADERS"
    114398648
     
    114488657  case $ac_mode$ac_tag in
    114498658  :[FHL]*:*);;
    11450   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    11451 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    11452    { (exit 1); exit 1; }; };;
     8659  :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
    114538660  :[FH]-) ac_tag=-:-;;
    114548661  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    114788685           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    114798686           esac ||
    11480            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    11481 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    11482    { (exit 1); exit 1; }; };;
     8687           as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    114838688      esac
    114848689      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    11485       ac_file_inputs="$ac_file_inputs '$ac_f'"
     8690      as_fn_append ac_file_inputs " '$ac_f'"
    114868691    done
    114878692
     
    114948699    if test x"$ac_file" != x-; then
    114958700      configure_input="$ac_file.  $configure_input"
    11496       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     8701      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    114978702$as_echo "$as_me: creating $ac_file" >&6;}
    114988703    fi
     
    115078712    case $ac_tag in
    115088713    *:-:* | *:-) cat >"$tmp/stdin" \
    11509       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11510 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11511    { (exit 1); exit 1; }; } ;;
     8714      || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
    115128715    esac
    115138716    ;;
     
    115378740          }
    115388741          s/.*/./; q'`
    11539   { as_dir="$ac_dir"
    11540   case $as_dir in #(
    11541   -*) as_dir=./$as_dir;;
    11542   esac
    11543   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    11544     as_dirs=
    11545     while :; do
    11546       case $as_dir in #(
    11547       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    11548       *) as_qdir=$as_dir;;
    11549       esac
    11550       as_dirs="'$as_qdir' $as_dirs"
    11551       as_dir=`$as_dirname -- "$as_dir" ||
    11552 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    11553          X"$as_dir" : 'X\(//\)[^/]' \| \
    11554          X"$as_dir" : 'X\(//\)$' \| \
    11555          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    11556 $as_echo X"$as_dir" |
    11557     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    11558             s//\1/
    11559             q
    11560           }
    11561           /^X\(\/\/\)[^/].*/{
    11562             s//\1/
    11563             q
    11564           }
    11565           /^X\(\/\/\)$/{
    11566             s//\1/
    11567             q
    11568           }
    11569           /^X\(\/\).*/{
    11570             s//\1/
    11571             q
    11572           }
    11573           s/.*/./; q'`
    11574       test -d "$as_dir" && break
    11575     done
    11576     test -z "$as_dirs" || eval "mkdir $as_dirs"
    11577   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    11578 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    11579    { (exit 1); exit 1; }; }; }
     8742  as_dir="$ac_dir"; as_fn_mkdir_p
    115808743  ac_builddir=.
    115818744
     
    116348797# FIXME: This hack should be removed a few years after 2.60.
    116358798ac_datarootdir_hack=; ac_datarootdir_seen=
    11636 
    116378799ac_sed_dataroot='
    116388800/datarootdir/ {
     
    116448806/@infodir@/p
    116458807/@localedir@/p
    11646 /@mandir@/p
    11647 '
     8808/@mandir@/p'
    116488809case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    116498810*datarootdir*) ac_datarootdir_seen=yes;;
    116508811*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    11651   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     8812  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    116528813$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    116538814_ACEOF
     
    116598820  s&@localedir@&$localedir&g
    116608821  s&@mandir@&$mandir&g
    11661     s&\\\${datarootdir}&$datarootdir&g' ;;
     8822  s&\\\${datarootdir}&$datarootdir&g' ;;
    116628823esac
    116638824_ACEOF
     
    116888849"
    116898850eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    11690   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11691 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11692    { (exit 1); exit 1; }; }
     8851  || as_fn_error "could not create $ac_file" "$LINENO" 5
    116938852
    116948853test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    116958854  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    116968855  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    11697   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     8856  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    116988857which seems to be undefined.  Please make sure it is defined." >&5
    116998858$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     
    117058864  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    117068865  esac \
    11707   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11708 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11709    { (exit 1); exit 1; }; }
     8866  || as_fn_error "could not create $ac_file" "$LINENO" 5
    117108867 ;;
    117118868  :H)
     
    117188875      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    117198876    } >"$tmp/config.h" \
    11720       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11721 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11722    { (exit 1); exit 1; }; }
     8877      || as_fn_error "could not create $ac_file" "$LINENO" 5
    117238878    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    11724       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     8879      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    117258880$as_echo "$as_me: $ac_file is unchanged" >&6;}
    117268881    else
    117278882      rm -f "$ac_file"
    117288883      mv "$tmp/config.h" "$ac_file" \
    11729         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11730 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11731    { (exit 1); exit 1; }; }
     8884        || as_fn_error "could not create $ac_file" "$LINENO" 5
    117328885    fi
    117338886  else
    117348887    $as_echo "/* $configure_input  */" \
    117358888      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    11736       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    11737 $as_echo "$as_me: error: could not create -" >&2;}
    11738    { (exit 1); exit 1; }; }
     8889      || as_fn_error "could not create -" "$LINENO" 5
    117398890  fi
    117408891 ;;
     
    117468897
    117478898
    11748 { (exit 0); exit 0; }
    11749 _ACEOF
    11750 chmod +x $CONFIG_STATUS
     8899as_fn_exit 0
     8900_ACEOF
    117518901ac_clean_files=$ac_clean_files_save
    117528902
    117538903test $ac_write_fail = 0 ||
    11754   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    11755 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    11756    { (exit 1); exit 1; }; }
     8904  as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
    117578905
    117588906
     
    117758923  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    117768924  # would make configure fail if this is the last instruction.
    11777   $ac_cs_success || { (exit 1); exit 1; }
     8925  $ac_cs_success || as_fn_exit $?
    117788926fi
    117798927if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    11780   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     8928  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    117818929$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    117828930fi
  • branches/blt4/packages/vizservers/configure.in

    r1571 r1823  
    261261            nanovis/newmat11/Makefile \
    262262            nanovis/R2/src/Makefile \
     263            nanovis/vrutil/Makefile \
     264            nanovis/vrmath/Makefile \
     265            nanovis/vr3d/Makefile \
    263266            nanovis/imgLoaders/Makefile \
    264267            nanovis/transfer-function/Makefile \
  • branches/blt4/packages/vizservers/nanovis/Makefile.in

    r1571 r1823  
    3939GL_INC_SPEC     = -I/usr/include/GL
    4040GL_LIB_SPEC     = -lGL -lglut -lGLEW
    41 IMG_DIR         = ./imgLoaders
    42 IMG_INC_SPEC    = -I$(srcdir)/$(IMG_DIR)
    43 IMG_LIB         = $(IMG_DIR)/ImageLoaders.a
    44 IMG_LIB_SPEC    = $(IMG_LIB)
    45 MAT_DIR         = ./newmat11
    46 MAT_INC_SPEC    = -I$(srcdir)/$(MAT_DIR)
    47 MAT_LIB         = $(MAT_DIR)/newmat11.a
    48 MAT_LIB_SPEC    = $(MAT_LIB)
    49 R2_DIR          = ./R2
    50 R2_INC_SPEC     = -I$(srcdir)/$(R2_DIR)/include
    51 R2_LIB          = $(R2_DIR)/src/R2.a
    52 R2_LIB_SPEC     = $(R2_LIB)
     41IMG_DIR         = ./imgLoaders
     42IMG_INC_SPEC    = -I$(srcdir)/$(IMG_DIR)
     43IMG_LIB         = $(IMG_DIR)/ImageLoaders.a
     44IMG_LIB_SPEC    = $(IMG_LIB)
     45MAT_DIR         = ./newmat11
     46MAT_INC_SPEC    = -I$(srcdir)/$(MAT_DIR)
     47MAT_LIB         = $(MAT_DIR)/newmat11.a
     48MAT_LIB_SPEC    = $(MAT_LIB)
     49VRMATH_DIR      = ./vrmath
     50VRMATH_INC_SPEC = -I$(srcdir)/$(VRMATH_DIR)/include
     51VRMATH_LIB      = $(VRMATH_DIR)/vrmath.a
     52VRMATH_LIB_SPEC = $(VRMATH_LIB)
     53VRUTIL_DIR      = ./vrutil
     54VRUTIL_INC_SPEC = -I$(srcdir)/$(VRUTIL_DIR)/include
     55VRUTIL_LIB      = $(VRUTIL_DIR)/vrutil.a
     56VRUTIL_LIB_SPEC = $(VRUTIL_LIB)
     57VR3D_DIR        = ./vr3d
     58VR3D_INC_SPEC   = -I$(srcdir)/$(VR3D_DIR)/include
     59VR3D_LIB        = $(VR3D_DIR)/vr3d.a
     60VR3D_LIB_SPEC   = $(VR3D_LIB)
     61R2_DIR          = ./R2
     62R2_INC_SPEC     = -I$(srcdir)/$(R2_DIR)/include
     63R2_LIB          = $(R2_DIR)/src/R2.a
     64R2_LIB_SPEC     = $(R2_LIB)
    5365
    5466EXTRA_LIBS      = -lm -lpthread
     
    6880                $(R2_LIB_SPEC) \
    6981                $(MAT_LIB_SPEC) \
     82                $(VRMATH_LIB_SPEC) \
     83                $(VRUTIL_LIB_SPEC) \
     84                $(VR3D_LIB_SPEC) \
    7085                $(TCL_LIB_SPEC) \
    7186                $(CG_LIB_SPEC) \
     
    8196                $(IMG_INC_SPEC) \
    8297                $(MAT_INC_SPEC) \
     98                $(VRMATH_INC_SPEC) \
     99                $(VRUTIL_INC_SPEC) \
     100                $(VR3D_INC_SPEC) \
    83101                $(TCL_INC_SPEC) \
    84102                $(CG_INC_SPEC) \
     
    101119                ContourLineFilter.o \
    102120                ConvexPolygon.o \
     121                DataLoader.o \
    103122                Event.o \
    104123                Unirect.o \
     
    127146                NvZincBlendeReconstructor.o \
    128147                NvZincBlendeVolumeShader.o \
     148                ParticleSystem.o \
     149                ParticleEmitter.o \
     150                ParticleSystemFactory.o \
    129151                PCASplit.o \
    130152                PerfQuery.o \
     
    160182                $(srcdir)/resources/Font.bmp \
    161183                $(srcdir)/resource/arrows_flip2.png \
     184                $(srcdir)/resource/arrows_red_bg.bmp \
     185                $(srcdir)/resource/arrows.bmp \
    162186                $(srcdir)/resources/particle2.bmp \
    163187                $(srcdir)/resources/verdana.fnt \
     
    182206                $(srcdir)/shaders/velocityslicevp.cg \
    183207                $(srcdir)/shaders/velocityslicefp.cg \
    184                 $(srcdir)/shaders/zincblende_volume.cg
    185 
    186 .PHONY: newmat11 R2 imgloaders transfer-function nanovis
    187 
    188 all: newmat11 R2 imgloaders transfer-function nanovis
     208                $(srcdir)/shaders/zincblende_volume.cg \
     209                $(srcdir)/shaders/distance.cg \
     210                $(srcdir)/shaders/distancesort.cg \
     211                $(srcdir)/shaders/mergesort.cg \
     212                $(srcdir)/shaders/moveparticles.cg \
     213                $(srcdir)/shaders/particlefp.cg \
     214                $(srcdir)/shaders/particlevp.cg \
     215                $(srcdir)/shaders/passthrough.cg \
     216                $(srcdir)/shaders/renderparticle.cg \
     217                $(srcdir)/shaders/velocity.cg
     218
     219.PHONY: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function nanovis
     220
     221all: newmat11 R2 imgloaders vrmath vrutil vr3d transfer-function nanovis
    189222
    190223install: install-nanovis install-resources install-shaders
     
    192225newmat11:               $(MAT_LIB)
    193226R2:                     $(R2_LIB)
     227vrmath:                 $(VRMATH_LIB)
     228vrutil:                 $(VRUTIL_LIB)
     229vr3d:                   $(VR3D_LIB)
    194230imgloaders:             $(IMG_LIB)
    195231
     
    197233        $(MAKE) -C $(MAT_DIR) all
    198234
     235$(VRMATH_LIB):
     236        $(MAKE) -C $(VRMATH_DIR) all
     237
     238$(VRUTIL_LIB):
     239        $(MAKE) -C $(VRUTIL_DIR) all
     240
     241$(VR3D_LIB):
     242        $(MAKE) -C $(VR3D_DIR) all
     243
    199244$(R2_LIB):
    200245        $(MAKE) -C $(R2_DIR)/src all
     
    203248        $(MAKE) -C $(IMG_DIR) all
    204249
    205 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(OBJS)
     250nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(VRMATH_LIB) $(VRUTIL_LIB) $(VR3D_LIB) $(OBJS)
    206251        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
    207252
     
    245290clean:
    246291        $(MAKE) -C $(MAT_DIR) clean
     292        $(MAKE) -C $(VRMATH_DIR) clean
     293        $(MAKE) -C $(VRUTIL_DIR) clean
     294        $(MAKE) -C $(VR3D_DIR) clean
    247295        $(MAKE) -C $(R2_DIR)/src clean
    248296        $(MAKE) -C $(IMG_DIR) clean
     
    254302NvStdVertexShader.o: NvStdVertexShader.cpp NvStdVertexShader.h
    255303ContourLineFilter.o: ContourLineFilter.cpp ContourLineFilter.h
     304DataLoader.o: DataLoader.cpp
    256305HeightMap.o: HeightMap.cpp HeightMap.h
    257306Grid.o: Grid.cpp Grid.h
     
    270319NvRegularVolumeShader.o: NvRegularVolumeShader.cpp NvRegularVolumeShader.h
    271320NvZincBlendeVolumeShader.o: NvZincBlendeVolumeShader.cpp NvZincBlendeVolumeShader.h
     321ParticleSystem.o: ParticleSystem.cpp ParticleSystem.h
     322ParticleSystemFactory.o: ParticleSystemFactory.cpp ParticleSystemFactory.h
     323ParticleEmitter.o: ParticleEmitter.cpp ParticleEmitter.h
    272324RenderVertexArray.o: RenderVertexArray.cpp RenderVertexArray.h
    273325Color.o: Color.cpp Color.h
  • branches/blt4/packages/vizservers/nanovis/imgLoaders/BMPImageLoaderImpl.cpp

    r1380 r1823  
    9090        }
    9191        break;
     92    case 32:
     93        fseek(f,offset,SEEK_SET);
     94        if (_targetImageFormat == Image::IMG_RGBA) {
     95            if (fread(bytes,width*height*4,1,f) != 1) {
     96                fprintf(stderr, "can't read image data\n");
     97            }
     98            for(x=0;x<width*height*4;x+=4)  { //except the format is BGR, grr
     99                unsigned char temp = bytes[x];
     100                bytes[x] = bytes[x+2];
     101                bytes[x+2] = temp;
     102            }
     103        }
     104        else if (_targetImageFormat == Image::IMG_RGB) {
     105            char* buff = (char*) malloc(width * height * sizeof(unsigned char) * 3);
     106            if (fread(buff,width*height*4,1,f) != 1) {
     107                fprintf(stderr, "can't read BMP image data\n");
     108            }
     109            for(x=0, y = 0;x<width*height*4;x+=4, y+=3)     {       //except the format is BGR, grr
     110                bytes[y] = buff[x+2];
     111                bytes[y+2] = buff[x];
     112            }
     113            free(buff);
     114        }
     115        break;
    92116    case 8:
    93117        if (fread(cols,256 * 4,1,f) != 1) {
  • branches/blt4/packages/vizservers/nanovis/nanovis.cpp

    r1571 r1823  
    6060#include "VolumeInterpolator.h"
    6161#include <RenderContext.h>
     62#include <vrutil/vrFilePath.h>
    6263
    6364#include <BMPImageLoaderImpl.h>
     
    835836        DoExit(1);
    836837    }
     838
     839    vrFilePath::getInstance()->setPath(path);
    837840   
    838841    NvInitCG();
     
    24592462    }
    24602463    R2FilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv);
     2464    vrFilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv);
    24612465
    24622466#ifdef XINETD
  • branches/blt4/packages/vizservers/nanovis/nanovis.h

    r1798 r1823  
    1515 */
    1616#ifndef __NANOVIS_H__
    17 #define __NANOVIS_H__   1
     17#define __NANOVIS_H__
    1818
    1919#include <tcl.h>
  • branches/blt4/packages/vizservers/nanovis/nvconf.h.in

    r1798 r1823  
    1 #ifndef NVCONF_H
    2 #define NVCONF_H        1
    3 
    41/* nanovis/nvconf.h.in.  Generated from configure.in by autoheader.  */
    52
     
    108105# endif
    109106#endif
    110 
    111 #endif /* NVCONF_H */
Note: See TracChangeset for help on using the changeset viewer.