Changeset 2618


Ignore:
Timestamp:
Oct 13, 2011 12:58:09 PM (13 years ago)
Author:
gah
Message:
 
Location:
trunk/packages/vizservers
Files:
13 added
1 deleted
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/aclocal.m4

    r1115 r2618  
    1 builtin(include,./tcl.m4)
     1builtin(include,./cf/tcl.m4)
     2builtin(include,./cf/rpLangPython.m4)
  • trunk/packages/vizservers/configure

    r2568 r2618  
    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.68 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, 2010 Free Software
     10# Foundation, 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
     94as_myself=
     95case $0 in #((
    10096  *[\\/]* ) as_myself=$0 ;;
    10197  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    104100  IFS=$as_save_IFS
    105101  test -z "$as_dir" && as_dir=.
    106   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    107 done
     102    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     103  done
    108104IFS=$as_save_IFS
    109105
     
    117113if test ! -f "$as_myself"; then
    118114  $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
     115  exit 1
     116fi
     117
     118# Unset variables that we do not need and which cause bugs (e.g. in
     119# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     120# suppresses any "Segmentation fault" message there.  '((' could
     121# trigger a bug in pdksh 5.2.14.
     122for as_var in BASH_ENV ENV MAIL MAILPATH
     123do eval test x\${$as_var+set} = xset \
     124  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    125125done
    126126PS1='$ '
     
    134134export LANGUAGE
    135135
    136 # Required to use basename.
     136# CDPATH.
     137(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     138
     139if test "x$CONFIG_SHELL" = x; then
     140  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
     141  emulate sh
     142  NULLCMD=:
     143  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
     144  # is contrary to our usage.  Disable this feature.
     145  alias -g '\${1+\"\$@\"}'='\"\$@\"'
     146  setopt NO_GLOB_SUBST
     147else
     148  case \`(set -o) 2>/dev/null\` in #(
     149  *posix*) :
     150    set -o posix ;; #(
     151  *) :
     152     ;;
     153esac
     154fi
     155"
     156  as_required="as_fn_return () { (exit \$1); }
     157as_fn_success () { as_fn_return 0; }
     158as_fn_failure () { as_fn_return 1; }
     159as_fn_ret_success () { return 0; }
     160as_fn_ret_failure () { return 1; }
     161
     162exitcode=0
     163as_fn_success || { exitcode=1; echo as_fn_success failed.; }
     164as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
     165as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
     166as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
     167if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
     168
     169else
     170  exitcode=1; echo positional parameters were not saved.
     171fi
     172test x\$exitcode = x0 || exit 1"
     173  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
     174  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
     175  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
     176  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
     177test \$(( 1 + 1 )) = 2 || exit 1"
     178  if (eval "$as_required") 2>/dev/null; then :
     179  as_have_required=yes
     180else
     181  as_have_required=no
     182fi
     183  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
     184
     185else
     186  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     187as_found=false
     188for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     189do
     190  IFS=$as_save_IFS
     191  test -z "$as_dir" && as_dir=.
     192  as_found=:
     193  case $as_dir in #(
     194         /*)
     195           for as_base in sh bash ksh sh5; do
     196             # Try only shells that exist, to save several forks.
     197             as_shell=$as_dir/$as_base
     198             if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     199                    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
     200  CONFIG_SHELL=$as_shell as_have_required=yes
     201                   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
     202  break 2
     203fi
     204fi
     205           done;;
     206       esac
     207  as_found=false
     208done
     209$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
     210              { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
     211  CONFIG_SHELL=$SHELL as_have_required=yes
     212fi; }
     213IFS=$as_save_IFS
     214
     215
     216      if test "x$CONFIG_SHELL" != x; then :
     217  # We cannot yet assume a decent shell, so we have to provide a
     218        # neutralization value for shells without unset; and this also
     219        # works around shells that cannot unset nonexistent variables.
     220        # Preserve -v and -x to the replacement shell.
     221        BASH_ENV=/dev/null
     222        ENV=/dev/null
     223        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
     224        export CONFIG_SHELL
     225        case $- in # ((((
     226          *v*x* | *x*v* ) as_opts=-vx ;;
     227          *v* ) as_opts=-v ;;
     228          *x* ) as_opts=-x ;;
     229          * ) as_opts= ;;
     230        esac
     231        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
     232fi
     233
     234    if test x$as_have_required = xno; then :
     235  $as_echo "$0: This script requires a shell more modern than all"
     236  $as_echo "$0: the shells that I found on your system."
     237  if test x${ZSH_VERSION+set} = xset ; then
     238    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
     239    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
     240  else
     241    $as_echo "$0: Please tell bug-autoconf@gnu.org and
     242$0: rappture@nanohub.org about your system, including any
     243$0: error possibly output before this message. Then install
     244$0: a modern shell, or manually run the script under such a
     245$0: shell if you do have one."
     246  fi
     247  exit 1
     248fi
     249fi
     250fi
     251SHELL=${CONFIG_SHELL-/bin/sh}
     252export SHELL
     253# Unset more variables known to interfere with behavior of common tools.
     254CLICOLOR_FORCE= GREP_OPTIONS=
     255unset CLICOLOR_FORCE GREP_OPTIONS
     256
     257## --------------------- ##
     258## M4sh Shell Functions. ##
     259## --------------------- ##
     260# as_fn_unset VAR
     261# ---------------
     262# Portably unset VAR.
     263as_fn_unset ()
     264{
     265  { eval $1=; unset $1;}
     266}
     267as_unset=as_fn_unset
     268
     269# as_fn_set_status STATUS
     270# -----------------------
     271# Set $? to STATUS, without forking.
     272as_fn_set_status ()
     273{
     274  return $1
     275} # as_fn_set_status
     276
     277# as_fn_exit STATUS
     278# -----------------
     279# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     280as_fn_exit ()
     281{
     282  set +e
     283  as_fn_set_status $1
     284  exit $1
     285} # as_fn_exit
     286
     287# as_fn_mkdir_p
     288# -------------
     289# Create "$as_dir" as a directory, including parents if necessary.
     290as_fn_mkdir_p ()
     291{
     292
     293  case $as_dir in #(
     294  -*) as_dir=./$as_dir;;
     295  esac
     296  test -d "$as_dir" || eval $as_mkdir_p || {
     297    as_dirs=
     298    while :; do
     299      case $as_dir in #(
     300      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     301      *) as_qdir=$as_dir;;
     302      esac
     303      as_dirs="'$as_qdir' $as_dirs"
     304      as_dir=`$as_dirname -- "$as_dir" ||
     305$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     306         X"$as_dir" : 'X\(//\)[^/]' \| \
     307         X"$as_dir" : 'X\(//\)$' \| \
     308         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     309$as_echo X"$as_dir" |
     310    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     311            s//\1/
     312            q
     313          }
     314          /^X\(\/\/\)[^/].*/{
     315            s//\1/
     316            q
     317          }
     318          /^X\(\/\/\)$/{
     319            s//\1/
     320            q
     321          }
     322          /^X\(\/\).*/{
     323            s//\1/
     324            q
     325          }
     326          s/.*/./; q'`
     327      test -d "$as_dir" && break
     328    done
     329    test -z "$as_dirs" || eval "mkdir $as_dirs"
     330  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     331
     332
     333} # as_fn_mkdir_p
     334# as_fn_append VAR VALUE
     335# ----------------------
     336# Append the text in VALUE to the end of the definition contained in VAR. Take
     337# advantage of any shell optimizations that allow amortized linear growth over
     338# repeated appends, instead of the typical quadratic growth present in naive
     339# implementations.
     340if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     341  eval 'as_fn_append ()
     342  {
     343    eval $1+=\$2
     344  }'
     345else
     346  as_fn_append ()
     347  {
     348    eval $1=\$$1\$2
     349  }
     350fi # as_fn_append
     351
     352# as_fn_arith ARG...
     353# ------------------
     354# Perform arithmetic evaluation on the ARGs, and store the result in the
     355# global $as_val. Take advantage of shells that can avoid forks. The arguments
     356# must be portable across $(()) and expr.
     357if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     358  eval 'as_fn_arith ()
     359  {
     360    as_val=$(( $* ))
     361  }'
     362else
     363  as_fn_arith ()
     364  {
     365    as_val=`expr "$@" || test $? -eq 1`
     366  }
     367fi # as_fn_arith
     368
     369
     370# as_fn_error STATUS ERROR [LINENO LOG_FD]
     371# ----------------------------------------
     372# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     373# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     374# script with STATUS, using 1 if that was 0.
     375as_fn_error ()
     376{
     377  as_status=$1; test $as_status -eq 0 && as_status=1
     378  if test "$4"; then
     379    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     380    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     381  fi
     382  $as_echo "$as_me: error: $2" >&2
     383  as_fn_exit $as_status
     384} # as_fn_error
     385
    137386if expr a : '\(a\)' >/dev/null 2>&1 &&
    138387   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    148397fi
    149398
    150 
    151 # Name of the executable.
     399if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     400  as_dirname=dirname
     401else
     402  as_dirname=false
     403fi
     404
    152405as_me=`$as_basename -- "$0" ||
    153406$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    169422          s/.*/./; q'`
    170423
    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.  :-)
     424# Avoid depending upon Character Ranges.
     425as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     426as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     427as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     428as_cr_digits='0123456789'
     429as_cr_alnum=$as_cr_Letters$as_cr_digits
     430
     431
     432  as_lineno_1=$LINENO as_lineno_1a=$LINENO
     433  as_lineno_2=$LINENO as_lineno_2a=$LINENO
     434  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
     435  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
     436  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
    460437  sed -n '
    461438    p
     
    474451    ' >$as_me.lineno &&
    475452  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; }; }
     453    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
    478454
    479455  # Don't try to exec as it changes $[0], causing all sort of problems
     
    485461}
    486462
    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 
    494463ECHO_C= ECHO_N= ECHO_T=
    495 case `echo -n x` in
     464case `echo -n x` in #(((((
    496465-n*)
    497   case `echo 'x\c'` in
     466  case `echo 'xy\c'` in
    498467  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    499   *)   ECHO_C='\c';;
     468  xy)  ECHO_C='\c';;
     469  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     470       ECHO_T=' ';;
    500471  esac;;
    501472*)
    502473  ECHO_N='-n';;
    503474esac
    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
    510475
    511476rm -f conf$$ conf$$.exe conf$$.file
     
    537502
    538503if mkdir -p . 2>/dev/null; then
    539   as_mkdir_p=:
     504  as_mkdir_p='mkdir -p "$as_dir"'
    540505else
    541506  test -d ./-p && rmdir ./-p
     
    556521        test -d "$1/.";
    557522      else
    558         case $1 in
     523        case $1 in #(
    559524        -*)set "./$1";;
    560525        esac;
    561         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     526        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    562527        ???[sx]*):;;*)false;;esac;fi
    563528    '\'' sh
     
    573538
    574539
    575 
    576 exec 7<&0 </dev/null 6>&1
     540test -n "$DJDIR" || exec 7<&0 </dev/null
     541exec 6>&1
    577542
    578543# Name of the host.
    579 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
     544# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
    580545# so uname gets run too.
    581546ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    592557MFLAGS=
    593558MAKEFLAGS=
    594 SHELL=${CONFIG_SHELL-/bin/sh}
    595559
    596560# Identity of this package.
     
    600564PACKAGE_STRING='vizservers 0.1'
    601565PACKAGE_BUGREPORT='rappture@nanohub.org'
     566PACKAGE_URL=''
    602567
    603568# Factoring default headers for most tests.
     
    694659DL_OBJS
    695660DL_LIBS
     661AR
     662RANLIB
    696663EGREP
    697664GREP
    698665CPP
    699 AR
    700 RANLIB
    701666OBJEXT
    702667EXEEXT
     
    706671CFLAGS
    707672CC
     673PYTHON
    708674target_alias
    709675host_alias
     
    736702prefix
    737703exec_prefix
     704PACKAGE_URL
    738705PACKAGE_BUGREPORT
    739706PACKAGE_STRING
     
    751718with_vtk_libs
    752719with_vtk
     720with_python
    753721enable_64bit
    754722enable_64bit_vis
     
    833801
    834802  case $ac_option in
    835   *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    836   *)    ac_optarg=yes ;;
     803  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     804  *=)   ac_optarg= ;;
     805  *)    ac_optarg=yes ;;
    837806  esac
    838807
     
    879848    # Reject names that are not valid shell variable names.
    880849    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    881       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    882    { (exit 1); exit 1; }; }
     850      as_fn_error $? "invalid feature name: $ac_useropt"
    883851    ac_useropt_orig=$ac_useropt
    884852    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    906874    # Reject names that are not valid shell variable names.
    907875    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    908       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
    909    { (exit 1); exit 1; }; }
     876      as_fn_error $? "invalid feature name: $ac_useropt"
    910877    ac_useropt_orig=$ac_useropt
    911878    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11111078    # Reject names that are not valid shell variable names.
    11121079    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; }; }
     1080      as_fn_error $? "invalid package name: $ac_useropt"
    11151081    ac_useropt_orig=$ac_useropt
    11161082    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11281094    # Reject names that are not valid shell variable names.
    11291095    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1130       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
    1131    { (exit 1); exit 1; }; }
     1096      as_fn_error $? "invalid package name: $ac_useropt"
    11321097    ac_useropt_orig=$ac_useropt
    11331098    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11591124    x_libraries=$ac_optarg ;;
    11601125
    1161   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
    1162 Try \`$0 --help' for more information." >&2
    1163    { (exit 1); exit 1; }; }
     1126  -*) as_fn_error $? "unrecognized option: \`$ac_option'
     1127Try \`$0 --help' for more information"
    11641128    ;;
    11651129
     
    11671131    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11681132    # Reject names that are not valid shell variable names.
    1169     expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1170       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    1171    { (exit 1); exit 1; }; }
     1133    case $ac_envvar in #(
     1134      '' | [0-9]* | *[!_$as_cr_alnum]* )
     1135      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
     1136    esac
    11721137    eval $ac_envvar=\$ac_optarg
    11731138    export $ac_envvar ;;
     
    11781143    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11791144      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1180     : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
     1145    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
    11811146    ;;
    11821147
     
    11861151if test -n "$ac_prev"; then
    11871152  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1188   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
    1189    { (exit 1); exit 1; }; }
     1153  as_fn_error $? "missing argument to $ac_option"
    11901154fi
    11911155
     
    11931157  case $enable_option_checking in
    11941158    no) ;;
    1195     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1196    { (exit 1); exit 1; }; } ;;
     1159    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
    11971160    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11981161  esac
     
    12171180    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12181181  esac
    1219   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    1220    { (exit 1); exit 1; }; }
     1182  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
    12211183done
    12221184
     
    12321194  if test "x$build_alias" = x; then
    12331195    cross_compiling=maybe
    1234     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    1235     If a cross compiler is detected then cross compile mode will be used." >&2
     1196    $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
     1197    If a cross compiler is detected then cross compile mode will be used" >&2
    12361198  elif test "x$build_alias" != "x$host_alias"; then
    12371199    cross_compiling=yes
     
    12481210ac_ls_di=`ls -di .` &&
    12491211ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1250   { $as_echo "$as_me: error: working directory cannot be determined" >&2
    1251    { (exit 1); exit 1; }; }
     1212  as_fn_error $? "working directory cannot be determined"
    12521213test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1253   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
    1254    { (exit 1); exit 1; }; }
     1214  as_fn_error $? "pwd does not report name of working directory"
    12551215
    12561216
     
    12911251if test ! -r "$srcdir/$ac_unique_file"; then
    12921252  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1293   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    1294    { (exit 1); exit 1; }; }
     1253  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
    12951254fi
    12961255ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12971256ac_abs_confdir=`(
    1298         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
    1299    { (exit 1); exit 1; }; }
     1257        cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
    13001258        pwd)`
    13011259# When building in place, set srcdir=.
     
    13371295      --help=recursive    display the short help of all the included packages
    13381296  -V, --version           display version information and exit
    1339   -q, --quiet, --silent   do not print \`checking...' messages
     1297  -q, --quiet, --silent   do not print \`checking ...' messages
    13401298      --cache-file=FILE   cache test results in FILE [disabled]
    13411299  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    14111369  --with-vtk-libs=DIR     VTK libraries are in DIR
    14121370  --with-vtk=VERSION      Version of VTK required
     1371  --with-python=DIR       location of python [default=yes]
    14131372  --with-x                use the X Window System
    14141373
     
    14191378              nonstandard directory <lib dir>
    14201379  LIBS        libraries to pass to the linker, e.g. -l<library>
    1421   CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
     1380  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
    14221381              you have headers in a nonstandard directory <include dir>
    14231382  CPP         C preprocessor
     
    14941453  cat <<\_ACEOF
    14951454vizservers configure 0.1
    1496 generated by GNU Autoconf 2.63
    1497 
    1498 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1499 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     1455generated by GNU Autoconf 2.68
     1456
     1457Copyright (C) 2010 Free Software Foundation, Inc.
    15001458This configure script is free software; the Free Software Foundation
    15011459gives unlimited permission to copy, distribute and modify it.
     
    15031461  exit
    15041462fi
     1463
     1464## ------------------------ ##
     1465## Autoconf initialization. ##
     1466## ------------------------ ##
     1467
     1468# ac_fn_c_try_compile LINENO
     1469# --------------------------
     1470# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1471ac_fn_c_try_compile ()
     1472{
     1473  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1474  rm -f conftest.$ac_objext
     1475  if { { ac_try="$ac_compile"
     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_compile") 2>conftest.err
     1483  ac_status=$?
     1484  if test -s conftest.err; then
     1485    grep -v '^ *+' conftest.err >conftest.er1
     1486    cat conftest.er1 >&5
     1487    mv -f conftest.er1 conftest.err
     1488  fi
     1489  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1490  test $ac_status = 0; } && {
     1491         test -z "$ac_c_werror_flag" ||
     1492         test ! -s conftest.err
     1493       } && test -s conftest.$ac_objext; then :
     1494  ac_retval=0
     1495else
     1496  $as_echo "$as_me: failed program was:" >&5
     1497sed 's/^/| /' conftest.$ac_ext >&5
     1498
     1499        ac_retval=1
     1500fi
     1501  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1502  as_fn_set_status $ac_retval
     1503
     1504} # ac_fn_c_try_compile
     1505
     1506# ac_fn_c_try_cpp LINENO
     1507# ----------------------
     1508# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1509ac_fn_c_try_cpp ()
     1510{
     1511  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1512  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1513case "(($ac_try" in
     1514  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1515  *) ac_try_echo=$ac_try;;
     1516esac
     1517eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1518$as_echo "$ac_try_echo"; } >&5
     1519  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1520  ac_status=$?
     1521  if test -s conftest.err; then
     1522    grep -v '^ *+' conftest.err >conftest.er1
     1523    cat conftest.er1 >&5
     1524    mv -f conftest.er1 conftest.err
     1525  fi
     1526  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1527  test $ac_status = 0; } > conftest.i && {
     1528         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     1529         test ! -s conftest.err
     1530       }; then :
     1531  ac_retval=0
     1532else
     1533  $as_echo "$as_me: failed program was:" >&5
     1534sed 's/^/| /' conftest.$ac_ext >&5
     1535
     1536    ac_retval=1
     1537fi
     1538  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1539  as_fn_set_status $ac_retval
     1540
     1541} # ac_fn_c_try_cpp
     1542
     1543# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
     1544# -------------------------------------------------------
     1545# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     1546# the include files in INCLUDES and setting the cache variable VAR
     1547# accordingly.
     1548ac_fn_c_check_header_mongrel ()
     1549{
     1550  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1551  if eval \${$3+:} false; then :
     1552  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1553$as_echo_n "checking for $2... " >&6; }
     1554if eval \${$3+:} false; then :
     1555  $as_echo_n "(cached) " >&6
     1556fi
     1557eval ac_res=\$$3
     1558               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1559$as_echo "$ac_res" >&6; }
     1560else
     1561  # Is the header compilable?
     1562{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     1563$as_echo_n "checking $2 usability... " >&6; }
     1564cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1565/* end confdefs.h.  */
     1566$4
     1567#include <$2>
     1568_ACEOF
     1569if ac_fn_c_try_compile "$LINENO"; then :
     1570  ac_header_compiler=yes
     1571else
     1572  ac_header_compiler=no
     1573fi
     1574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1575{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     1576$as_echo "$ac_header_compiler" >&6; }
     1577
     1578# Is the header present?
     1579{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     1580$as_echo_n "checking $2 presence... " >&6; }
     1581cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1582/* end confdefs.h.  */
     1583#include <$2>
     1584_ACEOF
     1585if ac_fn_c_try_cpp "$LINENO"; then :
     1586  ac_header_preproc=yes
     1587else
     1588  ac_header_preproc=no
     1589fi
     1590rm -f conftest.err conftest.i conftest.$ac_ext
     1591{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     1592$as_echo "$ac_header_preproc" >&6; }
     1593
     1594# So?  What about this header?
     1595case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
     1596  yes:no: )
     1597    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     1598$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     1599    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1600$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1601    ;;
     1602  no:yes:* )
     1603    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     1604$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     1605    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     1606$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     1607    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     1608$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     1609    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     1610$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     1611    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     1612$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     1613( $as_echo "## ----------------------------------- ##
     1614## Report this to rappture@nanohub.org ##
     1615## ----------------------------------- ##"
     1616     ) | sed "s/^/$as_me: WARNING:     /" >&2
     1617    ;;
     1618esac
     1619  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1620$as_echo_n "checking for $2... " >&6; }
     1621if eval \${$3+:} false; then :
     1622  $as_echo_n "(cached) " >&6
     1623else
     1624  eval "$3=\$ac_header_compiler"
     1625fi
     1626eval ac_res=\$$3
     1627               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1628$as_echo "$ac_res" >&6; }
     1629fi
     1630  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1631
     1632} # ac_fn_c_check_header_mongrel
     1633
     1634# ac_fn_c_try_run LINENO
     1635# ----------------------
     1636# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1637# that executables *can* be run.
     1638ac_fn_c_try_run ()
     1639{
     1640  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1641  if { { ac_try="$ac_link"
     1642case "(($ac_try" in
     1643  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1644  *) ac_try_echo=$ac_try;;
     1645esac
     1646eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1647$as_echo "$ac_try_echo"; } >&5
     1648  (eval "$ac_link") 2>&5
     1649  ac_status=$?
     1650  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1651  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1652  { { case "(($ac_try" in
     1653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1654  *) ac_try_echo=$ac_try;;
     1655esac
     1656eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1657$as_echo "$ac_try_echo"; } >&5
     1658  (eval "$ac_try") 2>&5
     1659  ac_status=$?
     1660  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1661  test $ac_status = 0; }; }; then :
     1662  ac_retval=0
     1663else
     1664  $as_echo "$as_me: program exited with status $ac_status" >&5
     1665       $as_echo "$as_me: failed program was:" >&5
     1666sed 's/^/| /' conftest.$ac_ext >&5
     1667
     1668       ac_retval=$ac_status
     1669fi
     1670  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1671  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1672  as_fn_set_status $ac_retval
     1673
     1674} # ac_fn_c_try_run
     1675
     1676# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
     1677# -------------------------------------------------------
     1678# Tests whether HEADER exists and can be compiled using the include files in
     1679# INCLUDES, setting the cache variable VAR accordingly.
     1680ac_fn_c_check_header_compile ()
     1681{
     1682  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1683  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     1684$as_echo_n "checking for $2... " >&6; }
     1685if eval \${$3+:} false; then :
     1686  $as_echo_n "(cached) " >&6
     1687else
     1688  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1689/* end confdefs.h.  */
     1690$4
     1691#include <$2>
     1692_ACEOF
     1693if ac_fn_c_try_compile "$LINENO"; then :
     1694  eval "$3=yes"
     1695else
     1696  eval "$3=no"
     1697fi
     1698rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1699fi
     1700eval ac_res=\$$3
     1701               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     1702$as_echo "$ac_res" >&6; }
     1703  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1704
     1705} # ac_fn_c_check_header_compile
     1706
     1707# ac_fn_c_try_link LINENO
     1708# -----------------------
     1709# Try to link conftest.$ac_ext, and return whether this succeeded.
     1710ac_fn_c_try_link ()
     1711{
     1712  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1713  rm -f conftest.$ac_objext conftest$ac_exeext
     1714  if { { ac_try="$ac_link"
     1715case "(($ac_try" in
     1716  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1717  *) ac_try_echo=$ac_try;;
     1718esac
     1719eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1720$as_echo "$ac_try_echo"; } >&5
     1721  (eval "$ac_link") 2>conftest.err
     1722  ac_status=$?
     1723  if test -s conftest.err; then
     1724    grep -v '^ *+' conftest.err >conftest.er1
     1725    cat conftest.er1 >&5
     1726    mv -f conftest.er1 conftest.err
     1727  fi
     1728  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1729  test $ac_status = 0; } && {
     1730         test -z "$ac_c_werror_flag" ||
     1731         test ! -s conftest.err
     1732       } && test -s conftest$ac_exeext && {
     1733         test "$cross_compiling" = yes ||
     1734         $as_test_x conftest$ac_exeext
     1735       }; then :
     1736  ac_retval=0
     1737else
     1738  $as_echo "$as_me: failed program was:" >&5
     1739sed 's/^/| /' conftest.$ac_ext >&5
     1740
     1741        ac_retval=1
     1742fi
     1743  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     1744  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     1745  # interfere with the next link command; also delete a directory that is
     1746  # left behind by Apple's compiler.  We do this before executing the actions.
     1747  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1748  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1749  as_fn_set_status $ac_retval
     1750
     1751} # ac_fn_c_try_link
     1752
     1753# ac_fn_cxx_try_compile LINENO
     1754# ----------------------------
     1755# Try to compile conftest.$ac_ext, and return whether this succeeded.
     1756ac_fn_cxx_try_compile ()
     1757{
     1758  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1759  rm -f conftest.$ac_objext
     1760  if { { ac_try="$ac_compile"
     1761case "(($ac_try" in
     1762  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1763  *) ac_try_echo=$ac_try;;
     1764esac
     1765eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1766$as_echo "$ac_try_echo"; } >&5
     1767  (eval "$ac_compile") 2>conftest.err
     1768  ac_status=$?
     1769  if test -s conftest.err; then
     1770    grep -v '^ *+' conftest.err >conftest.er1
     1771    cat conftest.er1 >&5
     1772    mv -f conftest.er1 conftest.err
     1773  fi
     1774  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1775  test $ac_status = 0; } && {
     1776         test -z "$ac_cxx_werror_flag" ||
     1777         test ! -s conftest.err
     1778       } && test -s conftest.$ac_objext; then :
     1779  ac_retval=0
     1780else
     1781  $as_echo "$as_me: failed program was:" >&5
     1782sed 's/^/| /' conftest.$ac_ext >&5
     1783
     1784        ac_retval=1
     1785fi
     1786  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1787  as_fn_set_status $ac_retval
     1788
     1789} # ac_fn_cxx_try_compile
     1790
     1791# ac_fn_cxx_try_cpp LINENO
     1792# ------------------------
     1793# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
     1794ac_fn_cxx_try_cpp ()
     1795{
     1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1797  if { { ac_try="$ac_cpp conftest.$ac_ext"
     1798case "(($ac_try" in
     1799  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1800  *) ac_try_echo=$ac_try;;
     1801esac
     1802eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1803$as_echo "$ac_try_echo"; } >&5
     1804  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
     1805  ac_status=$?
     1806  if test -s conftest.err; then
     1807    grep -v '^ *+' conftest.err >conftest.er1
     1808    cat conftest.er1 >&5
     1809    mv -f conftest.er1 conftest.err
     1810  fi
     1811  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1812  test $ac_status = 0; } > conftest.i && {
     1813         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     1814         test ! -s conftest.err
     1815       }; then :
     1816  ac_retval=0
     1817else
     1818  $as_echo "$as_me: failed program was:" >&5
     1819sed 's/^/| /' conftest.$ac_ext >&5
     1820
     1821    ac_retval=1
     1822fi
     1823  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1824  as_fn_set_status $ac_retval
     1825
     1826} # ac_fn_cxx_try_cpp
     1827
     1828# ac_fn_cxx_try_run LINENO
     1829# ------------------------
     1830# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
     1831# that executables *can* be run.
     1832ac_fn_cxx_try_run ()
     1833{
     1834  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1835  if { { ac_try="$ac_link"
     1836case "(($ac_try" in
     1837  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1838  *) ac_try_echo=$ac_try;;
     1839esac
     1840eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1841$as_echo "$ac_try_echo"; } >&5
     1842  (eval "$ac_link") 2>&5
     1843  ac_status=$?
     1844  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1845  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
     1846  { { case "(($ac_try" in
     1847  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     1848  *) ac_try_echo=$ac_try;;
     1849esac
     1850eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     1851$as_echo "$ac_try_echo"; } >&5
     1852  (eval "$ac_try") 2>&5
     1853  ac_status=$?
     1854  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     1855  test $ac_status = 0; }; }; then :
     1856  ac_retval=0
     1857else
     1858  $as_echo "$as_me: program exited with status $ac_status" >&5
     1859       $as_echo "$as_me: failed program was:" >&5
     1860sed 's/^/| /' conftest.$ac_ext >&5
     1861
     1862       ac_retval=$ac_status
     1863fi
     1864  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     1865  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     1866  as_fn_set_status $ac_retval
     1867
     1868} # ac_fn_cxx_try_run
     1869
     1870# ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
     1871# ----------------------------------------------
     1872# Tries to find the compile-time value of EXPR in a program that includes
     1873# INCLUDES, setting VAR accordingly. Returns whether the value could be
     1874# computed
     1875ac_fn_cxx_compute_int ()
     1876{
     1877  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     1878  if test "$cross_compiling" = yes; then
     1879    # Depending upon the size, compute the lo and hi bounds.
     1880cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1881/* end confdefs.h.  */
     1882$4
     1883int
     1884main ()
     1885{
     1886static int test_array [1 - 2 * !(($2) >= 0)];
     1887test_array [0] = 0
     1888
     1889  ;
     1890  return 0;
     1891}
     1892_ACEOF
     1893if ac_fn_cxx_try_compile "$LINENO"; then :
     1894  ac_lo=0 ac_mid=0
     1895  while :; do
     1896    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1897/* end confdefs.h.  */
     1898$4
     1899int
     1900main ()
     1901{
     1902static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1903test_array [0] = 0
     1904
     1905  ;
     1906  return 0;
     1907}
     1908_ACEOF
     1909if ac_fn_cxx_try_compile "$LINENO"; then :
     1910  ac_hi=$ac_mid; break
     1911else
     1912  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
     1913                        if test $ac_lo -le $ac_mid; then
     1914                          ac_lo= ac_hi=
     1915                          break
     1916                        fi
     1917                        as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
     1918fi
     1919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1920  done
     1921else
     1922  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1923/* end confdefs.h.  */
     1924$4
     1925int
     1926main ()
     1927{
     1928static int test_array [1 - 2 * !(($2) < 0)];
     1929test_array [0] = 0
     1930
     1931  ;
     1932  return 0;
     1933}
     1934_ACEOF
     1935if ac_fn_cxx_try_compile "$LINENO"; then :
     1936  ac_hi=-1 ac_mid=-1
     1937  while :; do
     1938    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1939/* end confdefs.h.  */
     1940$4
     1941int
     1942main ()
     1943{
     1944static int test_array [1 - 2 * !(($2) >= $ac_mid)];
     1945test_array [0] = 0
     1946
     1947  ;
     1948  return 0;
     1949}
     1950_ACEOF
     1951if ac_fn_cxx_try_compile "$LINENO"; then :
     1952  ac_lo=$ac_mid; break
     1953else
     1954  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
     1955                        if test $ac_mid -le $ac_hi; then
     1956                          ac_lo= ac_hi=
     1957                          break
     1958                        fi
     1959                        as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
     1960fi
     1961rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1962  done
     1963else
     1964  ac_lo= ac_hi=
     1965fi
     1966rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1967fi
     1968rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1969# Binary search between lo and hi bounds.
     1970while test "x$ac_lo" != "x$ac_hi"; do
     1971  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
     1972  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1973/* end confdefs.h.  */
     1974$4
     1975int
     1976main ()
     1977{
     1978static int test_array [1 - 2 * !(($2) <= $ac_mid)];
     1979test_array [0] = 0
     1980
     1981  ;
     1982  return 0;
     1983}
     1984_ACEOF
     1985if ac_fn_cxx_try_compile "$LINENO"; then :
     1986  ac_hi=$ac_mid
     1987else
     1988  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
     1989fi
     1990rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     1991done
     1992case $ac_lo in #((
     1993?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
     1994'') ac_retval=1 ;;
     1995esac
     1996  else
     1997    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     1998/* end confdefs.h.  */
     1999$4
     2000static long int longval () { return $2; }
     2001static unsigned long int ulongval () { return $2; }
     2002#include <stdio.h>
     2003#include <stdlib.h>
     2004int
     2005main ()
     2006{
     2007
     2008  FILE *f = fopen ("conftest.val", "w");
     2009  if (! f)
     2010    return 1;
     2011  if (($2) < 0)
     2012    {
     2013      long int i = longval ();
     2014      if (i != ($2))
     2015        return 1;
     2016      fprintf (f, "%ld", i);
     2017    }
     2018  else
     2019    {
     2020      unsigned long int i = ulongval ();
     2021      if (i != ($2))
     2022        return 1;
     2023      fprintf (f, "%lu", i);
     2024    }
     2025  /* Do not output a trailing newline, as this causes \r\n confusion
     2026     on some platforms.  */
     2027  return ferror (f) || fclose (f) != 0;
     2028
     2029  ;
     2030  return 0;
     2031}
     2032_ACEOF
     2033if ac_fn_cxx_try_run "$LINENO"; then :
     2034  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
     2035else
     2036  ac_retval=1
     2037fi
     2038rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     2039  conftest.$ac_objext conftest.beam conftest.$ac_ext
     2040rm -f conftest.val
     2041
     2042  fi
     2043  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2044  as_fn_set_status $ac_retval
     2045
     2046} # ac_fn_cxx_compute_int
     2047
     2048# ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
     2049# ---------------------------------------------------------
     2050# Tests whether HEADER exists, giving a warning if it cannot be compiled using
     2051# the include files in INCLUDES and setting the cache variable VAR
     2052# accordingly.
     2053ac_fn_cxx_check_header_mongrel ()
     2054{
     2055  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2056  if eval \${$3+:} false; then :
     2057  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2058$as_echo_n "checking for $2... " >&6; }
     2059if eval \${$3+:} false; then :
     2060  $as_echo_n "(cached) " >&6
     2061fi
     2062eval ac_res=\$$3
     2063               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2064$as_echo "$ac_res" >&6; }
     2065else
     2066  # Is the header compilable?
     2067{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
     2068$as_echo_n "checking $2 usability... " >&6; }
     2069cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2070/* end confdefs.h.  */
     2071$4
     2072#include <$2>
     2073_ACEOF
     2074if ac_fn_cxx_try_compile "$LINENO"; then :
     2075  ac_header_compiler=yes
     2076else
     2077  ac_header_compiler=no
     2078fi
     2079rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
     2081$as_echo "$ac_header_compiler" >&6; }
     2082
     2083# Is the header present?
     2084{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
     2085$as_echo_n "checking $2 presence... " >&6; }
     2086cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2087/* end confdefs.h.  */
     2088#include <$2>
     2089_ACEOF
     2090if ac_fn_cxx_try_cpp "$LINENO"; then :
     2091  ac_header_preproc=yes
     2092else
     2093  ac_header_preproc=no
     2094fi
     2095rm -f conftest.err conftest.i conftest.$ac_ext
     2096{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
     2097$as_echo "$ac_header_preproc" >&6; }
     2098
     2099# So?  What about this header?
     2100case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
     2101  yes:no: )
     2102    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
     2103$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
     2104    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2105$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2106    ;;
     2107  no:yes:* )
     2108    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
     2109$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
     2110    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
     2111$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
     2112    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
     2113$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
     2114    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
     2115$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
     2116    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
     2117$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
     2118( $as_echo "## ----------------------------------- ##
     2119## Report this to rappture@nanohub.org ##
     2120## ----------------------------------- ##"
     2121     ) | sed "s/^/$as_me: WARNING:     /" >&2
     2122    ;;
     2123esac
     2124  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2125$as_echo_n "checking for $2... " >&6; }
     2126if eval \${$3+:} false; then :
     2127  $as_echo_n "(cached) " >&6
     2128else
     2129  eval "$3=\$ac_header_compiler"
     2130fi
     2131eval ac_res=\$$3
     2132               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2133$as_echo "$ac_res" >&6; }
     2134fi
     2135  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2136
     2137} # ac_fn_cxx_check_header_mongrel
     2138
     2139# ac_fn_cxx_try_link LINENO
     2140# -------------------------
     2141# Try to link conftest.$ac_ext, and return whether this succeeded.
     2142ac_fn_cxx_try_link ()
     2143{
     2144  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2145  rm -f conftest.$ac_objext conftest$ac_exeext
     2146  if { { ac_try="$ac_link"
     2147case "(($ac_try" in
     2148  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2149  *) ac_try_echo=$ac_try;;
     2150esac
     2151eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     2152$as_echo "$ac_try_echo"; } >&5
     2153  (eval "$ac_link") 2>conftest.err
     2154  ac_status=$?
     2155  if test -s conftest.err; then
     2156    grep -v '^ *+' conftest.err >conftest.er1
     2157    cat conftest.er1 >&5
     2158    mv -f conftest.er1 conftest.err
     2159  fi
     2160  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     2161  test $ac_status = 0; } && {
     2162         test -z "$ac_cxx_werror_flag" ||
     2163         test ! -s conftest.err
     2164       } && test -s conftest$ac_exeext && {
     2165         test "$cross_compiling" = yes ||
     2166         $as_test_x conftest$ac_exeext
     2167       }; then :
     2168  ac_retval=0
     2169else
     2170  $as_echo "$as_me: failed program was:" >&5
     2171sed 's/^/| /' conftest.$ac_ext >&5
     2172
     2173        ac_retval=1
     2174fi
     2175  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
     2176  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
     2177  # interfere with the next link command; also delete a directory that is
     2178  # left behind by Apple's compiler.  We do this before executing the actions.
     2179  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
     2180  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2181  as_fn_set_status $ac_retval
     2182
     2183} # ac_fn_cxx_try_link
     2184
     2185# ac_fn_cxx_check_func LINENO FUNC VAR
     2186# ------------------------------------
     2187# Tests whether FUNC exists, setting the cache variable VAR accordingly
     2188ac_fn_cxx_check_func ()
     2189{
     2190  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2191  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2192$as_echo_n "checking for $2... " >&6; }
     2193if eval \${$3+:} false; then :
     2194  $as_echo_n "(cached) " >&6
     2195else
     2196  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2197/* end confdefs.h.  */
     2198/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
     2199   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     2200#define $2 innocuous_$2
     2201
     2202/* System header to define __stub macros and hopefully few prototypes,
     2203    which can conflict with char $2 (); below.
     2204    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     2205    <limits.h> exists even on freestanding compilers.  */
     2206
     2207#ifdef __STDC__
     2208# include <limits.h>
     2209#else
     2210# include <assert.h>
     2211#endif
     2212
     2213#undef $2
     2214
     2215/* Override any GCC internal prototype to avoid an error.
     2216   Use char because int might match the return type of a GCC
     2217   builtin and then its argument prototype would still apply.  */
     2218#ifdef __cplusplus
     2219extern "C"
     2220#endif
     2221char $2 ();
     2222/* The GNU C library defines this for functions which it implements
     2223    to always fail with ENOSYS.  Some functions are actually named
     2224    something starting with __ and the normal name is an alias.  */
     2225#if defined __stub_$2 || defined __stub___$2
     2226choke me
     2227#endif
     2228
     2229int
     2230main ()
     2231{
     2232return $2 ();
     2233  ;
     2234  return 0;
     2235}
     2236_ACEOF
     2237if ac_fn_cxx_try_link "$LINENO"; then :
     2238  eval "$3=yes"
     2239else
     2240  eval "$3=no"
     2241fi
     2242rm -f core conftest.err conftest.$ac_objext \
     2243    conftest$ac_exeext conftest.$ac_ext
     2244fi
     2245eval ac_res=\$$3
     2246               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2247$as_echo "$ac_res" >&6; }
     2248  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2249
     2250} # ac_fn_cxx_check_func
     2251
     2252# ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
     2253# ---------------------------------------------------------
     2254# Tests whether HEADER exists and can be compiled using the include files in
     2255# INCLUDES, setting the cache variable VAR accordingly.
     2256ac_fn_cxx_check_header_compile ()
     2257{
     2258  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     2259  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
     2260$as_echo_n "checking for $2... " >&6; }
     2261if eval \${$3+:} false; then :
     2262  $as_echo_n "(cached) " >&6
     2263else
     2264  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2265/* end confdefs.h.  */
     2266$4
     2267#include <$2>
     2268_ACEOF
     2269if ac_fn_cxx_try_compile "$LINENO"; then :
     2270  eval "$3=yes"
     2271else
     2272  eval "$3=no"
     2273fi
     2274rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     2275fi
     2276eval ac_res=\$$3
     2277               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
     2278$as_echo "$ac_res" >&6; }
     2279  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
     2280
     2281} # ac_fn_cxx_check_header_compile
    15052282cat >config.log <<_ACEOF
    15062283This file contains any messages produced by compilers while
     
    15082285
    15092286It was created by vizservers $as_me 0.1, which was
    1510 generated by GNU Autoconf 2.63.  Invocation command line was
     2287generated by GNU Autoconf 2.68.  Invocation command line was
    15112288
    15122289  $ $0 $@
     
    15442321  IFS=$as_save_IFS
    15452322  test -z "$as_dir" && as_dir=.
    1546   $as_echo "PATH: $as_dir"
    1547 done
     2323    $as_echo "PATH: $as_dir"
     2324  done
    15482325IFS=$as_save_IFS
    15492326
     
    15822359    esac
    15832360    case $ac_pass in
    1584     1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
     2361    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
    15852362    2)
    1586       ac_configure_args1="$ac_configure_args1 '$ac_arg'"
     2363      as_fn_append ac_configure_args1 " '$ac_arg'"
    15872364      if test $ac_must_keep_next = true; then
    15882365        ac_must_keep_next=false # Got value, back to normal.
     
    16002377        esac
    16012378      fi
    1602       ac_configure_args="$ac_configure_args '$ac_arg'"
     2379      as_fn_append ac_configure_args " '$ac_arg'"
    16032380      ;;
    16042381    esac
    16052382  done
    16062383done
    1607 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
    1608 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
     2384{ ac_configure_args0=; unset ac_configure_args0;}
     2385{ ac_configure_args1=; unset ac_configure_args1;}
    16092386
    16102387# When interrupted or exit'd, cleanup temporary files, and complete
     
    16182395    echo
    16192396
    1620     cat <<\_ASBOX
    1621 ## ---------------- ##
     2397    $as_echo "## ---------------- ##
    16222398## Cache variables. ##
    1623 ## ---------------- ##
    1624 _ASBOX
     2399## ---------------- ##"
    16252400    echo
    16262401    # The following way of writing the cache mishandles newlines in values,
     
    16312406    *${as_nl}*)
    16322407      case $ac_var in #(
    1633       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     2408      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    16342409$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    16352410      esac
     
    16372412      _ | IFS | as_nl) ;; #(
    16382413      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    1639       *) $as_unset $ac_var ;;
     2414      *) { eval $ac_var=; unset $ac_var;} ;;
    16402415      esac ;;
    16412416    esac
     
    16562431    echo
    16572432
    1658     cat <<\_ASBOX
    1659 ## ----------------- ##
     2433    $as_echo "## ----------------- ##
    16602434## Output variables. ##
    1661 ## ----------------- ##
    1662 _ASBOX
     2435## ----------------- ##"
    16632436    echo
    16642437    for ac_var in $ac_subst_vars
     
    16732446
    16742447    if test -n "$ac_subst_files"; then
    1675       cat <<\_ASBOX
    1676 ## ------------------- ##
     2448      $as_echo "## ------------------- ##
    16772449## File substitutions. ##
    1678 ## ------------------- ##
    1679 _ASBOX
     2450## ------------------- ##"
    16802451      echo
    16812452      for ac_var in $ac_subst_files
     
    16912462
    16922463    if test -s confdefs.h; then
    1693       cat <<\_ASBOX
    1694 ## ----------- ##
     2464      $as_echo "## ----------- ##
    16952465## confdefs.h. ##
    1696 ## ----------- ##
    1697 _ASBOX
     2466## ----------- ##"
    16982467      echo
    16992468      cat confdefs.h
     
    17092478' 0
    17102479for ac_signal in 1 2 13 15; do
    1711   trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
     2480  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
    17122481done
    17132482ac_signal=0
     
    17162485rm -f -r conftest* confdefs.h
    17172486
     2487$as_echo "/* confdefs.h */" > confdefs.h
     2488
    17182489# Predefined preprocessor variables.
    17192490
     
    17222493_ACEOF
    17232494
    1724 
    17252495cat >>confdefs.h <<_ACEOF
    17262496#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    17272497_ACEOF
    17282498
    1729 
    17302499cat >>confdefs.h <<_ACEOF
    17312500#define PACKAGE_VERSION "$PACKAGE_VERSION"
    17322501_ACEOF
    17332502
    1734 
    17352503cat >>confdefs.h <<_ACEOF
    17362504#define PACKAGE_STRING "$PACKAGE_STRING"
    17372505_ACEOF
    17382506
    1739 
    17402507cat >>confdefs.h <<_ACEOF
    17412508#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
     2509_ACEOF
     2510
     2511cat >>confdefs.h <<_ACEOF
     2512#define PACKAGE_URL "$PACKAGE_URL"
    17422513_ACEOF
    17432514
     
    17482519ac_site_file2=NONE
    17492520if test -n "$CONFIG_SITE"; then
    1750   ac_site_file1=$CONFIG_SITE
     2521  # We do not want a PATH search for config.site.
     2522  case $CONFIG_SITE in #((
     2523    -*)  ac_site_file1=./$CONFIG_SITE;;
     2524    */*) ac_site_file1=$CONFIG_SITE;;
     2525    *)   ac_site_file1=./$CONFIG_SITE;;
     2526  esac
    17512527elif test "x$prefix" != xNONE; then
    17522528  ac_site_file1=$prefix/share/config.site
     
    17592535do
    17602536  test "x$ac_site_file" = xNONE && continue
    1761   if test -r "$ac_site_file"; then
    1762     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     2537  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
     2538    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
    17632539$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    17642540    sed 's/^/| /' "$ac_site_file" >&5
    1765     . "$ac_site_file"
     2541    . "$ac_site_file" \
     2542      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2543$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2544as_fn_error $? "failed to load site script $ac_site_file
     2545See \`config.log' for more details" "$LINENO" 5; }
    17662546  fi
    17672547done
    17682548
    17692549if test -r "$cache_file"; then
    1770   # Some versions of bash will fail to source /dev/null (special
    1771   # files actually), so we avoid doing that.
    1772   if test -f "$cache_file"; then
    1773     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
     2550  # Some versions of bash will fail to source /dev/null (special files
     2551  # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
     2552  if test /dev/null != "$cache_file" && test -f "$cache_file"; then
     2553    { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
    17742554$as_echo "$as_me: loading cache $cache_file" >&6;}
    17752555    case $cache_file in
     
    17792559  fi
    17802560else
    1781   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
     2561  { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
    17822562$as_echo "$as_me: creating cache $cache_file" >&6;}
    17832563  >$cache_file
     
    17942574  case $ac_old_set,$ac_new_set in
    17952575    set,)
    1796       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     2576      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    17972577$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17982578      ac_cache_corrupted=: ;;
    17992579    ,set)
    1800       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     2580      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
    18012581$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    18022582      ac_cache_corrupted=: ;;
     
    18082588        ac_new_val_w=`echo x $ac_new_val`
    18092589        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1810           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     2590          { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
    18112591$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    18122592          ac_cache_corrupted=:
    18132593        else
    1814           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     2594          { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    18152595$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    18162596          eval $ac_var=\$ac_old_val
    18172597        fi
    1818         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
     2598        { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
    18192599$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1820         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
     2600        { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
    18212601$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    18222602      fi;;
     
    18302610    case " $ac_configure_args " in
    18312611      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    1832       *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
     2612      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
    18332613    esac
    18342614  fi
    18352615done
    18362616if $ac_cache_corrupted; then
    1837   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2617  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    18382618$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1839   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     2619  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
    18402620$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1841   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1842 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    1843    { (exit 1); exit 1; }; }
    1844 fi
    1845 
    1846 
    1847 
    1848 
    1849 
    1850 
    1851 
    1852 
    1853 
    1854 
    1855 
    1856 
    1857 
    1858 
    1859 
    1860 
    1861 
    1862 
    1863 
    1864 
    1865 
    1866 
    1867 
    1868 
     2621  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
     2622fi
     2623## -------------------- ##
     2624## Main body of script. ##
     2625## -------------------- ##
    18692626
    18702627ac_ext=c
     
    18752632
    18762633
     2634ac_aux_dir=
     2635for ac_dir in cf "$srcdir"/cf; do
     2636  if test -f "$ac_dir/install-sh"; then
     2637    ac_aux_dir=$ac_dir
     2638    ac_install_sh="$ac_aux_dir/install-sh -c"
     2639    break
     2640  elif test -f "$ac_dir/install.sh"; then
     2641    ac_aux_dir=$ac_dir
     2642    ac_install_sh="$ac_aux_dir/install.sh -c"
     2643    break
     2644  elif test -f "$ac_dir/shtool"; then
     2645    ac_aux_dir=$ac_dir
     2646    ac_install_sh="$ac_aux_dir/shtool install -c"
     2647    break
     2648  fi
     2649done
     2650if test -z "$ac_aux_dir"; then
     2651  as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     2652fi
     2653
     2654# These three variables are undocumented and unsupported,
     2655# and are intended to be withdrawn in a future Autoconf release.
     2656# They can cause serious problems if a builder's source tree is in a directory
     2657# whose full name contains unusual characters.
     2658ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
     2659ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
     2660ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
     2661
     2662
    18772663ac_config_headers="$ac_config_headers nanovis/nvconf.h nanoscale/config.h"
    18782664
     
    18802666
    18812667# Check whether --with-tcllib was given.
    1882 if test "${with_tcllib+set}" = set; then
     2668if test "${with_tcllib+set}" = set; then :
    18832669  withval=$with_tcllib; with_tcllib=$withval
    18842670else
     
    18892675
    18902676# Check whether --with-rappture was given.
    1891 if test "${with_rappture+set}" = set; then
     2677if test "${with_rappture+set}" = set; then :
    18922678  withval=$with_rappture; with_rappture=$withval
    18932679else
     
    18982684
    18992685# Check whether --with-vtk-includes was given.
    1900 if test "${with_vtk_includes+set}" = set; then
     2686if test "${with_vtk_includes+set}" = set; then :
    19012687  withval=$with_vtk_includes; with_vtk_includes=$withval
    19022688else
     
    19072693
    19082694# Check whether --with-vtk-libs was given.
    1909 if test "${with_vtk_libs+set}" = set; then
     2695if test "${with_vtk_libs+set}" = set; then :
    19102696  withval=$with_vtk_libs; with_vtk_libs=$withval
    19112697else
     
    19162702
    19172703# Check whether --with-vtk was given.
    1918 if test "${with_vtk+set}" = set; then
     2704if test "${with_vtk+set}" = set; then :
    19192705  withval=$with_vtk; with_vtk=$withval
    19202706else
     
    19222708fi
    19232709
    1924 
    1925 VERSION=0.0.1
    1926 
    1927 #------------------------------------------------------------------------
    1928 # Handle the --prefix=... option
    1929 #------------------------------------------------------------------------
    1930 
    1931 if test "${prefix}" = "NONE"; then
    1932     prefix=/usr/local
    1933 fi
    1934 if test "${exec_prefix}" = "NONE"; then
    1935     exec_prefix=$prefix
    1936 fi
    1937 
    1938 if test "x${incdir}" == "x"; then
    1939   incdir=${exec_prefix}/include
    1940 fi
    1941 libdir=${exec_prefix}/lib
    1942 
    1943 if test "${libdir}" != "${prefix}/lib"; then
    1944     LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
    1945 else
    1946     LIB_SEARCH_DIRS="-L ${libdir}"
    1947 fi
    19482710
    19492711ac_ext=c
     
    19552717  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    19562718set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1957 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2719{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19582720$as_echo_n "checking for $ac_word... " >&6; }
    1959 if test "${ac_cv_prog_CC+set}" = set; then
     2721if ${ac_cv_prog_CC+:} false; then :
    19602722  $as_echo_n "(cached) " >&6
    19612723else
     
    19682730  IFS=$as_save_IFS
    19692731  test -z "$as_dir" && as_dir=.
    1970   for ac_exec_ext in '' $ac_executable_extensions; do
     2732    for ac_exec_ext in '' $ac_executable_extensions; do
    19712733  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19722734    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1973     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2735    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    19742736    break 2
    19752737  fi
    19762738done
    1977 done
     2739  done
    19782740IFS=$as_save_IFS
    19792741
     
    19822744CC=$ac_cv_prog_CC
    19832745if test -n "$CC"; then
    1984   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2746  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    19852747$as_echo "$CC" >&6; }
    19862748else
    1987   { $as_echo "$as_me:$LINENO: result: no" >&5
     2749  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    19882750$as_echo "no" >&6; }
    19892751fi
     
    19952757  # Extract the first word of "gcc", so it can be a program name with args.
    19962758set dummy gcc; ac_word=$2
    1997 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2759{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    19982760$as_echo_n "checking for $ac_word... " >&6; }
    1999 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2761if ${ac_cv_prog_ac_ct_CC+:} false; then :
    20002762  $as_echo_n "(cached) " >&6
    20012763else
     
    20082770  IFS=$as_save_IFS
    20092771  test -z "$as_dir" && as_dir=.
    2010   for ac_exec_ext in '' $ac_executable_extensions; do
     2772    for ac_exec_ext in '' $ac_executable_extensions; do
    20112773  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20122774    ac_cv_prog_ac_ct_CC="gcc"
    2013     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2775    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20142776    break 2
    20152777  fi
    20162778done
    2017 done
     2779  done
    20182780IFS=$as_save_IFS
    20192781
     
    20222784ac_ct_CC=$ac_cv_prog_ac_ct_CC
    20232785if test -n "$ac_ct_CC"; then
    2024   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2786  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    20252787$as_echo "$ac_ct_CC" >&6; }
    20262788else
    2027   { $as_echo "$as_me:$LINENO: result: no" >&5
     2789  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20282790$as_echo "no" >&6; }
    20292791fi
     
    20342796    case $cross_compiling:$ac_tool_warned in
    20352797yes:)
    2036 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2798{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    20372799$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    20382800ac_tool_warned=yes ;;
     
    20482810    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    20492811set dummy ${ac_tool_prefix}cc; ac_word=$2
    2050 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2812{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20512813$as_echo_n "checking for $ac_word... " >&6; }
    2052 if test "${ac_cv_prog_CC+set}" = set; then
     2814if ${ac_cv_prog_CC+:} false; then :
    20532815  $as_echo_n "(cached) " >&6
    20542816else
     
    20612823  IFS=$as_save_IFS
    20622824  test -z "$as_dir" && as_dir=.
    2063   for ac_exec_ext in '' $ac_executable_extensions; do
     2825    for ac_exec_ext in '' $ac_executable_extensions; do
    20642826  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20652827    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2066     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2828    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    20672829    break 2
    20682830  fi
    20692831done
    2070 done
     2832  done
    20712833IFS=$as_save_IFS
    20722834
     
    20752837CC=$ac_cv_prog_CC
    20762838if test -n "$CC"; then
    2077   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2839  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    20782840$as_echo "$CC" >&6; }
    20792841else
    2080   { $as_echo "$as_me:$LINENO: result: no" >&5
     2842  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    20812843$as_echo "no" >&6; }
    20822844fi
     
    20882850  # Extract the first word of "cc", so it can be a program name with args.
    20892851set dummy cc; ac_word=$2
    2090 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2852{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    20912853$as_echo_n "checking for $ac_word... " >&6; }
    2092 if test "${ac_cv_prog_CC+set}" = set; then
     2854if ${ac_cv_prog_CC+:} false; then :
    20932855  $as_echo_n "(cached) " >&6
    20942856else
     
    21022864  IFS=$as_save_IFS
    21032865  test -z "$as_dir" && as_dir=.
    2104   for ac_exec_ext in '' $ac_executable_extensions; do
     2866    for ac_exec_ext in '' $ac_executable_extensions; do
    21052867  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21062868    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    21092871     fi
    21102872    ac_cv_prog_CC="cc"
    2111     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2873    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21122874    break 2
    21132875  fi
    21142876done
    2115 done
     2877  done
    21162878IFS=$as_save_IFS
    21172879
     
    21322894CC=$ac_cv_prog_CC
    21332895if test -n "$CC"; then
    2134   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2896  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21352897$as_echo "$CC" >&6; }
    21362898else
    2137   { $as_echo "$as_me:$LINENO: result: no" >&5
     2899  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21382900$as_echo "no" >&6; }
    21392901fi
     
    21472909    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    21482910set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2149 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2911{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21502912$as_echo_n "checking for $ac_word... " >&6; }
    2151 if test "${ac_cv_prog_CC+set}" = set; then
     2913if ${ac_cv_prog_CC+:} false; then :
    21522914  $as_echo_n "(cached) " >&6
    21532915else
     
    21602922  IFS=$as_save_IFS
    21612923  test -z "$as_dir" && as_dir=.
    2162   for ac_exec_ext in '' $ac_executable_extensions; do
     2924    for ac_exec_ext in '' $ac_executable_extensions; do
    21632925  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21642926    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2165     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2927    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    21662928    break 2
    21672929  fi
    21682930done
    2169 done
     2931  done
    21702932IFS=$as_save_IFS
    21712933
     
    21742936CC=$ac_cv_prog_CC
    21752937if test -n "$CC"; then
    2176   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     2938  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    21772939$as_echo "$CC" >&6; }
    21782940else
    2179   { $as_echo "$as_me:$LINENO: result: no" >&5
     2941  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    21802942$as_echo "no" >&6; }
    21812943fi
     
    21912953  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21922954set dummy $ac_prog; ac_word=$2
    2193 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     2955{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    21942956$as_echo_n "checking for $ac_word... " >&6; }
    2195 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     2957if ${ac_cv_prog_ac_ct_CC+:} false; then :
    21962958  $as_echo_n "(cached) " >&6
    21972959else
     
    22042966  IFS=$as_save_IFS
    22052967  test -z "$as_dir" && as_dir=.
    2206   for ac_exec_ext in '' $ac_executable_extensions; do
     2968    for ac_exec_ext in '' $ac_executable_extensions; do
    22072969  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    22082970    ac_cv_prog_ac_ct_CC="$ac_prog"
    2209     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2971    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    22102972    break 2
    22112973  fi
    22122974done
    2213 done
     2975  done
    22142976IFS=$as_save_IFS
    22152977
     
    22182980ac_ct_CC=$ac_cv_prog_ac_ct_CC
    22192981if test -n "$ac_ct_CC"; then
    2220   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2982  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    22212983$as_echo "$ac_ct_CC" >&6; }
    22222984else
    2223   { $as_echo "$as_me:$LINENO: result: no" >&5
     2985  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    22242986$as_echo "no" >&6; }
    22252987fi
     
    22342996    case $cross_compiling:$ac_tool_warned in
    22352997yes:)
    2236 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     2998{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    22372999$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    22383000ac_tool_warned=yes ;;
     
    22453007
    22463008
    2247 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3009test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    22483010$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2249 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    2250 See \`config.log' for more details." >&5
    2251 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    2252 See \`config.log' for more details." >&2;}
    2253    { (exit 1); exit 1; }; }; }
     3011as_fn_error $? "no acceptable C compiler found in \$PATH
     3012See \`config.log' for more details" "$LINENO" 5; }
    22543013
    22553014# Provide some information about the compiler.
    2256 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     3015$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    22573016set X $ac_compile
    22583017ac_compiler=$2
    2259 { (ac_try="$ac_compiler --version >&5"
     3018for ac_option in --version -v -V -qversion; do
     3019  { { ac_try="$ac_compiler $ac_option >&5"
    22603020case "(($ac_try" in
    22613021  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    22623022  *) ac_try_echo=$ac_try;;
    22633023esac
    2264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2265 $as_echo "$ac_try_echo") >&5
    2266   (eval "$ac_compiler --version >&5") 2>&5
     3024eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3025$as_echo "$ac_try_echo"; } >&5
     3026  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    22673027  ac_status=$?
    2268   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2269   (exit $ac_status); }
    2270 { (ac_try="$ac_compiler -v >&5"
    2271 case "(($ac_try" in
    2272   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2273   *) ac_try_echo=$ac_try;;
    2274 esac
    2275 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2276 $as_echo "$ac_try_echo") >&5
    2277   (eval "$ac_compiler -v >&5") 2>&5
    2278   ac_status=$?
    2279   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2280   (exit $ac_status); }
    2281 { (ac_try="$ac_compiler -V >&5"
    2282 case "(($ac_try" in
    2283   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2284   *) ac_try_echo=$ac_try;;
    2285 esac
    2286 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2287 $as_echo "$ac_try_echo") >&5
    2288   (eval "$ac_compiler -V >&5") 2>&5
    2289   ac_status=$?
    2290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2291   (exit $ac_status); }
    2292 
    2293 cat >conftest.$ac_ext <<_ACEOF
    2294 /* confdefs.h.  */
    2295 _ACEOF
    2296 cat confdefs.h >>conftest.$ac_ext
    2297 cat >>conftest.$ac_ext <<_ACEOF
     3028  if test -s conftest.err; then
     3029    sed '10a\
     3030... rest of stderr output deleted ...
     3031         10q' conftest.err >conftest.er1
     3032    cat conftest.er1 >&5
     3033  fi
     3034  rm -f conftest.er1 conftest.err
     3035  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3036  test $ac_status = 0; }
     3037done
     3038
     3039cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    22983040/* end confdefs.h.  */
    22993041
     
    23113053# It will help us diagnose broken compilers, and finding out an intuition
    23123054# of exeext.
    2313 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2314 $as_echo_n "checking for C compiler default output file name... " >&6; }
     3055{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
     3056$as_echo_n "checking whether the C compiler works... " >&6; }
    23153057ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    23163058
     
    23283070rm -f $ac_rmfiles
    23293071
    2330 if { (ac_try="$ac_link_default"
     3072if { { ac_try="$ac_link_default"
    23313073case "(($ac_try" in
    23323074  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    23333075  *) ac_try_echo=$ac_try;;
    23343076esac
    2335 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2336 $as_echo "$ac_try_echo") >&5
     3077eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3078$as_echo "$ac_try_echo"; } >&5
    23373079  (eval "$ac_link_default") 2>&5
    23383080  ac_status=$?
    2339   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2340   (exit $ac_status); }; then
     3081  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3082  test $ac_status = 0; }; then :
    23413083  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    23423084# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    23553097        break;;
    23563098    *.* )
    2357         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     3099        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    23583100        then :; else
    23593101           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    23743116  ac_file=''
    23753117fi
    2376 
    2377 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     3118if test -z "$ac_file"; then :
     3119  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3120$as_echo "no" >&6; }
     3121$as_echo "$as_me: failed program was:" >&5
     3122sed 's/^/| /' conftest.$ac_ext >&5
     3123
     3124{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3125$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3126as_fn_error 77 "C compiler cannot create executables
     3127See \`config.log' for more details" "$LINENO" 5; }
     3128else
     3129  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3130$as_echo "yes" >&6; }
     3131fi
     3132{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
     3133$as_echo_n "checking for C compiler default output file name... " >&6; }
     3134{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    23783135$as_echo "$ac_file" >&6; }
    2379 if test -z "$ac_file"; then
    2380   $as_echo "$as_me: failed program was:" >&5
    2381 sed 's/^/| /' conftest.$ac_ext >&5
    2382 
    2383 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2385 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
    2386 See \`config.log' for more details." >&5
    2387 $as_echo "$as_me: error: C compiler cannot create executables
    2388 See \`config.log' for more details." >&2;}
    2389    { (exit 77); exit 77; }; }; }
    2390 fi
    2391 
    23923136ac_exeext=$ac_cv_exeext
    2393 
    2394 # Check that the compiler produces executables we can run.  If not, either
    2395 # the compiler is broken, or we cross compile.
    2396 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2397 $as_echo_n "checking whether the C compiler works... " >&6; }
    2398 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    2399 # If not cross compiling, check that we can run a simple program.
    2400 if test "$cross_compiling" != yes; then
    2401   if { ac_try='./$ac_file'
    2402   { (case "(($ac_try" in
    2403   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2404   *) ac_try_echo=$ac_try;;
    2405 esac
    2406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2407 $as_echo "$ac_try_echo") >&5
    2408   (eval "$ac_try") 2>&5
    2409   ac_status=$?
    2410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2411   (exit $ac_status); }; }; then
    2412     cross_compiling=no
    2413   else
    2414     if test "$cross_compiling" = maybe; then
    2415         cross_compiling=yes
    2416     else
    2417         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2419 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
    2420 If you meant to cross compile, use \`--host'.
    2421 See \`config.log' for more details." >&5
    2422 $as_echo "$as_me: error: cannot run C compiled programs.
    2423 If you meant to cross compile, use \`--host'.
    2424 See \`config.log' for more details." >&2;}
    2425    { (exit 1); exit 1; }; }; }
    2426     fi
    2427   fi
    2428 fi
    2429 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2430 $as_echo "yes" >&6; }
    24313137
    24323138rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    24333139ac_clean_files=$ac_clean_files_save
    2434 # Check that the compiler produces executables we can run.  If not, either
    2435 # the compiler is broken, or we cross compile.
    2436 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2437 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2438 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2439 $as_echo "$cross_compiling" >&6; }
    2440 
    2441 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
     3140{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
    24423141$as_echo_n "checking for suffix of executables... " >&6; }
    2443 if { (ac_try="$ac_link"
     3142if { { ac_try="$ac_link"
    24443143case "(($ac_try" in
    24453144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    24463145  *) ac_try_echo=$ac_try;;
    24473146esac
    2448 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2449 $as_echo "$ac_try_echo") >&5
     3147eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3148$as_echo "$ac_try_echo"; } >&5
    24503149  (eval "$ac_link") 2>&5
    24513150  ac_status=$?
    2452   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2453   (exit $ac_status); }; then
     3151  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3152  test $ac_status = 0; }; then :
    24543153  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    24553154# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    24663165done
    24673166else
    2468   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3167  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    24693168$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2470 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    2471 See \`config.log' for more details." >&5
    2472 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    2473 See \`config.log' for more details." >&2;}
    2474    { (exit 1); exit 1; }; }; }
    2475 fi
    2476 
    2477 rm -f conftest$ac_cv_exeext
    2478 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     3169as_fn_error $? "cannot compute suffix of executables: cannot compile and link
     3170See \`config.log' for more details" "$LINENO" 5; }
     3171fi
     3172rm -f conftest conftest$ac_cv_exeext
     3173{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
    24793174$as_echo "$ac_cv_exeext" >&6; }
    24803175
     
    24823177EXEEXT=$ac_cv_exeext
    24833178ac_exeext=$EXEEXT
    2484 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2485 $as_echo_n "checking for suffix of object files... " >&6; }
    2486 if test "${ac_cv_objext+set}" = set; then
    2487   $as_echo_n "(cached) " >&6
    2488 else
    2489   cat >conftest.$ac_ext <<_ACEOF
    2490 /* confdefs.h.  */
    2491 _ACEOF
    2492 cat confdefs.h >>conftest.$ac_ext
    2493 cat >>conftest.$ac_ext <<_ACEOF
     3179cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    24943180/* end confdefs.h.  */
    2495 
     3181#include <stdio.h>
    24963182int
    24973183main ()
    24983184{
     3185FILE *f = fopen ("conftest.out", "w");
     3186 return ferror (f) || fclose (f) != 0;
    24993187
    25003188  ;
     
    25023190}
    25033191_ACEOF
    2504 rm -f conftest.o conftest.obj
    2505 if { (ac_try="$ac_compile"
     3192ac_clean_files="$ac_clean_files conftest.out"
     3193# Check that the compiler produces executables we can run.  If not, either
     3194# the compiler is broken, or we cross compile.
     3195{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
     3196$as_echo_n "checking whether we are cross compiling... " >&6; }
     3197if test "$cross_compiling" != yes; then
     3198  { { ac_try="$ac_link"
    25063199case "(($ac_try" in
    25073200  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    25083201  *) ac_try_echo=$ac_try;;
    25093202esac
    2510 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2511 $as_echo "$ac_try_echo") >&5
     3203eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3204$as_echo "$ac_try_echo"; } >&5
     3205  (eval "$ac_link") 2>&5
     3206  ac_status=$?
     3207  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3208  test $ac_status = 0; }
     3209  if { ac_try='./conftest$ac_cv_exeext'
     3210  { { case "(($ac_try" in
     3211  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3212  *) ac_try_echo=$ac_try;;
     3213esac
     3214eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3215$as_echo "$ac_try_echo"; } >&5
     3216  (eval "$ac_try") 2>&5
     3217  ac_status=$?
     3218  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3219  test $ac_status = 0; }; }; then
     3220    cross_compiling=no
     3221  else
     3222    if test "$cross_compiling" = maybe; then
     3223        cross_compiling=yes
     3224    else
     3225        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3226$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     3227as_fn_error $? "cannot run C compiled programs.
     3228If you meant to cross compile, use \`--host'.
     3229See \`config.log' for more details" "$LINENO" 5; }
     3230    fi
     3231  fi
     3232fi
     3233{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
     3234$as_echo "$cross_compiling" >&6; }
     3235
     3236rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
     3237ac_clean_files=$ac_clean_files_save
     3238{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
     3239$as_echo_n "checking for suffix of object files... " >&6; }
     3240if ${ac_cv_objext+:} false; then :
     3241  $as_echo_n "(cached) " >&6
     3242else
     3243  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3244/* end confdefs.h.  */
     3245
     3246int
     3247main ()
     3248{
     3249
     3250  ;
     3251  return 0;
     3252}
     3253_ACEOF
     3254rm -f conftest.o conftest.obj
     3255if { { ac_try="$ac_compile"
     3256case "(($ac_try" in
     3257  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3258  *) ac_try_echo=$ac_try;;
     3259esac
     3260eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     3261$as_echo "$ac_try_echo"; } >&5
    25123262  (eval "$ac_compile") 2>&5
    25133263  ac_status=$?
    2514   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2515   (exit $ac_status); }; then
     3264  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     3265  test $ac_status = 0; }; then :
    25163266  for ac_file in conftest.o conftest.obj conftest.*; do
    25173267  test -f "$ac_file" || continue;
     
    25263276sed 's/^/| /' conftest.$ac_ext >&5
    25273277
    2528 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3278{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    25293279$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2530 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    2531 See \`config.log' for more details." >&5
    2532 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
    2533 See \`config.log' for more details." >&2;}
    2534    { (exit 1); exit 1; }; }; }
    2535 fi
    2536 
     3280as_fn_error $? "cannot compute suffix of object files: cannot compile
     3281See \`config.log' for more details" "$LINENO" 5; }
     3282fi
    25373283rm -f conftest.$ac_cv_objext conftest.$ac_ext
    25383284fi
    2539 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     3285{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
    25403286$as_echo "$ac_cv_objext" >&6; }
    25413287OBJEXT=$ac_cv_objext
    25423288ac_objext=$OBJEXT
    2543 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     3289{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    25443290$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    2545 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     3291if ${ac_cv_c_compiler_gnu+:} false; then :
    25463292  $as_echo_n "(cached) " >&6
    25473293else
    2548   cat >conftest.$ac_ext <<_ACEOF
    2549 /* confdefs.h.  */
    2550 _ACEOF
    2551 cat confdefs.h >>conftest.$ac_ext
    2552 cat >>conftest.$ac_ext <<_ACEOF
     3294  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    25533295/* end confdefs.h.  */
    25543296
     
    25643306}
    25653307_ACEOF
    2566 rm -f conftest.$ac_objext
    2567 if { (ac_try="$ac_compile"
    2568 case "(($ac_try" in
    2569   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2570   *) ac_try_echo=$ac_try;;
    2571 esac
    2572 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2573 $as_echo "$ac_try_echo") >&5
    2574   (eval "$ac_compile") 2>conftest.er1
    2575   ac_status=$?
    2576   grep -v '^ *+' conftest.er1 >conftest.err
    2577   rm -f conftest.er1
    2578   cat conftest.err >&5
    2579   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2580   (exit $ac_status); } && {
    2581          test -z "$ac_c_werror_flag" ||
    2582          test ! -s conftest.err
    2583        } && test -s conftest.$ac_objext; then
     3308if ac_fn_c_try_compile "$LINENO"; then :
    25843309  ac_compiler_gnu=yes
    25853310else
    2586   $as_echo "$as_me: failed program was:" >&5
    2587 sed 's/^/| /' conftest.$ac_ext >&5
    2588 
    2589         ac_compiler_gnu=no
    2590 fi
    2591 
     3311  ac_compiler_gnu=no
     3312fi
    25923313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    25933314ac_cv_c_compiler_gnu=$ac_compiler_gnu
    25943315
    25953316fi
    2596 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     3317{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    25973318$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    25983319if test $ac_compiler_gnu = yes; then
     
    26033324ac_test_CFLAGS=${CFLAGS+set}
    26043325ac_save_CFLAGS=$CFLAGS
    2605 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     3326{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    26063327$as_echo_n "checking whether $CC accepts -g... " >&6; }
    2607 if test "${ac_cv_prog_cc_g+set}" = set; then
     3328if ${ac_cv_prog_cc_g+:} false; then :
    26083329  $as_echo_n "(cached) " >&6
    26093330else
     
    26123333   ac_cv_prog_cc_g=no
    26133334   CFLAGS="-g"
    2614    cat >conftest.$ac_ext <<_ACEOF
    2615 /* confdefs.h.  */
    2616 _ACEOF
    2617 cat confdefs.h >>conftest.$ac_ext
    2618 cat >>conftest.$ac_ext <<_ACEOF
     3335   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26193336/* end confdefs.h.  */
    26203337
     
    26273344}
    26283345_ACEOF
    2629 rm -f conftest.$ac_objext
    2630 if { (ac_try="$ac_compile"
    2631 case "(($ac_try" in
    2632   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2633   *) ac_try_echo=$ac_try;;
    2634 esac
    2635 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2636 $as_echo "$ac_try_echo") >&5
    2637   (eval "$ac_compile") 2>conftest.er1
    2638   ac_status=$?
    2639   grep -v '^ *+' conftest.er1 >conftest.err
    2640   rm -f conftest.er1
    2641   cat conftest.err >&5
    2642   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2643   (exit $ac_status); } && {
    2644          test -z "$ac_c_werror_flag" ||
    2645          test ! -s conftest.err
    2646        } && test -s conftest.$ac_objext; then
     3346if ac_fn_c_try_compile "$LINENO"; then :
    26473347  ac_cv_prog_cc_g=yes
    26483348else
    2649   $as_echo "$as_me: failed program was:" >&5
    2650 sed 's/^/| /' conftest.$ac_ext >&5
    2651 
    2652         CFLAGS=""
    2653       cat >conftest.$ac_ext <<_ACEOF
    2654 /* confdefs.h.  */
    2655 _ACEOF
    2656 cat confdefs.h >>conftest.$ac_ext
    2657 cat >>conftest.$ac_ext <<_ACEOF
     3349  CFLAGS=""
     3350      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26583351/* end confdefs.h.  */
    26593352
     
    26663359}
    26673360_ACEOF
    2668 rm -f conftest.$ac_objext
    2669 if { (ac_try="$ac_compile"
    2670 case "(($ac_try" in
    2671   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2672   *) ac_try_echo=$ac_try;;
    2673 esac
    2674 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2675 $as_echo "$ac_try_echo") >&5
    2676   (eval "$ac_compile") 2>conftest.er1
    2677   ac_status=$?
    2678   grep -v '^ *+' conftest.er1 >conftest.err
    2679   rm -f conftest.er1
    2680   cat conftest.err >&5
    2681   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2682   (exit $ac_status); } && {
    2683          test -z "$ac_c_werror_flag" ||
    2684          test ! -s conftest.err
    2685        } && test -s conftest.$ac_objext; then
    2686   :
    2687 else
    2688   $as_echo "$as_me: failed program was:" >&5
    2689 sed 's/^/| /' conftest.$ac_ext >&5
    2690 
    2691         ac_c_werror_flag=$ac_save_c_werror_flag
     3361if ac_fn_c_try_compile "$LINENO"; then :
     3362
     3363else
     3364  ac_c_werror_flag=$ac_save_c_werror_flag
    26923365         CFLAGS="-g"
    2693          cat >conftest.$ac_ext <<_ACEOF
    2694 /* confdefs.h.  */
    2695 _ACEOF
    2696 cat confdefs.h >>conftest.$ac_ext
    2697 cat >>conftest.$ac_ext <<_ACEOF
     3366         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    26983367/* end confdefs.h.  */
    26993368
     
    27063375}
    27073376_ACEOF
    2708 rm -f conftest.$ac_objext
    2709 if { (ac_try="$ac_compile"
    2710 case "(($ac_try" in
    2711   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2712   *) ac_try_echo=$ac_try;;
    2713 esac
    2714 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2715 $as_echo "$ac_try_echo") >&5
    2716   (eval "$ac_compile") 2>conftest.er1
    2717   ac_status=$?
    2718   grep -v '^ *+' conftest.er1 >conftest.err
    2719   rm -f conftest.er1
    2720   cat conftest.err >&5
    2721   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2722   (exit $ac_status); } && {
    2723          test -z "$ac_c_werror_flag" ||
    2724          test ! -s conftest.err
    2725        } && test -s conftest.$ac_objext; then
     3377if ac_fn_c_try_compile "$LINENO"; then :
    27263378  ac_cv_prog_cc_g=yes
    2727 else
    2728   $as_echo "$as_me: failed program was:" >&5
    2729 sed 's/^/| /' conftest.$ac_ext >&5
    2730 
    2731 
    2732 fi
    2733 
     3379fi
    27343380rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27353381fi
    2736 
    27373382rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27383383fi
    2739 
    27403384rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    27413385   ac_c_werror_flag=$ac_save_c_werror_flag
    27423386fi
    2743 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     3387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    27443388$as_echo "$ac_cv_prog_cc_g" >&6; }
    27453389if test "$ac_test_CFLAGS" = set; then
     
    27583402  fi
    27593403fi
    2760 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     3404{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    27613405$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    2762 if test "${ac_cv_prog_cc_c89+set}" = set; then
     3406if ${ac_cv_prog_cc_c89+:} false; then :
    27633407  $as_echo_n "(cached) " >&6
    27643408else
    27653409  ac_cv_prog_cc_c89=no
    27663410ac_save_CC=$CC
    2767 cat >conftest.$ac_ext <<_ACEOF
    2768 /* confdefs.h.  */
    2769 _ACEOF
    2770 cat confdefs.h >>conftest.$ac_ext
    2771 cat >>conftest.$ac_ext <<_ACEOF
     3411cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    27723412/* end confdefs.h.  */
    27733413#include <stdarg.h>
     
    28263466do
    28273467  CC="$ac_save_CC $ac_arg"
    2828   rm -f conftest.$ac_objext
    2829 if { (ac_try="$ac_compile"
    2830 case "(($ac_try" in
    2831   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2832   *) ac_try_echo=$ac_try;;
    2833 esac
    2834 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2835 $as_echo "$ac_try_echo") >&5
    2836   (eval "$ac_compile") 2>conftest.er1
    2837   ac_status=$?
    2838   grep -v '^ *+' conftest.er1 >conftest.err
    2839   rm -f conftest.er1
    2840   cat conftest.err >&5
    2841   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    2842   (exit $ac_status); } && {
    2843          test -z "$ac_c_werror_flag" ||
    2844          test ! -s conftest.err
    2845        } && test -s conftest.$ac_objext; then
     3468  if ac_fn_c_try_compile "$LINENO"; then :
    28463469  ac_cv_prog_cc_c89=$ac_arg
    2847 else
    2848   $as_echo "$as_me: failed program was:" >&5
    2849 sed 's/^/| /' conftest.$ac_ext >&5
    2850 
    2851 
    2852 fi
    2853 
     3470fi
    28543471rm -f core conftest.err conftest.$ac_objext
    28553472  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    28623479case "x$ac_cv_prog_cc_c89" in
    28633480  x)
    2864     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     3481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    28653482$as_echo "none needed" >&6; } ;;
    28663483  xno)
    2867     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     3484    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    28683485$as_echo "unsupported" >&6; } ;;
    28693486  *)
    28703487    CC="$CC $ac_cv_prog_cc_c89"
    2871     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     3488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    28723489$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    28733490esac
    2874 
     3491if test "x$ac_cv_prog_cc_c89" != xno; then :
     3492
     3493fi
    28753494
    28763495ac_ext=c
     
    28813500
    28823501
    2883 if test -n "$ac_tool_prefix"; then
    2884   # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    2885 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2886 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2887 $as_echo_n "checking for $ac_word... " >&6; }
    2888 if test "${ac_cv_prog_RANLIB+set}" = set; then
    2889   $as_echo_n "(cached) " >&6
    2890 else
    2891   if test -n "$RANLIB"; then
    2892   ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
    2893 else
    2894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2895 for as_dir in $PATH
    2896 do
    2897   IFS=$as_save_IFS
    2898   test -z "$as_dir" && as_dir=.
    2899   for ac_exec_ext in '' $ac_executable_extensions; do
    2900   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2901     ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2902     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2903     break 2
    2904   fi
    2905 done
    2906 done
    2907 IFS=$as_save_IFS
    2908 
    2909 fi
    2910 fi
    2911 RANLIB=$ac_cv_prog_RANLIB
    2912 if test -n "$RANLIB"; then
    2913   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    2914 $as_echo "$RANLIB" >&6; }
    2915 else
    2916   { $as_echo "$as_me:$LINENO: result: no" >&5
    2917 $as_echo "no" >&6; }
    2918 fi
    2919 
    2920 
    2921 fi
    2922 if test -z "$ac_cv_prog_RANLIB"; then
    2923   ac_ct_RANLIB=$RANLIB
    2924   # Extract the first word of "ranlib", so it can be a program name with args.
    2925 set dummy ranlib; ac_word=$2
    2926 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2927 $as_echo_n "checking for $ac_word... " >&6; }
    2928 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2929   $as_echo_n "(cached) " >&6
    2930 else
    2931   if test -n "$ac_ct_RANLIB"; then
    2932   ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
    2933 else
    2934 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    2935 for as_dir in $PATH
    2936 do
    2937   IFS=$as_save_IFS
    2938   test -z "$as_dir" && as_dir=.
    2939   for ac_exec_ext in '' $ac_executable_extensions; do
    2940   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    2941     ac_cv_prog_ac_ct_RANLIB="ranlib"
    2942     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    2943     break 2
    2944   fi
    2945 done
    2946 done
    2947 IFS=$as_save_IFS
    2948 
    2949 fi
    2950 fi
    2951 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    2952 if test -n "$ac_ct_RANLIB"; then
    2953   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    2954 $as_echo "$ac_ct_RANLIB" >&6; }
    2955 else
    2956   { $as_echo "$as_me:$LINENO: result: no" >&5
    2957 $as_echo "no" >&6; }
    2958 fi
    2959 
    2960   if test "x$ac_ct_RANLIB" = x; then
    2961     RANLIB=":"
    2962   else
    2963     case $cross_compiling:$ac_tool_warned in
    2964 yes:)
    2965 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    2966 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    2967 ac_tool_warned=yes ;;
    2968 esac
    2969     RANLIB=$ac_ct_RANLIB
    2970   fi
    2971 else
    2972   RANLIB="$ac_cv_prog_RANLIB"
    2973 fi
    2974 
    29753502ac_ext=c
    29763503ac_cpp='$CPP $CPPFLAGS'
     
    29783505ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29793506ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2980 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     3507{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    29813508$as_echo_n "checking how to run the C preprocessor... " >&6; }
    29823509# On Suns, sometimes $CPP names a directory.
     
    29853512fi
    29863513if test -z "$CPP"; then
    2987   if test "${ac_cv_prog_CPP+set}" = set; then
     3514  if ${ac_cv_prog_CPP+:} false; then :
    29883515  $as_echo_n "(cached) " >&6
    29893516else
     
    30003527  # On the NeXT, cc -E runs the code through the compiler's parser,
    30013528  # not just through cpp. "Syntax error" is here to catch this case.
    3002   cat >conftest.$ac_ext <<_ACEOF
    3003 /* confdefs.h.  */
    3004 _ACEOF
    3005 cat confdefs.h >>conftest.$ac_ext
    3006 cat >>conftest.$ac_ext <<_ACEOF
     3529  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30073530/* end confdefs.h.  */
    30083531#ifdef __STDC__
     
    30133536                     Syntax error
    30143537_ACEOF
    3015 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3016 case "(($ac_try" in
    3017   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3018   *) ac_try_echo=$ac_try;;
    3019 esac
    3020 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3021 $as_echo "$ac_try_echo") >&5
    3022   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3023   ac_status=$?
    3024   grep -v '^ *+' conftest.er1 >conftest.err
    3025   rm -f conftest.er1
    3026   cat conftest.err >&5
    3027   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3028   (exit $ac_status); } >/dev/null && {
    3029          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3030          test ! -s conftest.err
    3031        }; then
    3032   :
    3033 else
    3034   $as_echo "$as_me: failed program was:" >&5
    3035 sed 's/^/| /' conftest.$ac_ext >&5
    3036 
     3538if ac_fn_c_try_cpp "$LINENO"; then :
     3539
     3540else
    30373541  # Broken: fails on valid input.
    30383542continue
    30393543fi
    3040 
    3041 rm -f conftest.err conftest.$ac_ext
     3544rm -f conftest.err conftest.i conftest.$ac_ext
    30423545
    30433546  # OK, works on sane cases.  Now check whether nonexistent headers
    30443547  # can be detected and how.
    3045   cat >conftest.$ac_ext <<_ACEOF
    3046 /* confdefs.h.  */
    3047 _ACEOF
    3048 cat confdefs.h >>conftest.$ac_ext
    3049 cat >>conftest.$ac_ext <<_ACEOF
     3548  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    30503549/* end confdefs.h.  */
    30513550#include <ac_nonexistent.h>
    30523551_ACEOF
    3053 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3054 case "(($ac_try" in
    3055   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3056   *) ac_try_echo=$ac_try;;
    3057 esac
    3058 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3059 $as_echo "$ac_try_echo") >&5
    3060   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3061   ac_status=$?
    3062   grep -v '^ *+' conftest.er1 >conftest.err
    3063   rm -f conftest.er1
    3064   cat conftest.err >&5
    3065   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3066   (exit $ac_status); } >/dev/null && {
    3067          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3068          test ! -s conftest.err
    3069        }; then
     3552if ac_fn_c_try_cpp "$LINENO"; then :
    30703553  # Broken: success on invalid input.
    30713554continue
    30723555else
    3073   $as_echo "$as_me: failed program was:" >&5
    3074 sed 's/^/| /' conftest.$ac_ext >&5
    3075 
    30763556  # Passes both tests.
    30773557ac_preproc_ok=:
    30783558break
    30793559fi
    3080 
    3081 rm -f conftest.err conftest.$ac_ext
     3560rm -f conftest.err conftest.i conftest.$ac_ext
    30823561
    30833562done
    30843563# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3085 rm -f conftest.err conftest.$ac_ext
    3086 if $ac_preproc_ok; then
     3564rm -f conftest.i conftest.err conftest.$ac_ext
     3565if $ac_preproc_ok; then :
    30873566  break
    30883567fi
     
    30963575  ac_cv_prog_CPP=$CPP
    30973576fi
    3098 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     3577{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    30993578$as_echo "$CPP" >&6; }
    31003579ac_preproc_ok=false
     
    31073586  # On the NeXT, cc -E runs the code through the compiler's parser,
    31083587  # not just through cpp. "Syntax error" is here to catch this case.
    3109   cat >conftest.$ac_ext <<_ACEOF
    3110 /* confdefs.h.  */
    3111 _ACEOF
    3112 cat confdefs.h >>conftest.$ac_ext
    3113 cat >>conftest.$ac_ext <<_ACEOF
     3588  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31143589/* end confdefs.h.  */
    31153590#ifdef __STDC__
     
    31203595                     Syntax error
    31213596_ACEOF
    3122 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3123 case "(($ac_try" in
    3124   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3125   *) ac_try_echo=$ac_try;;
    3126 esac
    3127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3128 $as_echo "$ac_try_echo") >&5
    3129   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3130   ac_status=$?
    3131   grep -v '^ *+' conftest.er1 >conftest.err
    3132   rm -f conftest.er1
    3133   cat conftest.err >&5
    3134   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3135   (exit $ac_status); } >/dev/null && {
    3136          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3137          test ! -s conftest.err
    3138        }; then
    3139   :
    3140 else
    3141   $as_echo "$as_me: failed program was:" >&5
    3142 sed 's/^/| /' conftest.$ac_ext >&5
    3143 
     3597if ac_fn_c_try_cpp "$LINENO"; then :
     3598
     3599else
    31443600  # Broken: fails on valid input.
    31453601continue
    31463602fi
    3147 
    3148 rm -f conftest.err conftest.$ac_ext
     3603rm -f conftest.err conftest.i conftest.$ac_ext
    31493604
    31503605  # OK, works on sane cases.  Now check whether nonexistent headers
    31513606  # can be detected and how.
    3152   cat >conftest.$ac_ext <<_ACEOF
    3153 /* confdefs.h.  */
    3154 _ACEOF
    3155 cat confdefs.h >>conftest.$ac_ext
    3156 cat >>conftest.$ac_ext <<_ACEOF
     3607  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    31573608/* end confdefs.h.  */
    31583609#include <ac_nonexistent.h>
    31593610_ACEOF
    3160 if { (ac_try="$ac_cpp conftest.$ac_ext"
    3161 case "(($ac_try" in
    3162   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3163   *) ac_try_echo=$ac_try;;
    3164 esac
    3165 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3166 $as_echo "$ac_try_echo") >&5
    3167   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    3168   ac_status=$?
    3169   grep -v '^ *+' conftest.er1 >conftest.err
    3170   rm -f conftest.er1
    3171   cat conftest.err >&5
    3172   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3173   (exit $ac_status); } >/dev/null && {
    3174          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    3175          test ! -s conftest.err
    3176        }; then
     3611if ac_fn_c_try_cpp "$LINENO"; then :
    31773612  # Broken: success on invalid input.
    31783613continue
    31793614else
    3180   $as_echo "$as_me: failed program was:" >&5
    3181 sed 's/^/| /' conftest.$ac_ext >&5
    3182 
    31833615  # Passes both tests.
    31843616ac_preproc_ok=:
    31853617break
    31863618fi
    3187 
    3188 rm -f conftest.err conftest.$ac_ext
     3619rm -f conftest.err conftest.i conftest.$ac_ext
    31893620
    31903621done
    31913622# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3192 rm -f conftest.err conftest.$ac_ext
    3193 if $ac_preproc_ok; then
    3194   :
    3195 else
    3196   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     3623rm -f conftest.i conftest.err conftest.$ac_ext
     3624if $ac_preproc_ok; then :
     3625
     3626else
     3627  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    31973628$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3198 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    3199 See \`config.log' for more details." >&5
    3200 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    3201 See \`config.log' for more details." >&2;}
    3202    { (exit 1); exit 1; }; }; }
     3629as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     3630See \`config.log' for more details" "$LINENO" 5; }
    32033631fi
    32043632
     
    32103638
    32113639
    3212 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
    32133641$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3214 if test "${ac_cv_path_GREP+set}" = set; then
     3642if ${ac_cv_path_GREP+:} false; then :
    32153643  $as_echo_n "(cached) " >&6
    32163644else
     
    32233651  IFS=$as_save_IFS
    32243652  test -z "$as_dir" && as_dir=.
    3225   for ac_prog in grep ggrep; do
     3653    for ac_prog in grep ggrep; do
    32263654    for ac_exec_ext in '' $ac_executable_extensions; do
    32273655      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    32433671    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32443672    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3245     ac_count=`expr $ac_count + 1`
     3673    as_fn_arith $ac_count + 1 && ac_count=$as_val
    32463674    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    32473675      # Best one so far, save it but keep looking for a better one
     
    32583686    done
    32593687  done
    3260 done
     3688  done
    32613689IFS=$as_save_IFS
    32623690  if test -z "$ac_cv_path_GREP"; then
    3263     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3264 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3265    { (exit 1); exit 1; }; }
     3691    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    32663692  fi
    32673693else
     
    32703696
    32713697fi
    3272 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3698{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
    32733699$as_echo "$ac_cv_path_GREP" >&6; }
    32743700 GREP="$ac_cv_path_GREP"
    32753701
    32763702
    3277 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
     3703{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
    32783704$as_echo_n "checking for egrep... " >&6; }
    3279 if test "${ac_cv_path_EGREP+set}" = set; then
     3705if ${ac_cv_path_EGREP+:} false; then :
    32803706  $as_echo_n "(cached) " >&6
    32813707else
     
    32913717  IFS=$as_save_IFS
    32923718  test -z "$as_dir" && as_dir=.
    3293   for ac_prog in egrep; do
     3719    for ac_prog in egrep; do
    32943720    for ac_exec_ext in '' $ac_executable_extensions; do
    32953721      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    33113737    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    33123738    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3313     ac_count=`expr $ac_count + 1`
     3739    as_fn_arith $ac_count + 1 && ac_count=$as_val
    33143740    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    33153741      # Best one so far, save it but keep looking for a better one
     
    33263752    done
    33273753  done
    3328 done
     3754  done
    33293755IFS=$as_save_IFS
    33303756  if test -z "$ac_cv_path_EGREP"; then
    3331     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3332 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    3333    { (exit 1); exit 1; }; }
     3757    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
    33343758  fi
    33353759else
     
    33393763   fi
    33403764fi
    3341 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3765{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
    33423766$as_echo "$ac_cv_path_EGREP" >&6; }
    33433767 EGREP="$ac_cv_path_EGREP"
    33443768
    33453769
    3346 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3770{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
    33473771$as_echo_n "checking for ANSI C header files... " >&6; }
    3348 if test "${ac_cv_header_stdc+set}" = set; then
     3772if ${ac_cv_header_stdc+:} false; then :
    33493773  $as_echo_n "(cached) " >&6
    33503774else
    3351   cat >conftest.$ac_ext <<_ACEOF
    3352 /* confdefs.h.  */
    3353 _ACEOF
    3354 cat confdefs.h >>conftest.$ac_ext
    3355 cat >>conftest.$ac_ext <<_ACEOF
     3775  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    33563776/* end confdefs.h.  */
    33573777#include <stdlib.h>
     
    33683788}
    33693789_ACEOF
    3370 rm -f conftest.$ac_objext
    3371 if { (ac_try="$ac_compile"
    3372 case "(($ac_try" in
    3373   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3374   *) ac_try_echo=$ac_try;;
    3375 esac
    3376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3377 $as_echo "$ac_try_echo") >&5
    3378   (eval "$ac_compile") 2>conftest.er1
    3379   ac_status=$?
    3380   grep -v '^ *+' conftest.er1 >conftest.err
    3381   rm -f conftest.er1
    3382   cat conftest.err >&5
    3383   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3384   (exit $ac_status); } && {
    3385          test -z "$ac_c_werror_flag" ||
    3386          test ! -s conftest.err
    3387        } && test -s conftest.$ac_objext; then
     3790if ac_fn_c_try_compile "$LINENO"; then :
    33883791  ac_cv_header_stdc=yes
    33893792else
    3390   $as_echo "$as_me: failed program was:" >&5
    3391 sed 's/^/| /' conftest.$ac_ext >&5
    3392 
    3393         ac_cv_header_stdc=no
    3394 fi
    3395 
     3793  ac_cv_header_stdc=no
     3794fi
    33963795rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33973796
    33983797if test $ac_cv_header_stdc = yes; then
    33993798  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3400   cat >conftest.$ac_ext <<_ACEOF
    3401 /* confdefs.h.  */
    3402 _ACEOF
    3403 cat confdefs.h >>conftest.$ac_ext
    3404 cat >>conftest.$ac_ext <<_ACEOF
     3799  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34053800/* end confdefs.h.  */
    34063801#include <string.h>
     
    34083803_ACEOF
    34093804if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3410   $EGREP "memchr" >/dev/null 2>&1; then
    3411   :
     3805  $EGREP "memchr" >/dev/null 2>&1; then :
     3806
    34123807else
    34133808  ac_cv_header_stdc=no
     
    34193814if test $ac_cv_header_stdc = yes; then
    34203815  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3421   cat >conftest.$ac_ext <<_ACEOF
    3422 /* confdefs.h.  */
    3423 _ACEOF
    3424 cat confdefs.h >>conftest.$ac_ext
    3425 cat >>conftest.$ac_ext <<_ACEOF
     3816  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34263817/* end confdefs.h.  */
    34273818#include <stdlib.h>
     
    34293820_ACEOF
    34303821if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3431   $EGREP "free" >/dev/null 2>&1; then
    3432   :
     3822  $EGREP "free" >/dev/null 2>&1; then :
     3823
    34333824else
    34343825  ac_cv_header_stdc=no
     
    34403831if test $ac_cv_header_stdc = yes; then
    34413832  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3442   if test "$cross_compiling" = yes; then
     3833  if test "$cross_compiling" = yes; then :
    34433834  :
    34443835else
    3445   cat >conftest.$ac_ext <<_ACEOF
    3446 /* confdefs.h.  */
    3447 _ACEOF
    3448 cat confdefs.h >>conftest.$ac_ext
    3449 cat >>conftest.$ac_ext <<_ACEOF
     3836  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    34503837/* end confdefs.h.  */
    34513838#include <ctype.h>
     
    34743861}
    34753862_ACEOF
    3476 rm -f conftest$ac_exeext
    3477 if { (ac_try="$ac_link"
    3478 case "(($ac_try" in
    3479   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3480   *) ac_try_echo=$ac_try;;
    3481 esac
    3482 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3483 $as_echo "$ac_try_echo") >&5
    3484   (eval "$ac_link") 2>&5
    3485   ac_status=$?
    3486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3487   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    3488   { (case "(($ac_try" in
    3489   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3490   *) ac_try_echo=$ac_try;;
    3491 esac
    3492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3493 $as_echo "$ac_try_echo") >&5
    3494   (eval "$ac_try") 2>&5
    3495   ac_status=$?
    3496   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3497   (exit $ac_status); }; }; then
    3498   :
    3499 else
    3500   $as_echo "$as_me: program exited with status $ac_status" >&5
    3501 $as_echo "$as_me: failed program was:" >&5
    3502 sed 's/^/| /' conftest.$ac_ext >&5
    3503 
    3504 ( exit $ac_status )
    3505 ac_cv_header_stdc=no
    3506 fi
    3507 rm -rf conftest.dSYM
    3508 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    3509 fi
    3510 
    3511 
    3512 fi
    3513 fi
    3514 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3863if ac_fn_c_try_run "$LINENO"; then :
     3864
     3865else
     3866  ac_cv_header_stdc=no
     3867fi
     3868rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     3869  conftest.$ac_objext conftest.beam conftest.$ac_ext
     3870fi
     3871
     3872fi
     3873fi
     3874{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
    35153875$as_echo "$ac_cv_header_stdc" >&6; }
    35163876if test $ac_cv_header_stdc = yes; then
    35173877
    3518 cat >>confdefs.h <<\_ACEOF
    3519 #define STDC_HEADERS 1
    3520 _ACEOF
     3878$as_echo "#define STDC_HEADERS 1" >>confdefs.h
    35213879
    35223880fi
    35233881
    35243882# On IRIX 5.3, sys/types and inttypes.h are conflicting.
    3525 
    3526 
    3527 
    3528 
    3529 
    3530 
    3531 
    3532 
    3533 
    35343883for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    35353884                  inttypes.h stdint.h unistd.h
    3536 do
    3537 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3538 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3539 $as_echo_n "checking for $ac_header... " >&6; }
    3540 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3541   $as_echo_n "(cached) " >&6
    3542 else
    3543   cat >conftest.$ac_ext <<_ACEOF
    3544 /* confdefs.h.  */
    3545 _ACEOF
    3546 cat confdefs.h >>conftest.$ac_ext
    3547 cat >>conftest.$ac_ext <<_ACEOF
    3548 /* end confdefs.h.  */
    3549 $ac_includes_default
    3550 
    3551 #include <$ac_header>
    3552 _ACEOF
    3553 rm -f conftest.$ac_objext
    3554 if { (ac_try="$ac_compile"
    3555 case "(($ac_try" in
    3556   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3557   *) ac_try_echo=$ac_try;;
    3558 esac
    3559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3560 $as_echo "$ac_try_echo") >&5
    3561   (eval "$ac_compile") 2>conftest.er1
    3562   ac_status=$?
    3563   grep -v '^ *+' conftest.er1 >conftest.err
    3564   rm -f conftest.er1
    3565   cat conftest.err >&5
    3566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3567   (exit $ac_status); } && {
    3568          test -z "$ac_c_werror_flag" ||
    3569          test ! -s conftest.err
    3570        } && test -s conftest.$ac_objext; then
    3571   eval "$as_ac_Header=yes"
    3572 else
    3573   $as_echo "$as_me: failed program was:" >&5
    3574 sed 's/^/| /' conftest.$ac_ext >&5
    3575 
    3576         eval "$as_ac_Header=no"
    3577 fi
    3578 
    3579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    3580 fi
    3581 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3582                  $as_echo "$as_val"'`
    3583                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3584 $as_echo "$ac_res" >&6; }
    3585 as_val=`eval 'as_val=${'$as_ac_Header'}
    3586                  $as_echo "$as_val"'`
    3587    if test "x$as_val" = x""yes; then
     3885do :
     3886  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3887ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
     3888"
     3889if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    35883890  cat >>confdefs.h <<_ACEOF
    35893891#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    35963898
    35973899
     3900PYTHON=""
     3901PYTHON_CFLAGS=""
     3902PYTHON_CPPFLAGS=""
     3903PYTHON_DISTUTILS=""
     3904PYTHON_INCLUDES=""
     3905PYTHON_LDFLAGS=""
     3906PYTHON_LIB=""
     3907PYTHON_LIBDIR=""
     3908PYTHON_SITE_DIR=""
     3909PYTHON_SITE_PACKAGES=""
     3910PYTHON_VERSION=""
     3911pythondir=""
     3912
     3913# Check whether --with-python was given.
     3914if test "${with_python+set}" = set; then :
     3915  withval=$with_python;
     3916else
     3917  with_python=yes
     3918fi
     3919
     3920
     3921if test "$with_python" != "no" ; then
     3922  if test "$with_python" = "yes" ; then
     3923    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
     3924set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
     3925{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3926$as_echo_n "checking for $ac_word... " >&6; }
     3927if ${ac_cv_path_PYTHON+:} false; then :
     3928  $as_echo_n "(cached) " >&6
     3929else
     3930  case $PYTHON in
     3931  [\\/]* | ?:[\\/]*)
     3932  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
     3933  ;;
     3934  *)
     3935  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3936for as_dir in $PATH
     3937do
     3938  IFS=$as_save_IFS
     3939  test -z "$as_dir" && as_dir=.
     3940    for ac_exec_ext in '' $ac_executable_extensions; do
     3941  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3942    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     3943    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3944    break 2
     3945  fi
     3946done
     3947  done
     3948IFS=$as_save_IFS
     3949
     3950  ;;
     3951esac
     3952fi
     3953PYTHON=$ac_cv_path_PYTHON
     3954if test -n "$PYTHON"; then
     3955  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3956$as_echo "$PYTHON" >&6; }
     3957else
     3958  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3959$as_echo "no" >&6; }
     3960fi
     3961
     3962
     3963  else
     3964    # Extract the first word of "python", so it can be a program name with args.
     3965set dummy python; ac_word=$2
     3966{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3967$as_echo_n "checking for $ac_word... " >&6; }
     3968if ${ac_cv_path_PYTHON+:} false; then :
     3969  $as_echo_n "(cached) " >&6
     3970else
     3971  case $PYTHON in
     3972  [\\/]* | ?:[\\/]*)
     3973  ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
     3974  ;;
     3975  *)
     3976  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3977as_dummy="${with_python}/bin:${with_python}"
     3978for as_dir in $as_dummy
     3979do
     3980  IFS=$as_save_IFS
     3981  test -z "$as_dir" && as_dir=.
     3982    for ac_exec_ext in '' $ac_executable_extensions; do
     3983  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     3984    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
     3985    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3986    break 2
     3987  fi
     3988done
     3989  done
     3990IFS=$as_save_IFS
     3991
     3992  ;;
     3993esac
     3994fi
     3995PYTHON=$ac_cv_path_PYTHON
     3996if test -n "$PYTHON"; then
     3997  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3998$as_echo "$PYTHON" >&6; }
     3999else
     4000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4001$as_echo "no" >&6; }
     4002fi
     4003
     4004
     4005  fi
     4006  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
     4007$as_echo_n "checking for Python version... " >&6; }
     4008  if test "x${PYTHON}" != "x"; then
     4009    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
     4010  fi
     4011  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
     4012$as_echo "$PYTHON_VERSION" >&6; }
     4013fi
     4014
     4015if test "x${PYTHON_VERSION}" != "x"; then
     4016  PYTHON_INCLUDES=$incdir
     4017  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
     4018$as_echo_n "checking for Python distutils... " >&6; }
     4019  PYTHON_DISTUTILS=""
     4020  ${PYTHON} -c "from distutils.core import setup; setup(name='test')" \
     4021        build build_ext 2>&1 > /dev/null
     4022  if test $? = 0 ; then
     4023    PYTHON_DISTUTILS="yes"
     4024  fi
     4025  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
     4026$as_echo "$PYTHON_DISTUTILS" >&6; }
     4027  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     4028    PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
     4029    #
     4030    # Check for Python include path
     4031    #
     4032    { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
     4033$as_echo_n "checking path to Python headers... " >&6; }
     4034    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
     4035     print distutils.sysconfig.get_python_inc();"`
     4036    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
     4037$as_echo "$PYTHON_INCDIR" >&6; }
     4038    #
     4039    # Python distutils found, get settings from python directly
     4040    #
     4041    PYTHON_SITE_DIR="`${PYTHON} -c 'from distutils import sysconfig; print sysconfig.get_python_lib(0);'`"
     4042
     4043    PYTHON_CFLAGS="`$PYTHON -c 'from distutils import sysconfig; flags = [\"-I\" + sysconfig.get_python_inc(0), \"-I\" + sysconfig.get_python_inc(1), \" \".join(sysconfig.get_config_var(\"CFLAGS\").split())]; print \" \".join(flags);'`"
     4044    PYTHON_LDFLAGS="`$PYTHON -c 'from distutils import sysconfig; libs = sysconfig.get_config_var(\"LIBS\").split() + sysconfig.get_config_var(\"SYSLIBS\").split(); libs.append(\"-lpython\"+sysconfig.get_config_var(\"VERSION\")); print \" \".join(libs);'`"
     4045    PYTHON_LIB="`$PYTHON -c 'from distutils import sysconfig; print \"python\" + sysconfig.get_config_var(\"VERSION\");'`"
     4046    PYTHON_LIBDIR="`$PYTHON -c 'from distutils import sysconfig; print sysconfig.get_config_var(\"LIBDIR\");'`"
     4047    save_CPPFLAGS=$CPPFLAGS
     4048    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
     4049    for ac_header in Python.h
     4050do :
     4051  ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
     4052if test "x$ac_cv_header_Python_h" = xyes; then :
     4053  cat >>confdefs.h <<_ACEOF
     4054#define HAVE_PYTHON_H 1
     4055_ACEOF
     4056 found=yes
     4057else
     4058  found=no
     4059fi
     4060
     4061done
     4062
     4063    CPPFLAGS=$save_CPPFLAGS
     4064    if test "$found" = "no" ; then
     4065      PYTHON_DISTUTILS=""
     4066    fi
     4067  fi
     4068fi
     4069
     4070
     4071VERSION=0.0.1
     4072
     4073#------------------------------------------------------------------------
     4074# Handle the --prefix=... option
     4075#------------------------------------------------------------------------
     4076
     4077if test "${prefix}" = "NONE"; then
     4078    prefix=/usr/local
     4079fi
     4080if test "${exec_prefix}" = "NONE"; then
     4081    exec_prefix=$prefix
     4082fi
     4083
     4084if test "x${incdir}" == "x"; then
     4085  incdir=${exec_prefix}/include
     4086fi
     4087libdir=${exec_prefix}/lib
     4088
     4089if test "${libdir}" != "${prefix}/lib"; then
     4090    LIB_SEARCH_DIRS="-L ${prefix}/lib -L ${libdir}"
     4091else
     4092    LIB_SEARCH_DIRS="-L ${libdir}"
     4093fi
     4094
     4095if test -n "$ac_tool_prefix"; then
     4096  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
     4097set dummy ${ac_tool_prefix}ranlib; ac_word=$2
     4098{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4099$as_echo_n "checking for $ac_word... " >&6; }
     4100if ${ac_cv_prog_RANLIB+:} false; then :
     4101  $as_echo_n "(cached) " >&6
     4102else
     4103  if test -n "$RANLIB"; then
     4104  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
     4105else
     4106as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4107for as_dir in $PATH
     4108do
     4109  IFS=$as_save_IFS
     4110  test -z "$as_dir" && as_dir=.
     4111    for ac_exec_ext in '' $ac_executable_extensions; do
     4112  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4113    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
     4114    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4115    break 2
     4116  fi
     4117done
     4118  done
     4119IFS=$as_save_IFS
     4120
     4121fi
     4122fi
     4123RANLIB=$ac_cv_prog_RANLIB
     4124if test -n "$RANLIB"; then
     4125  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     4126$as_echo "$RANLIB" >&6; }
     4127else
     4128  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4129$as_echo "no" >&6; }
     4130fi
     4131
     4132
     4133fi
     4134if test -z "$ac_cv_prog_RANLIB"; then
     4135  ac_ct_RANLIB=$RANLIB
     4136  # Extract the first word of "ranlib", so it can be a program name with args.
     4137set dummy ranlib; ac_word=$2
     4138{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4139$as_echo_n "checking for $ac_word... " >&6; }
     4140if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     4141  $as_echo_n "(cached) " >&6
     4142else
     4143  if test -n "$ac_ct_RANLIB"; then
     4144  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
     4145else
     4146as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     4147for as_dir in $PATH
     4148do
     4149  IFS=$as_save_IFS
     4150  test -z "$as_dir" && as_dir=.
     4151    for ac_exec_ext in '' $ac_executable_extensions; do
     4152  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
     4153    ac_cv_prog_ac_ct_RANLIB="ranlib"
     4154    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4155    break 2
     4156  fi
     4157done
     4158  done
     4159IFS=$as_save_IFS
     4160
     4161fi
     4162fi
     4163ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
     4164if test -n "$ac_ct_RANLIB"; then
     4165  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     4166$as_echo "$ac_ct_RANLIB" >&6; }
     4167else
     4168  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4169$as_echo "no" >&6; }
     4170fi
     4171
     4172  if test "x$ac_ct_RANLIB" = x; then
     4173    RANLIB=":"
     4174  else
     4175    case $cross_compiling:$ac_tool_warned in
     4176yes:)
     4177{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     4178$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     4179ac_tool_warned=yes ;;
     4180esac
     4181    RANLIB=$ac_ct_RANLIB
     4182  fi
     4183else
     4184  RANLIB="$ac_cv_prog_RANLIB"
     4185fi
     4186
     4187
    35984188
    35994189    # Step 0.a: Enable 64 bit support?
    36004190
    3601     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     4191    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
    36024192$as_echo_n "checking if 64bit support is requested... " >&6; }
    36034193    # Check whether --enable-64bit was given.
    3604 if test "${enable_64bit+set}" = set; then
     4194if test "${enable_64bit+set}" = set; then :
    36054195  enableval=$enable_64bit; do64bit=$enableval
    36064196else
     
    36084198fi
    36094199
    3610     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
     4200    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
    36114201$as_echo "$do64bit" >&6; }
    36124202
    36134203    # Step 0.b: Enable Solaris 64 bit VIS support?
    36144204
    3615     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     4205    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
    36164206$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    36174207    # Check whether --enable-64bit-vis was given.
    3618 if test "${enable_64bit_vis+set}" = set; then
     4208if test "${enable_64bit_vis+set}" = set; then :
    36194209  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    36204210else
     
    36224212fi
    36234213
    3624     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     4214    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
    36254215$as_echo "$do64bitVIS" >&6; }
    36264216
     
    36344224
    36354225
    3636     { $as_echo "$as_me:$LINENO: checking system version" >&5
     4226    { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
    36374227$as_echo_n "checking system version... " >&6; }
    3638 if test "${tcl_cv_sys_version+set}" = set; then
     4228if ${tcl_cv_sys_version+:} false; then :
    36394229  $as_echo_n "(cached) " >&6
    36404230else
     
    36454235            tcl_cv_sys_version=`uname -s`-`uname -r`
    36464236            if test "$?" -ne 0 ; then
    3647                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     4237                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
    36484238$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    36494239                tcl_cv_sys_version=unknown
     
    36624252
    36634253fi
    3664 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     4254{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
    36654255$as_echo "$tcl_cv_sys_version" >&6; }
    36664256    system=$tcl_cv_sys_version
     
    36704260    # Linux can use either -ldl or -ldld for dynamic loading.
    36714261
    3672     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     4262    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
    36734263$as_echo_n "checking for dlopen in -ldl... " >&6; }
    3674 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
     4264if ${ac_cv_lib_dl_dlopen+:} false; then :
    36754265  $as_echo_n "(cached) " >&6
    36764266else
    36774267  ac_check_lib_save_LIBS=$LIBS
    36784268LIBS="-ldl  $LIBS"
    3679 cat >conftest.$ac_ext <<_ACEOF
    3680 /* confdefs.h.  */
    3681 _ACEOF
    3682 cat confdefs.h >>conftest.$ac_ext
    3683 cat >>conftest.$ac_ext <<_ACEOF
     4269cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    36844270/* end confdefs.h.  */
    36854271
     
    36994285}
    37004286_ACEOF
    3701 rm -f conftest.$ac_objext conftest$ac_exeext
    3702 if { (ac_try="$ac_link"
    3703 case "(($ac_try" in
    3704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3705   *) ac_try_echo=$ac_try;;
    3706 esac
    3707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3708 $as_echo "$ac_try_echo") >&5
    3709   (eval "$ac_link") 2>conftest.er1
    3710   ac_status=$?
    3711   grep -v '^ *+' conftest.er1 >conftest.err
    3712   rm -f conftest.er1
    3713   cat conftest.err >&5
    3714   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3715   (exit $ac_status); } && {
    3716          test -z "$ac_c_werror_flag" ||
    3717          test ! -s conftest.err
    3718        } && test -s conftest$ac_exeext && {
    3719          test "$cross_compiling" = yes ||
    3720          $as_test_x conftest$ac_exeext
    3721        }; then
     4287if ac_fn_c_try_link "$LINENO"; then :
    37224288  ac_cv_lib_dl_dlopen=yes
    37234289else
    3724   $as_echo "$as_me: failed program was:" >&5
    3725 sed 's/^/| /' conftest.$ac_ext >&5
    3726 
    3727         ac_cv_lib_dl_dlopen=no
    3728 fi
    3729 
    3730 rm -rf conftest.dSYM
    3731 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3732       conftest$ac_exeext conftest.$ac_ext
     4290  ac_cv_lib_dl_dlopen=no
     4291fi
     4292rm -f core conftest.err conftest.$ac_objext \
     4293    conftest$ac_exeext conftest.$ac_ext
    37334294LIBS=$ac_check_lib_save_LIBS
    37344295fi
    3735 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     4296{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
    37364297$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    3737 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     4298if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
    37384299  have_dl=yes
    37394300else
     
    37674328    # Extract the first word of "ar", so it can be a program name with args.
    37684329set dummy ar; ac_word=$2
    3769 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     4330{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    37704331$as_echo_n "checking for $ac_word... " >&6; }
    3771 if test "${ac_cv_prog_AR+set}" = set; then
     4332if ${ac_cv_prog_AR+:} false; then :
    37724333  $as_echo_n "(cached) " >&6
    37734334else
     
    37804341  IFS=$as_save_IFS
    37814342  test -z "$as_dir" && as_dir=.
    3782   for ac_exec_ext in '' $ac_executable_extensions; do
     4343    for ac_exec_ext in '' $ac_executable_extensions; do
    37834344  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37844345    ac_cv_prog_AR="ar"
    3785     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     4346    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    37864347    break 2
    37874348  fi
    37884349done
    3789 done
     4350  done
    37904351IFS=$as_save_IFS
    37914352
     
    37944355AR=$ac_cv_prog_AR
    37954356if test -n "$AR"; then
    3796   { $as_echo "$as_me:$LINENO: result: $AR" >&5
     4357  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
    37974358$as_echo "$AR" >&6; }
    37984359else
    3799   { $as_echo "$as_me:$LINENO: result: no" >&5
     4360  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    38004361$as_echo "no" >&6; }
    38014362fi
     
    38034364
    38044365    if test "${AR}" = "" ; then
    3805         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    3806 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    3807    { (exit 1); exit 1; }; }
     4366        as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
    38084367    fi
    38094368    STLIB_LD='${AR} cr'
     
    38234382                        ;;
    38244383                esac
    3825                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     4384                { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
    38264385$as_echo "Using $CC for compiling with threads" >&6; }
    38274386            fi
     
    38394398            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    38404399                if test "$GCC" = "yes" ; then
    3841                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4400                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    38424401$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    38434402                else
     
    38944453            # known GMT value.
    38954454
    3896             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     4455            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
    38974456$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    3898 if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
     4457if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
    38994458  $as_echo_n "(cached) " >&6
    39004459else
    39014460  ac_check_lib_save_LIBS=$LIBS
    39024461LIBS="-lbsd  $LIBS"
    3903 cat >conftest.$ac_ext <<_ACEOF
    3904 /* confdefs.h.  */
    3905 _ACEOF
    3906 cat confdefs.h >>conftest.$ac_ext
    3907 cat >>conftest.$ac_ext <<_ACEOF
     4462cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    39084463/* end confdefs.h.  */
    39094464
     
    39234478}
    39244479_ACEOF
    3925 rm -f conftest.$ac_objext conftest$ac_exeext
    3926 if { (ac_try="$ac_link"
    3927 case "(($ac_try" in
    3928   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3929   *) ac_try_echo=$ac_try;;
    3930 esac
    3931 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3932 $as_echo "$ac_try_echo") >&5
    3933   (eval "$ac_link") 2>conftest.er1
    3934   ac_status=$?
    3935   grep -v '^ *+' conftest.er1 >conftest.err
    3936   rm -f conftest.er1
    3937   cat conftest.err >&5
    3938   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    3939   (exit $ac_status); } && {
    3940          test -z "$ac_c_werror_flag" ||
    3941          test ! -s conftest.err
    3942        } && test -s conftest$ac_exeext && {
    3943          test "$cross_compiling" = yes ||
    3944          $as_test_x conftest$ac_exeext
    3945        }; then
     4480if ac_fn_c_try_link "$LINENO"; then :
    39464481  ac_cv_lib_bsd_gettimeofday=yes
    39474482else
    3948   $as_echo "$as_me: failed program was:" >&5
    3949 sed 's/^/| /' conftest.$ac_ext >&5
    3950 
    3951         ac_cv_lib_bsd_gettimeofday=no
    3952 fi
    3953 
    3954 rm -rf conftest.dSYM
    3955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    3956       conftest$ac_exeext conftest.$ac_ext
     4483  ac_cv_lib_bsd_gettimeofday=no
     4484fi
     4485rm -f core conftest.err conftest.$ac_objext \
     4486    conftest$ac_exeext conftest.$ac_ext
    39574487LIBS=$ac_check_lib_save_LIBS
    39584488fi
    3959 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4489{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
    39604490$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    3961 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     4491if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
    39624492  libbsd=yes
    39634493else
     
    39674497            if test $libbsd = yes; then
    39684498                MATH_LIBS="$MATH_LIBS -lbsd"
    3969                 cat >>confdefs.h <<\_ACEOF
    3970 #define USE_DELTA_FOR_TZ 1
    3971 _ACEOF
     4499                $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
    39724500
    39734501            fi
     
    39864514            # is always linked to, for compatibility.
    39874515            #-----------------------------------------------------------
    3988             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     4516            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
    39894517$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    3990 if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
     4518if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
    39914519  $as_echo_n "(cached) " >&6
    39924520else
    39934521  ac_check_lib_save_LIBS=$LIBS
    39944522LIBS="-lbind  $LIBS"
    3995 cat >conftest.$ac_ext <<_ACEOF
    3996 /* confdefs.h.  */
    3997 _ACEOF
    3998 cat confdefs.h >>conftest.$ac_ext
    3999 cat >>conftest.$ac_ext <<_ACEOF
     4523cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    40004524/* end confdefs.h.  */
    40014525
     
    40154539}
    40164540_ACEOF
    4017 rm -f conftest.$ac_objext conftest$ac_exeext
    4018 if { (ac_try="$ac_link"
    4019 case "(($ac_try" in
    4020   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4021   *) ac_try_echo=$ac_try;;
    4022 esac
    4023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4024 $as_echo "$ac_try_echo") >&5
    4025   (eval "$ac_link") 2>conftest.er1
    4026   ac_status=$?
    4027   grep -v '^ *+' conftest.er1 >conftest.err
    4028   rm -f conftest.er1
    4029   cat conftest.err >&5
    4030   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4031   (exit $ac_status); } && {
    4032          test -z "$ac_c_werror_flag" ||
    4033          test ! -s conftest.err
    4034        } && test -s conftest$ac_exeext && {
    4035          test "$cross_compiling" = yes ||
    4036          $as_test_x conftest$ac_exeext
    4037        }; then
     4541if ac_fn_c_try_link "$LINENO"; then :
    40384542  ac_cv_lib_bind_inet_ntoa=yes
    40394543else
    4040   $as_echo "$as_me: failed program was:" >&5
    4041 sed 's/^/| /' conftest.$ac_ext >&5
    4042 
    4043         ac_cv_lib_bind_inet_ntoa=no
    4044 fi
    4045 
    4046 rm -rf conftest.dSYM
    4047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4048       conftest$ac_exeext conftest.$ac_ext
     4544  ac_cv_lib_bind_inet_ntoa=no
     4545fi
     4546rm -f core conftest.err conftest.$ac_objext \
     4547    conftest$ac_exeext conftest.$ac_ext
    40494548LIBS=$ac_check_lib_save_LIBS
    40504549fi
    4051 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4550{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
    40524551$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4053 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     4552if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
    40544553  LIBS="$LIBS -lbind -lsocket"
    40554554fi
     
    40894588        HP-UX-*.11.*)
    40904589            # Use updated header definitions where possible
    4091             cat >>confdefs.h <<\_ACEOF
    4092 #define _XOPEN_SOURCE 1
    4093 _ACEOF
     4590            $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
    40944591          # Use the XOPEN network library
    4095             cat >>confdefs.h <<\_ACEOF
    4096 #define _XOPEN_SOURCE_EXTENDED 1
    4097 _ACEOF
     4592            $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
    40984593 # Use the XOPEN network library
    40994594            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    41044599                SHLIB_SUFFIX=".sl"
    41054600            fi
    4106             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4601            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    41074602$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4108 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4603if ${ac_cv_lib_dld_shl_load+:} false; then :
    41094604  $as_echo_n "(cached) " >&6
    41104605else
    41114606  ac_check_lib_save_LIBS=$LIBS
    41124607LIBS="-ldld  $LIBS"
    4113 cat >conftest.$ac_ext <<_ACEOF
    4114 /* confdefs.h.  */
    4115 _ACEOF
    4116 cat confdefs.h >>conftest.$ac_ext
    4117 cat >>conftest.$ac_ext <<_ACEOF
     4608cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    41184609/* end confdefs.h.  */
    41194610
     
    41334624}
    41344625_ACEOF
    4135 rm -f conftest.$ac_objext conftest$ac_exeext
    4136 if { (ac_try="$ac_link"
    4137 case "(($ac_try" in
    4138   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4139   *) ac_try_echo=$ac_try;;
    4140 esac
    4141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4142 $as_echo "$ac_try_echo") >&5
    4143   (eval "$ac_link") 2>conftest.er1
    4144   ac_status=$?
    4145   grep -v '^ *+' conftest.er1 >conftest.err
    4146   rm -f conftest.er1
    4147   cat conftest.err >&5
    4148   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4149   (exit $ac_status); } && {
    4150          test -z "$ac_c_werror_flag" ||
    4151          test ! -s conftest.err
    4152        } && test -s conftest$ac_exeext && {
    4153          test "$cross_compiling" = yes ||
    4154          $as_test_x conftest$ac_exeext
    4155        }; then
     4626if ac_fn_c_try_link "$LINENO"; then :
    41564627  ac_cv_lib_dld_shl_load=yes
    41574628else
    4158   $as_echo "$as_me: failed program was:" >&5
    4159 sed 's/^/| /' conftest.$ac_ext >&5
    4160 
    4161         ac_cv_lib_dld_shl_load=no
    4162 fi
    4163 
    4164 rm -rf conftest.dSYM
    4165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4166       conftest$ac_exeext conftest.$ac_ext
     4629  ac_cv_lib_dld_shl_load=no
     4630fi
     4631rm -f core conftest.err conftest.$ac_objext \
     4632    conftest$ac_exeext conftest.$ac_ext
    41674633LIBS=$ac_check_lib_save_LIBS
    41684634fi
    4169 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    41704636$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4171 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4637if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    41724638  tcl_ok=yes
    41734639else
     
    42094675                            ;;
    42104676                        *)
    4211                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4677                            { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    42124678$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    42134679                            ;;
     
    42224688        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    42234689            SHLIB_SUFFIX=".sl"
    4224             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4690            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
    42254691$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4226 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
     4692if ${ac_cv_lib_dld_shl_load+:} false; then :
    42274693  $as_echo_n "(cached) " >&6
    42284694else
    42294695  ac_check_lib_save_LIBS=$LIBS
    42304696LIBS="-ldld  $LIBS"
    4231 cat >conftest.$ac_ext <<_ACEOF
    4232 /* confdefs.h.  */
    4233 _ACEOF
    4234 cat confdefs.h >>conftest.$ac_ext
    4235 cat >>conftest.$ac_ext <<_ACEOF
     4697cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    42364698/* end confdefs.h.  */
    42374699
     
    42514713}
    42524714_ACEOF
    4253 rm -f conftest.$ac_objext conftest$ac_exeext
    4254 if { (ac_try="$ac_link"
    4255 case "(($ac_try" in
    4256   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4257   *) ac_try_echo=$ac_try;;
    4258 esac
    4259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4260 $as_echo "$ac_try_echo") >&5
    4261   (eval "$ac_link") 2>conftest.er1
    4262   ac_status=$?
    4263   grep -v '^ *+' conftest.er1 >conftest.err
    4264   rm -f conftest.er1
    4265   cat conftest.err >&5
    4266   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4267   (exit $ac_status); } && {
    4268          test -z "$ac_c_werror_flag" ||
    4269          test ! -s conftest.err
    4270        } && test -s conftest$ac_exeext && {
    4271          test "$cross_compiling" = yes ||
    4272          $as_test_x conftest$ac_exeext
    4273        }; then
     4715if ac_fn_c_try_link "$LINENO"; then :
    42744716  ac_cv_lib_dld_shl_load=yes
    42754717else
    4276   $as_echo "$as_me: failed program was:" >&5
    4277 sed 's/^/| /' conftest.$ac_ext >&5
    4278 
    4279         ac_cv_lib_dld_shl_load=no
    4280 fi
    4281 
    4282 rm -rf conftest.dSYM
    4283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4284       conftest$ac_exeext conftest.$ac_ext
     4718  ac_cv_lib_dld_shl_load=no
     4719fi
     4720rm -f core conftest.err conftest.$ac_objext \
     4721    conftest$ac_exeext conftest.$ac_ext
    42854722LIBS=$ac_check_lib_save_LIBS
    42864723fi
    4287 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4724{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
    42884725$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4289 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4726if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
    42904727  tcl_ok=yes
    42914728else
     
    43664803            if test "$do64bit" = "yes" ; then
    43674804                if test "$GCC" = "yes" ; then
    4368                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4805                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
    43694806$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    43704807                else
     
    43954832                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    43964833            else
    4397                 if test "${ac_cv_header_dld_h+set}" = set; then
    4398   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4399 $as_echo_n "checking for dld.h... " >&6; }
    4400 if test "${ac_cv_header_dld_h+set}" = set; then
    4401   $as_echo_n "(cached) " >&6
    4402 fi
    4403 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4404 $as_echo "$ac_cv_header_dld_h" >&6; }
    4405 else
    4406   # Is the header compilable?
    4407 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4408 $as_echo_n "checking dld.h usability... " >&6; }
    4409 cat >conftest.$ac_ext <<_ACEOF
    4410 /* confdefs.h.  */
    4411 _ACEOF
    4412 cat confdefs.h >>conftest.$ac_ext
    4413 cat >>conftest.$ac_ext <<_ACEOF
    4414 /* end confdefs.h.  */
    4415 $ac_includes_default
    4416 #include <dld.h>
    4417 _ACEOF
    4418 rm -f conftest.$ac_objext
    4419 if { (ac_try="$ac_compile"
    4420 case "(($ac_try" in
    4421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4422   *) ac_try_echo=$ac_try;;
    4423 esac
    4424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4425 $as_echo "$ac_try_echo") >&5
    4426   (eval "$ac_compile") 2>conftest.er1
    4427   ac_status=$?
    4428   grep -v '^ *+' conftest.er1 >conftest.err
    4429   rm -f conftest.er1
    4430   cat conftest.err >&5
    4431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4432   (exit $ac_status); } && {
    4433          test -z "$ac_c_werror_flag" ||
    4434          test ! -s conftest.err
    4435        } && test -s conftest.$ac_objext; then
    4436   ac_header_compiler=yes
    4437 else
    4438   $as_echo "$as_me: failed program was:" >&5
    4439 sed 's/^/| /' conftest.$ac_ext >&5
    4440 
    4441         ac_header_compiler=no
    4442 fi
    4443 
    4444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4445 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4446 $as_echo "$ac_header_compiler" >&6; }
    4447 
    4448 # Is the header present?
    4449 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4450 $as_echo_n "checking dld.h presence... " >&6; }
    4451 cat >conftest.$ac_ext <<_ACEOF
    4452 /* confdefs.h.  */
    4453 _ACEOF
    4454 cat confdefs.h >>conftest.$ac_ext
    4455 cat >>conftest.$ac_ext <<_ACEOF
    4456 /* end confdefs.h.  */
    4457 #include <dld.h>
    4458 _ACEOF
    4459 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4460 case "(($ac_try" in
    4461   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4462   *) ac_try_echo=$ac_try;;
    4463 esac
    4464 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4465 $as_echo "$ac_try_echo") >&5
    4466   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4467   ac_status=$?
    4468   grep -v '^ *+' conftest.er1 >conftest.err
    4469   rm -f conftest.er1
    4470   cat conftest.err >&5
    4471   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4472   (exit $ac_status); } >/dev/null && {
    4473          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4474          test ! -s conftest.err
    4475        }; then
    4476   ac_header_preproc=yes
    4477 else
    4478   $as_echo "$as_me: failed program was:" >&5
    4479 sed 's/^/| /' conftest.$ac_ext >&5
    4480 
    4481   ac_header_preproc=no
    4482 fi
    4483 
    4484 rm -f conftest.err conftest.$ac_ext
    4485 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4486 $as_echo "$ac_header_preproc" >&6; }
    4487 
    4488 # So?  What about this header?
    4489 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4490   yes:no: )
    4491     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4492 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4493     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4494 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4495     ac_header_preproc=yes
    4496     ;;
    4497   no:yes:* )
    4498     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4499 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4500     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4501 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4502     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4503 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4504     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4505 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4506     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4507 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4508     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4509 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4510     ( cat <<\_ASBOX
    4511 ## ----------------------------------- ##
    4512 ## Report this to rappture@nanohub.org ##
    4513 ## ----------------------------------- ##
    4514 _ASBOX
    4515      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4516     ;;
    4517 esac
    4518 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4519 $as_echo_n "checking for dld.h... " >&6; }
    4520 if test "${ac_cv_header_dld_h+set}" = set; then
    4521   $as_echo_n "(cached) " >&6
    4522 else
    4523   ac_cv_header_dld_h=$ac_header_preproc
    4524 fi
    4525 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4526 $as_echo "$ac_cv_header_dld_h" >&6; }
    4527 
    4528 fi
    4529 if test "x$ac_cv_header_dld_h" = x""yes; then
     4834                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4835if test "x$ac_cv_header_dld_h" = xyes; then :
    45304836
    45314837                    SHLIB_LD="ld -shared"
     
    45424848            fi
    45434849            if test $do64bit = yes; then
    4544                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4850                { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
    45454851$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4546 if test "${tcl_cv_cc_m64+set}" = set; then
     4852if ${tcl_cv_cc_m64+:} false; then :
    45474853  $as_echo_n "(cached) " >&6
    45484854else
     
    45504856                    hold_cflags=$CFLAGS
    45514857                    CFLAGS="$CFLAGS -m64"
    4552                     cat >conftest.$ac_ext <<_ACEOF
    4553 /* confdefs.h.  */
    4554 _ACEOF
    4555 cat confdefs.h >>conftest.$ac_ext
    4556 cat >>conftest.$ac_ext <<_ACEOF
     4858                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    45574859/* end confdefs.h.  */
    45584860
     
    45654867}
    45664868_ACEOF
    4567 rm -f conftest.$ac_objext conftest$ac_exeext
    4568 if { (ac_try="$ac_link"
    4569 case "(($ac_try" in
    4570   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4571   *) ac_try_echo=$ac_try;;
    4572 esac
    4573 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4574 $as_echo "$ac_try_echo") >&5
    4575   (eval "$ac_link") 2>conftest.er1
    4576   ac_status=$?
    4577   grep -v '^ *+' conftest.er1 >conftest.err
    4578   rm -f conftest.er1
    4579   cat conftest.err >&5
    4580   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4581   (exit $ac_status); } && {
    4582          test -z "$ac_c_werror_flag" ||
    4583          test ! -s conftest.err
    4584        } && test -s conftest$ac_exeext && {
    4585          test "$cross_compiling" = yes ||
    4586          $as_test_x conftest$ac_exeext
    4587        }; then
     4869if ac_fn_c_try_link "$LINENO"; then :
    45884870  tcl_cv_cc_m64=yes
    45894871else
    4590   $as_echo "$as_me: failed program was:" >&5
    4591 sed 's/^/| /' conftest.$ac_ext >&5
    4592 
    4593         tcl_cv_cc_m64=no
    4594 fi
    4595 
    4596 rm -rf conftest.dSYM
    4597 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    4598       conftest$ac_exeext conftest.$ac_ext
     4872  tcl_cv_cc_m64=no
     4873fi
     4874rm -f core conftest.err conftest.$ac_objext \
     4875    conftest$ac_exeext conftest.$ac_ext
    45994876                    CFLAGS=$hold_cflags
    46004877fi
    4601 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4878{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
    46024879$as_echo "$tcl_cv_cc_m64" >&6; }
    46034880                if test $tcl_cv_cc_m64 = yes; then
     
    46194896
    46204897            # XIM peeking works under XFree86.
    4621             cat >>confdefs.h <<\_ACEOF
    4622 #define PEEK_XCLOSEIM 1
    4623 _ACEOF
     4898            $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
    46244899
    46254900
     
    46384913                LD_SEARCH_FLAGS=""
    46394914            else
    4640                 if test "${ac_cv_header_dld_h+set}" = set; then
    4641   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4642 $as_echo_n "checking for dld.h... " >&6; }
    4643 if test "${ac_cv_header_dld_h+set}" = set; then
    4644   $as_echo_n "(cached) " >&6
    4645 fi
    4646 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4647 $as_echo "$ac_cv_header_dld_h" >&6; }
    4648 else
    4649   # Is the header compilable?
    4650 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4651 $as_echo_n "checking dld.h usability... " >&6; }
    4652 cat >conftest.$ac_ext <<_ACEOF
    4653 /* confdefs.h.  */
    4654 _ACEOF
    4655 cat confdefs.h >>conftest.$ac_ext
    4656 cat >>conftest.$ac_ext <<_ACEOF
    4657 /* end confdefs.h.  */
    4658 $ac_includes_default
    4659 #include <dld.h>
    4660 _ACEOF
    4661 rm -f conftest.$ac_objext
    4662 if { (ac_try="$ac_compile"
    4663 case "(($ac_try" in
    4664   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4665   *) ac_try_echo=$ac_try;;
    4666 esac
    4667 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4668 $as_echo "$ac_try_echo") >&5
    4669   (eval "$ac_compile") 2>conftest.er1
    4670   ac_status=$?
    4671   grep -v '^ *+' conftest.er1 >conftest.err
    4672   rm -f conftest.er1
    4673   cat conftest.err >&5
    4674   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4675   (exit $ac_status); } && {
    4676          test -z "$ac_c_werror_flag" ||
    4677          test ! -s conftest.err
    4678        } && test -s conftest.$ac_objext; then
    4679   ac_header_compiler=yes
    4680 else
    4681   $as_echo "$as_me: failed program was:" >&5
    4682 sed 's/^/| /' conftest.$ac_ext >&5
    4683 
    4684         ac_header_compiler=no
    4685 fi
    4686 
    4687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4688 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4689 $as_echo "$ac_header_compiler" >&6; }
    4690 
    4691 # Is the header present?
    4692 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4693 $as_echo_n "checking dld.h presence... " >&6; }
    4694 cat >conftest.$ac_ext <<_ACEOF
    4695 /* confdefs.h.  */
    4696 _ACEOF
    4697 cat confdefs.h >>conftest.$ac_ext
    4698 cat >>conftest.$ac_ext <<_ACEOF
    4699 /* end confdefs.h.  */
    4700 #include <dld.h>
    4701 _ACEOF
    4702 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4703 case "(($ac_try" in
    4704   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4705   *) ac_try_echo=$ac_try;;
    4706 esac
    4707 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4708 $as_echo "$ac_try_echo") >&5
    4709   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4710   ac_status=$?
    4711   grep -v '^ *+' conftest.er1 >conftest.err
    4712   rm -f conftest.er1
    4713   cat conftest.err >&5
    4714   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4715   (exit $ac_status); } >/dev/null && {
    4716          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4717          test ! -s conftest.err
    4718        }; then
    4719   ac_header_preproc=yes
    4720 else
    4721   $as_echo "$as_me: failed program was:" >&5
    4722 sed 's/^/| /' conftest.$ac_ext >&5
    4723 
    4724   ac_header_preproc=no
    4725 fi
    4726 
    4727 rm -f conftest.err conftest.$ac_ext
    4728 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4729 $as_echo "$ac_header_preproc" >&6; }
    4730 
    4731 # So?  What about this header?
    4732 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4733   yes:no: )
    4734     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4735 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4736     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4737 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    4738     ac_header_preproc=yes
    4739     ;;
    4740   no:yes:* )
    4741     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4742 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4743     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4744 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4745     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4746 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4747     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4748 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4749     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4750 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4751     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4752 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    4753     ( cat <<\_ASBOX
    4754 ## ----------------------------------- ##
    4755 ## Report this to rappture@nanohub.org ##
    4756 ## ----------------------------------- ##
    4757 _ASBOX
    4758      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4759     ;;
    4760 esac
    4761 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4762 $as_echo_n "checking for dld.h... " >&6; }
    4763 if test "${ac_cv_header_dld_h+set}" = set; then
    4764   $as_echo_n "(cached) " >&6
    4765 else
    4766   ac_cv_header_dld_h=$ac_header_preproc
    4767 fi
    4768 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4769 $as_echo "$ac_cv_header_dld_h" >&6; }
    4770 
    4771 fi
    4772 if test "x$ac_cv_header_dld_h" = x""yes; then
     4915                ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
     4916if test "x$ac_cv_header_dld_h" = xyes; then :
    47734917
    47744918                    SHLIB_LD="ld -shared"
     
    48204964        NetBSD-*|FreeBSD-[1-2].*)
    48214965            # Not available on all versions:  check for include file.
    4822             if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4823   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4824 $as_echo_n "checking for dlfcn.h... " >&6; }
    4825 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4826   $as_echo_n "(cached) " >&6
    4827 fi
    4828 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4829 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4830 else
    4831   # Is the header compilable?
    4832 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    4833 $as_echo_n "checking dlfcn.h usability... " >&6; }
    4834 cat >conftest.$ac_ext <<_ACEOF
    4835 /* confdefs.h.  */
    4836 _ACEOF
    4837 cat confdefs.h >>conftest.$ac_ext
    4838 cat >>conftest.$ac_ext <<_ACEOF
    4839 /* end confdefs.h.  */
    4840 $ac_includes_default
    4841 #include <dlfcn.h>
    4842 _ACEOF
    4843 rm -f conftest.$ac_objext
    4844 if { (ac_try="$ac_compile"
    4845 case "(($ac_try" in
    4846   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4847   *) ac_try_echo=$ac_try;;
    4848 esac
    4849 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4850 $as_echo "$ac_try_echo") >&5
    4851   (eval "$ac_compile") 2>conftest.er1
    4852   ac_status=$?
    4853   grep -v '^ *+' conftest.er1 >conftest.err
    4854   rm -f conftest.er1
    4855   cat conftest.err >&5
    4856   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4857   (exit $ac_status); } && {
    4858          test -z "$ac_c_werror_flag" ||
    4859          test ! -s conftest.err
    4860        } && test -s conftest.$ac_objext; then
    4861   ac_header_compiler=yes
    4862 else
    4863   $as_echo "$as_me: failed program was:" >&5
    4864 sed 's/^/| /' conftest.$ac_ext >&5
    4865 
    4866         ac_header_compiler=no
    4867 fi
    4868 
    4869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4870 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4871 $as_echo "$ac_header_compiler" >&6; }
    4872 
    4873 # Is the header present?
    4874 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    4875 $as_echo_n "checking dlfcn.h presence... " >&6; }
    4876 cat >conftest.$ac_ext <<_ACEOF
    4877 /* confdefs.h.  */
    4878 _ACEOF
    4879 cat confdefs.h >>conftest.$ac_ext
    4880 cat >>conftest.$ac_ext <<_ACEOF
    4881 /* end confdefs.h.  */
    4882 #include <dlfcn.h>
    4883 _ACEOF
    4884 if { (ac_try="$ac_cpp conftest.$ac_ext"
    4885 case "(($ac_try" in
    4886   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    4887   *) ac_try_echo=$ac_try;;
    4888 esac
    4889 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4890 $as_echo "$ac_try_echo") >&5
    4891   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    4892   ac_status=$?
    4893   grep -v '^ *+' conftest.er1 >conftest.err
    4894   rm -f conftest.er1
    4895   cat conftest.err >&5
    4896   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    4897   (exit $ac_status); } >/dev/null && {
    4898          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    4899          test ! -s conftest.err
    4900        }; then
    4901   ac_header_preproc=yes
    4902 else
    4903   $as_echo "$as_me: failed program was:" >&5
    4904 sed 's/^/| /' conftest.$ac_ext >&5
    4905 
    4906   ac_header_preproc=no
    4907 fi
    4908 
    4909 rm -f conftest.err conftest.$ac_ext
    4910 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4911 $as_echo "$ac_header_preproc" >&6; }
    4912 
    4913 # So?  What about this header?
    4914 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    4915   yes:no: )
    4916     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4917 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4918     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    4919 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    4920     ac_header_preproc=yes
    4921     ;;
    4922   no:yes:* )
    4923     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    4924 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    4925     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    4926 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    4927     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    4928 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    4929     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    4930 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4931     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    4932 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    4933     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    4934 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    4935     ( cat <<\_ASBOX
    4936 ## ----------------------------------- ##
    4937 ## Report this to rappture@nanohub.org ##
    4938 ## ----------------------------------- ##
    4939 _ASBOX
    4940      ) | sed "s/^/$as_me: WARNING:     /" >&2
    4941     ;;
    4942 esac
    4943 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4944 $as_echo_n "checking for dlfcn.h... " >&6; }
    4945 if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4946   $as_echo_n "(cached) " >&6
    4947 else
    4948   ac_cv_header_dlfcn_h=$ac_header_preproc
    4949 fi
    4950 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4951 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4952 
    4953 fi
    4954 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4966            ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
     4967if test "x$ac_cv_header_dlfcn_h" = xyes; then :
    49554968
    49564969                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    49634976                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    49644977                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4965                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     4978                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    49664979$as_echo_n "checking for ELF... " >&6; }
    4967 if test "${tcl_cv_ld_elf+set}" = set; then
     4980if ${tcl_cv_ld_elf+:} false; then :
    49684981  $as_echo_n "(cached) " >&6
    49694982else
    49704983
    4971                     cat >conftest.$ac_ext <<_ACEOF
    4972 /* confdefs.h.  */
    4973 _ACEOF
    4974 cat confdefs.h >>conftest.$ac_ext
    4975 cat >>conftest.$ac_ext <<_ACEOF
     4984                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    49764985/* end confdefs.h.  */
    49774986
     
    49824991_ACEOF
    49834992if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4984   $EGREP "yes" >/dev/null 2>&1; then
     4993  $EGREP "yes" >/dev/null 2>&1; then :
    49854994  tcl_cv_ld_elf=yes
    49864995else
     
    49904999
    49915000fi
    4992 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5001{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    49935002$as_echo "$tcl_cv_ld_elf" >&6; }
    49945003                if test $tcl_cv_ld_elf = yes; then
     
    50495058                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    50505059                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5051                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
     5060                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
    50525061$as_echo_n "checking for ELF... " >&6; }
    5053 if test "${tcl_cv_ld_elf+set}" = set; then
     5062if ${tcl_cv_ld_elf+:} false; then :
    50545063  $as_echo_n "(cached) " >&6
    50555064else
    50565065
    5057                     cat >conftest.$ac_ext <<_ACEOF
    5058 /* confdefs.h.  */
    5059 _ACEOF
    5060 cat confdefs.h >>conftest.$ac_ext
    5061 cat >>conftest.$ac_ext <<_ACEOF
     5066                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    50625067/* end confdefs.h.  */
    50635068
     
    50685073_ACEOF
    50695074if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5070   $EGREP "yes" >/dev/null 2>&1; then
     5075  $EGREP "yes" >/dev/null 2>&1; then :
    50715076  tcl_cv_ld_elf=yes
    50725077else
     
    50765081
    50775082fi
    5078 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     5083{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
    50795084$as_echo "$tcl_cv_ld_elf" >&6; }
    50805085                if test $tcl_cv_ld_elf = yes; then
     
    51315136                case `arch` in
    51325137                    ppc)
    5133                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     5138                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
    51345139$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5135 if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
     5140if ${tcl_cv_cc_arch_ppc64+:} false; then :
    51365141  $as_echo_n "(cached) " >&6
    51375142else
     
    51395144                            hold_cflags=$CFLAGS
    51405145                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5141                             cat >conftest.$ac_ext <<_ACEOF
    5142 /* confdefs.h.  */
    5143 _ACEOF
    5144 cat confdefs.h >>conftest.$ac_ext
    5145 cat >>conftest.$ac_ext <<_ACEOF
     5146                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    51465147/* end confdefs.h.  */
    51475148
     
    51545155}
    51555156_ACEOF
    5156 rm -f conftest.$ac_objext conftest$ac_exeext
    5157 if { (ac_try="$ac_link"
    5158 case "(($ac_try" in
    5159   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5160   *) ac_try_echo=$ac_try;;
    5161 esac
    5162 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5163 $as_echo "$ac_try_echo") >&5
    5164   (eval "$ac_link") 2>conftest.er1
    5165   ac_status=$?
    5166   grep -v '^ *+' conftest.er1 >conftest.err
    5167   rm -f conftest.er1
    5168   cat conftest.err >&5
    5169   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5170   (exit $ac_status); } && {
    5171          test -z "$ac_c_werror_flag" ||
    5172          test ! -s conftest.err
    5173        } && test -s conftest$ac_exeext && {
    5174          test "$cross_compiling" = yes ||
    5175          $as_test_x conftest$ac_exeext
    5176        }; then
     5157if ac_fn_c_try_link "$LINENO"; then :
    51775158  tcl_cv_cc_arch_ppc64=yes
    51785159else
    5179   $as_echo "$as_me: failed program was:" >&5
    5180 sed 's/^/| /' conftest.$ac_ext >&5
    5181 
    5182         tcl_cv_cc_arch_ppc64=no
    5183 fi
    5184 
    5185 rm -rf conftest.dSYM
    5186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5187       conftest$ac_exeext conftest.$ac_ext
     5160  tcl_cv_cc_arch_ppc64=no
     5161fi
     5162rm -f core conftest.err conftest.$ac_objext \
     5163    conftest$ac_exeext conftest.$ac_ext
    51885164                            CFLAGS=$hold_cflags
    51895165fi
    5190 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     5166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
    51915167$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    51925168                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    51955171                        fi;;
    51965172                    i386)
    5197                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     5173                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
    51985174$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5199 if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
     5175if ${tcl_cv_cc_arch_x86_64+:} false; then :
    52005176  $as_echo_n "(cached) " >&6
    52015177else
     
    52035179                            hold_cflags=$CFLAGS
    52045180                            CFLAGS="$CFLAGS -arch x86_64"
    5205                             cat >conftest.$ac_ext <<_ACEOF
    5206 /* confdefs.h.  */
    5207 _ACEOF
    5208 cat confdefs.h >>conftest.$ac_ext
    5209 cat >>conftest.$ac_ext <<_ACEOF
     5181                            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52105182/* end confdefs.h.  */
    52115183
     
    52185190}
    52195191_ACEOF
    5220 rm -f conftest.$ac_objext conftest$ac_exeext
    5221 if { (ac_try="$ac_link"
    5222 case "(($ac_try" in
    5223   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5224   *) ac_try_echo=$ac_try;;
    5225 esac
    5226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5227 $as_echo "$ac_try_echo") >&5
    5228   (eval "$ac_link") 2>conftest.er1
    5229   ac_status=$?
    5230   grep -v '^ *+' conftest.er1 >conftest.err
    5231   rm -f conftest.er1
    5232   cat conftest.err >&5
    5233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5234   (exit $ac_status); } && {
    5235          test -z "$ac_c_werror_flag" ||
    5236          test ! -s conftest.err
    5237        } && test -s conftest$ac_exeext && {
    5238          test "$cross_compiling" = yes ||
    5239          $as_test_x conftest$ac_exeext
    5240        }; then
     5192if ac_fn_c_try_link "$LINENO"; then :
    52415193  tcl_cv_cc_arch_x86_64=yes
    52425194else
    5243   $as_echo "$as_me: failed program was:" >&5
    5244 sed 's/^/| /' conftest.$ac_ext >&5
    5245 
    5246         tcl_cv_cc_arch_x86_64=no
    5247 fi
    5248 
    5249 rm -rf conftest.dSYM
    5250 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5251       conftest$ac_exeext conftest.$ac_ext
     5195  tcl_cv_cc_arch_x86_64=no
     5196fi
     5197rm -f core conftest.err conftest.$ac_objext \
     5198    conftest$ac_exeext conftest.$ac_ext
    52525199                            CFLAGS=$hold_cflags
    52535200fi
    5254 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5201{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
    52555202$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    52565203                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    52595206                        fi;;
    52605207                    *)
    5261                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5208                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    52625209$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    52635210                esac
     
    52695216            fi
    52705217            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5271             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5218            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
    52725219$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5273 if test "${tcl_cv_ld_single_module+set}" = set; then
     5220if ${tcl_cv_ld_single_module+:} false; then :
    52745221  $as_echo_n "(cached) " >&6
    52755222else
     
    52775224                hold_ldflags=$LDFLAGS
    52785225                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5279                 cat >conftest.$ac_ext <<_ACEOF
    5280 /* confdefs.h.  */
    5281 _ACEOF
    5282 cat confdefs.h >>conftest.$ac_ext
    5283 cat >>conftest.$ac_ext <<_ACEOF
     5226                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    52845227/* end confdefs.h.  */
    52855228
     
    52925235}
    52935236_ACEOF
    5294 rm -f conftest.$ac_objext conftest$ac_exeext
    5295 if { (ac_try="$ac_link"
    5296 case "(($ac_try" in
    5297   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5298   *) ac_try_echo=$ac_try;;
    5299 esac
    5300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5301 $as_echo "$ac_try_echo") >&5
    5302   (eval "$ac_link") 2>conftest.er1
    5303   ac_status=$?
    5304   grep -v '^ *+' conftest.er1 >conftest.err
    5305   rm -f conftest.er1
    5306   cat conftest.err >&5
    5307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5308   (exit $ac_status); } && {
    5309          test -z "$ac_c_werror_flag" ||
    5310          test ! -s conftest.err
    5311        } && test -s conftest$ac_exeext && {
    5312          test "$cross_compiling" = yes ||
    5313          $as_test_x conftest$ac_exeext
    5314        }; then
     5237if ac_fn_c_try_link "$LINENO"; then :
    53155238  tcl_cv_ld_single_module=yes
    53165239else
    5317   $as_echo "$as_me: failed program was:" >&5
    5318 sed 's/^/| /' conftest.$ac_ext >&5
    5319 
    5320         tcl_cv_ld_single_module=no
    5321 fi
    5322 
    5323 rm -rf conftest.dSYM
    5324 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5325       conftest$ac_exeext conftest.$ac_ext
     5240  tcl_cv_ld_single_module=no
     5241fi
     5242rm -f core conftest.err conftest.$ac_objext \
     5243    conftest$ac_exeext conftest.$ac_ext
    53265244                LDFLAGS=$hold_ldflags
    53275245fi
    5328 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5246{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
    53295247$as_echo "$tcl_cv_ld_single_module" >&6; }
    53305248            if test $tcl_cv_ld_single_module = yes; then
     
    53405258                LDFLAGS="$LDFLAGS -prebind"
    53415259            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5342             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5260            { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
    53435261$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5344 if test "${tcl_cv_ld_search_paths_first+set}" = set; then
     5262if ${tcl_cv_ld_search_paths_first+:} false; then :
    53455263  $as_echo_n "(cached) " >&6
    53465264else
     
    53485266                hold_ldflags=$LDFLAGS
    53495267                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5350                 cat >conftest.$ac_ext <<_ACEOF
    5351 /* confdefs.h.  */
    5352 _ACEOF
    5353 cat confdefs.h >>conftest.$ac_ext
    5354 cat >>conftest.$ac_ext <<_ACEOF
     5268                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    53555269/* end confdefs.h.  */
    53565270
     
    53635277}
    53645278_ACEOF
    5365 rm -f conftest.$ac_objext conftest$ac_exeext
    5366 if { (ac_try="$ac_link"
    5367 case "(($ac_try" in
    5368   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5369   *) ac_try_echo=$ac_try;;
    5370 esac
    5371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5372 $as_echo "$ac_try_echo") >&5
    5373   (eval "$ac_link") 2>conftest.er1
    5374   ac_status=$?
    5375   grep -v '^ *+' conftest.er1 >conftest.err
    5376   rm -f conftest.er1
    5377   cat conftest.err >&5
    5378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5379   (exit $ac_status); } && {
    5380          test -z "$ac_c_werror_flag" ||
    5381          test ! -s conftest.err
    5382        } && test -s conftest$ac_exeext && {
    5383          test "$cross_compiling" = yes ||
    5384          $as_test_x conftest$ac_exeext
    5385        }; then
     5279if ac_fn_c_try_link "$LINENO"; then :
    53865280  tcl_cv_ld_search_paths_first=yes
    53875281else
    5388   $as_echo "$as_me: failed program was:" >&5
    5389 sed 's/^/| /' conftest.$ac_ext >&5
    5390 
    5391         tcl_cv_ld_search_paths_first=no
    5392 fi
    5393 
    5394 rm -rf conftest.dSYM
    5395 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5396       conftest$ac_exeext conftest.$ac_ext
     5282  tcl_cv_ld_search_paths_first=no
     5283fi
     5284rm -f core conftest.err conftest.$ac_objext \
     5285    conftest$ac_exeext conftest.$ac_ext
    53975286                LDFLAGS=$hold_ldflags
    53985287fi
    5399 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5288{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
    54005289$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    54015290            if test $tcl_cv_ld_search_paths_first = yes; then
     
    54075296            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    54085297            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5409             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5298            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
    54105299$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    54115300            # Check whether --enable-corefoundation was given.
    5412 if test "${enable_corefoundation+set}" = set; then
     5301if test "${enable_corefoundation+set}" = set; then :
    54135302  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    54145303else
     
    54165305fi
    54175306
    5418             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5307            { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
    54195308$as_echo "$tcl_corefoundation" >&6; }
    54205309            if test $tcl_corefoundation = yes; then
    5421                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5310                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
    54225311$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5423 if test "${tcl_cv_lib_corefoundation+set}" = set; then
     5312if ${tcl_cv_lib_corefoundation+:} false; then :
    54245313  $as_echo_n "(cached) " >&6
    54255314else
     
    54335322                    done; fi
    54345323                    LIBS="$LIBS -framework CoreFoundation"
    5435                     cat >conftest.$ac_ext <<_ACEOF
    5436 /* confdefs.h.  */
    5437 _ACEOF
    5438 cat confdefs.h >>conftest.$ac_ext
    5439 cat >>conftest.$ac_ext <<_ACEOF
     5324                    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    54405325/* end confdefs.h.  */
    54415326#include <CoreFoundation/CoreFoundation.h>
     
    54485333}
    54495334_ACEOF
    5450 rm -f conftest.$ac_objext conftest$ac_exeext
    5451 if { (ac_try="$ac_link"
    5452 case "(($ac_try" in
    5453   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5454   *) ac_try_echo=$ac_try;;
    5455 esac
    5456 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5457 $as_echo "$ac_try_echo") >&5
    5458   (eval "$ac_link") 2>conftest.er1
    5459   ac_status=$?
    5460   grep -v '^ *+' conftest.er1 >conftest.err
    5461   rm -f conftest.er1
    5462   cat conftest.err >&5
    5463   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5464   (exit $ac_status); } && {
    5465          test -z "$ac_c_werror_flag" ||
    5466          test ! -s conftest.err
    5467        } && test -s conftest$ac_exeext && {
    5468          test "$cross_compiling" = yes ||
    5469          $as_test_x conftest$ac_exeext
    5470        }; then
     5335if ac_fn_c_try_link "$LINENO"; then :
    54715336  tcl_cv_lib_corefoundation=yes
    54725337else
    5473   $as_echo "$as_me: failed program was:" >&5
    5474 sed 's/^/| /' conftest.$ac_ext >&5
    5475 
    5476         tcl_cv_lib_corefoundation=no
    5477 fi
    5478 
    5479 rm -rf conftest.dSYM
    5480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5481       conftest$ac_exeext conftest.$ac_ext
     5338  tcl_cv_lib_corefoundation=no
     5339fi
     5340rm -f core conftest.err conftest.$ac_objext \
     5341    conftest$ac_exeext conftest.$ac_ext
    54825342                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    54835343                        eval $v'="$hold_'$v'"'
    54845344                    done; fi; LIBS=$hold_libs
    54855345fi
    5486 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
    54875347$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    54885348                if test $tcl_cv_lib_corefoundation = yes; then
    54895349                    LIBS="$LIBS -framework CoreFoundation"
    5490                     cat >>confdefs.h <<\_ACEOF
    5491 #define HAVE_COREFOUNDATION 1
    5492 _ACEOF
     5350                    $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
    54935351
    54945352                else
     
    54965354                fi
    54975355                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5498                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5356                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
    54995357$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5500 if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
     5358if ${tcl_cv_lib_corefoundation_64+:} false; then :
    55015359  $as_echo_n "(cached) " >&6
    55025360else
     
    55055363                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    55065364                        done
    5507                         cat >conftest.$ac_ext <<_ACEOF
    5508 /* confdefs.h.  */
    5509 _ACEOF
    5510 cat confdefs.h >>conftest.$ac_ext
    5511 cat >>conftest.$ac_ext <<_ACEOF
     5365                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    55125366/* end confdefs.h.  */
    55135367#include <CoreFoundation/CoreFoundation.h>
     
    55205374}
    55215375_ACEOF
    5522 rm -f conftest.$ac_objext conftest$ac_exeext
    5523 if { (ac_try="$ac_link"
    5524 case "(($ac_try" in
    5525   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5526   *) ac_try_echo=$ac_try;;
    5527 esac
    5528 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5529 $as_echo "$ac_try_echo") >&5
    5530   (eval "$ac_link") 2>conftest.er1
    5531   ac_status=$?
    5532   grep -v '^ *+' conftest.er1 >conftest.err
    5533   rm -f conftest.er1
    5534   cat conftest.err >&5
    5535   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5536   (exit $ac_status); } && {
    5537          test -z "$ac_c_werror_flag" ||
    5538          test ! -s conftest.err
    5539        } && test -s conftest$ac_exeext && {
    5540          test "$cross_compiling" = yes ||
    5541          $as_test_x conftest$ac_exeext
    5542        }; then
     5376if ac_fn_c_try_link "$LINENO"; then :
    55435377  tcl_cv_lib_corefoundation_64=yes
    55445378else
    5545   $as_echo "$as_me: failed program was:" >&5
    5546 sed 's/^/| /' conftest.$ac_ext >&5
    5547 
    5548         tcl_cv_lib_corefoundation_64=no
    5549 fi
    5550 
    5551 rm -rf conftest.dSYM
    5552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5553       conftest$ac_exeext conftest.$ac_ext
     5379  tcl_cv_lib_corefoundation_64=no
     5380fi
     5381rm -f core conftest.err conftest.$ac_objext \
     5382    conftest$ac_exeext conftest.$ac_ext
    55545383                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    55555384                            eval $v'="$hold_'$v'"'
    55565385                        done
    55575386fi
    5558 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5387{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
    55595388$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    55605389                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5561                         cat >>confdefs.h <<\_ACEOF
    5562 #define NO_COREFOUNDATION_64 1
    5563 _ACEOF
     5390                        $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
    55645391
    55655392                    fi
    55665393                fi
    55675394            fi
    5568             cat >>confdefs.h <<\_ACEOF
    5569 #define MAC_OSX_TCL 1
    5570 _ACEOF
     5395            $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
    55715396
    55725397            ;;
     
    55835408        OS/390-*)
    55845409            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5585             cat >>confdefs.h <<\_ACEOF
    5586 #define _OE_SOCKETS 1
    5587 _ACEOF
     5410            $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
    55885411        # needed in sys/socket.h
    55895412            ;;
     
    57265549            # won't define thread-safe library routines.
    57275550
    5728             cat >>confdefs.h <<\_ACEOF
    5729 #define _REENTRANT 1
    5730 _ACEOF
    5731 
    5732             cat >>confdefs.h <<\_ACEOF
    5733 #define _POSIX_PTHREAD_SEMANTICS 1
    5734 _ACEOF
     5551            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5552
     5553            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    57355554
    57365555
     
    57585577            # won't define thread-safe library routines.
    57595578
    5760             cat >>confdefs.h <<\_ACEOF
    5761 #define _REENTRANT 1
    5762 _ACEOF
    5763 
    5764             cat >>confdefs.h <<\_ACEOF
    5765 #define _POSIX_PTHREAD_SEMANTICS 1
    5766 _ACEOF
     5579            $as_echo "#define _REENTRANT 1" >>confdefs.h
     5580
     5581            $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
    57675582
    57685583
     
    57755590                        if test "$GCC" = "yes" ; then
    57765591                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5777                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5592                                { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    57785593$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    57795594                            else
     
    57975612                elif test "$arch" = "amd64 i386" ; then
    57985613                    if test "$GCC" = "yes" ; then
    5799                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5614                        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
    58005615$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    58015616                    else
     
    58055620                    fi
    58065621                else
    5807                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5622                    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
    58085623$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    58095624                fi
     
    58645679            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    58655680            # that don't grok the -Bexport option.  Test that it does.
    5866             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5681            { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
    58675682$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5868 if test "${tcl_cv_ld_Bexport+set}" = set; then
     5683if ${tcl_cv_ld_Bexport+:} false; then :
    58695684  $as_echo_n "(cached) " >&6
    58705685else
     
    58725687                hold_ldflags=$LDFLAGS
    58735688                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5874                 cat >conftest.$ac_ext <<_ACEOF
    5875 /* confdefs.h.  */
    5876 _ACEOF
    5877 cat confdefs.h >>conftest.$ac_ext
    5878 cat >>conftest.$ac_ext <<_ACEOF
     5689                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    58795690/* end confdefs.h.  */
    58805691
     
    58875698}
    58885699_ACEOF
    5889 rm -f conftest.$ac_objext conftest$ac_exeext
    5890 if { (ac_try="$ac_link"
    5891 case "(($ac_try" in
    5892   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5893   *) ac_try_echo=$ac_try;;
    5894 esac
    5895 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5896 $as_echo "$ac_try_echo") >&5
    5897   (eval "$ac_link") 2>conftest.er1
    5898   ac_status=$?
    5899   grep -v '^ *+' conftest.er1 >conftest.err
    5900   rm -f conftest.er1
    5901   cat conftest.err >&5
    5902   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    5903   (exit $ac_status); } && {
    5904          test -z "$ac_c_werror_flag" ||
    5905          test ! -s conftest.err
    5906        } && test -s conftest$ac_exeext && {
    5907          test "$cross_compiling" = yes ||
    5908          $as_test_x conftest$ac_exeext
    5909        }; then
     5700if ac_fn_c_try_link "$LINENO"; then :
    59105701  tcl_cv_ld_Bexport=yes
    59115702else
    5912   $as_echo "$as_me: failed program was:" >&5
    5913 sed 's/^/| /' conftest.$ac_ext >&5
    5914 
    5915         tcl_cv_ld_Bexport=no
    5916 fi
    5917 
    5918 rm -rf conftest.dSYM
    5919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    5920       conftest$ac_exeext conftest.$ac_ext
     5703  tcl_cv_ld_Bexport=no
     5704fi
     5705rm -f core conftest.err conftest.$ac_objext \
     5706    conftest$ac_exeext conftest.$ac_ext
    59215707                LDFLAGS=$hold_ldflags
    59225708fi
    5923 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5709{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
    59245710$as_echo "$tcl_cv_ld_Bexport" >&6; }
    59255711            if test $tcl_cv_ld_Bexport = yes; then
     
    59325718
    59335719    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5934         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5720        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    59355721$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    59365722    fi
     
    59595745
    59605746    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5961         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5747        { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
    59625748$as_echo_n "checking sys/exec.h... " >&6; }
    5963 if test "${tcl_cv_sysexec_h+set}" = set; then
     5749if ${tcl_cv_sysexec_h+:} false; then :
    59645750  $as_echo_n "(cached) " >&6
    59655751else
    59665752
    5967         cat >conftest.$ac_ext <<_ACEOF
    5968 /* confdefs.h.  */
    5969 _ACEOF
    5970 cat confdefs.h >>conftest.$ac_ext
    5971 cat >>conftest.$ac_ext <<_ACEOF
     5753        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    59725754/* end confdefs.h.  */
    59735755#include <sys/exec.h>
     
    59915773}
    59925774_ACEOF
    5993 rm -f conftest.$ac_objext
    5994 if { (ac_try="$ac_compile"
    5995 case "(($ac_try" in
    5996   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    5997   *) ac_try_echo=$ac_try;;
    5998 esac
    5999 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6000 $as_echo "$ac_try_echo") >&5
    6001   (eval "$ac_compile") 2>conftest.er1
    6002   ac_status=$?
    6003   grep -v '^ *+' conftest.er1 >conftest.err
    6004   rm -f conftest.er1
    6005   cat conftest.err >&5
    6006   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6007   (exit $ac_status); } && {
    6008          test -z "$ac_c_werror_flag" ||
    6009          test ! -s conftest.err
    6010        } && test -s conftest.$ac_objext; then
     5775if ac_fn_c_try_compile "$LINENO"; then :
    60115776  tcl_cv_sysexec_h=usable
    60125777else
    6013   $as_echo "$as_me: failed program was:" >&5
    6014 sed 's/^/| /' conftest.$ac_ext >&5
    6015 
    6016         tcl_cv_sysexec_h=unusable
    6017 fi
    6018 
     5778  tcl_cv_sysexec_h=unusable
     5779fi
    60195780rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60205781fi
    6021 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5782{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
    60225783$as_echo "$tcl_cv_sysexec_h" >&6; }
    60235784        if test $tcl_cv_sysexec_h = usable; then
    6024             cat >>confdefs.h <<\_ACEOF
    6025 #define USE_SYS_EXEC_H 1
    6026 _ACEOF
     5785            $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
    60275786
    60285787        else
    6029             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
     5788            { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
    60305789$as_echo_n "checking a.out.h... " >&6; }
    6031 if test "${tcl_cv_aout_h+set}" = set; then
     5790if ${tcl_cv_aout_h+:} false; then :
    60325791  $as_echo_n "(cached) " >&6
    60335792else
    60345793
    6035             cat >conftest.$ac_ext <<_ACEOF
    6036 /* confdefs.h.  */
    6037 _ACEOF
    6038 cat confdefs.h >>conftest.$ac_ext
    6039 cat >>conftest.$ac_ext <<_ACEOF
     5794            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    60405795/* end confdefs.h.  */
    60415796#include <a.out.h>
     
    60595814}
    60605815_ACEOF
    6061 rm -f conftest.$ac_objext
    6062 if { (ac_try="$ac_compile"
    6063 case "(($ac_try" in
    6064   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6065   *) ac_try_echo=$ac_try;;
    6066 esac
    6067 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6068 $as_echo "$ac_try_echo") >&5
    6069   (eval "$ac_compile") 2>conftest.er1
    6070   ac_status=$?
    6071   grep -v '^ *+' conftest.er1 >conftest.err
    6072   rm -f conftest.er1
    6073   cat conftest.err >&5
    6074   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6075   (exit $ac_status); } && {
    6076          test -z "$ac_c_werror_flag" ||
    6077          test ! -s conftest.err
    6078        } && test -s conftest.$ac_objext; then
     5816if ac_fn_c_try_compile "$LINENO"; then :
    60795817  tcl_cv_aout_h=usable
    60805818else
    6081   $as_echo "$as_me: failed program was:" >&5
    6082 sed 's/^/| /' conftest.$ac_ext >&5
    6083 
    6084         tcl_cv_aout_h=unusable
    6085 fi
    6086 
     5819  tcl_cv_aout_h=unusable
     5820fi
    60875821rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60885822fi
    6089 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5823{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
    60905824$as_echo "$tcl_cv_aout_h" >&6; }
    60915825            if test $tcl_cv_aout_h = usable; then
    6092                 cat >>confdefs.h <<\_ACEOF
    6093 #define USE_A_OUT_H 1
    6094 _ACEOF
     5826                $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
    60955827
    60965828            else
    6097                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5829                { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
    60985830$as_echo_n "checking sys/exec_aout.h... " >&6; }
    6099 if test "${tcl_cv_sysexecaout_h+set}" = set; then
     5831if ${tcl_cv_sysexecaout_h+:} false; then :
    61005832  $as_echo_n "(cached) " >&6
    61015833else
    61025834
    6103                 cat >conftest.$ac_ext <<_ACEOF
    6104 /* confdefs.h.  */
    6105 _ACEOF
    6106 cat confdefs.h >>conftest.$ac_ext
    6107 cat >>conftest.$ac_ext <<_ACEOF
     5835                cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    61085836/* end confdefs.h.  */
    61095837#include <sys/exec_aout.h>
     
    61275855}
    61285856_ACEOF
    6129 rm -f conftest.$ac_objext
    6130 if { (ac_try="$ac_compile"
    6131 case "(($ac_try" in
    6132   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6133   *) ac_try_echo=$ac_try;;
    6134 esac
    6135 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6136 $as_echo "$ac_try_echo") >&5
    6137   (eval "$ac_compile") 2>conftest.er1
    6138   ac_status=$?
    6139   grep -v '^ *+' conftest.er1 >conftest.err
    6140   rm -f conftest.er1
    6141   cat conftest.err >&5
    6142   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6143   (exit $ac_status); } && {
    6144          test -z "$ac_c_werror_flag" ||
    6145          test ! -s conftest.err
    6146        } && test -s conftest.$ac_objext; then
     5857if ac_fn_c_try_compile "$LINENO"; then :
    61475858  tcl_cv_sysexecaout_h=usable
    61485859else
    6149   $as_echo "$as_me: failed program was:" >&5
    6150 sed 's/^/| /' conftest.$ac_ext >&5
    6151 
    6152         tcl_cv_sysexecaout_h=unusable
    6153 fi
    6154 
     5860  tcl_cv_sysexecaout_h=unusable
     5861fi
    61555862rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    61565863fi
    6157 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5864{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
    61585865$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    61595866                if test $tcl_cv_sysexecaout_h = usable; then
    6160                     cat >>confdefs.h <<\_ACEOF
    6161 #define USE_SYS_EXEC_AOUT_H 1
    6162 _ACEOF
     5867                    $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
    61635868
    61645869                else
     
    61725877
    61735878    # Check whether --enable-load was given.
    6174 if test "${enable_load+set}" = set; then
     5879if test "${enable_load+set}" = set; then :
    61755880  enableval=$enable_load; tcl_ok=$enableval
    61765881else
     
    62956000
    62966001
    6297 { $as_echo "$as_me:$LINENO: checking for X" >&5
     6002{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
    62986003$as_echo_n "checking for X... " >&6; }
    62996004
    63006005
    63016006# Check whether --with-x was given.
    6302 if test "${with_x+set}" = set; then
     6007if test "${with_x+set}" = set; then :
    63036008  withval=$with_x;
    63046009fi
     
    63106015else
    63116016  case $x_includes,$x_libraries in #(
    6312     *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
    6313 $as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
    6314    { (exit 1); exit 1; }; };; #(
    6315     *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
     6017    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
     6018    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
    63166019  $as_echo_n "(cached) " >&6
    63176020else
     
    63306033_ACEOF
    63316034  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    6332     # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
     6035    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
    63336036    for ac_var in incroot usrlibdir libdir; do
    63346037      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    63616064ac_x_header_dirs='
    63626065/usr/X11/include
     6066/usr/X11R7/include
    63636067/usr/X11R6/include
    63646068/usr/X11R5/include
     
    63666070
    63676071/usr/include/X11
     6072/usr/include/X11R7
    63686073/usr/include/X11R6
    63696074/usr/include/X11R5
     
    63716076
    63726077/usr/local/X11/include
     6078/usr/local/X11R7/include
    63736079/usr/local/X11R6/include
    63746080/usr/local/X11R5/include
     
    63766082
    63776083/usr/local/include/X11
     6084/usr/local/include/X11R7
    63786085/usr/local/include/X11R6
    63796086/usr/local/include/X11R5
     
    63976104  # Guess where to find include files, by looking for Xlib.h.
    63986105  # First, try using that file with no special directory specified.
    6399   cat >conftest.$ac_ext <<_ACEOF
    6400 /* confdefs.h.  */
    6401 _ACEOF
    6402 cat confdefs.h >>conftest.$ac_ext
    6403 cat >>conftest.$ac_ext <<_ACEOF
     6106  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64046107/* end confdefs.h.  */
    64056108#include <X11/Xlib.h>
    64066109_ACEOF
    6407 if { (ac_try="$ac_cpp conftest.$ac_ext"
    6408 case "(($ac_try" in
    6409   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6410   *) ac_try_echo=$ac_try;;
    6411 esac
    6412 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6413 $as_echo "$ac_try_echo") >&5
    6414   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    6415   ac_status=$?
    6416   grep -v '^ *+' conftest.er1 >conftest.err
    6417   rm -f conftest.er1
    6418   cat conftest.err >&5
    6419   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6420   (exit $ac_status); } >/dev/null && {
    6421          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    6422          test ! -s conftest.err
    6423        }; then
     6110if ac_fn_c_try_cpp "$LINENO"; then :
    64246111  # We can compile using X headers with no special include directory.
    64256112ac_x_includes=
    64266113else
    6427   $as_echo "$as_me: failed program was:" >&5
    6428 sed 's/^/| /' conftest.$ac_ext >&5
    6429 
    64306114  for ac_dir in $ac_x_header_dirs; do
    64316115  if test -r "$ac_dir/X11/Xlib.h"; then
     
    64356119done
    64366120fi
    6437 
    6438 rm -f conftest.err conftest.$ac_ext
     6121rm -f conftest.err conftest.i conftest.$ac_ext
    64396122fi # $ac_x_includes = no
    64406123
     
    64456128  ac_save_LIBS=$LIBS
    64466129  LIBS="-lX11 $LIBS"
    6447   cat >conftest.$ac_ext <<_ACEOF
    6448 /* confdefs.h.  */
    6449 _ACEOF
    6450 cat confdefs.h >>conftest.$ac_ext
    6451 cat >>conftest.$ac_ext <<_ACEOF
     6130  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    64526131/* end confdefs.h.  */
    64536132#include <X11/Xlib.h>
     
    64606139}
    64616140_ACEOF
    6462 rm -f conftest.$ac_objext conftest$ac_exeext
    6463 if { (ac_try="$ac_link"
    6464 case "(($ac_try" in
    6465   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    6466   *) ac_try_echo=$ac_try;;
    6467 esac
    6468 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6469 $as_echo "$ac_try_echo") >&5
    6470   (eval "$ac_link") 2>conftest.er1
    6471   ac_status=$?
    6472   grep -v '^ *+' conftest.er1 >conftest.err
    6473   rm -f conftest.er1
    6474   cat conftest.err >&5
    6475   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    6476   (exit $ac_status); } && {
    6477          test -z "$ac_c_werror_flag" ||
    6478          test ! -s conftest.err
    6479        } && test -s conftest$ac_exeext && {
    6480          test "$cross_compiling" = yes ||
    6481          $as_test_x conftest$ac_exeext
    6482        }; then
     6141if ac_fn_c_try_link "$LINENO"; then :
    64836142  LIBS=$ac_save_LIBS
    64846143# We can link X programs with no special library path.
    64856144ac_x_libraries=
    64866145else
    6487   $as_echo "$as_me: failed program was:" >&5
    6488 sed 's/^/| /' conftest.$ac_ext >&5
    6489 
    6490         LIBS=$ac_save_LIBS
     6146  LIBS=$ac_save_LIBS
    64916147for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    64926148do
     
    65006156done
    65016157fi
    6502 
    6503 rm -rf conftest.dSYM
    6504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    6505       conftest$ac_exeext conftest.$ac_ext
     6158rm -f core conftest.err conftest.$ac_objext \
     6159    conftest$ac_exeext conftest.$ac_ext
    65066160fi # $ac_x_libraries = no
    65076161
     
    65246178
    65256179if test "$have_x" != yes; then
    6526   { $as_echo "$as_me:$LINENO: result: $have_x" >&5
     6180  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
    65276181$as_echo "$have_x" >&6; }
    65286182  no_x=yes
     
    65356189        ac_x_includes='$x_includes'\
    65366190        ac_x_libraries='$x_libraries'"
    6537   { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
     6191  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
    65386192$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    65396193fi
    6540 
    6541 
    6542 ac_aux_dir=
    6543 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
    6544   if test -f "$ac_dir/install-sh"; then
    6545     ac_aux_dir=$ac_dir
    6546     ac_install_sh="$ac_aux_dir/install-sh -c"
    6547     break
    6548   elif test -f "$ac_dir/install.sh"; then
    6549     ac_aux_dir=$ac_dir
    6550     ac_install_sh="$ac_aux_dir/install.sh -c"
    6551     break
    6552   elif test -f "$ac_dir/shtool"; then
    6553     ac_aux_dir=$ac_dir
    6554     ac_install_sh="$ac_aux_dir/shtool install -c"
    6555     break
    6556   fi
    6557 done
    6558 if test -z "$ac_aux_dir"; then
    6559   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    6560 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    6561    { (exit 1); exit 1; }; }
    6562 fi
    6563 
    6564 # These three variables are undocumented and unsupported,
    6565 # and are intended to be withdrawn in a future Autoconf release.
    6566 # They can cause serious problems if a builder's source tree is in a directory
    6567 # whose full name contains unusual characters.
    6568 ac_config_guess="$SHELL $ac_aux_dir/config.guess"  # Please don't use this var.
    6569 ac_config_sub="$SHELL $ac_aux_dir/config.sub"  # Please don't use this var.
    6570 ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
    65716194
    65726195
     
    65856208# ./install, which can be erroneously created by make from ./install.sh.
    65866209# Reject install programs that cannot install multiple files.
    6587 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     6210{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
    65886211$as_echo_n "checking for a BSD-compatible install... " >&6; }
    65896212if test -z "$INSTALL"; then
    6590 if test "${ac_cv_path_install+set}" = set; then
     6213if ${ac_cv_path_install+:} false; then :
    65916214  $as_echo_n "(cached) " >&6
    65926215else
     
    65966219  IFS=$as_save_IFS
    65976220  test -z "$as_dir" && as_dir=.
    6598   # Account for people who put trailing slashes in PATH elements.
    6599 case $as_dir/ in
    6600   ./ | .// | /cC/* | \
     6221    # Account for people who put trailing slashes in PATH elements.
     6222case $as_dir/ in #((
     6223  ./ | .// | /[cC]/* | \
    66016224  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6602   ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
     6225  ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
    66036226  /usr/ucb/* ) ;;
    66046227  *)
     
    66376260esac
    66386261
    6639 done
     6262  done
    66406263IFS=$as_save_IFS
    66416264
     
    66536276  fi
    66546277fi
    6655 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
     6278{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
    66566279$as_echo "$INSTALL" >&6; }
    66576280
     
    66676290  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    66686291set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6669 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6292{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    66706293$as_echo_n "checking for $ac_word... " >&6; }
    6671 if test "${ac_cv_prog_RANLIB+set}" = set; then
     6294if ${ac_cv_prog_RANLIB+:} false; then :
    66726295  $as_echo_n "(cached) " >&6
    66736296else
     
    66806303  IFS=$as_save_IFS
    66816304  test -z "$as_dir" && as_dir=.
    6682   for ac_exec_ext in '' $ac_executable_extensions; do
     6305    for ac_exec_ext in '' $ac_executable_extensions; do
    66836306  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    66846307    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6685     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6308    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    66866309    break 2
    66876310  fi
    66886311done
    6689 done
     6312  done
    66906313IFS=$as_save_IFS
    66916314
     
    66946317RANLIB=$ac_cv_prog_RANLIB
    66956318if test -n "$RANLIB"; then
    6696   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
     6319  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
    66976320$as_echo "$RANLIB" >&6; }
    66986321else
    6699   { $as_echo "$as_me:$LINENO: result: no" >&5
     6322  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    67006323$as_echo "no" >&6; }
    67016324fi
     
    67076330  # Extract the first word of "ranlib", so it can be a program name with args.
    67086331set dummy ranlib; ac_word=$2
    6709 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6332{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    67106333$as_echo_n "checking for $ac_word... " >&6; }
    6711 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
     6334if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
    67126335  $as_echo_n "(cached) " >&6
    67136336else
     
    67206343  IFS=$as_save_IFS
    67216344  test -z "$as_dir" && as_dir=.
    6722   for ac_exec_ext in '' $ac_executable_extensions; do
     6345    for ac_exec_ext in '' $ac_executable_extensions; do
    67236346  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    67246347    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6725     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6348    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    67266349    break 2
    67276350  fi
    67286351done
    6729 done
     6352  done
    67306353IFS=$as_save_IFS
    67316354
     
    67346357ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    67356358if test -n "$ac_ct_RANLIB"; then
    6736   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     6359  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
    67376360$as_echo "$ac_ct_RANLIB" >&6; }
    67386361else
    6739   { $as_echo "$as_me:$LINENO: result: no" >&5
     6362  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    67406363$as_echo "no" >&6; }
    67416364fi
     
    67466369    case $cross_compiling:$ac_tool_warned in
    67476370yes:)
    6748 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6371{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    67496372$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    67506373ac_tool_warned=yes ;;
     
    67566379fi
    67576380
    6758 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
     6381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
    67596382$as_echo_n "checking whether ln -s works... " >&6; }
    67606383LN_S=$as_ln_s
    67616384if test "$LN_S" = "ln -s"; then
    6762   { $as_echo "$as_me:$LINENO: result: yes" >&5
     6385  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
    67636386$as_echo "yes" >&6; }
    67646387else
    6765   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     6388  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
    67666389$as_echo "no, using $LN_S" >&6; }
    67676390fi
    67686391
    6769 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     6392{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
    67706393$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    67716394if test -z "$MKDIR_P"; then
    6772   if test "${ac_cv_path_mkdir+set}" = set; then
     6395  if ${ac_cv_path_mkdir+:} false; then :
    67736396  $as_echo_n "(cached) " >&6
    67746397else
     
    67786401  IFS=$as_save_IFS
    67796402  test -z "$as_dir" && as_dir=.
    6780   for ac_prog in mkdir gmkdir; do
     6403    for ac_prog in mkdir gmkdir; do
    67816404         for ac_exec_ext in '' $ac_executable_extensions; do
    67826405           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    67906413         done
    67916414       done
    6792 done
     6415  done
    67936416IFS=$as_save_IFS
    67946417
    67956418fi
    67966419
     6420  test -d ./--version && rmdir ./--version
    67976421  if test "${ac_cv_path_mkdir+set}" = set; then
    67986422    MKDIR_P="$ac_cv_path_mkdir -p"
     
    68026426    # break other packages using the cache if that directory is
    68036427    # removed, or if the value is a relative name.
    6804     test -d ./--version && rmdir ./--version
    68056428    MKDIR_P="$ac_install_sh -d"
    68066429  fi
    68076430fi
    6808 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     6431{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
    68096432$as_echo "$MKDIR_P" >&6; }
    68106433
     
    68186441  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    68196442set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6820 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    68216444$as_echo_n "checking for $ac_word... " >&6; }
    6822 if test "${ac_cv_prog_CC+set}" = set; then
     6445if ${ac_cv_prog_CC+:} false; then :
    68236446  $as_echo_n "(cached) " >&6
    68246447else
     
    68316454  IFS=$as_save_IFS
    68326455  test -z "$as_dir" && as_dir=.
    6833   for ac_exec_ext in '' $ac_executable_extensions; do
     6456    for ac_exec_ext in '' $ac_executable_extensions; do
    68346457  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    68356458    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6836     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6459    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    68376460    break 2
    68386461  fi
    68396462done
    6840 done
     6463  done
    68416464IFS=$as_save_IFS
    68426465
     
    68456468CC=$ac_cv_prog_CC
    68466469if test -n "$CC"; then
    6847   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6470  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    68486471$as_echo "$CC" >&6; }
    68496472else
    6850   { $as_echo "$as_me:$LINENO: result: no" >&5
     6473  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    68516474$as_echo "no" >&6; }
    68526475fi
     
    68586481  # Extract the first word of "gcc", so it can be a program name with args.
    68596482set dummy gcc; ac_word=$2
    6860 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6483{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    68616484$as_echo_n "checking for $ac_word... " >&6; }
    6862 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6485if ${ac_cv_prog_ac_ct_CC+:} false; then :
    68636486  $as_echo_n "(cached) " >&6
    68646487else
     
    68716494  IFS=$as_save_IFS
    68726495  test -z "$as_dir" && as_dir=.
    6873   for ac_exec_ext in '' $ac_executable_extensions; do
     6496    for ac_exec_ext in '' $ac_executable_extensions; do
    68746497  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    68756498    ac_cv_prog_ac_ct_CC="gcc"
    6876     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6499    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    68776500    break 2
    68786501  fi
    68796502done
    6880 done
     6503  done
    68816504IFS=$as_save_IFS
    68826505
     
    68856508ac_ct_CC=$ac_cv_prog_ac_ct_CC
    68866509if test -n "$ac_ct_CC"; then
    6887   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6510  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    68886511$as_echo "$ac_ct_CC" >&6; }
    68896512else
    6890   { $as_echo "$as_me:$LINENO: result: no" >&5
     6513  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    68916514$as_echo "no" >&6; }
    68926515fi
     
    68976520    case $cross_compiling:$ac_tool_warned in
    68986521yes:)
    6899 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6522{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    69006523$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    69016524ac_tool_warned=yes ;;
     
    69116534    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    69126535set dummy ${ac_tool_prefix}cc; ac_word=$2
    6913 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    69146537$as_echo_n "checking for $ac_word... " >&6; }
    6915 if test "${ac_cv_prog_CC+set}" = set; then
     6538if ${ac_cv_prog_CC+:} false; then :
    69166539  $as_echo_n "(cached) " >&6
    69176540else
     
    69246547  IFS=$as_save_IFS
    69256548  test -z "$as_dir" && as_dir=.
    6926   for ac_exec_ext in '' $ac_executable_extensions; do
     6549    for ac_exec_ext in '' $ac_executable_extensions; do
    69276550  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    69286551    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6929     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6552    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    69306553    break 2
    69316554  fi
    69326555done
    6933 done
     6556  done
    69346557IFS=$as_save_IFS
    69356558
     
    69386561CC=$ac_cv_prog_CC
    69396562if test -n "$CC"; then
    6940   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6563  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    69416564$as_echo "$CC" >&6; }
    69426565else
    6943   { $as_echo "$as_me:$LINENO: result: no" >&5
     6566  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    69446567$as_echo "no" >&6; }
    69456568fi
     
    69516574  # Extract the first word of "cc", so it can be a program name with args.
    69526575set dummy cc; ac_word=$2
    6953 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6576{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    69546577$as_echo_n "checking for $ac_word... " >&6; }
    6955 if test "${ac_cv_prog_CC+set}" = set; then
     6578if ${ac_cv_prog_CC+:} false; then :
    69566579  $as_echo_n "(cached) " >&6
    69576580else
     
    69656588  IFS=$as_save_IFS
    69666589  test -z "$as_dir" && as_dir=.
    6967   for ac_exec_ext in '' $ac_executable_extensions; do
     6590    for ac_exec_ext in '' $ac_executable_extensions; do
    69686591  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    69696592    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    69726595     fi
    69736596    ac_cv_prog_CC="cc"
    6974     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6597    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    69756598    break 2
    69766599  fi
    69776600done
    6978 done
     6601  done
    69796602IFS=$as_save_IFS
    69806603
     
    69956618CC=$ac_cv_prog_CC
    69966619if test -n "$CC"; then
    6997   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6620  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    69986621$as_echo "$CC" >&6; }
    69996622else
    7000   { $as_echo "$as_me:$LINENO: result: no" >&5
     6623  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70016624$as_echo "no" >&6; }
    70026625fi
     
    70106633    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    70116634set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7012 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6635{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70136636$as_echo_n "checking for $ac_word... " >&6; }
    7014 if test "${ac_cv_prog_CC+set}" = set; then
     6637if ${ac_cv_prog_CC+:} false; then :
    70156638  $as_echo_n "(cached) " >&6
    70166639else
     
    70236646  IFS=$as_save_IFS
    70246647  test -z "$as_dir" && as_dir=.
    7025   for ac_exec_ext in '' $ac_executable_extensions; do
     6648    for ac_exec_ext in '' $ac_executable_extensions; do
    70266649  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    70276650    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    7028     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6651    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70296652    break 2
    70306653  fi
    70316654done
    7032 done
     6655  done
    70336656IFS=$as_save_IFS
    70346657
     
    70376660CC=$ac_cv_prog_CC
    70386661if test -n "$CC"; then
    7039   { $as_echo "$as_me:$LINENO: result: $CC" >&5
     6662  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
    70406663$as_echo "$CC" >&6; }
    70416664else
    7042   { $as_echo "$as_me:$LINENO: result: no" >&5
     6665  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70436666$as_echo "no" >&6; }
    70446667fi
     
    70546677  # Extract the first word of "$ac_prog", so it can be a program name with args.
    70556678set dummy $ac_prog; ac_word=$2
    7056 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     6679{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    70576680$as_echo_n "checking for $ac_word... " >&6; }
    7058 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
     6681if ${ac_cv_prog_ac_ct_CC+:} false; then :
    70596682  $as_echo_n "(cached) " >&6
    70606683else
     
    70676690  IFS=$as_save_IFS
    70686691  test -z "$as_dir" && as_dir=.
    7069   for ac_exec_ext in '' $ac_executable_extensions; do
     6692    for ac_exec_ext in '' $ac_executable_extensions; do
    70706693  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    70716694    ac_cv_prog_ac_ct_CC="$ac_prog"
    7072     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6695    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    70736696    break 2
    70746697  fi
    70756698done
    7076 done
     6699  done
    70776700IFS=$as_save_IFS
    70786701
     
    70816704ac_ct_CC=$ac_cv_prog_ac_ct_CC
    70826705if test -n "$ac_ct_CC"; then
    7083   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6706  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
    70846707$as_echo "$ac_ct_CC" >&6; }
    70856708else
    7086   { $as_echo "$as_me:$LINENO: result: no" >&5
     6709  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    70876710$as_echo "no" >&6; }
    70886711fi
     
    70976720    case $cross_compiling:$ac_tool_warned in
    70986721yes:)
    7099 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     6722{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    71006723$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    71016724ac_tool_warned=yes ;;
     
    71086731
    71096732
    7110 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     6733test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    71116734$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7112 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    7113 See \`config.log' for more details." >&5
    7114 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
    7115 See \`config.log' for more details." >&2;}
    7116    { (exit 1); exit 1; }; }; }
     6735as_fn_error $? "no acceptable C compiler found in \$PATH
     6736See \`config.log' for more details" "$LINENO" 5; }
    71176737
    71186738# Provide some information about the compiler.
    7119 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
     6739$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
    71206740set X $ac_compile
    71216741ac_compiler=$2
    7122 { (ac_try="$ac_compiler --version >&5"
     6742for ac_option in --version -v -V -qversion; do
     6743  { { ac_try="$ac_compiler $ac_option >&5"
    71236744case "(($ac_try" in
    71246745  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    71256746  *) ac_try_echo=$ac_try;;
    71266747esac
    7127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7128 $as_echo "$ac_try_echo") >&5
    7129   (eval "$ac_compiler --version >&5") 2>&5
     6748eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     6749$as_echo "$ac_try_echo"; } >&5
     6750  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    71306751  ac_status=$?
    7131   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7132   (exit $ac_status); }
    7133 { (ac_try="$ac_compiler -v >&5"
    7134 case "(($ac_try" in
    7135   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7136   *) ac_try_echo=$ac_try;;
    7137 esac
    7138 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7139 $as_echo "$ac_try_echo") >&5
    7140   (eval "$ac_compiler -v >&5") 2>&5
    7141   ac_status=$?
    7142   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7143   (exit $ac_status); }
    7144 { (ac_try="$ac_compiler -V >&5"
    7145 case "(($ac_try" in
    7146   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7147   *) ac_try_echo=$ac_try;;
    7148 esac
    7149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7150 $as_echo "$ac_try_echo") >&5
    7151   (eval "$ac_compiler -V >&5") 2>&5
    7152   ac_status=$?
    7153   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7154   (exit $ac_status); }
    7155 
    7156 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     6752  if test -s conftest.err; then
     6753    sed '10a\
     6754... rest of stderr output deleted ...
     6755         10q' conftest.err >conftest.er1
     6756    cat conftest.er1 >&5
     6757  fi
     6758  rm -f conftest.er1 conftest.err
     6759  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     6760  test $ac_status = 0; }
     6761done
     6762
     6763{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
    71576764$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    7158 if test "${ac_cv_c_compiler_gnu+set}" = set; then
     6765if ${ac_cv_c_compiler_gnu+:} false; then :
    71596766  $as_echo_n "(cached) " >&6
    71606767else
    7161   cat >conftest.$ac_ext <<_ACEOF
    7162 /* confdefs.h.  */
    7163 _ACEOF
    7164 cat confdefs.h >>conftest.$ac_ext
    7165 cat >>conftest.$ac_ext <<_ACEOF
     6768  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    71666769/* end confdefs.h.  */
    71676770
     
    71776780}
    71786781_ACEOF
    7179 rm -f conftest.$ac_objext
    7180 if { (ac_try="$ac_compile"
    7181 case "(($ac_try" in
    7182   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7183   *) ac_try_echo=$ac_try;;
    7184 esac
    7185 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7186 $as_echo "$ac_try_echo") >&5
    7187   (eval "$ac_compile") 2>conftest.er1
    7188   ac_status=$?
    7189   grep -v '^ *+' conftest.er1 >conftest.err
    7190   rm -f conftest.er1
    7191   cat conftest.err >&5
    7192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7193   (exit $ac_status); } && {
    7194          test -z "$ac_c_werror_flag" ||
    7195          test ! -s conftest.err
    7196        } && test -s conftest.$ac_objext; then
     6782if ac_fn_c_try_compile "$LINENO"; then :
    71976783  ac_compiler_gnu=yes
    71986784else
    7199   $as_echo "$as_me: failed program was:" >&5
    7200 sed 's/^/| /' conftest.$ac_ext >&5
    7201 
    7202         ac_compiler_gnu=no
    7203 fi
    7204 
     6785  ac_compiler_gnu=no
     6786fi
    72056787rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    72066788ac_cv_c_compiler_gnu=$ac_compiler_gnu
    72076789
    72086790fi
    7209 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     6791{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
    72106792$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    72116793if test $ac_compiler_gnu = yes; then
     
    72166798ac_test_CFLAGS=${CFLAGS+set}
    72176799ac_save_CFLAGS=$CFLAGS
    7218 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     6800{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
    72196801$as_echo_n "checking whether $CC accepts -g... " >&6; }
    7220 if test "${ac_cv_prog_cc_g+set}" = set; then
     6802if ${ac_cv_prog_cc_g+:} false; then :
    72216803  $as_echo_n "(cached) " >&6
    72226804else
     
    72256807   ac_cv_prog_cc_g=no
    72266808   CFLAGS="-g"
    7227    cat >conftest.$ac_ext <<_ACEOF
    7228 /* confdefs.h.  */
    7229 _ACEOF
    7230 cat confdefs.h >>conftest.$ac_ext
    7231 cat >>conftest.$ac_ext <<_ACEOF
     6809   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72326810/* end confdefs.h.  */
    72336811
     
    72406818}
    72416819_ACEOF
    7242 rm -f conftest.$ac_objext
    7243 if { (ac_try="$ac_compile"
    7244 case "(($ac_try" in
    7245   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7246   *) ac_try_echo=$ac_try;;
    7247 esac
    7248 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7249 $as_echo "$ac_try_echo") >&5
    7250   (eval "$ac_compile") 2>conftest.er1
    7251   ac_status=$?
    7252   grep -v '^ *+' conftest.er1 >conftest.err
    7253   rm -f conftest.er1
    7254   cat conftest.err >&5
    7255   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7256   (exit $ac_status); } && {
    7257          test -z "$ac_c_werror_flag" ||
    7258          test ! -s conftest.err
    7259        } && test -s conftest.$ac_objext; then
     6820if ac_fn_c_try_compile "$LINENO"; then :
    72606821  ac_cv_prog_cc_g=yes
    72616822else
    7262   $as_echo "$as_me: failed program was:" >&5
    7263 sed 's/^/| /' conftest.$ac_ext >&5
    7264 
    7265         CFLAGS=""
    7266       cat >conftest.$ac_ext <<_ACEOF
    7267 /* confdefs.h.  */
    7268 _ACEOF
    7269 cat confdefs.h >>conftest.$ac_ext
    7270 cat >>conftest.$ac_ext <<_ACEOF
     6823  CFLAGS=""
     6824      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    72716825/* end confdefs.h.  */
    72726826
     
    72796833}
    72806834_ACEOF
    7281 rm -f conftest.$ac_objext
    7282 if { (ac_try="$ac_compile"
    7283 case "(($ac_try" in
    7284   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7285   *) ac_try_echo=$ac_try;;
    7286 esac
    7287 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7288 $as_echo "$ac_try_echo") >&5
    7289   (eval "$ac_compile") 2>conftest.er1
    7290   ac_status=$?
    7291   grep -v '^ *+' conftest.er1 >conftest.err
    7292   rm -f conftest.er1
    7293   cat conftest.err >&5
    7294   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7295   (exit $ac_status); } && {
    7296          test -z "$ac_c_werror_flag" ||
    7297          test ! -s conftest.err
    7298        } && test -s conftest.$ac_objext; then
    7299   :
    7300 else
    7301   $as_echo "$as_me: failed program was:" >&5
    7302 sed 's/^/| /' conftest.$ac_ext >&5
    7303 
    7304         ac_c_werror_flag=$ac_save_c_werror_flag
     6835if ac_fn_c_try_compile "$LINENO"; then :
     6836
     6837else
     6838  ac_c_werror_flag=$ac_save_c_werror_flag
    73056839         CFLAGS="-g"
    7306          cat >conftest.$ac_ext <<_ACEOF
    7307 /* confdefs.h.  */
    7308 _ACEOF
    7309 cat confdefs.h >>conftest.$ac_ext
    7310 cat >>conftest.$ac_ext <<_ACEOF
     6840         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    73116841/* end confdefs.h.  */
    73126842
     
    73196849}
    73206850_ACEOF
    7321 rm -f conftest.$ac_objext
    7322 if { (ac_try="$ac_compile"
    7323 case "(($ac_try" in
    7324   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7325   *) ac_try_echo=$ac_try;;
    7326 esac
    7327 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7328 $as_echo "$ac_try_echo") >&5
    7329   (eval "$ac_compile") 2>conftest.er1
    7330   ac_status=$?
    7331   grep -v '^ *+' conftest.er1 >conftest.err
    7332   rm -f conftest.er1
    7333   cat conftest.err >&5
    7334   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7335   (exit $ac_status); } && {
    7336          test -z "$ac_c_werror_flag" ||
    7337          test ! -s conftest.err
    7338        } && test -s conftest.$ac_objext; then
     6851if ac_fn_c_try_compile "$LINENO"; then :
    73396852  ac_cv_prog_cc_g=yes
    7340 else
    7341   $as_echo "$as_me: failed program was:" >&5
    7342 sed 's/^/| /' conftest.$ac_ext >&5
    7343 
    7344 
    7345 fi
    7346 
     6853fi
    73476854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    73486855fi
    7349 
    73506856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    73516857fi
    7352 
    73536858rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    73546859   ac_c_werror_flag=$ac_save_c_werror_flag
    73556860fi
    7356 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     6861{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
    73576862$as_echo "$ac_cv_prog_cc_g" >&6; }
    73586863if test "$ac_test_CFLAGS" = set; then
     
    73716876  fi
    73726877fi
    7373 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     6878{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
    73746879$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    7375 if test "${ac_cv_prog_cc_c89+set}" = set; then
     6880if ${ac_cv_prog_cc_c89+:} false; then :
    73766881  $as_echo_n "(cached) " >&6
    73776882else
    73786883  ac_cv_prog_cc_c89=no
    73796884ac_save_CC=$CC
    7380 cat >conftest.$ac_ext <<_ACEOF
    7381 /* confdefs.h.  */
    7382 _ACEOF
    7383 cat confdefs.h >>conftest.$ac_ext
    7384 cat >>conftest.$ac_ext <<_ACEOF
     6885cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    73856886/* end confdefs.h.  */
    73866887#include <stdarg.h>
     
    74396940do
    74406941  CC="$ac_save_CC $ac_arg"
    7441   rm -f conftest.$ac_objext
    7442 if { (ac_try="$ac_compile"
    7443 case "(($ac_try" in
    7444   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7445   *) ac_try_echo=$ac_try;;
    7446 esac
    7447 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7448 $as_echo "$ac_try_echo") >&5
    7449   (eval "$ac_compile") 2>conftest.er1
    7450   ac_status=$?
    7451   grep -v '^ *+' conftest.er1 >conftest.err
    7452   rm -f conftest.er1
    7453   cat conftest.err >&5
    7454   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7455   (exit $ac_status); } && {
    7456          test -z "$ac_c_werror_flag" ||
    7457          test ! -s conftest.err
    7458        } && test -s conftest.$ac_objext; then
     6942  if ac_fn_c_try_compile "$LINENO"; then :
    74596943  ac_cv_prog_cc_c89=$ac_arg
    7460 else
    7461   $as_echo "$as_me: failed program was:" >&5
    7462 sed 's/^/| /' conftest.$ac_ext >&5
    7463 
    7464 
    7465 fi
    7466 
     6944fi
    74676945rm -f core conftest.err conftest.$ac_objext
    74686946  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    74756953case "x$ac_cv_prog_cc_c89" in
    74766954  x)
    7477     { $as_echo "$as_me:$LINENO: result: none needed" >&5
     6955    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
    74786956$as_echo "none needed" >&6; } ;;
    74796957  xno)
    7480     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
     6958    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
    74816959$as_echo "unsupported" >&6; } ;;
    74826960  *)
    74836961    CC="$CC $ac_cv_prog_cc_c89"
    7484     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     6962    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
    74856963$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    74866964esac
    7487 
     6965if test "x$ac_cv_prog_cc_c89" != xno; then :
     6966
     6967fi
    74886968
    74896969ac_ext=c
     
    74986978ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    74996979ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7500 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     6980{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
    75016981$as_echo_n "checking how to run the C preprocessor... " >&6; }
    75026982# On Suns, sometimes $CPP names a directory.
     
    75056985fi
    75066986if test -z "$CPP"; then
    7507   if test "${ac_cv_prog_CPP+set}" = set; then
     6987  if ${ac_cv_prog_CPP+:} false; then :
    75086988  $as_echo_n "(cached) " >&6
    75096989else
     
    75207000  # On the NeXT, cc -E runs the code through the compiler's parser,
    75217001  # not just through cpp. "Syntax error" is here to catch this case.
    7522   cat >conftest.$ac_ext <<_ACEOF
    7523 /* confdefs.h.  */
    7524 _ACEOF
    7525 cat confdefs.h >>conftest.$ac_ext
    7526 cat >>conftest.$ac_ext <<_ACEOF
     7002  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75277003/* end confdefs.h.  */
    75287004#ifdef __STDC__
     
    75337009                     Syntax error
    75347010_ACEOF
    7535 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7536 case "(($ac_try" in
    7537   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7538   *) ac_try_echo=$ac_try;;
    7539 esac
    7540 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7541 $as_echo "$ac_try_echo") >&5
    7542   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7543   ac_status=$?
    7544   grep -v '^ *+' conftest.er1 >conftest.err
    7545   rm -f conftest.er1
    7546   cat conftest.err >&5
    7547   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7548   (exit $ac_status); } >/dev/null && {
    7549          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7550          test ! -s conftest.err
    7551        }; then
    7552   :
    7553 else
    7554   $as_echo "$as_me: failed program was:" >&5
    7555 sed 's/^/| /' conftest.$ac_ext >&5
    7556 
     7011if ac_fn_c_try_cpp "$LINENO"; then :
     7012
     7013else
    75577014  # Broken: fails on valid input.
    75587015continue
    75597016fi
    7560 
    7561 rm -f conftest.err conftest.$ac_ext
     7017rm -f conftest.err conftest.i conftest.$ac_ext
    75627018
    75637019  # OK, works on sane cases.  Now check whether nonexistent headers
    75647020  # can be detected and how.
    7565   cat >conftest.$ac_ext <<_ACEOF
    7566 /* confdefs.h.  */
    7567 _ACEOF
    7568 cat confdefs.h >>conftest.$ac_ext
    7569 cat >>conftest.$ac_ext <<_ACEOF
     7021  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    75707022/* end confdefs.h.  */
    75717023#include <ac_nonexistent.h>
    75727024_ACEOF
    7573 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7574 case "(($ac_try" in
    7575   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7576   *) ac_try_echo=$ac_try;;
    7577 esac
    7578 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7579 $as_echo "$ac_try_echo") >&5
    7580   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7581   ac_status=$?
    7582   grep -v '^ *+' conftest.er1 >conftest.err
    7583   rm -f conftest.er1
    7584   cat conftest.err >&5
    7585   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7586   (exit $ac_status); } >/dev/null && {
    7587          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7588          test ! -s conftest.err
    7589        }; then
     7025if ac_fn_c_try_cpp "$LINENO"; then :
    75907026  # Broken: success on invalid input.
    75917027continue
    75927028else
    7593   $as_echo "$as_me: failed program was:" >&5
    7594 sed 's/^/| /' conftest.$ac_ext >&5
    7595 
    75967029  # Passes both tests.
    75977030ac_preproc_ok=:
    75987031break
    75997032fi
    7600 
    7601 rm -f conftest.err conftest.$ac_ext
     7033rm -f conftest.err conftest.i conftest.$ac_ext
    76027034
    76037035done
    76047036# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7605 rm -f conftest.err conftest.$ac_ext
    7606 if $ac_preproc_ok; then
     7037rm -f conftest.i conftest.err conftest.$ac_ext
     7038if $ac_preproc_ok; then :
    76077039  break
    76087040fi
     
    76167048  ac_cv_prog_CPP=$CPP
    76177049fi
    7618 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
     7050{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
    76197051$as_echo "$CPP" >&6; }
    76207052ac_preproc_ok=false
     
    76277059  # On the NeXT, cc -E runs the code through the compiler's parser,
    76287060  # not just through cpp. "Syntax error" is here to catch this case.
    7629   cat >conftest.$ac_ext <<_ACEOF
    7630 /* confdefs.h.  */
    7631 _ACEOF
    7632 cat confdefs.h >>conftest.$ac_ext
    7633 cat >>conftest.$ac_ext <<_ACEOF
     7061  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76347062/* end confdefs.h.  */
    76357063#ifdef __STDC__
     
    76407068                     Syntax error
    76417069_ACEOF
    7642 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7643 case "(($ac_try" in
    7644   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7645   *) ac_try_echo=$ac_try;;
    7646 esac
    7647 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7648 $as_echo "$ac_try_echo") >&5
    7649   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7650   ac_status=$?
    7651   grep -v '^ *+' conftest.er1 >conftest.err
    7652   rm -f conftest.er1
    7653   cat conftest.err >&5
    7654   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7655   (exit $ac_status); } >/dev/null && {
    7656          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7657          test ! -s conftest.err
    7658        }; then
    7659   :
    7660 else
    7661   $as_echo "$as_me: failed program was:" >&5
    7662 sed 's/^/| /' conftest.$ac_ext >&5
    7663 
     7070if ac_fn_c_try_cpp "$LINENO"; then :
     7071
     7072else
    76647073  # Broken: fails on valid input.
    76657074continue
    76667075fi
    7667 
    7668 rm -f conftest.err conftest.$ac_ext
     7076rm -f conftest.err conftest.i conftest.$ac_ext
    76697077
    76707078  # OK, works on sane cases.  Now check whether nonexistent headers
    76717079  # can be detected and how.
    7672   cat >conftest.$ac_ext <<_ACEOF
    7673 /* confdefs.h.  */
    7674 _ACEOF
    7675 cat confdefs.h >>conftest.$ac_ext
    7676 cat >>conftest.$ac_ext <<_ACEOF
     7080  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    76777081/* end confdefs.h.  */
    76787082#include <ac_nonexistent.h>
    76797083_ACEOF
    7680 if { (ac_try="$ac_cpp conftest.$ac_ext"
    7681 case "(($ac_try" in
    7682   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7683   *) ac_try_echo=$ac_try;;
    7684 esac
    7685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7686 $as_echo "$ac_try_echo") >&5
    7687   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    7688   ac_status=$?
    7689   grep -v '^ *+' conftest.er1 >conftest.err
    7690   rm -f conftest.er1
    7691   cat conftest.err >&5
    7692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7693   (exit $ac_status); } >/dev/null && {
    7694          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    7695          test ! -s conftest.err
    7696        }; then
     7084if ac_fn_c_try_cpp "$LINENO"; then :
    76977085  # Broken: success on invalid input.
    76987086continue
    76997087else
    7700   $as_echo "$as_me: failed program was:" >&5
    7701 sed 's/^/| /' conftest.$ac_ext >&5
    7702 
    77037088  # Passes both tests.
    77047089ac_preproc_ok=:
    77057090break
    77067091fi
    7707 
    7708 rm -f conftest.err conftest.$ac_ext
     7092rm -f conftest.err conftest.i conftest.$ac_ext
    77097093
    77107094done
    77117095# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7712 rm -f conftest.err conftest.$ac_ext
    7713 if $ac_preproc_ok; then
    7714   :
    7715 else
    7716   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7096rm -f conftest.i conftest.err conftest.$ac_ext
     7097if $ac_preproc_ok; then :
     7098
     7099else
     7100  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    77177101$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7718 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    7719 See \`config.log' for more details." >&5
    7720 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    7721 See \`config.log' for more details." >&2;}
    7722    { (exit 1); exit 1; }; }; }
     7102as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
     7103See \`config.log' for more details" "$LINENO" 5; }
    77237104fi
    77247105
     
    77437124    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    77447125set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7745 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7126{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    77467127$as_echo_n "checking for $ac_word... " >&6; }
    7747 if test "${ac_cv_prog_CXX+set}" = set; then
     7128if ${ac_cv_prog_CXX+:} false; then :
    77487129  $as_echo_n "(cached) " >&6
    77497130else
     
    77567137  IFS=$as_save_IFS
    77577138  test -z "$as_dir" && as_dir=.
    7758   for ac_exec_ext in '' $ac_executable_extensions; do
     7139    for ac_exec_ext in '' $ac_executable_extensions; do
    77597140  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    77607141    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7761     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7142    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    77627143    break 2
    77637144  fi
    77647145done
    7765 done
     7146  done
    77667147IFS=$as_save_IFS
    77677148
     
    77707151CXX=$ac_cv_prog_CXX
    77717152if test -n "$CXX"; then
    7772   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7153  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    77737154$as_echo "$CXX" >&6; }
    77747155else
    7775   { $as_echo "$as_me:$LINENO: result: no" >&5
     7156  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    77767157$as_echo "no" >&6; }
    77777158fi
     
    77877168  # Extract the first word of "$ac_prog", so it can be a program name with args.
    77887169set dummy $ac_prog; ac_word=$2
    7789 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    77907171$as_echo_n "checking for $ac_word... " >&6; }
    7791 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7172if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    77927173  $as_echo_n "(cached) " >&6
    77937174else
     
    78007181  IFS=$as_save_IFS
    78017182  test -z "$as_dir" && as_dir=.
    7802   for ac_exec_ext in '' $ac_executable_extensions; do
     7183    for ac_exec_ext in '' $ac_executable_extensions; do
    78037184  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    78047185    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7805     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7186    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    78067187    break 2
    78077188  fi
    78087189done
    7809 done
     7190  done
    78107191IFS=$as_save_IFS
    78117192
     
    78147195ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    78157196if test -n "$ac_ct_CXX"; then
    7816   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7197  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    78177198$as_echo "$ac_ct_CXX" >&6; }
    78187199else
    7819   { $as_echo "$as_me:$LINENO: result: no" >&5
     7200  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    78207201$as_echo "no" >&6; }
    78217202fi
     
    78307211    case $cross_compiling:$ac_tool_warned in
    78317212yes:)
    7832 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7213{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    78337214$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    78347215ac_tool_warned=yes ;;
     
    78417222fi
    78427223# Provide some information about the compiler.
    7843 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7224$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    78447225set X $ac_compile
    78457226ac_compiler=$2
    7846 { (ac_try="$ac_compiler --version >&5"
     7227for ac_option in --version -v -V -qversion; do
     7228  { { ac_try="$ac_compiler $ac_option >&5"
    78477229case "(($ac_try" in
    78487230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    78497231  *) ac_try_echo=$ac_try;;
    78507232esac
    7851 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7852 $as_echo "$ac_try_echo") >&5
    7853   (eval "$ac_compiler --version >&5") 2>&5
     7233eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7234$as_echo "$ac_try_echo"; } >&5
     7235  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    78547236  ac_status=$?
    7855   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7856   (exit $ac_status); }
    7857 { (ac_try="$ac_compiler -v >&5"
    7858 case "(($ac_try" in
    7859   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7860   *) ac_try_echo=$ac_try;;
    7861 esac
    7862 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7863 $as_echo "$ac_try_echo") >&5
    7864   (eval "$ac_compiler -v >&5") 2>&5
    7865   ac_status=$?
    7866   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7867   (exit $ac_status); }
    7868 { (ac_try="$ac_compiler -V >&5"
    7869 case "(($ac_try" in
    7870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7871   *) ac_try_echo=$ac_try;;
    7872 esac
    7873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7874 $as_echo "$ac_try_echo") >&5
    7875   (eval "$ac_compiler -V >&5") 2>&5
    7876   ac_status=$?
    7877   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7878   (exit $ac_status); }
    7879 
    7880 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7237  if test -s conftest.err; then
     7238    sed '10a\
     7239... rest of stderr output deleted ...
     7240         10q' conftest.err >conftest.er1
     7241    cat conftest.er1 >&5
     7242  fi
     7243  rm -f conftest.er1 conftest.err
     7244  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7245  test $ac_status = 0; }
     7246done
     7247
     7248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    78817249$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7882 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7250if ${ac_cv_cxx_compiler_gnu+:} false; then :
    78837251  $as_echo_n "(cached) " >&6
    78847252else
    7885   cat >conftest.$ac_ext <<_ACEOF
    7886 /* confdefs.h.  */
    7887 _ACEOF
    7888 cat confdefs.h >>conftest.$ac_ext
    7889 cat >>conftest.$ac_ext <<_ACEOF
     7253  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    78907254/* end confdefs.h.  */
    78917255
     
    79017265}
    79027266_ACEOF
    7903 rm -f conftest.$ac_objext
    7904 if { (ac_try="$ac_compile"
    7905 case "(($ac_try" in
    7906   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7907   *) ac_try_echo=$ac_try;;
    7908 esac
    7909 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7910 $as_echo "$ac_try_echo") >&5
    7911   (eval "$ac_compile") 2>conftest.er1
    7912   ac_status=$?
    7913   grep -v '^ *+' conftest.er1 >conftest.err
    7914   rm -f conftest.er1
    7915   cat conftest.err >&5
    7916   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7917   (exit $ac_status); } && {
    7918          test -z "$ac_cxx_werror_flag" ||
    7919          test ! -s conftest.err
    7920        } && test -s conftest.$ac_objext; then
     7267if ac_fn_cxx_try_compile "$LINENO"; then :
    79217268  ac_compiler_gnu=yes
    79227269else
    7923   $as_echo "$as_me: failed program was:" >&5
    7924 sed 's/^/| /' conftest.$ac_ext >&5
    7925 
    7926         ac_compiler_gnu=no
    7927 fi
    7928 
     7270  ac_compiler_gnu=no
     7271fi
    79297272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    79307273ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    79317274
    79327275fi
    7933 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7276{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    79347277$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    79357278if test $ac_compiler_gnu = yes; then
     
    79407283ac_test_CXXFLAGS=${CXXFLAGS+set}
    79417284ac_save_CXXFLAGS=$CXXFLAGS
    7942 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    79437286$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7944 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7287if ${ac_cv_prog_cxx_g+:} false; then :
    79457288  $as_echo_n "(cached) " >&6
    79467289else
     
    79497292   ac_cv_prog_cxx_g=no
    79507293   CXXFLAGS="-g"
    7951    cat >conftest.$ac_ext <<_ACEOF
    7952 /* confdefs.h.  */
    7953 _ACEOF
    7954 cat confdefs.h >>conftest.$ac_ext
    7955 cat >>conftest.$ac_ext <<_ACEOF
     7294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79567295/* end confdefs.h.  */
    79577296
     
    79647303}
    79657304_ACEOF
    7966 rm -f conftest.$ac_objext
    7967 if { (ac_try="$ac_compile"
    7968 case "(($ac_try" in
    7969   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    7970   *) ac_try_echo=$ac_try;;
    7971 esac
    7972 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7973 $as_echo "$ac_try_echo") >&5
    7974   (eval "$ac_compile") 2>conftest.er1
    7975   ac_status=$?
    7976   grep -v '^ *+' conftest.er1 >conftest.err
    7977   rm -f conftest.er1
    7978   cat conftest.err >&5
    7979   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    7980   (exit $ac_status); } && {
    7981          test -z "$ac_cxx_werror_flag" ||
    7982          test ! -s conftest.err
    7983        } && test -s conftest.$ac_objext; then
     7305if ac_fn_cxx_try_compile "$LINENO"; then :
    79847306  ac_cv_prog_cxx_g=yes
    79857307else
    7986   $as_echo "$as_me: failed program was:" >&5
    7987 sed 's/^/| /' conftest.$ac_ext >&5
    7988 
    7989         CXXFLAGS=""
    7990       cat >conftest.$ac_ext <<_ACEOF
    7991 /* confdefs.h.  */
    7992 _ACEOF
    7993 cat confdefs.h >>conftest.$ac_ext
    7994 cat >>conftest.$ac_ext <<_ACEOF
     7308  CXXFLAGS=""
     7309      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    79957310/* end confdefs.h.  */
    79967311
     
    80037318}
    80047319_ACEOF
    8005 rm -f conftest.$ac_objext
    8006 if { (ac_try="$ac_compile"
    8007 case "(($ac_try" in
    8008   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8009   *) ac_try_echo=$ac_try;;
    8010 esac
    8011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8012 $as_echo "$ac_try_echo") >&5
    8013   (eval "$ac_compile") 2>conftest.er1
    8014   ac_status=$?
    8015   grep -v '^ *+' conftest.er1 >conftest.err
    8016   rm -f conftest.er1
    8017   cat conftest.err >&5
    8018   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8019   (exit $ac_status); } && {
    8020          test -z "$ac_cxx_werror_flag" ||
    8021          test ! -s conftest.err
    8022        } && test -s conftest.$ac_objext; then
    8023   :
    8024 else
    8025   $as_echo "$as_me: failed program was:" >&5
    8026 sed 's/^/| /' conftest.$ac_ext >&5
    8027 
    8028         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7320if ac_fn_cxx_try_compile "$LINENO"; then :
     7321
     7322else
     7323  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    80297324         CXXFLAGS="-g"
    8030          cat >conftest.$ac_ext <<_ACEOF
    8031 /* confdefs.h.  */
    8032 _ACEOF
    8033 cat confdefs.h >>conftest.$ac_ext
    8034 cat >>conftest.$ac_ext <<_ACEOF
     7325         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    80357326/* end confdefs.h.  */
    80367327
     
    80437334}
    80447335_ACEOF
    8045 rm -f conftest.$ac_objext
    8046 if { (ac_try="$ac_compile"
    8047 case "(($ac_try" in
    8048   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8049   *) ac_try_echo=$ac_try;;
    8050 esac
    8051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8052 $as_echo "$ac_try_echo") >&5
    8053   (eval "$ac_compile") 2>conftest.er1
    8054   ac_status=$?
    8055   grep -v '^ *+' conftest.er1 >conftest.err
    8056   rm -f conftest.er1
    8057   cat conftest.err >&5
    8058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8059   (exit $ac_status); } && {
    8060          test -z "$ac_cxx_werror_flag" ||
    8061          test ! -s conftest.err
    8062        } && test -s conftest.$ac_objext; then
     7336if ac_fn_cxx_try_compile "$LINENO"; then :
    80637337  ac_cv_prog_cxx_g=yes
    8064 else
    8065   $as_echo "$as_me: failed program was:" >&5
    8066 sed 's/^/| /' conftest.$ac_ext >&5
    8067 
    8068 
    8069 fi
    8070 
     7338fi
    80717339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80727340fi
    8073 
    80747341rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80757342fi
    8076 
    80777343rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    80787344   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    80797345fi
    8080 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7346{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    80817347$as_echo "$ac_cv_prog_cxx_g" >&6; }
    80827348if test "$ac_test_CXXFLAGS" = set; then
     
    81067372ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    81077373ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    8108 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     7374{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
    81097375$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    81107376if test -z "$CXXCPP"; then
    8111   if test "${ac_cv_prog_CXXCPP+set}" = set; then
     7377  if ${ac_cv_prog_CXXCPP+:} false; then :
    81127378  $as_echo_n "(cached) " >&6
    81137379else
     
    81247390  # On the NeXT, cc -E runs the code through the compiler's parser,
    81257391  # not just through cpp. "Syntax error" is here to catch this case.
    8126   cat >conftest.$ac_ext <<_ACEOF
    8127 /* confdefs.h.  */
    8128 _ACEOF
    8129 cat confdefs.h >>conftest.$ac_ext
    8130 cat >>conftest.$ac_ext <<_ACEOF
     7392  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    81317393/* end confdefs.h.  */
    81327394#ifdef __STDC__
     
    81377399                     Syntax error
    81387400_ACEOF
    8139 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8140 case "(($ac_try" in
    8141   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8142   *) ac_try_echo=$ac_try;;
    8143 esac
    8144 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8145 $as_echo "$ac_try_echo") >&5
    8146   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8147   ac_status=$?
    8148   grep -v '^ *+' conftest.er1 >conftest.err
    8149   rm -f conftest.er1
    8150   cat conftest.err >&5
    8151   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8152   (exit $ac_status); } >/dev/null && {
    8153          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8154          test ! -s conftest.err
    8155        }; then
    8156   :
    8157 else
    8158   $as_echo "$as_me: failed program was:" >&5
    8159 sed 's/^/| /' conftest.$ac_ext >&5
    8160 
     7401if ac_fn_cxx_try_cpp "$LINENO"; then :
     7402
     7403else
    81617404  # Broken: fails on valid input.
    81627405continue
    81637406fi
    8164 
    8165 rm -f conftest.err conftest.$ac_ext
     7407rm -f conftest.err conftest.i conftest.$ac_ext
    81667408
    81677409  # OK, works on sane cases.  Now check whether nonexistent headers
    81687410  # can be detected and how.
    8169   cat >conftest.$ac_ext <<_ACEOF
    8170 /* confdefs.h.  */
    8171 _ACEOF
    8172 cat confdefs.h >>conftest.$ac_ext
    8173 cat >>conftest.$ac_ext <<_ACEOF
     7411  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    81747412/* end confdefs.h.  */
    81757413#include <ac_nonexistent.h>
    81767414_ACEOF
    8177 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8178 case "(($ac_try" in
    8179   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8180   *) ac_try_echo=$ac_try;;
    8181 esac
    8182 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8183 $as_echo "$ac_try_echo") >&5
    8184   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8185   ac_status=$?
    8186   grep -v '^ *+' conftest.er1 >conftest.err
    8187   rm -f conftest.er1
    8188   cat conftest.err >&5
    8189   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8190   (exit $ac_status); } >/dev/null && {
    8191          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8192          test ! -s conftest.err
    8193        }; then
     7415if ac_fn_cxx_try_cpp "$LINENO"; then :
    81947416  # Broken: success on invalid input.
    81957417continue
    81967418else
    8197   $as_echo "$as_me: failed program was:" >&5
    8198 sed 's/^/| /' conftest.$ac_ext >&5
    8199 
    82007419  # Passes both tests.
    82017420ac_preproc_ok=:
    82027421break
    82037422fi
    8204 
    8205 rm -f conftest.err conftest.$ac_ext
     7423rm -f conftest.err conftest.i conftest.$ac_ext
    82067424
    82077425done
    82087426# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8209 rm -f conftest.err conftest.$ac_ext
    8210 if $ac_preproc_ok; then
     7427rm -f conftest.i conftest.err conftest.$ac_ext
     7428if $ac_preproc_ok; then :
    82117429  break
    82127430fi
     
    82207438  ac_cv_prog_CXXCPP=$CXXCPP
    82217439fi
    8222 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
     7440{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
    82237441$as_echo "$CXXCPP" >&6; }
    82247442ac_preproc_ok=false
     
    82317449  # On the NeXT, cc -E runs the code through the compiler's parser,
    82327450  # not just through cpp. "Syntax error" is here to catch this case.
    8233   cat >conftest.$ac_ext <<_ACEOF
    8234 /* confdefs.h.  */
    8235 _ACEOF
    8236 cat confdefs.h >>conftest.$ac_ext
    8237 cat >>conftest.$ac_ext <<_ACEOF
     7451  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82387452/* end confdefs.h.  */
    82397453#ifdef __STDC__
     
    82447458                     Syntax error
    82457459_ACEOF
    8246 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8247 case "(($ac_try" in
    8248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8249   *) ac_try_echo=$ac_try;;
    8250 esac
    8251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8252 $as_echo "$ac_try_echo") >&5
    8253   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8254   ac_status=$?
    8255   grep -v '^ *+' conftest.er1 >conftest.err
    8256   rm -f conftest.er1
    8257   cat conftest.err >&5
    8258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8259   (exit $ac_status); } >/dev/null && {
    8260          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8261          test ! -s conftest.err
    8262        }; then
    8263   :
    8264 else
    8265   $as_echo "$as_me: failed program was:" >&5
    8266 sed 's/^/| /' conftest.$ac_ext >&5
    8267 
     7460if ac_fn_cxx_try_cpp "$LINENO"; then :
     7461
     7462else
    82687463  # Broken: fails on valid input.
    82697464continue
    82707465fi
    8271 
    8272 rm -f conftest.err conftest.$ac_ext
     7466rm -f conftest.err conftest.i conftest.$ac_ext
    82737467
    82747468  # OK, works on sane cases.  Now check whether nonexistent headers
    82757469  # can be detected and how.
    8276   cat >conftest.$ac_ext <<_ACEOF
    8277 /* confdefs.h.  */
    8278 _ACEOF
    8279 cat confdefs.h >>conftest.$ac_ext
    8280 cat >>conftest.$ac_ext <<_ACEOF
     7470  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    82817471/* end confdefs.h.  */
    82827472#include <ac_nonexistent.h>
    82837473_ACEOF
    8284 if { (ac_try="$ac_cpp conftest.$ac_ext"
    8285 case "(($ac_try" in
    8286   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8287   *) ac_try_echo=$ac_try;;
    8288 esac
    8289 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8290 $as_echo "$ac_try_echo") >&5
    8291   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    8292   ac_status=$?
    8293   grep -v '^ *+' conftest.er1 >conftest.err
    8294   rm -f conftest.er1
    8295   cat conftest.err >&5
    8296   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8297   (exit $ac_status); } >/dev/null && {
    8298          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    8299          test ! -s conftest.err
    8300        }; then
     7474if ac_fn_cxx_try_cpp "$LINENO"; then :
    83017475  # Broken: success on invalid input.
    83027476continue
    83037477else
    8304   $as_echo "$as_me: failed program was:" >&5
    8305 sed 's/^/| /' conftest.$ac_ext >&5
    8306 
    83077478  # Passes both tests.
    83087479ac_preproc_ok=:
    83097480break
    83107481fi
    8311 
    8312 rm -f conftest.err conftest.$ac_ext
     7482rm -f conftest.err conftest.i conftest.$ac_ext
    83137483
    83147484done
    83157485# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    8316 rm -f conftest.err conftest.$ac_ext
    8317 if $ac_preproc_ok; then
    8318   :
    8319 else
    8320   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     7486rm -f conftest.i conftest.err conftest.$ac_ext
     7487if $ac_preproc_ok; then :
     7488
     7489else
     7490  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    83217491$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8322 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8323 See \`config.log' for more details." >&5
    8324 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    8325 See \`config.log' for more details." >&2;}
    8326    { (exit 1); exit 1; }; }; }
     7492as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
     7493See \`config.log' for more details" "$LINENO" 5; }
    83277494fi
    83287495
     
    83477514    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    83487515set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8349 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7516{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    83507517$as_echo_n "checking for $ac_word... " >&6; }
    8351 if test "${ac_cv_prog_CXX+set}" = set; then
     7518if ${ac_cv_prog_CXX+:} false; then :
    83527519  $as_echo_n "(cached) " >&6
    83537520else
     
    83607527  IFS=$as_save_IFS
    83617528  test -z "$as_dir" && as_dir=.
    8362   for ac_exec_ext in '' $ac_executable_extensions; do
     7529    for ac_exec_ext in '' $ac_executable_extensions; do
    83637530  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    83647531    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8365     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7532    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    83667533    break 2
    83677534  fi
    83687535done
    8369 done
     7536  done
    83707537IFS=$as_save_IFS
    83717538
     
    83747541CXX=$ac_cv_prog_CXX
    83757542if test -n "$CXX"; then
    8376   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
     7543  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
    83777544$as_echo "$CXX" >&6; }
    83787545else
    8379   { $as_echo "$as_me:$LINENO: result: no" >&5
     7546  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    83807547$as_echo "no" >&6; }
    83817548fi
     
    83917558  # Extract the first word of "$ac_prog", so it can be a program name with args.
    83927559set dummy $ac_prog; ac_word=$2
    8393 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
     7560{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
    83947561$as_echo_n "checking for $ac_word... " >&6; }
    8395 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
     7562if ${ac_cv_prog_ac_ct_CXX+:} false; then :
    83967563  $as_echo_n "(cached) " >&6
    83977564else
     
    84047571  IFS=$as_save_IFS
    84057572  test -z "$as_dir" && as_dir=.
    8406   for ac_exec_ext in '' $ac_executable_extensions; do
     7573    for ac_exec_ext in '' $ac_executable_extensions; do
    84077574  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    84087575    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8409     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7576    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
    84107577    break 2
    84117578  fi
    84127579done
    8413 done
     7580  done
    84147581IFS=$as_save_IFS
    84157582
     
    84187585ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    84197586if test -n "$ac_ct_CXX"; then
    8420   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7587  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
    84217588$as_echo "$ac_ct_CXX" >&6; }
    84227589else
    8423   { $as_echo "$as_me:$LINENO: result: no" >&5
     7590  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    84247591$as_echo "no" >&6; }
    84257592fi
     
    84347601    case $cross_compiling:$ac_tool_warned in
    84357602yes:)
    8436 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
     7603{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
    84377604$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    84387605ac_tool_warned=yes ;;
     
    84457612fi
    84467613# Provide some information about the compiler.
    8447 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7614$as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
    84487615set X $ac_compile
    84497616ac_compiler=$2
    8450 { (ac_try="$ac_compiler --version >&5"
     7617for ac_option in --version -v -V -qversion; do
     7618  { { ac_try="$ac_compiler $ac_option >&5"
    84517619case "(($ac_try" in
    84527620  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    84537621  *) ac_try_echo=$ac_try;;
    84547622esac
    8455 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8456 $as_echo "$ac_try_echo") >&5
    8457   (eval "$ac_compiler --version >&5") 2>&5
     7623eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
     7624$as_echo "$ac_try_echo"; } >&5
     7625  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
    84587626  ac_status=$?
    8459   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8460   (exit $ac_status); }
    8461 { (ac_try="$ac_compiler -v >&5"
    8462 case "(($ac_try" in
    8463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8464   *) ac_try_echo=$ac_try;;
    8465 esac
    8466 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8467 $as_echo "$ac_try_echo") >&5
    8468   (eval "$ac_compiler -v >&5") 2>&5
    8469   ac_status=$?
    8470   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8471   (exit $ac_status); }
    8472 { (ac_try="$ac_compiler -V >&5"
    8473 case "(($ac_try" in
    8474   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8475   *) ac_try_echo=$ac_try;;
    8476 esac
    8477 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8478 $as_echo "$ac_try_echo") >&5
    8479   (eval "$ac_compiler -V >&5") 2>&5
    8480   ac_status=$?
    8481   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8482   (exit $ac_status); }
    8483 
    8484 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7627  if test -s conftest.err; then
     7628    sed '10a\
     7629... rest of stderr output deleted ...
     7630         10q' conftest.err >conftest.er1
     7631    cat conftest.er1 >&5
     7632  fi
     7633  rm -f conftest.er1 conftest.err
     7634  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
     7635  test $ac_status = 0; }
     7636done
     7637
     7638{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
    84857639$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    8486 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
     7640if ${ac_cv_cxx_compiler_gnu+:} false; then :
    84877641  $as_echo_n "(cached) " >&6
    84887642else
    8489   cat >conftest.$ac_ext <<_ACEOF
    8490 /* confdefs.h.  */
    8491 _ACEOF
    8492 cat confdefs.h >>conftest.$ac_ext
    8493 cat >>conftest.$ac_ext <<_ACEOF
     7643  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    84947644/* end confdefs.h.  */
    84957645
     
    85057655}
    85067656_ACEOF
    8507 rm -f conftest.$ac_objext
    8508 if { (ac_try="$ac_compile"
    8509 case "(($ac_try" in
    8510   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8511   *) ac_try_echo=$ac_try;;
    8512 esac
    8513 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8514 $as_echo "$ac_try_echo") >&5
    8515   (eval "$ac_compile") 2>conftest.er1
    8516   ac_status=$?
    8517   grep -v '^ *+' conftest.er1 >conftest.err
    8518   rm -f conftest.er1
    8519   cat conftest.err >&5
    8520   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8521   (exit $ac_status); } && {
    8522          test -z "$ac_cxx_werror_flag" ||
    8523          test ! -s conftest.err
    8524        } && test -s conftest.$ac_objext; then
     7657if ac_fn_cxx_try_compile "$LINENO"; then :
    85257658  ac_compiler_gnu=yes
    85267659else
    8527   $as_echo "$as_me: failed program was:" >&5
    8528 sed 's/^/| /' conftest.$ac_ext >&5
    8529 
    8530         ac_compiler_gnu=no
    8531 fi
    8532 
     7660  ac_compiler_gnu=no
     7661fi
    85337662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    85347663ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    85357664
    85367665fi
    8537 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
    85387667$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    85397668if test $ac_compiler_gnu = yes; then
     
    85447673ac_test_CXXFLAGS=${CXXFLAGS+set}
    85457674ac_save_CXXFLAGS=$CXXFLAGS
    8546 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7675{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
    85477676$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    8548 if test "${ac_cv_prog_cxx_g+set}" = set; then
     7677if ${ac_cv_prog_cxx_g+:} false; then :
    85497678  $as_echo_n "(cached) " >&6
    85507679else
     
    85537682   ac_cv_prog_cxx_g=no
    85547683   CXXFLAGS="-g"
    8555    cat >conftest.$ac_ext <<_ACEOF
    8556 /* confdefs.h.  */
    8557 _ACEOF
    8558 cat confdefs.h >>conftest.$ac_ext
    8559 cat >>conftest.$ac_ext <<_ACEOF
     7684   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85607685/* end confdefs.h.  */
    85617686
     
    85687693}
    85697694_ACEOF
    8570 rm -f conftest.$ac_objext
    8571 if { (ac_try="$ac_compile"
    8572 case "(($ac_try" in
    8573   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8574   *) ac_try_echo=$ac_try;;
    8575 esac
    8576 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8577 $as_echo "$ac_try_echo") >&5
    8578   (eval "$ac_compile") 2>conftest.er1
    8579   ac_status=$?
    8580   grep -v '^ *+' conftest.er1 >conftest.err
    8581   rm -f conftest.er1
    8582   cat conftest.err >&5
    8583   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8584   (exit $ac_status); } && {
    8585          test -z "$ac_cxx_werror_flag" ||
    8586          test ! -s conftest.err
    8587        } && test -s conftest.$ac_objext; then
     7695if ac_fn_cxx_try_compile "$LINENO"; then :
    85887696  ac_cv_prog_cxx_g=yes
    85897697else
    8590   $as_echo "$as_me: failed program was:" >&5
    8591 sed 's/^/| /' conftest.$ac_ext >&5
    8592 
    8593         CXXFLAGS=""
    8594       cat >conftest.$ac_ext <<_ACEOF
    8595 /* confdefs.h.  */
    8596 _ACEOF
    8597 cat confdefs.h >>conftest.$ac_ext
    8598 cat >>conftest.$ac_ext <<_ACEOF
     7698  CXXFLAGS=""
     7699      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    85997700/* end confdefs.h.  */
    86007701
     
    86077708}
    86087709_ACEOF
    8609 rm -f conftest.$ac_objext
    8610 if { (ac_try="$ac_compile"
    8611 case "(($ac_try" in
    8612   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8613   *) ac_try_echo=$ac_try;;
    8614 esac
    8615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8616 $as_echo "$ac_try_echo") >&5
    8617   (eval "$ac_compile") 2>conftest.er1
    8618   ac_status=$?
    8619   grep -v '^ *+' conftest.er1 >conftest.err
    8620   rm -f conftest.er1
    8621   cat conftest.err >&5
    8622   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8623   (exit $ac_status); } && {
    8624          test -z "$ac_cxx_werror_flag" ||
    8625          test ! -s conftest.err
    8626        } && test -s conftest.$ac_objext; then
    8627   :
    8628 else
    8629   $as_echo "$as_me: failed program was:" >&5
    8630 sed 's/^/| /' conftest.$ac_ext >&5
    8631 
    8632         ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7710if ac_fn_cxx_try_compile "$LINENO"; then :
     7711
     7712else
     7713  ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    86337714         CXXFLAGS="-g"
    8634          cat >conftest.$ac_ext <<_ACEOF
    8635 /* confdefs.h.  */
    8636 _ACEOF
    8637 cat confdefs.h >>conftest.$ac_ext
    8638 cat >>conftest.$ac_ext <<_ACEOF
     7715         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    86397716/* end confdefs.h.  */
    86407717
     
    86477724}
    86487725_ACEOF
    8649 rm -f conftest.$ac_objext
    8650 if { (ac_try="$ac_compile"
    8651 case "(($ac_try" in
    8652   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8653   *) ac_try_echo=$ac_try;;
    8654 esac
    8655 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8656 $as_echo "$ac_try_echo") >&5
    8657   (eval "$ac_compile") 2>conftest.er1
    8658   ac_status=$?
    8659   grep -v '^ *+' conftest.er1 >conftest.err
    8660   rm -f conftest.er1
    8661   cat conftest.err >&5
    8662   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8663   (exit $ac_status); } && {
    8664          test -z "$ac_cxx_werror_flag" ||
    8665          test ! -s conftest.err
    8666        } && test -s conftest.$ac_objext; then
     7726if ac_fn_cxx_try_compile "$LINENO"; then :
    86677727  ac_cv_prog_cxx_g=yes
    8668 else
    8669   $as_echo "$as_me: failed program was:" >&5
    8670 sed 's/^/| /' conftest.$ac_ext >&5
    8671 
    8672 
    8673 fi
    8674 
     7728fi
    86757729rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    86767730fi
    8677 
    86787731rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    86797732fi
    8680 
    86817733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    86827734   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    86837735fi
    8684 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7736{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
    86857737$as_echo "$ac_cv_prog_cxx_g" >&6; }
    86867738if test "$ac_test_CXXFLAGS" = set; then
     
    87137765
    87147766
    8715 
    8716  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     7767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
    87177768$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    8718 if test "${ac_cv_c_bigendian+set}" = set; then
     7769if ${ac_cv_c_bigendian+:} false; then :
    87197770  $as_echo_n "(cached) " >&6
    87207771else
    87217772  ac_cv_c_bigendian=unknown
    87227773    # See if we're dealing with a universal compiler.
    8723     cat >conftest.$ac_ext <<_ACEOF
    8724 /* confdefs.h.  */
    8725 _ACEOF
    8726 cat confdefs.h >>conftest.$ac_ext
    8727 cat >>conftest.$ac_ext <<_ACEOF
     7774    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87287775/* end confdefs.h.  */
    87297776#ifndef __APPLE_CC__
     
    87337780
    87347781_ACEOF
    8735 rm -f conftest.$ac_objext
    8736 if { (ac_try="$ac_compile"
    8737 case "(($ac_try" in
    8738   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8739   *) ac_try_echo=$ac_try;;
    8740 esac
    8741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8742 $as_echo "$ac_try_echo") >&5
    8743   (eval "$ac_compile") 2>conftest.er1
    8744   ac_status=$?
    8745   grep -v '^ *+' conftest.er1 >conftest.err
    8746   rm -f conftest.er1
    8747   cat conftest.err >&5
    8748   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8749   (exit $ac_status); } && {
    8750          test -z "$ac_cxx_werror_flag" ||
    8751          test ! -s conftest.err
    8752        } && test -s conftest.$ac_objext; then
     7782if ac_fn_cxx_try_compile "$LINENO"; then :
    87537783
    87547784        # Check for potential -arch flags.  It is not universal unless
    8755         # there are some -arch flags.  Note that *ppc* also matches
    8756         # ppc64.  This check is also rather less than ideal.
    8757         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    8758           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    8759         esac
    8760 else
    8761   $as_echo "$as_me: failed program was:" >&5
    8762 sed 's/^/| /' conftest.$ac_ext >&5
    8763 
    8764 
    8765 fi
    8766 
     7785        # there are at least two -arch flags with different values.
     7786        ac_arch=
     7787        ac_prev=
     7788        for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
     7789         if test -n "$ac_prev"; then
     7790           case $ac_word in
     7791             i?86 | x86_64 | ppc | ppc64)
     7792               if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
     7793                 ac_arch=$ac_word
     7794               else
     7795                 ac_cv_c_bigendian=universal
     7796                 break
     7797               fi
     7798               ;;
     7799           esac
     7800           ac_prev=
     7801         elif test "x$ac_word" = "x-arch"; then
     7802           ac_prev=arch
     7803         fi
     7804       done
     7805fi
    87677806rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    87687807    if test $ac_cv_c_bigendian = unknown; then
    87697808      # See if sys/param.h defines the BYTE_ORDER macro.
    8770       cat >conftest.$ac_ext <<_ACEOF
    8771 /* confdefs.h.  */
    8772 _ACEOF
    8773 cat confdefs.h >>conftest.$ac_ext
    8774 cat >>conftest.$ac_ext <<_ACEOF
     7809      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    87757810/* end confdefs.h.  */
    87767811#include <sys/types.h>
     
    87907825}
    87917826_ACEOF
    8792 rm -f conftest.$ac_objext
    8793 if { (ac_try="$ac_compile"
    8794 case "(($ac_try" in
    8795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8796   *) ac_try_echo=$ac_try;;
    8797 esac
    8798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8799 $as_echo "$ac_try_echo") >&5
    8800   (eval "$ac_compile") 2>conftest.er1
    8801   ac_status=$?
    8802   grep -v '^ *+' conftest.er1 >conftest.err
    8803   rm -f conftest.er1
    8804   cat conftest.err >&5
    8805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8806   (exit $ac_status); } && {
    8807          test -z "$ac_cxx_werror_flag" ||
    8808          test ! -s conftest.err
    8809        } && test -s conftest.$ac_objext; then
     7827if ac_fn_cxx_try_compile "$LINENO"; then :
    88107828  # It does; now see whether it defined to BIG_ENDIAN or not.
    8811          cat >conftest.$ac_ext <<_ACEOF
    8812 /* confdefs.h.  */
    8813 _ACEOF
    8814 cat confdefs.h >>conftest.$ac_ext
    8815 cat >>conftest.$ac_ext <<_ACEOF
     7829         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88167830/* end confdefs.h.  */
    88177831#include <sys/types.h>
     
    88297843}
    88307844_ACEOF
    8831 rm -f conftest.$ac_objext
    8832 if { (ac_try="$ac_compile"
    8833 case "(($ac_try" in
    8834   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8835   *) ac_try_echo=$ac_try;;
    8836 esac
    8837 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8838 $as_echo "$ac_try_echo") >&5
    8839   (eval "$ac_compile") 2>conftest.er1
    8840   ac_status=$?
    8841   grep -v '^ *+' conftest.er1 >conftest.err
    8842   rm -f conftest.er1
    8843   cat conftest.err >&5
    8844   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8845   (exit $ac_status); } && {
    8846          test -z "$ac_cxx_werror_flag" ||
    8847          test ! -s conftest.err
    8848        } && test -s conftest.$ac_objext; then
     7845if ac_fn_cxx_try_compile "$LINENO"; then :
    88497846  ac_cv_c_bigendian=yes
    88507847else
    8851   $as_echo "$as_me: failed program was:" >&5
    8852 sed 's/^/| /' conftest.$ac_ext >&5
    8853 
    8854         ac_cv_c_bigendian=no
    8855 fi
    8856 
     7848  ac_cv_c_bigendian=no
     7849fi
    88577850rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8858 else
    8859   $as_echo "$as_me: failed program was:" >&5
    8860 sed 's/^/| /' conftest.$ac_ext >&5
    8861 
    8862 
    8863 fi
    8864 
     7851fi
    88657852rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    88667853    fi
    88677854    if test $ac_cv_c_bigendian = unknown; then
    88687855      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    8869       cat >conftest.$ac_ext <<_ACEOF
    8870 /* confdefs.h.  */
    8871 _ACEOF
    8872 cat confdefs.h >>conftest.$ac_ext
    8873 cat >>conftest.$ac_ext <<_ACEOF
     7856      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    88747857/* end confdefs.h.  */
    88757858#include <limits.h>
     
    88867869}
    88877870_ACEOF
    8888 rm -f conftest.$ac_objext
    8889 if { (ac_try="$ac_compile"
    8890 case "(($ac_try" in
    8891   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8892   *) ac_try_echo=$ac_try;;
    8893 esac
    8894 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8895 $as_echo "$ac_try_echo") >&5
    8896   (eval "$ac_compile") 2>conftest.er1
    8897   ac_status=$?
    8898   grep -v '^ *+' conftest.er1 >conftest.err
    8899   rm -f conftest.er1
    8900   cat conftest.err >&5
    8901   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8902   (exit $ac_status); } && {
    8903          test -z "$ac_cxx_werror_flag" ||
    8904          test ! -s conftest.err
    8905        } && test -s conftest.$ac_objext; then
     7871if ac_fn_cxx_try_compile "$LINENO"; then :
    89067872  # It does; now see whether it defined to _BIG_ENDIAN or not.
    8907          cat >conftest.$ac_ext <<_ACEOF
    8908 /* confdefs.h.  */
    8909 _ACEOF
    8910 cat confdefs.h >>conftest.$ac_ext
    8911 cat >>conftest.$ac_ext <<_ACEOF
     7873         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89127874/* end confdefs.h.  */
    89137875#include <limits.h>
     
    89247886}
    89257887_ACEOF
    8926 rm -f conftest.$ac_objext
    8927 if { (ac_try="$ac_compile"
    8928 case "(($ac_try" in
    8929   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8930   *) ac_try_echo=$ac_try;;
    8931 esac
    8932 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8933 $as_echo "$ac_try_echo") >&5
    8934   (eval "$ac_compile") 2>conftest.er1
    8935   ac_status=$?
    8936   grep -v '^ *+' conftest.er1 >conftest.err
    8937   rm -f conftest.er1
    8938   cat conftest.err >&5
    8939   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8940   (exit $ac_status); } && {
    8941          test -z "$ac_cxx_werror_flag" ||
    8942          test ! -s conftest.err
    8943        } && test -s conftest.$ac_objext; then
     7888if ac_fn_cxx_try_compile "$LINENO"; then :
    89447889  ac_cv_c_bigendian=yes
    89457890else
    8946   $as_echo "$as_me: failed program was:" >&5
    8947 sed 's/^/| /' conftest.$ac_ext >&5
    8948 
    8949         ac_cv_c_bigendian=no
    8950 fi
    8951 
     7891  ac_cv_c_bigendian=no
     7892fi
    89527893rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8953 else
    8954   $as_echo "$as_me: failed program was:" >&5
    8955 sed 's/^/| /' conftest.$ac_ext >&5
    8956 
    8957 
    8958 fi
    8959 
     7894fi
    89607895rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    89617896    fi
    89627897    if test $ac_cv_c_bigendian = unknown; then
    89637898      # Compile a test program.
    8964       if test "$cross_compiling" = yes; then
     7899      if test "$cross_compiling" = yes; then :
    89657900  # Try to guess by grepping values from an object file.
    8966          cat >conftest.$ac_ext <<_ACEOF
    8967 /* confdefs.h.  */
    8968 _ACEOF
    8969 cat confdefs.h >>conftest.$ac_ext
    8970 cat >>conftest.$ac_ext <<_ACEOF
     7901         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    89717902/* end confdefs.h.  */
    89727903short int ascii_mm[] =
     
    89947925}
    89957926_ACEOF
    8996 rm -f conftest.$ac_objext
    8997 if { (ac_try="$ac_compile"
    8998 case "(($ac_try" in
    8999   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9000   *) ac_try_echo=$ac_try;;
    9001 esac
    9002 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9003 $as_echo "$ac_try_echo") >&5
    9004   (eval "$ac_compile") 2>conftest.er1
    9005   ac_status=$?
    9006   grep -v '^ *+' conftest.er1 >conftest.err
    9007   rm -f conftest.er1
    9008   cat conftest.err >&5
    9009   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9010   (exit $ac_status); } && {
    9011          test -z "$ac_cxx_werror_flag" ||
    9012          test ! -s conftest.err
    9013        } && test -s conftest.$ac_objext; then
     7927if ac_fn_cxx_try_compile "$LINENO"; then :
    90147928  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    90157929              ac_cv_c_bigendian=yes
     
    90237937              fi
    90247938            fi
    9025 else
    9026   $as_echo "$as_me: failed program was:" >&5
    9027 sed 's/^/| /' conftest.$ac_ext >&5
    9028 
    9029 
    9030 fi
    9031 
     7939fi
    90327940rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    90337941else
    9034   cat >conftest.$ac_ext <<_ACEOF
    9035 /* confdefs.h.  */
    9036 _ACEOF
    9037 cat confdefs.h >>conftest.$ac_ext
    9038 cat >>conftest.$ac_ext <<_ACEOF
     7942  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    90397943/* end confdefs.h.  */
    90407944$ac_includes_default
     
    90567960}
    90577961_ACEOF
    9058 rm -f conftest$ac_exeext
    9059 if { (ac_try="$ac_link"
    9060 case "(($ac_try" in
    9061   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9062   *) ac_try_echo=$ac_try;;
    9063 esac
    9064 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9065 $as_echo "$ac_try_echo") >&5
    9066   (eval "$ac_link") 2>&5
    9067   ac_status=$?
    9068   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9069   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9070   { (case "(($ac_try" in
    9071   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9072   *) ac_try_echo=$ac_try;;
    9073 esac
    9074 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9075 $as_echo "$ac_try_echo") >&5
    9076   (eval "$ac_try") 2>&5
    9077   ac_status=$?
    9078   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9079   (exit $ac_status); }; }; then
     7962if ac_fn_cxx_try_run "$LINENO"; then :
    90807963  ac_cv_c_bigendian=no
    90817964else
    9082   $as_echo "$as_me: program exited with status $ac_status" >&5
    9083 $as_echo "$as_me: failed program was:" >&5
    9084 sed 's/^/| /' conftest.$ac_ext >&5
    9085 
    9086 ( exit $ac_status )
    9087 ac_cv_c_bigendian=yes
    9088 fi
    9089 rm -rf conftest.dSYM
    9090 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9091 fi
    9092 
     7965  ac_cv_c_bigendian=yes
     7966fi
     7967rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     7968  conftest.$ac_objext conftest.beam conftest.$ac_ext
     7969fi
    90937970
    90947971    fi
    90957972fi
    9096 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     7973{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
    90977974$as_echo "$ac_cv_c_bigendian" >&6; }
    90987975 case $ac_cv_c_bigendian in #(
    90997976   yes)
    9100      cat >>confdefs.h <<\_ACEOF
    9101 #define WORDS_BIGENDIAN 1
    9102 _ACEOF
     7977     $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
    91037978;; #(
    91047979   no)
     
    91067981   universal)
    91077982
    9108 cat >>confdefs.h <<\_ACEOF
    9109 #define AC_APPLE_UNIVERSAL_BUILD 1
    9110 _ACEOF
     7983$as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
    91117984
    91127985     ;; #(
    91137986   *)
    9114      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    9115  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    9116 $as_echo "$as_me: error: unknown endianness
    9117  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    9118    { (exit 1); exit 1; }; } ;;
     7987     as_fn_error $? "unknown endianness
     7988 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
    91197989 esac
    91207990
     
    91237993# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    91247994# This bug is HP SR number 8606223364.
    9125 { $as_echo "$as_me:$LINENO: checking size of int" >&5
     7995{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
    91267996$as_echo_n "checking size of int... " >&6; }
    9127 if test "${ac_cv_sizeof_int+set}" = set; then
     7997if ${ac_cv_sizeof_int+:} false; then :
    91287998  $as_echo_n "(cached) " >&6
    91297999else
    9130   if test "$cross_compiling" = yes; then
    9131   # Depending upon the size, compute the lo and hi bounds.
    9132 cat >conftest.$ac_ext <<_ACEOF
    9133 /* confdefs.h.  */
    9134 _ACEOF
    9135 cat confdefs.h >>conftest.$ac_ext
    9136 cat >>conftest.$ac_ext <<_ACEOF
    9137 /* end confdefs.h.  */
    9138 $ac_includes_default
    9139 int
    9140 main ()
    9141 {
    9142 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
    9143 test_array [0] = 0
    9144 
    9145   ;
    9146   return 0;
    9147 }
    9148 _ACEOF
    9149 rm -f conftest.$ac_objext
    9150 if { (ac_try="$ac_compile"
    9151 case "(($ac_try" in
    9152   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9153   *) ac_try_echo=$ac_try;;
    9154 esac
    9155 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9156 $as_echo "$ac_try_echo") >&5
    9157   (eval "$ac_compile") 2>conftest.er1
    9158   ac_status=$?
    9159   grep -v '^ *+' conftest.er1 >conftest.err
    9160   rm -f conftest.er1
    9161   cat conftest.err >&5
    9162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9163   (exit $ac_status); } && {
    9164          test -z "$ac_cxx_werror_flag" ||
    9165          test ! -s conftest.err
    9166        } && test -s conftest.$ac_objext; then
    9167   ac_lo=0 ac_mid=0
    9168   while :; do
    9169     cat >conftest.$ac_ext <<_ACEOF
    9170 /* confdefs.h.  */
    9171 _ACEOF
    9172 cat confdefs.h >>conftest.$ac_ext
    9173 cat >>conftest.$ac_ext <<_ACEOF
    9174 /* end confdefs.h.  */
    9175 $ac_includes_default
    9176 int
    9177 main ()
    9178 {
    9179 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    9180 test_array [0] = 0
    9181 
    9182   ;
    9183   return 0;
    9184 }
    9185 _ACEOF
    9186 rm -f conftest.$ac_objext
    9187 if { (ac_try="$ac_compile"
    9188 case "(($ac_try" in
    9189   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9190   *) ac_try_echo=$ac_try;;
    9191 esac
    9192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9193 $as_echo "$ac_try_echo") >&5
    9194   (eval "$ac_compile") 2>conftest.er1
    9195   ac_status=$?
    9196   grep -v '^ *+' conftest.er1 >conftest.err
    9197   rm -f conftest.er1
    9198   cat conftest.err >&5
    9199   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9200   (exit $ac_status); } && {
    9201          test -z "$ac_cxx_werror_flag" ||
    9202          test ! -s conftest.err
    9203        } && test -s conftest.$ac_objext; then
    9204   ac_hi=$ac_mid; break
    9205 else
    9206   $as_echo "$as_me: failed program was:" >&5
    9207 sed 's/^/| /' conftest.$ac_ext >&5
    9208 
    9209         ac_lo=`expr $ac_mid + 1`
    9210                         if test $ac_lo -le $ac_mid; then
    9211                           ac_lo= ac_hi=
    9212                           break
    9213                         fi
    9214                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9215 fi
    9216 
    9217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9218   done
    9219 else
    9220   $as_echo "$as_me: failed program was:" >&5
    9221 sed 's/^/| /' conftest.$ac_ext >&5
    9222 
    9223         cat >conftest.$ac_ext <<_ACEOF
    9224 /* confdefs.h.  */
    9225 _ACEOF
    9226 cat confdefs.h >>conftest.$ac_ext
    9227 cat >>conftest.$ac_ext <<_ACEOF
    9228 /* end confdefs.h.  */
    9229 $ac_includes_default
    9230 int
    9231 main ()
    9232 {
    9233 static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
    9234 test_array [0] = 0
    9235 
    9236   ;
    9237   return 0;
    9238 }
    9239 _ACEOF
    9240 rm -f conftest.$ac_objext
    9241 if { (ac_try="$ac_compile"
    9242 case "(($ac_try" in
    9243   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9244   *) ac_try_echo=$ac_try;;
    9245 esac
    9246 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9247 $as_echo "$ac_try_echo") >&5
    9248   (eval "$ac_compile") 2>conftest.er1
    9249   ac_status=$?
    9250   grep -v '^ *+' conftest.er1 >conftest.err
    9251   rm -f conftest.er1
    9252   cat conftest.err >&5
    9253   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9254   (exit $ac_status); } && {
    9255          test -z "$ac_cxx_werror_flag" ||
    9256          test ! -s conftest.err
    9257        } && test -s conftest.$ac_objext; then
    9258   ac_hi=-1 ac_mid=-1
    9259   while :; do
    9260     cat >conftest.$ac_ext <<_ACEOF
    9261 /* confdefs.h.  */
    9262 _ACEOF
    9263 cat confdefs.h >>conftest.$ac_ext
    9264 cat >>conftest.$ac_ext <<_ACEOF
    9265 /* end confdefs.h.  */
    9266 $ac_includes_default
    9267 int
    9268 main ()
    9269 {
    9270 static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
    9271 test_array [0] = 0
    9272 
    9273   ;
    9274   return 0;
    9275 }
    9276 _ACEOF
    9277 rm -f conftest.$ac_objext
    9278 if { (ac_try="$ac_compile"
    9279 case "(($ac_try" in
    9280   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9281   *) ac_try_echo=$ac_try;;
    9282 esac
    9283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9284 $as_echo "$ac_try_echo") >&5
    9285   (eval "$ac_compile") 2>conftest.er1
    9286   ac_status=$?
    9287   grep -v '^ *+' conftest.er1 >conftest.err
    9288   rm -f conftest.er1
    9289   cat conftest.err >&5
    9290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9291   (exit $ac_status); } && {
    9292          test -z "$ac_cxx_werror_flag" ||
    9293          test ! -s conftest.err
    9294        } && test -s conftest.$ac_objext; then
    9295   ac_lo=$ac_mid; break
    9296 else
    9297   $as_echo "$as_me: failed program was:" >&5
    9298 sed 's/^/| /' conftest.$ac_ext >&5
    9299 
    9300         ac_hi=`expr '(' $ac_mid ')' - 1`
    9301                         if test $ac_mid -le $ac_hi; then
    9302                           ac_lo= ac_hi=
    9303                           break
    9304                         fi
    9305                         ac_mid=`expr 2 '*' $ac_mid`
    9306 fi
    9307 
    9308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9309   done
    9310 else
    9311   $as_echo "$as_me: failed program was:" >&5
    9312 sed 's/^/| /' conftest.$ac_ext >&5
    9313 
    9314         ac_lo= ac_hi=
    9315 fi
    9316 
    9317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9318 fi
    9319 
    9320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9321 # Binary search between lo and hi bounds.
    9322 while test "x$ac_lo" != "x$ac_hi"; do
    9323   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    9324   cat >conftest.$ac_ext <<_ACEOF
    9325 /* confdefs.h.  */
    9326 _ACEOF
    9327 cat confdefs.h >>conftest.$ac_ext
    9328 cat >>conftest.$ac_ext <<_ACEOF
    9329 /* end confdefs.h.  */
    9330 $ac_includes_default
    9331 int
    9332 main ()
    9333 {
    9334 static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
    9335 test_array [0] = 0
    9336 
    9337   ;
    9338   return 0;
    9339 }
    9340 _ACEOF
    9341 rm -f conftest.$ac_objext
    9342 if { (ac_try="$ac_compile"
    9343 case "(($ac_try" in
    9344   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9345   *) ac_try_echo=$ac_try;;
    9346 esac
    9347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9348 $as_echo "$ac_try_echo") >&5
    9349   (eval "$ac_compile") 2>conftest.er1
    9350   ac_status=$?
    9351   grep -v '^ *+' conftest.er1 >conftest.err
    9352   rm -f conftest.er1
    9353   cat conftest.err >&5
    9354   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9355   (exit $ac_status); } && {
    9356          test -z "$ac_cxx_werror_flag" ||
    9357          test ! -s conftest.err
    9358        } && test -s conftest.$ac_objext; then
    9359   ac_hi=$ac_mid
    9360 else
    9361   $as_echo "$as_me: failed program was:" >&5
    9362 sed 's/^/| /' conftest.$ac_ext >&5
    9363 
    9364         ac_lo=`expr '(' $ac_mid ')' + 1`
    9365 fi
    9366 
    9367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9368 done
    9369 case $ac_lo in
    9370 ?*) ac_cv_sizeof_int=$ac_lo;;
    9371 '') if test "$ac_cv_type_int" = yes; then
    9372      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8000  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
     8001
     8002else
     8003  if test "$ac_cv_type_int" = yes; then
     8004     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    93738005$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9374 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    9375 See \`config.log' for more details." >&5
    9376 $as_echo "$as_me: error: cannot compute sizeof (int)
    9377 See \`config.log' for more details." >&2;}
    9378    { (exit 77); exit 77; }; }; }
    9379    else
    9380      ac_cv_sizeof_int=0
    9381    fi ;;
    9382 esac
    9383 else
    9384   cat >conftest.$ac_ext <<_ACEOF
    9385 /* confdefs.h.  */
    9386 _ACEOF
    9387 cat confdefs.h >>conftest.$ac_ext
    9388 cat >>conftest.$ac_ext <<_ACEOF
    9389 /* end confdefs.h.  */
    9390 $ac_includes_default
    9391 static long int longval () { return (long int) (sizeof (int)); }
    9392 static unsigned long int ulongval () { return (long int) (sizeof (int)); }
    9393 #include <stdio.h>
    9394 #include <stdlib.h>
    9395 int
    9396 main ()
    9397 {
    9398 
    9399   FILE *f = fopen ("conftest.val", "w");
    9400   if (! f)
    9401     return 1;
    9402   if (((long int) (sizeof (int))) < 0)
    9403     {
    9404       long int i = longval ();
    9405       if (i != ((long int) (sizeof (int))))
    9406         return 1;
    9407       fprintf (f, "%ld", i);
    9408     }
    9409   else
    9410     {
    9411       unsigned long int i = ulongval ();
    9412       if (i != ((long int) (sizeof (int))))
    9413         return 1;
    9414       fprintf (f, "%lu", i);
    9415     }
    9416   /* Do not output a trailing newline, as this causes \r\n confusion
    9417      on some platforms.  */
    9418   return ferror (f) || fclose (f) != 0;
    9419 
    9420   ;
    9421   return 0;
    9422 }
    9423 _ACEOF
    9424 rm -f conftest$ac_exeext
    9425 if { (ac_try="$ac_link"
    9426 case "(($ac_try" in
    9427   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9428   *) ac_try_echo=$ac_try;;
    9429 esac
    9430 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9431 $as_echo "$ac_try_echo") >&5
    9432   (eval "$ac_link") 2>&5
    9433   ac_status=$?
    9434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9435   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9436   { (case "(($ac_try" in
    9437   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9438   *) ac_try_echo=$ac_try;;
    9439 esac
    9440 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9441 $as_echo "$ac_try_echo") >&5
    9442   (eval "$ac_try") 2>&5
    9443   ac_status=$?
    9444   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9445   (exit $ac_status); }; }; then
    9446   ac_cv_sizeof_int=`cat conftest.val`
    9447 else
    9448   $as_echo "$as_me: program exited with status $ac_status" >&5
    9449 $as_echo "$as_me: failed program was:" >&5
    9450 sed 's/^/| /' conftest.$ac_ext >&5
    9451 
    9452 ( exit $ac_status )
    9453 if test "$ac_cv_type_int" = yes; then
    9454      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    9455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9456 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
    9457 See \`config.log' for more details." >&5
    9458 $as_echo "$as_me: error: cannot compute sizeof (int)
    9459 See \`config.log' for more details." >&2;}
    9460    { (exit 77); exit 77; }; }; }
     8006as_fn_error 77 "cannot compute sizeof (int)
     8007See \`config.log' for more details" "$LINENO" 5; }
    94618008   else
    94628009     ac_cv_sizeof_int=0
    94638010   fi
    94648011fi
    9465 rm -rf conftest.dSYM
    9466 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9467 fi
    9468 rm -f conftest.val
    9469 fi
    9470 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
     8012
     8013fi
     8014{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
    94718015$as_echo "$ac_cv_sizeof_int" >&6; }
    94728016
     
    94828026# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    94838027# This bug is HP SR number 8606223364.
    9484 { $as_echo "$as_me:$LINENO: checking size of long" >&5
     8028{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
    94858029$as_echo_n "checking size of long... " >&6; }
    9486 if test "${ac_cv_sizeof_long+set}" = set; then
     8030if ${ac_cv_sizeof_long+:} false; then :
    94878031  $as_echo_n "(cached) " >&6
    94888032else
    9489   if test "$cross_compiling" = yes; then
    9490   # Depending upon the size, compute the lo and hi bounds.
    9491 cat >conftest.$ac_ext <<_ACEOF
    9492 /* confdefs.h.  */
    9493 _ACEOF
    9494 cat confdefs.h >>conftest.$ac_ext
    9495 cat >>conftest.$ac_ext <<_ACEOF
    9496 /* end confdefs.h.  */
    9497 $ac_includes_default
    9498 int
    9499 main ()
    9500 {
    9501 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
    9502 test_array [0] = 0
    9503 
    9504   ;
    9505   return 0;
    9506 }
    9507 _ACEOF
    9508 rm -f conftest.$ac_objext
    9509 if { (ac_try="$ac_compile"
    9510 case "(($ac_try" in
    9511   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9512   *) ac_try_echo=$ac_try;;
    9513 esac
    9514 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9515 $as_echo "$ac_try_echo") >&5
    9516   (eval "$ac_compile") 2>conftest.er1
    9517   ac_status=$?
    9518   grep -v '^ *+' conftest.er1 >conftest.err
    9519   rm -f conftest.er1
    9520   cat conftest.err >&5
    9521   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9522   (exit $ac_status); } && {
    9523          test -z "$ac_cxx_werror_flag" ||
    9524          test ! -s conftest.err
    9525        } && test -s conftest.$ac_objext; then
    9526   ac_lo=0 ac_mid=0
    9527   while :; do
    9528     cat >conftest.$ac_ext <<_ACEOF
    9529 /* confdefs.h.  */
    9530 _ACEOF
    9531 cat confdefs.h >>conftest.$ac_ext
    9532 cat >>conftest.$ac_ext <<_ACEOF
    9533 /* end confdefs.h.  */
    9534 $ac_includes_default
    9535 int
    9536 main ()
    9537 {
    9538 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    9539 test_array [0] = 0
    9540 
    9541   ;
    9542   return 0;
    9543 }
    9544 _ACEOF
    9545 rm -f conftest.$ac_objext
    9546 if { (ac_try="$ac_compile"
    9547 case "(($ac_try" in
    9548   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9549   *) ac_try_echo=$ac_try;;
    9550 esac
    9551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9552 $as_echo "$ac_try_echo") >&5
    9553   (eval "$ac_compile") 2>conftest.er1
    9554   ac_status=$?
    9555   grep -v '^ *+' conftest.er1 >conftest.err
    9556   rm -f conftest.er1
    9557   cat conftest.err >&5
    9558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9559   (exit $ac_status); } && {
    9560          test -z "$ac_cxx_werror_flag" ||
    9561          test ! -s conftest.err
    9562        } && test -s conftest.$ac_objext; then
    9563   ac_hi=$ac_mid; break
    9564 else
    9565   $as_echo "$as_me: failed program was:" >&5
    9566 sed 's/^/| /' conftest.$ac_ext >&5
    9567 
    9568         ac_lo=`expr $ac_mid + 1`
    9569                         if test $ac_lo -le $ac_mid; then
    9570                           ac_lo= ac_hi=
    9571                           break
    9572                         fi
    9573                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9574 fi
    9575 
    9576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9577   done
    9578 else
    9579   $as_echo "$as_me: failed program was:" >&5
    9580 sed 's/^/| /' conftest.$ac_ext >&5
    9581 
    9582         cat >conftest.$ac_ext <<_ACEOF
    9583 /* confdefs.h.  */
    9584 _ACEOF
    9585 cat confdefs.h >>conftest.$ac_ext
    9586 cat >>conftest.$ac_ext <<_ACEOF
    9587 /* end confdefs.h.  */
    9588 $ac_includes_default
    9589 int
    9590 main ()
    9591 {
    9592 static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
    9593 test_array [0] = 0
    9594 
    9595   ;
    9596   return 0;
    9597 }
    9598 _ACEOF
    9599 rm -f conftest.$ac_objext
    9600 if { (ac_try="$ac_compile"
    9601 case "(($ac_try" in
    9602   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9603   *) ac_try_echo=$ac_try;;
    9604 esac
    9605 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9606 $as_echo "$ac_try_echo") >&5
    9607   (eval "$ac_compile") 2>conftest.er1
    9608   ac_status=$?
    9609   grep -v '^ *+' conftest.er1 >conftest.err
    9610   rm -f conftest.er1
    9611   cat conftest.err >&5
    9612   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9613   (exit $ac_status); } && {
    9614          test -z "$ac_cxx_werror_flag" ||
    9615          test ! -s conftest.err
    9616        } && test -s conftest.$ac_objext; then
    9617   ac_hi=-1 ac_mid=-1
    9618   while :; do
    9619     cat >conftest.$ac_ext <<_ACEOF
    9620 /* confdefs.h.  */
    9621 _ACEOF
    9622 cat confdefs.h >>conftest.$ac_ext
    9623 cat >>conftest.$ac_ext <<_ACEOF
    9624 /* end confdefs.h.  */
    9625 $ac_includes_default
    9626 int
    9627 main ()
    9628 {
    9629 static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
    9630 test_array [0] = 0
    9631 
    9632   ;
    9633   return 0;
    9634 }
    9635 _ACEOF
    9636 rm -f conftest.$ac_objext
    9637 if { (ac_try="$ac_compile"
    9638 case "(($ac_try" in
    9639   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9640   *) ac_try_echo=$ac_try;;
    9641 esac
    9642 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9643 $as_echo "$ac_try_echo") >&5
    9644   (eval "$ac_compile") 2>conftest.er1
    9645   ac_status=$?
    9646   grep -v '^ *+' conftest.er1 >conftest.err
    9647   rm -f conftest.er1
    9648   cat conftest.err >&5
    9649   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9650   (exit $ac_status); } && {
    9651          test -z "$ac_cxx_werror_flag" ||
    9652          test ! -s conftest.err
    9653        } && test -s conftest.$ac_objext; then
    9654   ac_lo=$ac_mid; break
    9655 else
    9656   $as_echo "$as_me: failed program was:" >&5
    9657 sed 's/^/| /' conftest.$ac_ext >&5
    9658 
    9659         ac_hi=`expr '(' $ac_mid ')' - 1`
    9660                         if test $ac_mid -le $ac_hi; then
    9661                           ac_lo= ac_hi=
    9662                           break
    9663                         fi
    9664                         ac_mid=`expr 2 '*' $ac_mid`
    9665 fi
    9666 
    9667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9668   done
    9669 else
    9670   $as_echo "$as_me: failed program was:" >&5
    9671 sed 's/^/| /' conftest.$ac_ext >&5
    9672 
    9673         ac_lo= ac_hi=
    9674 fi
    9675 
    9676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9677 fi
    9678 
    9679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9680 # Binary search between lo and hi bounds.
    9681 while test "x$ac_lo" != "x$ac_hi"; do
    9682   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    9683   cat >conftest.$ac_ext <<_ACEOF
    9684 /* confdefs.h.  */
    9685 _ACEOF
    9686 cat confdefs.h >>conftest.$ac_ext
    9687 cat >>conftest.$ac_ext <<_ACEOF
    9688 /* end confdefs.h.  */
    9689 $ac_includes_default
    9690 int
    9691 main ()
    9692 {
    9693 static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
    9694 test_array [0] = 0
    9695 
    9696   ;
    9697   return 0;
    9698 }
    9699 _ACEOF
    9700 rm -f conftest.$ac_objext
    9701 if { (ac_try="$ac_compile"
    9702 case "(($ac_try" in
    9703   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9704   *) ac_try_echo=$ac_try;;
    9705 esac
    9706 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9707 $as_echo "$ac_try_echo") >&5
    9708   (eval "$ac_compile") 2>conftest.er1
    9709   ac_status=$?
    9710   grep -v '^ *+' conftest.er1 >conftest.err
    9711   rm -f conftest.er1
    9712   cat conftest.err >&5
    9713   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9714   (exit $ac_status); } && {
    9715          test -z "$ac_cxx_werror_flag" ||
    9716          test ! -s conftest.err
    9717        } && test -s conftest.$ac_objext; then
    9718   ac_hi=$ac_mid
    9719 else
    9720   $as_echo "$as_me: failed program was:" >&5
    9721 sed 's/^/| /' conftest.$ac_ext >&5
    9722 
    9723         ac_lo=`expr '(' $ac_mid ')' + 1`
    9724 fi
    9725 
    9726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9727 done
    9728 case $ac_lo in
    9729 ?*) ac_cv_sizeof_long=$ac_lo;;
    9730 '') if test "$ac_cv_type_long" = yes; then
    9731      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8033  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
     8034
     8035else
     8036  if test "$ac_cv_type_long" = yes; then
     8037     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    97328038$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9733 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    9734 See \`config.log' for more details." >&5
    9735 $as_echo "$as_me: error: cannot compute sizeof (long)
    9736 See \`config.log' for more details." >&2;}
    9737    { (exit 77); exit 77; }; }; }
    9738    else
    9739      ac_cv_sizeof_long=0
    9740    fi ;;
    9741 esac
    9742 else
    9743   cat >conftest.$ac_ext <<_ACEOF
    9744 /* confdefs.h.  */
    9745 _ACEOF
    9746 cat confdefs.h >>conftest.$ac_ext
    9747 cat >>conftest.$ac_ext <<_ACEOF
    9748 /* end confdefs.h.  */
    9749 $ac_includes_default
    9750 static long int longval () { return (long int) (sizeof (long)); }
    9751 static unsigned long int ulongval () { return (long int) (sizeof (long)); }
    9752 #include <stdio.h>
    9753 #include <stdlib.h>
    9754 int
    9755 main ()
    9756 {
    9757 
    9758   FILE *f = fopen ("conftest.val", "w");
    9759   if (! f)
    9760     return 1;
    9761   if (((long int) (sizeof (long))) < 0)
    9762     {
    9763       long int i = longval ();
    9764       if (i != ((long int) (sizeof (long))))
    9765         return 1;
    9766       fprintf (f, "%ld", i);
    9767     }
    9768   else
    9769     {
    9770       unsigned long int i = ulongval ();
    9771       if (i != ((long int) (sizeof (long))))
    9772         return 1;
    9773       fprintf (f, "%lu", i);
    9774     }
    9775   /* Do not output a trailing newline, as this causes \r\n confusion
    9776      on some platforms.  */
    9777   return ferror (f) || fclose (f) != 0;
    9778 
    9779   ;
    9780   return 0;
    9781 }
    9782 _ACEOF
    9783 rm -f conftest$ac_exeext
    9784 if { (ac_try="$ac_link"
    9785 case "(($ac_try" in
    9786   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9787   *) ac_try_echo=$ac_try;;
    9788 esac
    9789 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9790 $as_echo "$ac_try_echo") >&5
    9791   (eval "$ac_link") 2>&5
    9792   ac_status=$?
    9793   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9794   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    9795   { (case "(($ac_try" in
    9796   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9797   *) ac_try_echo=$ac_try;;
    9798 esac
    9799 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9800 $as_echo "$ac_try_echo") >&5
    9801   (eval "$ac_try") 2>&5
    9802   ac_status=$?
    9803   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9804   (exit $ac_status); }; }; then
    9805   ac_cv_sizeof_long=`cat conftest.val`
    9806 else
    9807   $as_echo "$as_me: program exited with status $ac_status" >&5
    9808 $as_echo "$as_me: failed program was:" >&5
    9809 sed 's/^/| /' conftest.$ac_ext >&5
    9810 
    9811 ( exit $ac_status )
    9812 if test "$ac_cv_type_long" = yes; then
    9813      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    9814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    9815 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
    9816 See \`config.log' for more details." >&5
    9817 $as_echo "$as_me: error: cannot compute sizeof (long)
    9818 See \`config.log' for more details." >&2;}
    9819    { (exit 77); exit 77; }; }; }
     8039as_fn_error 77 "cannot compute sizeof (long)
     8040See \`config.log' for more details" "$LINENO" 5; }
    98208041   else
    98218042     ac_cv_sizeof_long=0
    98228043   fi
    98238044fi
    9824 rm -rf conftest.dSYM
    9825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    9826 fi
    9827 rm -f conftest.val
    9828 fi
    9829 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
     8045
     8046fi
     8047{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
    98308048$as_echo "$ac_cv_sizeof_long" >&6; }
    98318049
     
    98418059# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    98428060# This bug is HP SR number 8606223364.
    9843 { $as_echo "$as_me:$LINENO: checking size of long long" >&5
     8061{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
    98448062$as_echo_n "checking size of long long... " >&6; }
    9845 if test "${ac_cv_sizeof_long_long+set}" = set; then
     8063if ${ac_cv_sizeof_long_long+:} false; then :
    98468064  $as_echo_n "(cached) " >&6
    98478065else
    9848   if test "$cross_compiling" = yes; then
    9849   # Depending upon the size, compute the lo and hi bounds.
    9850 cat >conftest.$ac_ext <<_ACEOF
    9851 /* confdefs.h.  */
    9852 _ACEOF
    9853 cat confdefs.h >>conftest.$ac_ext
    9854 cat >>conftest.$ac_ext <<_ACEOF
    9855 /* end confdefs.h.  */
    9856 $ac_includes_default
    9857 int
    9858 main ()
    9859 {
    9860 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
    9861 test_array [0] = 0
    9862 
    9863   ;
    9864   return 0;
    9865 }
    9866 _ACEOF
    9867 rm -f conftest.$ac_objext
    9868 if { (ac_try="$ac_compile"
    9869 case "(($ac_try" in
    9870   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9871   *) ac_try_echo=$ac_try;;
    9872 esac
    9873 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9874 $as_echo "$ac_try_echo") >&5
    9875   (eval "$ac_compile") 2>conftest.er1
    9876   ac_status=$?
    9877   grep -v '^ *+' conftest.er1 >conftest.err
    9878   rm -f conftest.er1
    9879   cat conftest.err >&5
    9880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9881   (exit $ac_status); } && {
    9882          test -z "$ac_cxx_werror_flag" ||
    9883          test ! -s conftest.err
    9884        } && test -s conftest.$ac_objext; then
    9885   ac_lo=0 ac_mid=0
    9886   while :; do
    9887     cat >conftest.$ac_ext <<_ACEOF
    9888 /* confdefs.h.  */
    9889 _ACEOF
    9890 cat confdefs.h >>conftest.$ac_ext
    9891 cat >>conftest.$ac_ext <<_ACEOF
    9892 /* end confdefs.h.  */
    9893 $ac_includes_default
    9894 int
    9895 main ()
    9896 {
    9897 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    9898 test_array [0] = 0
    9899 
    9900   ;
    9901   return 0;
    9902 }
    9903 _ACEOF
    9904 rm -f conftest.$ac_objext
    9905 if { (ac_try="$ac_compile"
    9906 case "(($ac_try" in
    9907   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9908   *) ac_try_echo=$ac_try;;
    9909 esac
    9910 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9911 $as_echo "$ac_try_echo") >&5
    9912   (eval "$ac_compile") 2>conftest.er1
    9913   ac_status=$?
    9914   grep -v '^ *+' conftest.er1 >conftest.err
    9915   rm -f conftest.er1
    9916   cat conftest.err >&5
    9917   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9918   (exit $ac_status); } && {
    9919          test -z "$ac_cxx_werror_flag" ||
    9920          test ! -s conftest.err
    9921        } && test -s conftest.$ac_objext; then
    9922   ac_hi=$ac_mid; break
    9923 else
    9924   $as_echo "$as_me: failed program was:" >&5
    9925 sed 's/^/| /' conftest.$ac_ext >&5
    9926 
    9927         ac_lo=`expr $ac_mid + 1`
    9928                         if test $ac_lo -le $ac_mid; then
    9929                           ac_lo= ac_hi=
    9930                           break
    9931                         fi
    9932                         ac_mid=`expr 2 '*' $ac_mid + 1`
    9933 fi
    9934 
    9935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9936   done
    9937 else
    9938   $as_echo "$as_me: failed program was:" >&5
    9939 sed 's/^/| /' conftest.$ac_ext >&5
    9940 
    9941         cat >conftest.$ac_ext <<_ACEOF
    9942 /* confdefs.h.  */
    9943 _ACEOF
    9944 cat confdefs.h >>conftest.$ac_ext
    9945 cat >>conftest.$ac_ext <<_ACEOF
    9946 /* end confdefs.h.  */
    9947 $ac_includes_default
    9948 int
    9949 main ()
    9950 {
    9951 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
    9952 test_array [0] = 0
    9953 
    9954   ;
    9955   return 0;
    9956 }
    9957 _ACEOF
    9958 rm -f conftest.$ac_objext
    9959 if { (ac_try="$ac_compile"
    9960 case "(($ac_try" in
    9961   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9962   *) ac_try_echo=$ac_try;;
    9963 esac
    9964 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9965 $as_echo "$ac_try_echo") >&5
    9966   (eval "$ac_compile") 2>conftest.er1
    9967   ac_status=$?
    9968   grep -v '^ *+' conftest.er1 >conftest.err
    9969   rm -f conftest.er1
    9970   cat conftest.err >&5
    9971   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    9972   (exit $ac_status); } && {
    9973          test -z "$ac_cxx_werror_flag" ||
    9974          test ! -s conftest.err
    9975        } && test -s conftest.$ac_objext; then
    9976   ac_hi=-1 ac_mid=-1
    9977   while :; do
    9978     cat >conftest.$ac_ext <<_ACEOF
    9979 /* confdefs.h.  */
    9980 _ACEOF
    9981 cat confdefs.h >>conftest.$ac_ext
    9982 cat >>conftest.$ac_ext <<_ACEOF
    9983 /* end confdefs.h.  */
    9984 $ac_includes_default
    9985 int
    9986 main ()
    9987 {
    9988 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
    9989 test_array [0] = 0
    9990 
    9991   ;
    9992   return 0;
    9993 }
    9994 _ACEOF
    9995 rm -f conftest.$ac_objext
    9996 if { (ac_try="$ac_compile"
    9997 case "(($ac_try" in
    9998   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    9999   *) ac_try_echo=$ac_try;;
    10000 esac
    10001 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10002 $as_echo "$ac_try_echo") >&5
    10003   (eval "$ac_compile") 2>conftest.er1
    10004   ac_status=$?
    10005   grep -v '^ *+' conftest.er1 >conftest.err
    10006   rm -f conftest.er1
    10007   cat conftest.err >&5
    10008   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10009   (exit $ac_status); } && {
    10010          test -z "$ac_cxx_werror_flag" ||
    10011          test ! -s conftest.err
    10012        } && test -s conftest.$ac_objext; then
    10013   ac_lo=$ac_mid; break
    10014 else
    10015   $as_echo "$as_me: failed program was:" >&5
    10016 sed 's/^/| /' conftest.$ac_ext >&5
    10017 
    10018         ac_hi=`expr '(' $ac_mid ')' - 1`
    10019                         if test $ac_mid -le $ac_hi; then
    10020                           ac_lo= ac_hi=
    10021                           break
    10022                         fi
    10023                         ac_mid=`expr 2 '*' $ac_mid`
    10024 fi
    10025 
    10026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10027   done
    10028 else
    10029   $as_echo "$as_me: failed program was:" >&5
    10030 sed 's/^/| /' conftest.$ac_ext >&5
    10031 
    10032         ac_lo= ac_hi=
    10033 fi
    10034 
    10035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10036 fi
    10037 
    10038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10039 # Binary search between lo and hi bounds.
    10040 while test "x$ac_lo" != "x$ac_hi"; do
    10041   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10042   cat >conftest.$ac_ext <<_ACEOF
    10043 /* confdefs.h.  */
    10044 _ACEOF
    10045 cat confdefs.h >>conftest.$ac_ext
    10046 cat >>conftest.$ac_ext <<_ACEOF
    10047 /* end confdefs.h.  */
    10048 $ac_includes_default
    10049 int
    10050 main ()
    10051 {
    10052 static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
    10053 test_array [0] = 0
    10054 
    10055   ;
    10056   return 0;
    10057 }
    10058 _ACEOF
    10059 rm -f conftest.$ac_objext
    10060 if { (ac_try="$ac_compile"
    10061 case "(($ac_try" in
    10062   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10063   *) ac_try_echo=$ac_try;;
    10064 esac
    10065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10066 $as_echo "$ac_try_echo") >&5
    10067   (eval "$ac_compile") 2>conftest.er1
    10068   ac_status=$?
    10069   grep -v '^ *+' conftest.er1 >conftest.err
    10070   rm -f conftest.er1
    10071   cat conftest.err >&5
    10072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10073   (exit $ac_status); } && {
    10074          test -z "$ac_cxx_werror_flag" ||
    10075          test ! -s conftest.err
    10076        } && test -s conftest.$ac_objext; then
    10077   ac_hi=$ac_mid
    10078 else
    10079   $as_echo "$as_me: failed program was:" >&5
    10080 sed 's/^/| /' conftest.$ac_ext >&5
    10081 
    10082         ac_lo=`expr '(' $ac_mid ')' + 1`
    10083 fi
    10084 
    10085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10086 done
    10087 case $ac_lo in
    10088 ?*) ac_cv_sizeof_long_long=$ac_lo;;
    10089 '') if test "$ac_cv_type_long_long" = yes; then
    10090      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8066  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
     8067
     8068else
     8069  if test "$ac_cv_type_long_long" = yes; then
     8070     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    100918071$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10092 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    10093 See \`config.log' for more details." >&5
    10094 $as_echo "$as_me: error: cannot compute sizeof (long long)
    10095 See \`config.log' for more details." >&2;}
    10096    { (exit 77); exit 77; }; }; }
    10097    else
    10098      ac_cv_sizeof_long_long=0
    10099    fi ;;
    10100 esac
    10101 else
    10102   cat >conftest.$ac_ext <<_ACEOF
    10103 /* confdefs.h.  */
    10104 _ACEOF
    10105 cat confdefs.h >>conftest.$ac_ext
    10106 cat >>conftest.$ac_ext <<_ACEOF
    10107 /* end confdefs.h.  */
    10108 $ac_includes_default
    10109 static long int longval () { return (long int) (sizeof (long long)); }
    10110 static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
    10111 #include <stdio.h>
    10112 #include <stdlib.h>
    10113 int
    10114 main ()
    10115 {
    10116 
    10117   FILE *f = fopen ("conftest.val", "w");
    10118   if (! f)
    10119     return 1;
    10120   if (((long int) (sizeof (long long))) < 0)
    10121     {
    10122       long int i = longval ();
    10123       if (i != ((long int) (sizeof (long long))))
    10124         return 1;
    10125       fprintf (f, "%ld", i);
    10126     }
    10127   else
    10128     {
    10129       unsigned long int i = ulongval ();
    10130       if (i != ((long int) (sizeof (long long))))
    10131         return 1;
    10132       fprintf (f, "%lu", i);
    10133     }
    10134   /* Do not output a trailing newline, as this causes \r\n confusion
    10135      on some platforms.  */
    10136   return ferror (f) || fclose (f) != 0;
    10137 
    10138   ;
    10139   return 0;
    10140 }
    10141 _ACEOF
    10142 rm -f conftest$ac_exeext
    10143 if { (ac_try="$ac_link"
    10144 case "(($ac_try" in
    10145   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10146   *) ac_try_echo=$ac_try;;
    10147 esac
    10148 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10149 $as_echo "$ac_try_echo") >&5
    10150   (eval "$ac_link") 2>&5
    10151   ac_status=$?
    10152   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10153   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10154   { (case "(($ac_try" in
    10155   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10156   *) ac_try_echo=$ac_try;;
    10157 esac
    10158 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10159 $as_echo "$ac_try_echo") >&5
    10160   (eval "$ac_try") 2>&5
    10161   ac_status=$?
    10162   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10163   (exit $ac_status); }; }; then
    10164   ac_cv_sizeof_long_long=`cat conftest.val`
    10165 else
    10166   $as_echo "$as_me: program exited with status $ac_status" >&5
    10167 $as_echo "$as_me: failed program was:" >&5
    10168 sed 's/^/| /' conftest.$ac_ext >&5
    10169 
    10170 ( exit $ac_status )
    10171 if test "$ac_cv_type_long_long" = yes; then
    10172      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10173 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10174 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
    10175 See \`config.log' for more details." >&5
    10176 $as_echo "$as_me: error: cannot compute sizeof (long long)
    10177 See \`config.log' for more details." >&2;}
    10178    { (exit 77); exit 77; }; }; }
     8072as_fn_error 77 "cannot compute sizeof (long long)
     8073See \`config.log' for more details" "$LINENO" 5; }
    101798074   else
    101808075     ac_cv_sizeof_long_long=0
    101818076   fi
    101828077fi
    10183 rm -rf conftest.dSYM
    10184 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10185 fi
    10186 rm -f conftest.val
    10187 fi
    10188 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
     8078
     8079fi
     8080{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
    101898081$as_echo "$ac_cv_sizeof_long_long" >&6; }
    101908082
     
    102008092# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    102018093# This bug is HP SR number 8606223364.
    10202 { $as_echo "$as_me:$LINENO: checking size of void *" >&5
     8094{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
    102038095$as_echo_n "checking size of void *... " >&6; }
    10204 if test "${ac_cv_sizeof_void_p+set}" = set; then
     8096if ${ac_cv_sizeof_void_p+:} false; then :
    102058097  $as_echo_n "(cached) " >&6
    102068098else
    10207   if test "$cross_compiling" = yes; then
    10208   # Depending upon the size, compute the lo and hi bounds.
    10209 cat >conftest.$ac_ext <<_ACEOF
    10210 /* confdefs.h.  */
    10211 _ACEOF
    10212 cat confdefs.h >>conftest.$ac_ext
    10213 cat >>conftest.$ac_ext <<_ACEOF
    10214 /* end confdefs.h.  */
    10215 $ac_includes_default
    10216 int
    10217 main ()
    10218 {
    10219 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
    10220 test_array [0] = 0
    10221 
    10222   ;
    10223   return 0;
    10224 }
    10225 _ACEOF
    10226 rm -f conftest.$ac_objext
    10227 if { (ac_try="$ac_compile"
    10228 case "(($ac_try" in
    10229   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10230   *) ac_try_echo=$ac_try;;
    10231 esac
    10232 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10233 $as_echo "$ac_try_echo") >&5
    10234   (eval "$ac_compile") 2>conftest.er1
    10235   ac_status=$?
    10236   grep -v '^ *+' conftest.er1 >conftest.err
    10237   rm -f conftest.er1
    10238   cat conftest.err >&5
    10239   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10240   (exit $ac_status); } && {
    10241          test -z "$ac_cxx_werror_flag" ||
    10242          test ! -s conftest.err
    10243        } && test -s conftest.$ac_objext; then
    10244   ac_lo=0 ac_mid=0
    10245   while :; do
    10246     cat >conftest.$ac_ext <<_ACEOF
    10247 /* confdefs.h.  */
    10248 _ACEOF
    10249 cat confdefs.h >>conftest.$ac_ext
    10250 cat >>conftest.$ac_ext <<_ACEOF
    10251 /* end confdefs.h.  */
    10252 $ac_includes_default
    10253 int
    10254 main ()
    10255 {
    10256 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    10257 test_array [0] = 0
    10258 
    10259   ;
    10260   return 0;
    10261 }
    10262 _ACEOF
    10263 rm -f conftest.$ac_objext
    10264 if { (ac_try="$ac_compile"
    10265 case "(($ac_try" in
    10266   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10267   *) ac_try_echo=$ac_try;;
    10268 esac
    10269 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10270 $as_echo "$ac_try_echo") >&5
    10271   (eval "$ac_compile") 2>conftest.er1
    10272   ac_status=$?
    10273   grep -v '^ *+' conftest.er1 >conftest.err
    10274   rm -f conftest.er1
    10275   cat conftest.err >&5
    10276   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10277   (exit $ac_status); } && {
    10278          test -z "$ac_cxx_werror_flag" ||
    10279          test ! -s conftest.err
    10280        } && test -s conftest.$ac_objext; then
    10281   ac_hi=$ac_mid; break
    10282 else
    10283   $as_echo "$as_me: failed program was:" >&5
    10284 sed 's/^/| /' conftest.$ac_ext >&5
    10285 
    10286         ac_lo=`expr $ac_mid + 1`
    10287                         if test $ac_lo -le $ac_mid; then
    10288                           ac_lo= ac_hi=
    10289                           break
    10290                         fi
    10291                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10292 fi
    10293 
    10294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10295   done
    10296 else
    10297   $as_echo "$as_me: failed program was:" >&5
    10298 sed 's/^/| /' conftest.$ac_ext >&5
    10299 
    10300         cat >conftest.$ac_ext <<_ACEOF
    10301 /* confdefs.h.  */
    10302 _ACEOF
    10303 cat confdefs.h >>conftest.$ac_ext
    10304 cat >>conftest.$ac_ext <<_ACEOF
    10305 /* end confdefs.h.  */
    10306 $ac_includes_default
    10307 int
    10308 main ()
    10309 {
    10310 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
    10311 test_array [0] = 0
    10312 
    10313   ;
    10314   return 0;
    10315 }
    10316 _ACEOF
    10317 rm -f conftest.$ac_objext
    10318 if { (ac_try="$ac_compile"
    10319 case "(($ac_try" in
    10320   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10321   *) ac_try_echo=$ac_try;;
    10322 esac
    10323 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10324 $as_echo "$ac_try_echo") >&5
    10325   (eval "$ac_compile") 2>conftest.er1
    10326   ac_status=$?
    10327   grep -v '^ *+' conftest.er1 >conftest.err
    10328   rm -f conftest.er1
    10329   cat conftest.err >&5
    10330   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10331   (exit $ac_status); } && {
    10332          test -z "$ac_cxx_werror_flag" ||
    10333          test ! -s conftest.err
    10334        } && test -s conftest.$ac_objext; then
    10335   ac_hi=-1 ac_mid=-1
    10336   while :; do
    10337     cat >conftest.$ac_ext <<_ACEOF
    10338 /* confdefs.h.  */
    10339 _ACEOF
    10340 cat confdefs.h >>conftest.$ac_ext
    10341 cat >>conftest.$ac_ext <<_ACEOF
    10342 /* end confdefs.h.  */
    10343 $ac_includes_default
    10344 int
    10345 main ()
    10346 {
    10347 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
    10348 test_array [0] = 0
    10349 
    10350   ;
    10351   return 0;
    10352 }
    10353 _ACEOF
    10354 rm -f conftest.$ac_objext
    10355 if { (ac_try="$ac_compile"
    10356 case "(($ac_try" in
    10357   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10358   *) ac_try_echo=$ac_try;;
    10359 esac
    10360 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10361 $as_echo "$ac_try_echo") >&5
    10362   (eval "$ac_compile") 2>conftest.er1
    10363   ac_status=$?
    10364   grep -v '^ *+' conftest.er1 >conftest.err
    10365   rm -f conftest.er1
    10366   cat conftest.err >&5
    10367   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10368   (exit $ac_status); } && {
    10369          test -z "$ac_cxx_werror_flag" ||
    10370          test ! -s conftest.err
    10371        } && test -s conftest.$ac_objext; then
    10372   ac_lo=$ac_mid; break
    10373 else
    10374   $as_echo "$as_me: failed program was:" >&5
    10375 sed 's/^/| /' conftest.$ac_ext >&5
    10376 
    10377         ac_hi=`expr '(' $ac_mid ')' - 1`
    10378                         if test $ac_mid -le $ac_hi; then
    10379                           ac_lo= ac_hi=
    10380                           break
    10381                         fi
    10382                         ac_mid=`expr 2 '*' $ac_mid`
    10383 fi
    10384 
    10385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10386   done
    10387 else
    10388   $as_echo "$as_me: failed program was:" >&5
    10389 sed 's/^/| /' conftest.$ac_ext >&5
    10390 
    10391         ac_lo= ac_hi=
    10392 fi
    10393 
    10394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10395 fi
    10396 
    10397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10398 # Binary search between lo and hi bounds.
    10399 while test "x$ac_lo" != "x$ac_hi"; do
    10400   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10401   cat >conftest.$ac_ext <<_ACEOF
    10402 /* confdefs.h.  */
    10403 _ACEOF
    10404 cat confdefs.h >>conftest.$ac_ext
    10405 cat >>conftest.$ac_ext <<_ACEOF
    10406 /* end confdefs.h.  */
    10407 $ac_includes_default
    10408 int
    10409 main ()
    10410 {
    10411 static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
    10412 test_array [0] = 0
    10413 
    10414   ;
    10415   return 0;
    10416 }
    10417 _ACEOF
    10418 rm -f conftest.$ac_objext
    10419 if { (ac_try="$ac_compile"
    10420 case "(($ac_try" in
    10421   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10422   *) ac_try_echo=$ac_try;;
    10423 esac
    10424 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10425 $as_echo "$ac_try_echo") >&5
    10426   (eval "$ac_compile") 2>conftest.er1
    10427   ac_status=$?
    10428   grep -v '^ *+' conftest.er1 >conftest.err
    10429   rm -f conftest.er1
    10430   cat conftest.err >&5
    10431   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10432   (exit $ac_status); } && {
    10433          test -z "$ac_cxx_werror_flag" ||
    10434          test ! -s conftest.err
    10435        } && test -s conftest.$ac_objext; then
    10436   ac_hi=$ac_mid
    10437 else
    10438   $as_echo "$as_me: failed program was:" >&5
    10439 sed 's/^/| /' conftest.$ac_ext >&5
    10440 
    10441         ac_lo=`expr '(' $ac_mid ')' + 1`
    10442 fi
    10443 
    10444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10445 done
    10446 case $ac_lo in
    10447 ?*) ac_cv_sizeof_void_p=$ac_lo;;
    10448 '') if test "$ac_cv_type_void_p" = yes; then
    10449      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8099  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
     8100
     8101else
     8102  if test "$ac_cv_type_void_p" = yes; then
     8103     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    104508104$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10451 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    10452 See \`config.log' for more details." >&5
    10453 $as_echo "$as_me: error: cannot compute sizeof (void *)
    10454 See \`config.log' for more details." >&2;}
    10455    { (exit 77); exit 77; }; }; }
    10456    else
    10457      ac_cv_sizeof_void_p=0
    10458    fi ;;
    10459 esac
    10460 else
    10461   cat >conftest.$ac_ext <<_ACEOF
    10462 /* confdefs.h.  */
    10463 _ACEOF
    10464 cat confdefs.h >>conftest.$ac_ext
    10465 cat >>conftest.$ac_ext <<_ACEOF
    10466 /* end confdefs.h.  */
    10467 $ac_includes_default
    10468 static long int longval () { return (long int) (sizeof (void *)); }
    10469 static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
    10470 #include <stdio.h>
    10471 #include <stdlib.h>
    10472 int
    10473 main ()
    10474 {
    10475 
    10476   FILE *f = fopen ("conftest.val", "w");
    10477   if (! f)
    10478     return 1;
    10479   if (((long int) (sizeof (void *))) < 0)
    10480     {
    10481       long int i = longval ();
    10482       if (i != ((long int) (sizeof (void *))))
    10483         return 1;
    10484       fprintf (f, "%ld", i);
    10485     }
    10486   else
    10487     {
    10488       unsigned long int i = ulongval ();
    10489       if (i != ((long int) (sizeof (void *))))
    10490         return 1;
    10491       fprintf (f, "%lu", i);
    10492     }
    10493   /* Do not output a trailing newline, as this causes \r\n confusion
    10494      on some platforms.  */
    10495   return ferror (f) || fclose (f) != 0;
    10496 
    10497   ;
    10498   return 0;
    10499 }
    10500 _ACEOF
    10501 rm -f conftest$ac_exeext
    10502 if { (ac_try="$ac_link"
    10503 case "(($ac_try" in
    10504   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10505   *) ac_try_echo=$ac_try;;
    10506 esac
    10507 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10508 $as_echo "$ac_try_echo") >&5
    10509   (eval "$ac_link") 2>&5
    10510   ac_status=$?
    10511   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10512   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10513   { (case "(($ac_try" in
    10514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10515   *) ac_try_echo=$ac_try;;
    10516 esac
    10517 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10518 $as_echo "$ac_try_echo") >&5
    10519   (eval "$ac_try") 2>&5
    10520   ac_status=$?
    10521   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10522   (exit $ac_status); }; }; then
    10523   ac_cv_sizeof_void_p=`cat conftest.val`
    10524 else
    10525   $as_echo "$as_me: program exited with status $ac_status" >&5
    10526 $as_echo "$as_me: failed program was:" >&5
    10527 sed 's/^/| /' conftest.$ac_ext >&5
    10528 
    10529 ( exit $ac_status )
    10530 if test "$ac_cv_type_void_p" = yes; then
    10531      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10533 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
    10534 See \`config.log' for more details." >&5
    10535 $as_echo "$as_me: error: cannot compute sizeof (void *)
    10536 See \`config.log' for more details." >&2;}
    10537    { (exit 77); exit 77; }; }; }
     8105as_fn_error 77 "cannot compute sizeof (void *)
     8106See \`config.log' for more details" "$LINENO" 5; }
    105388107   else
    105398108     ac_cv_sizeof_void_p=0
    105408109   fi
    105418110fi
    10542 rm -rf conftest.dSYM
    10543 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10544 fi
    10545 rm -f conftest.val
    10546 fi
    10547 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
     8111
     8112fi
     8113{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
    105488114$as_echo "$ac_cv_sizeof_void_p" >&6; }
    105498115
     
    105598125# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    105608126# This bug is HP SR number 8606223364.
    10561 { $as_echo "$as_me:$LINENO: checking size of float" >&5
     8127{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
    105628128$as_echo_n "checking size of float... " >&6; }
    10563 if test "${ac_cv_sizeof_float+set}" = set; then
     8129if ${ac_cv_sizeof_float+:} false; then :
    105648130  $as_echo_n "(cached) " >&6
    105658131else
    10566   if test "$cross_compiling" = yes; then
    10567   # Depending upon the size, compute the lo and hi bounds.
    10568 cat >conftest.$ac_ext <<_ACEOF
    10569 /* confdefs.h.  */
    10570 _ACEOF
    10571 cat confdefs.h >>conftest.$ac_ext
    10572 cat >>conftest.$ac_ext <<_ACEOF
    10573 /* end confdefs.h.  */
    10574 $ac_includes_default
    10575 int
    10576 main ()
    10577 {
    10578 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
    10579 test_array [0] = 0
    10580 
    10581   ;
    10582   return 0;
    10583 }
    10584 _ACEOF
    10585 rm -f conftest.$ac_objext
    10586 if { (ac_try="$ac_compile"
    10587 case "(($ac_try" in
    10588   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10589   *) ac_try_echo=$ac_try;;
    10590 esac
    10591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10592 $as_echo "$ac_try_echo") >&5
    10593   (eval "$ac_compile") 2>conftest.er1
    10594   ac_status=$?
    10595   grep -v '^ *+' conftest.er1 >conftest.err
    10596   rm -f conftest.er1
    10597   cat conftest.err >&5
    10598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10599   (exit $ac_status); } && {
    10600          test -z "$ac_cxx_werror_flag" ||
    10601          test ! -s conftest.err
    10602        } && test -s conftest.$ac_objext; then
    10603   ac_lo=0 ac_mid=0
    10604   while :; do
    10605     cat >conftest.$ac_ext <<_ACEOF
    10606 /* confdefs.h.  */
    10607 _ACEOF
    10608 cat confdefs.h >>conftest.$ac_ext
    10609 cat >>conftest.$ac_ext <<_ACEOF
    10610 /* end confdefs.h.  */
    10611 $ac_includes_default
    10612 int
    10613 main ()
    10614 {
    10615 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
    10616 test_array [0] = 0
    10617 
    10618   ;
    10619   return 0;
    10620 }
    10621 _ACEOF
    10622 rm -f conftest.$ac_objext
    10623 if { (ac_try="$ac_compile"
    10624 case "(($ac_try" in
    10625   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10626   *) ac_try_echo=$ac_try;;
    10627 esac
    10628 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10629 $as_echo "$ac_try_echo") >&5
    10630   (eval "$ac_compile") 2>conftest.er1
    10631   ac_status=$?
    10632   grep -v '^ *+' conftest.er1 >conftest.err
    10633   rm -f conftest.er1
    10634   cat conftest.err >&5
    10635   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10636   (exit $ac_status); } && {
    10637          test -z "$ac_cxx_werror_flag" ||
    10638          test ! -s conftest.err
    10639        } && test -s conftest.$ac_objext; then
    10640   ac_hi=$ac_mid; break
    10641 else
    10642   $as_echo "$as_me: failed program was:" >&5
    10643 sed 's/^/| /' conftest.$ac_ext >&5
    10644 
    10645         ac_lo=`expr $ac_mid + 1`
    10646                         if test $ac_lo -le $ac_mid; then
    10647                           ac_lo= ac_hi=
    10648                           break
    10649                         fi
    10650                         ac_mid=`expr 2 '*' $ac_mid + 1`
    10651 fi
    10652 
    10653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10654   done
    10655 else
    10656   $as_echo "$as_me: failed program was:" >&5
    10657 sed 's/^/| /' conftest.$ac_ext >&5
    10658 
    10659         cat >conftest.$ac_ext <<_ACEOF
    10660 /* confdefs.h.  */
    10661 _ACEOF
    10662 cat confdefs.h >>conftest.$ac_ext
    10663 cat >>conftest.$ac_ext <<_ACEOF
    10664 /* end confdefs.h.  */
    10665 $ac_includes_default
    10666 int
    10667 main ()
    10668 {
    10669 static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
    10670 test_array [0] = 0
    10671 
    10672   ;
    10673   return 0;
    10674 }
    10675 _ACEOF
    10676 rm -f conftest.$ac_objext
    10677 if { (ac_try="$ac_compile"
    10678 case "(($ac_try" in
    10679   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10680   *) ac_try_echo=$ac_try;;
    10681 esac
    10682 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10683 $as_echo "$ac_try_echo") >&5
    10684   (eval "$ac_compile") 2>conftest.er1
    10685   ac_status=$?
    10686   grep -v '^ *+' conftest.er1 >conftest.err
    10687   rm -f conftest.er1
    10688   cat conftest.err >&5
    10689   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10690   (exit $ac_status); } && {
    10691          test -z "$ac_cxx_werror_flag" ||
    10692          test ! -s conftest.err
    10693        } && test -s conftest.$ac_objext; then
    10694   ac_hi=-1 ac_mid=-1
    10695   while :; do
    10696     cat >conftest.$ac_ext <<_ACEOF
    10697 /* confdefs.h.  */
    10698 _ACEOF
    10699 cat confdefs.h >>conftest.$ac_ext
    10700 cat >>conftest.$ac_ext <<_ACEOF
    10701 /* end confdefs.h.  */
    10702 $ac_includes_default
    10703 int
    10704 main ()
    10705 {
    10706 static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
    10707 test_array [0] = 0
    10708 
    10709   ;
    10710   return 0;
    10711 }
    10712 _ACEOF
    10713 rm -f conftest.$ac_objext
    10714 if { (ac_try="$ac_compile"
    10715 case "(($ac_try" in
    10716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10717   *) ac_try_echo=$ac_try;;
    10718 esac
    10719 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10720 $as_echo "$ac_try_echo") >&5
    10721   (eval "$ac_compile") 2>conftest.er1
    10722   ac_status=$?
    10723   grep -v '^ *+' conftest.er1 >conftest.err
    10724   rm -f conftest.er1
    10725   cat conftest.err >&5
    10726   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10727   (exit $ac_status); } && {
    10728          test -z "$ac_cxx_werror_flag" ||
    10729          test ! -s conftest.err
    10730        } && test -s conftest.$ac_objext; then
    10731   ac_lo=$ac_mid; break
    10732 else
    10733   $as_echo "$as_me: failed program was:" >&5
    10734 sed 's/^/| /' conftest.$ac_ext >&5
    10735 
    10736         ac_hi=`expr '(' $ac_mid ')' - 1`
    10737                         if test $ac_mid -le $ac_hi; then
    10738                           ac_lo= ac_hi=
    10739                           break
    10740                         fi
    10741                         ac_mid=`expr 2 '*' $ac_mid`
    10742 fi
    10743 
    10744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10745   done
    10746 else
    10747   $as_echo "$as_me: failed program was:" >&5
    10748 sed 's/^/| /' conftest.$ac_ext >&5
    10749 
    10750         ac_lo= ac_hi=
    10751 fi
    10752 
    10753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10754 fi
    10755 
    10756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10757 # Binary search between lo and hi bounds.
    10758 while test "x$ac_lo" != "x$ac_hi"; do
    10759   ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
    10760   cat >conftest.$ac_ext <<_ACEOF
    10761 /* confdefs.h.  */
    10762 _ACEOF
    10763 cat confdefs.h >>conftest.$ac_ext
    10764 cat >>conftest.$ac_ext <<_ACEOF
    10765 /* end confdefs.h.  */
    10766 $ac_includes_default
    10767 int
    10768 main ()
    10769 {
    10770 static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
    10771 test_array [0] = 0
    10772 
    10773   ;
    10774   return 0;
    10775 }
    10776 _ACEOF
    10777 rm -f conftest.$ac_objext
    10778 if { (ac_try="$ac_compile"
    10779 case "(($ac_try" in
    10780   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10781   *) ac_try_echo=$ac_try;;
    10782 esac
    10783 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10784 $as_echo "$ac_try_echo") >&5
    10785   (eval "$ac_compile") 2>conftest.er1
    10786   ac_status=$?
    10787   grep -v '^ *+' conftest.er1 >conftest.err
    10788   rm -f conftest.er1
    10789   cat conftest.err >&5
    10790   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10791   (exit $ac_status); } && {
    10792          test -z "$ac_cxx_werror_flag" ||
    10793          test ! -s conftest.err
    10794        } && test -s conftest.$ac_objext; then
    10795   ac_hi=$ac_mid
    10796 else
    10797   $as_echo "$as_me: failed program was:" >&5
    10798 sed 's/^/| /' conftest.$ac_ext >&5
    10799 
    10800         ac_lo=`expr '(' $ac_mid ')' + 1`
    10801 fi
    10802 
    10803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    10804 done
    10805 case $ac_lo in
    10806 ?*) ac_cv_sizeof_float=$ac_lo;;
    10807 '') if test "$ac_cv_type_float" = yes; then
    10808      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     8132  if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
     8133
     8134else
     8135  if test "$ac_cv_type_float" = yes; then
     8136     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    108098137$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10810 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
    10811 See \`config.log' for more details." >&5
    10812 $as_echo "$as_me: error: cannot compute sizeof (float)
    10813 See \`config.log' for more details." >&2;}
    10814    { (exit 77); exit 77; }; }; }
    10815    else
    10816      ac_cv_sizeof_float=0
    10817    fi ;;
    10818 esac
    10819 else
    10820   cat >conftest.$ac_ext <<_ACEOF
    10821 /* confdefs.h.  */
    10822 _ACEOF
    10823 cat confdefs.h >>conftest.$ac_ext
    10824 cat >>conftest.$ac_ext <<_ACEOF
    10825 /* end confdefs.h.  */
    10826 $ac_includes_default
    10827 static long int longval () { return (long int) (sizeof (float)); }
    10828 static unsigned long int ulongval () { return (long int) (sizeof (float)); }
    10829 #include <stdio.h>
    10830 #include <stdlib.h>
    10831 int
    10832 main ()
    10833 {
    10834 
    10835   FILE *f = fopen ("conftest.val", "w");
    10836   if (! f)
    10837     return 1;
    10838   if (((long int) (sizeof (float))) < 0)
    10839     {
    10840       long int i = longval ();
    10841       if (i != ((long int) (sizeof (float))))
    10842         return 1;
    10843       fprintf (f, "%ld", i);
    10844     }
    10845   else
    10846     {
    10847       unsigned long int i = ulongval ();
    10848       if (i != ((long int) (sizeof (float))))
    10849         return 1;
    10850       fprintf (f, "%lu", i);
    10851     }
    10852   /* Do not output a trailing newline, as this causes \r\n confusion
    10853      on some platforms.  */
    10854   return ferror (f) || fclose (f) != 0;
    10855 
    10856   ;
    10857   return 0;
    10858 }
    10859 _ACEOF
    10860 rm -f conftest$ac_exeext
    10861 if { (ac_try="$ac_link"
    10862 case "(($ac_try" in
    10863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10864   *) ac_try_echo=$ac_try;;
    10865 esac
    10866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10867 $as_echo "$ac_try_echo") >&5
    10868   (eval "$ac_link") 2>&5
    10869   ac_status=$?
    10870   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10871   (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    10872   { (case "(($ac_try" in
    10873   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    10874   *) ac_try_echo=$ac_try;;
    10875 esac
    10876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    10877 $as_echo "$ac_try_echo") >&5
    10878   (eval "$ac_try") 2>&5
    10879   ac_status=$?
    10880   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    10881   (exit $ac_status); }; }; then
    10882   ac_cv_sizeof_float=`cat conftest.val`
    10883 else
    10884   $as_echo "$as_me: program exited with status $ac_status" >&5
    10885 $as_echo "$as_me: failed program was:" >&5
    10886 sed 's/^/| /' conftest.$ac_ext >&5
    10887 
    10888 ( exit $ac_status )
    10889 if test "$ac_cv_type_float" = yes; then
    10890      { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    10891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    10892 { { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
    10893 See \`config.log' for more details." >&5
    10894 $as_echo "$as_me: error: cannot compute sizeof (float)
    10895 See \`config.log' for more details." >&2;}
    10896    { (exit 77); exit 77; }; }; }
     8138as_fn_error 77 "cannot compute sizeof (float)
     8139See \`config.log' for more details" "$LINENO" 5; }
    108978140   else
    108988141     ac_cv_sizeof_float=0
    108998142   fi
    109008143fi
    10901 rm -rf conftest.dSYM
    10902 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    10903 fi
    10904 rm -f conftest.val
    10905 fi
    10906 { $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
     8144
     8145fi
     8146{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
    109078147$as_echo "$ac_cv_sizeof_float" >&6; }
    109088148
     
    109628202
    109638203RP_DIR=""
    10964 { $as_echo "$as_me:$LINENO: checking for rappture" >&5
     8204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
    109658205$as_echo_n "checking for rappture... " >&6; }
    109668206if test "$with_rappture" == "yes" ; then
     
    109718211      RP_INC_SPEC="-I$dir/include -I$dir/include/rappture2"
    109728212      RP_LIB_DIR="$dir/lib"
    10973       { $as_echo "$as_me:$LINENO: result: $dir" >&5
     8213      { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dir" >&5
    109748214$as_echo "$dir" >&6; }
    109758215      break
     
    109788218else
    109798219  if test ! -d "$with_rappture" ; then
    10980     { { $as_echo "$as_me:$LINENO: error: --with-rappture: no such directory $with_rappture" >&5
    10981 $as_echo "$as_me: error: --with-rappture: no such directory $with_rappture" >&2;}
    10982    { (exit 1); exit 1; }; }
     8220    as_fn_error $? "--with-rappture: no such directory $with_rappture" "$LINENO" 5
    109838221  fi
    109848222  RP_DIR=$with_rappture
     
    109878225fi
    109888226if test "x${RP_DIR}" = "x" ; then
    10989   { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&5
    10990 $as_echo "$as_me: error: cannot find rappture.h and librappture2.a, try using --with-rappture" >&2;}
    10991    { (exit 1); exit 1; }; }
    10992 else
    10993   { $as_echo "$as_me:$LINENO: result: $with_rappture" >&5
     8227  as_fn_error $? "cannot find rappture.h and librappture2.a, try using --with-rappture" "$LINENO" 5
     8228else
     8229  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_rappture" >&5
    109948230$as_echo "$with_rappture" >&6; }
    109958231fi
     
    110268262CPPFLAGS=$VTK_INC_SPEC
    110278263
    11028 
    110298264for ac_header in vtkSmartPointer.h
    11030 do
    11031 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11033   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11034 $as_echo_n "checking for $ac_header... " >&6; }
    11035 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11036   $as_echo_n "(cached) " >&6
    11037 fi
    11038 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11039                  $as_echo "$as_val"'`
    11040                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11041 $as_echo "$ac_res" >&6; }
    11042 else
    11043   # Is the header compilable?
    11044 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11045 $as_echo_n "checking $ac_header usability... " >&6; }
    11046 cat >conftest.$ac_ext <<_ACEOF
    11047 /* confdefs.h.  */
    11048 _ACEOF
    11049 cat confdefs.h >>conftest.$ac_ext
    11050 cat >>conftest.$ac_ext <<_ACEOF
    11051 /* end confdefs.h.  */
    11052 $ac_includes_default
    11053 #include <$ac_header>
    11054 _ACEOF
    11055 rm -f conftest.$ac_objext
    11056 if { (ac_try="$ac_compile"
    11057 case "(($ac_try" in
    11058   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11059   *) ac_try_echo=$ac_try;;
    11060 esac
    11061 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11062 $as_echo "$ac_try_echo") >&5
    11063   (eval "$ac_compile") 2>conftest.er1
    11064   ac_status=$?
    11065   grep -v '^ *+' conftest.er1 >conftest.err
    11066   rm -f conftest.er1
    11067   cat conftest.err >&5
    11068   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11069   (exit $ac_status); } && {
    11070          test -z "$ac_cxx_werror_flag" ||
    11071          test ! -s conftest.err
    11072        } && test -s conftest.$ac_objext; then
    11073   ac_header_compiler=yes
    11074 else
    11075   $as_echo "$as_me: failed program was:" >&5
    11076 sed 's/^/| /' conftest.$ac_ext >&5
    11077 
    11078         ac_header_compiler=no
    11079 fi
    11080 
    11081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11082 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11083 $as_echo "$ac_header_compiler" >&6; }
    11084 
    11085 # Is the header present?
    11086 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11087 $as_echo_n "checking $ac_header presence... " >&6; }
    11088 cat >conftest.$ac_ext <<_ACEOF
    11089 /* confdefs.h.  */
    11090 _ACEOF
    11091 cat confdefs.h >>conftest.$ac_ext
    11092 cat >>conftest.$ac_ext <<_ACEOF
    11093 /* end confdefs.h.  */
    11094 #include <$ac_header>
    11095 _ACEOF
    11096 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11097 case "(($ac_try" in
    11098   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11099   *) ac_try_echo=$ac_try;;
    11100 esac
    11101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11102 $as_echo "$ac_try_echo") >&5
    11103   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11104   ac_status=$?
    11105   grep -v '^ *+' conftest.er1 >conftest.err
    11106   rm -f conftest.er1
    11107   cat conftest.err >&5
    11108   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11109   (exit $ac_status); } >/dev/null && {
    11110          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11111          test ! -s conftest.err
    11112        }; then
    11113   ac_header_preproc=yes
    11114 else
    11115   $as_echo "$as_me: failed program was:" >&5
    11116 sed 's/^/| /' conftest.$ac_ext >&5
    11117 
    11118   ac_header_preproc=no
    11119 fi
    11120 
    11121 rm -f conftest.err conftest.$ac_ext
    11122 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11123 $as_echo "$ac_header_preproc" >&6; }
    11124 
    11125 # So?  What about this header?
    11126 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11127   yes:no: )
    11128     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11129 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11130     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11131 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11132     ac_header_preproc=yes
    11133     ;;
    11134   no:yes:* )
    11135     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11136 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11137     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11138 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11139     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11140 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11141     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11142 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11143     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11144 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11145     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11146 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11147     ( cat <<\_ASBOX
    11148 ## ----------------------------------- ##
    11149 ## Report this to rappture@nanohub.org ##
    11150 ## ----------------------------------- ##
    11151 _ASBOX
    11152      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11153     ;;
    11154 esac
    11155 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11156 $as_echo_n "checking for $ac_header... " >&6; }
    11157 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11158   $as_echo_n "(cached) " >&6
    11159 else
    11160   eval "$as_ac_Header=\$ac_header_preproc"
    11161 fi
    11162 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11163                  $as_echo "$as_val"'`
    11164                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11165 $as_echo "$ac_res" >&6; }
    11166 
    11167 fi
    11168 as_val=`eval 'as_val=${'$as_ac_Header'}
    11169                  $as_echo "$as_val"'`
    11170    if test "x$as_val" = x""yes; then
     8265do :
     8266  ac_fn_cxx_check_header_mongrel "$LINENO" "vtkSmartPointer.h" "ac_cv_header_vtkSmartPointer_h" "$ac_includes_default"
     8267if test "x$ac_cv_header_vtkSmartPointer_h" = xyes; then :
     8268  cat >>confdefs.h <<_ACEOF
     8269#define HAVE_VTKSMARTPOINTER_H 1
     8270_ACEOF
     8271
     8272else
     8273  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find vtkSmartPointer.h" >&5
     8274$as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
     8275fi
     8276
     8277done
     8278
     8279CPPFLAGS=$save_CPPFLAGS
     8280
     8281ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default"
     8282if test "x$ac_cv_header_GL_glui_h" = xyes; then :
     8283
     8284fi
     8285
     8286
     8287ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default"
     8288if test "x$ac_cv_header_glui_h" = xyes; then :
     8289
     8290fi
     8291
     8292
     8293ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
     8294if test "x$ac_cv_header_GL_glut_h" = xyes; then :
     8295
     8296fi
     8297
     8298
     8299ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
     8300if test "x$ac_cv_header_GL_glew_h" = xyes; then :
     8301
     8302fi
     8303
     8304
     8305
     8306for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     8307do :
     8308  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8309ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8310if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    111718311  cat >>confdefs.h <<_ACEOF
    111728312#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    111738313_ACEOF
    111748314
    11175 else
    11176   { $as_echo "$as_me:$LINENO: WARNING: cannot find vtkSmartPointer.h" >&5
    11177 $as_echo "$as_me: WARNING: cannot find vtkSmartPointer.h" >&2;}
    111788315fi
    111798316
    111808317done
    111818318
    11182 CPPFLAGS=$save_CPPFLAGS
    11183 
    11184 if test "${ac_cv_header_GL_glui_h+set}" = set; then
    11185   { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    11186 $as_echo_n "checking for GL/glui.h... " >&6; }
    11187 if test "${ac_cv_header_GL_glui_h+set}" = set; then
    11188   $as_echo_n "(cached) " >&6
    11189 fi
    11190 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    11191 $as_echo "$ac_cv_header_GL_glui_h" >&6; }
    11192 else
    11193   # Is the header compilable?
    11194 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
    11195 $as_echo_n "checking GL/glui.h usability... " >&6; }
    11196 cat >conftest.$ac_ext <<_ACEOF
    11197 /* confdefs.h.  */
    11198 _ACEOF
    11199 cat confdefs.h >>conftest.$ac_ext
    11200 cat >>conftest.$ac_ext <<_ACEOF
    11201 /* end confdefs.h.  */
    11202 $ac_includes_default
    11203 #include <GL/glui.h>
    11204 _ACEOF
    11205 rm -f conftest.$ac_objext
    11206 if { (ac_try="$ac_compile"
    11207 case "(($ac_try" in
    11208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11209   *) ac_try_echo=$ac_try;;
    11210 esac
    11211 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11212 $as_echo "$ac_try_echo") >&5
    11213   (eval "$ac_compile") 2>conftest.er1
    11214   ac_status=$?
    11215   grep -v '^ *+' conftest.er1 >conftest.err
    11216   rm -f conftest.er1
    11217   cat conftest.err >&5
    11218   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11219   (exit $ac_status); } && {
    11220          test -z "$ac_cxx_werror_flag" ||
    11221          test ! -s conftest.err
    11222        } && test -s conftest.$ac_objext; then
    11223   ac_header_compiler=yes
    11224 else
    11225   $as_echo "$as_me: failed program was:" >&5
    11226 sed 's/^/| /' conftest.$ac_ext >&5
    11227 
    11228         ac_header_compiler=no
    11229 fi
    11230 
    11231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11232 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11233 $as_echo "$ac_header_compiler" >&6; }
    11234 
    11235 # Is the header present?
    11236 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
    11237 $as_echo_n "checking GL/glui.h presence... " >&6; }
    11238 cat >conftest.$ac_ext <<_ACEOF
    11239 /* confdefs.h.  */
    11240 _ACEOF
    11241 cat confdefs.h >>conftest.$ac_ext
    11242 cat >>conftest.$ac_ext <<_ACEOF
    11243 /* end confdefs.h.  */
    11244 #include <GL/glui.h>
    11245 _ACEOF
    11246 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11247 case "(($ac_try" in
    11248   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11249   *) ac_try_echo=$ac_try;;
    11250 esac
    11251 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11252 $as_echo "$ac_try_echo") >&5
    11253   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11254   ac_status=$?
    11255   grep -v '^ *+' conftest.er1 >conftest.err
    11256   rm -f conftest.er1
    11257   cat conftest.err >&5
    11258   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11259   (exit $ac_status); } >/dev/null && {
    11260          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11261          test ! -s conftest.err
    11262        }; then
    11263   ac_header_preproc=yes
    11264 else
    11265   $as_echo "$as_me: failed program was:" >&5
    11266 sed 's/^/| /' conftest.$ac_ext >&5
    11267 
    11268   ac_header_preproc=no
    11269 fi
    11270 
    11271 rm -f conftest.err conftest.$ac_ext
    11272 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11273 $as_echo "$ac_header_preproc" >&6; }
    11274 
    11275 # So?  What about this header?
    11276 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11277   yes:no: )
    11278     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11279 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11280     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
    11281 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
    11282     ac_header_preproc=yes
    11283     ;;
    11284   no:yes:* )
    11285     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
    11286 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
    11287     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
    11288 $as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
    11289     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
    11290 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
    11291     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
    11292 $as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11293     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
    11294 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
    11295     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
    11296 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
    11297     ( cat <<\_ASBOX
    11298 ## ----------------------------------- ##
    11299 ## Report this to rappture@nanohub.org ##
    11300 ## ----------------------------------- ##
    11301 _ASBOX
    11302      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11303     ;;
    11304 esac
    11305 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    11306 $as_echo_n "checking for GL/glui.h... " >&6; }
    11307 if test "${ac_cv_header_GL_glui_h+set}" = set; then
    11308   $as_echo_n "(cached) " >&6
    11309 else
    11310   ac_cv_header_GL_glui_h=$ac_header_preproc
    11311 fi
    11312 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    11313 $as_echo "$ac_cv_header_GL_glui_h" >&6; }
    11314 
    11315 fi
    11316 
    11317 
    11318 if test "${ac_cv_header_glui_h+set}" = set; then
    11319   { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
    11320 $as_echo_n "checking for glui.h... " >&6; }
    11321 if test "${ac_cv_header_glui_h+set}" = set; then
    11322   $as_echo_n "(cached) " >&6
    11323 fi
    11324 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    11325 $as_echo "$ac_cv_header_glui_h" >&6; }
    11326 else
    11327   # Is the header compilable?
    11328 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
    11329 $as_echo_n "checking glui.h usability... " >&6; }
    11330 cat >conftest.$ac_ext <<_ACEOF
    11331 /* confdefs.h.  */
    11332 _ACEOF
    11333 cat confdefs.h >>conftest.$ac_ext
    11334 cat >>conftest.$ac_ext <<_ACEOF
    11335 /* end confdefs.h.  */
    11336 $ac_includes_default
    11337 #include <glui.h>
    11338 _ACEOF
    11339 rm -f conftest.$ac_objext
    11340 if { (ac_try="$ac_compile"
    11341 case "(($ac_try" in
    11342   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11343   *) ac_try_echo=$ac_try;;
    11344 esac
    11345 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11346 $as_echo "$ac_try_echo") >&5
    11347   (eval "$ac_compile") 2>conftest.er1
    11348   ac_status=$?
    11349   grep -v '^ *+' conftest.er1 >conftest.err
    11350   rm -f conftest.er1
    11351   cat conftest.err >&5
    11352   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11353   (exit $ac_status); } && {
    11354          test -z "$ac_cxx_werror_flag" ||
    11355          test ! -s conftest.err
    11356        } && test -s conftest.$ac_objext; then
    11357   ac_header_compiler=yes
    11358 else
    11359   $as_echo "$as_me: failed program was:" >&5
    11360 sed 's/^/| /' conftest.$ac_ext >&5
    11361 
    11362         ac_header_compiler=no
    11363 fi
    11364 
    11365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11366 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11367 $as_echo "$ac_header_compiler" >&6; }
    11368 
    11369 # Is the header present?
    11370 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
    11371 $as_echo_n "checking glui.h presence... " >&6; }
    11372 cat >conftest.$ac_ext <<_ACEOF
    11373 /* confdefs.h.  */
    11374 _ACEOF
    11375 cat confdefs.h >>conftest.$ac_ext
    11376 cat >>conftest.$ac_ext <<_ACEOF
    11377 /* end confdefs.h.  */
    11378 #include <glui.h>
    11379 _ACEOF
    11380 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11381 case "(($ac_try" in
    11382   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11383   *) ac_try_echo=$ac_try;;
    11384 esac
    11385 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11386 $as_echo "$ac_try_echo") >&5
    11387   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11388   ac_status=$?
    11389   grep -v '^ *+' conftest.er1 >conftest.err
    11390   rm -f conftest.er1
    11391   cat conftest.err >&5
    11392   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11393   (exit $ac_status); } >/dev/null && {
    11394          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11395          test ! -s conftest.err
    11396        }; then
    11397   ac_header_preproc=yes
    11398 else
    11399   $as_echo "$as_me: failed program was:" >&5
    11400 sed 's/^/| /' conftest.$ac_ext >&5
    11401 
    11402   ac_header_preproc=no
    11403 fi
    11404 
    11405 rm -f conftest.err conftest.$ac_ext
    11406 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11407 $as_echo "$ac_header_preproc" >&6; }
    11408 
    11409 # So?  What about this header?
    11410 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11411   yes:no: )
    11412     { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11413 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11414     { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
    11415 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
    11416     ac_header_preproc=yes
    11417     ;;
    11418   no:yes:* )
    11419     { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
    11420 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
    11421     { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
    11422 $as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
    11423     { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
    11424 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
    11425     { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
    11426 $as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11427     { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
    11428 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
    11429     { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
    11430 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
    11431     ( cat <<\_ASBOX
    11432 ## ----------------------------------- ##
    11433 ## Report this to rappture@nanohub.org ##
    11434 ## ----------------------------------- ##
    11435 _ASBOX
    11436      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11437     ;;
    11438 esac
    11439 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
    11440 $as_echo_n "checking for glui.h... " >&6; }
    11441 if test "${ac_cv_header_glui_h+set}" = set; then
    11442   $as_echo_n "(cached) " >&6
    11443 else
    11444   ac_cv_header_glui_h=$ac_header_preproc
    11445 fi
    11446 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    11447 $as_echo "$ac_cv_header_glui_h" >&6; }
    11448 
    11449 fi
    11450 
    11451 
    11452 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11453   { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    11454 $as_echo_n "checking for GL/glut.h... " >&6; }
    11455 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11456   $as_echo_n "(cached) " >&6
    11457 fi
    11458 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    11459 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    11460 else
    11461   # Is the header compilable?
    11462 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
    11463 $as_echo_n "checking GL/glut.h usability... " >&6; }
    11464 cat >conftest.$ac_ext <<_ACEOF
    11465 /* confdefs.h.  */
    11466 _ACEOF
    11467 cat confdefs.h >>conftest.$ac_ext
    11468 cat >>conftest.$ac_ext <<_ACEOF
    11469 /* end confdefs.h.  */
    11470 $ac_includes_default
    11471 #include <GL/glut.h>
    11472 _ACEOF
    11473 rm -f conftest.$ac_objext
    11474 if { (ac_try="$ac_compile"
    11475 case "(($ac_try" in
    11476   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11477   *) ac_try_echo=$ac_try;;
    11478 esac
    11479 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11480 $as_echo "$ac_try_echo") >&5
    11481   (eval "$ac_compile") 2>conftest.er1
    11482   ac_status=$?
    11483   grep -v '^ *+' conftest.er1 >conftest.err
    11484   rm -f conftest.er1
    11485   cat conftest.err >&5
    11486   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11487   (exit $ac_status); } && {
    11488          test -z "$ac_cxx_werror_flag" ||
    11489          test ! -s conftest.err
    11490        } && test -s conftest.$ac_objext; then
    11491   ac_header_compiler=yes
    11492 else
    11493   $as_echo "$as_me: failed program was:" >&5
    11494 sed 's/^/| /' conftest.$ac_ext >&5
    11495 
    11496         ac_header_compiler=no
    11497 fi
    11498 
    11499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11500 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11501 $as_echo "$ac_header_compiler" >&6; }
    11502 
    11503 # Is the header present?
    11504 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
    11505 $as_echo_n "checking GL/glut.h presence... " >&6; }
    11506 cat >conftest.$ac_ext <<_ACEOF
    11507 /* confdefs.h.  */
    11508 _ACEOF
    11509 cat confdefs.h >>conftest.$ac_ext
    11510 cat >>conftest.$ac_ext <<_ACEOF
    11511 /* end confdefs.h.  */
    11512 #include <GL/glut.h>
    11513 _ACEOF
    11514 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11515 case "(($ac_try" in
    11516   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11517   *) ac_try_echo=$ac_try;;
    11518 esac
    11519 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11520 $as_echo "$ac_try_echo") >&5
    11521   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11522   ac_status=$?
    11523   grep -v '^ *+' conftest.er1 >conftest.err
    11524   rm -f conftest.er1
    11525   cat conftest.err >&5
    11526   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11527   (exit $ac_status); } >/dev/null && {
    11528          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11529          test ! -s conftest.err
    11530        }; then
    11531   ac_header_preproc=yes
    11532 else
    11533   $as_echo "$as_me: failed program was:" >&5
    11534 sed 's/^/| /' conftest.$ac_ext >&5
    11535 
    11536   ac_header_preproc=no
    11537 fi
    11538 
    11539 rm -f conftest.err conftest.$ac_ext
    11540 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11541 $as_echo "$ac_header_preproc" >&6; }
    11542 
    11543 # So?  What about this header?
    11544 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11545   yes:no: )
    11546     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11547 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11548     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
    11549 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
    11550     ac_header_preproc=yes
    11551     ;;
    11552   no:yes:* )
    11553     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
    11554 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
    11555     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
    11556 $as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
    11557     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
    11558 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
    11559     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
    11560 $as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11561     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
    11562 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
    11563     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
    11564 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
    11565     ( cat <<\_ASBOX
    11566 ## ----------------------------------- ##
    11567 ## Report this to rappture@nanohub.org ##
    11568 ## ----------------------------------- ##
    11569 _ASBOX
    11570      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11571     ;;
    11572 esac
    11573 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    11574 $as_echo_n "checking for GL/glut.h... " >&6; }
    11575 if test "${ac_cv_header_GL_glut_h+set}" = set; then
    11576   $as_echo_n "(cached) " >&6
    11577 else
    11578   ac_cv_header_GL_glut_h=$ac_header_preproc
    11579 fi
    11580 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    11581 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
    11582 
    11583 fi
    11584 
    11585 
    11586 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11587   { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    11588 $as_echo_n "checking for GL/glew.h... " >&6; }
    11589 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11590   $as_echo_n "(cached) " >&6
    11591 fi
    11592 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    11593 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    11594 else
    11595   # Is the header compilable?
    11596 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
    11597 $as_echo_n "checking GL/glew.h usability... " >&6; }
    11598 cat >conftest.$ac_ext <<_ACEOF
    11599 /* confdefs.h.  */
    11600 _ACEOF
    11601 cat confdefs.h >>conftest.$ac_ext
    11602 cat >>conftest.$ac_ext <<_ACEOF
    11603 /* end confdefs.h.  */
    11604 $ac_includes_default
    11605 #include <GL/glew.h>
    11606 _ACEOF
    11607 rm -f conftest.$ac_objext
    11608 if { (ac_try="$ac_compile"
    11609 case "(($ac_try" in
    11610   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11611   *) ac_try_echo=$ac_try;;
    11612 esac
    11613 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11614 $as_echo "$ac_try_echo") >&5
    11615   (eval "$ac_compile") 2>conftest.er1
    11616   ac_status=$?
    11617   grep -v '^ *+' conftest.er1 >conftest.err
    11618   rm -f conftest.er1
    11619   cat conftest.err >&5
    11620   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11621   (exit $ac_status); } && {
    11622          test -z "$ac_cxx_werror_flag" ||
    11623          test ! -s conftest.err
    11624        } && test -s conftest.$ac_objext; then
    11625   ac_header_compiler=yes
    11626 else
    11627   $as_echo "$as_me: failed program was:" >&5
    11628 sed 's/^/| /' conftest.$ac_ext >&5
    11629 
    11630         ac_header_compiler=no
    11631 fi
    11632 
    11633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11634 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11635 $as_echo "$ac_header_compiler" >&6; }
    11636 
    11637 # Is the header present?
    11638 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
    11639 $as_echo_n "checking GL/glew.h presence... " >&6; }
    11640 cat >conftest.$ac_ext <<_ACEOF
    11641 /* confdefs.h.  */
    11642 _ACEOF
    11643 cat confdefs.h >>conftest.$ac_ext
    11644 cat >>conftest.$ac_ext <<_ACEOF
    11645 /* end confdefs.h.  */
    11646 #include <GL/glew.h>
    11647 _ACEOF
    11648 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11649 case "(($ac_try" in
    11650   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11651   *) ac_try_echo=$ac_try;;
    11652 esac
    11653 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11654 $as_echo "$ac_try_echo") >&5
    11655   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11656   ac_status=$?
    11657   grep -v '^ *+' conftest.er1 >conftest.err
    11658   rm -f conftest.er1
    11659   cat conftest.err >&5
    11660   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11661   (exit $ac_status); } >/dev/null && {
    11662          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11663          test ! -s conftest.err
    11664        }; then
    11665   ac_header_preproc=yes
    11666 else
    11667   $as_echo "$as_me: failed program was:" >&5
    11668 sed 's/^/| /' conftest.$ac_ext >&5
    11669 
    11670   ac_header_preproc=no
    11671 fi
    11672 
    11673 rm -f conftest.err conftest.$ac_ext
    11674 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11675 $as_echo "$ac_header_preproc" >&6; }
    11676 
    11677 # So?  What about this header?
    11678 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11679   yes:no: )
    11680     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
    11681 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11682     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
    11683 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
    11684     ac_header_preproc=yes
    11685     ;;
    11686   no:yes:* )
    11687     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
    11688 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
    11689     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
    11690 $as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
    11691     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
    11692 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
    11693     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
    11694 $as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    11695     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
    11696 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
    11697     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
    11698 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
    11699     ( cat <<\_ASBOX
    11700 ## ----------------------------------- ##
    11701 ## Report this to rappture@nanohub.org ##
    11702 ## ----------------------------------- ##
    11703 _ASBOX
    11704      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11705     ;;
    11706 esac
    11707 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    11708 $as_echo_n "checking for GL/glew.h... " >&6; }
    11709 if test "${ac_cv_header_GL_glew_h+set}" = set; then
    11710   $as_echo_n "(cached) " >&6
    11711 else
    11712   ac_cv_header_GL_glew_h=$ac_header_preproc
    11713 fi
    11714 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    11715 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
    11716 
    11717 fi
    11718 
    11719 
    11720 
    11721 
    11722 
    11723 
    11724 
    11725 
    11726 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    11727 do
    11728 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11729 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11730   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11731 $as_echo_n "checking for $ac_header... " >&6; }
    11732 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11733   $as_echo_n "(cached) " >&6
    11734 fi
    11735 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11736                  $as_echo "$as_val"'`
    11737                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11738 $as_echo "$ac_res" >&6; }
    11739 else
    11740   # Is the header compilable?
    11741 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11742 $as_echo_n "checking $ac_header usability... " >&6; }
    11743 cat >conftest.$ac_ext <<_ACEOF
    11744 /* confdefs.h.  */
    11745 _ACEOF
    11746 cat confdefs.h >>conftest.$ac_ext
    11747 cat >>conftest.$ac_ext <<_ACEOF
    11748 /* end confdefs.h.  */
    11749 $ac_includes_default
    11750 #include <$ac_header>
    11751 _ACEOF
    11752 rm -f conftest.$ac_objext
    11753 if { (ac_try="$ac_compile"
    11754 case "(($ac_try" in
    11755   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11756   *) ac_try_echo=$ac_try;;
    11757 esac
    11758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11759 $as_echo "$ac_try_echo") >&5
    11760   (eval "$ac_compile") 2>conftest.er1
    11761   ac_status=$?
    11762   grep -v '^ *+' conftest.er1 >conftest.err
    11763   rm -f conftest.er1
    11764   cat conftest.err >&5
    11765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11766   (exit $ac_status); } && {
    11767          test -z "$ac_cxx_werror_flag" ||
    11768          test ! -s conftest.err
    11769        } && test -s conftest.$ac_objext; then
    11770   ac_header_compiler=yes
    11771 else
    11772   $as_echo "$as_me: failed program was:" >&5
    11773 sed 's/^/| /' conftest.$ac_ext >&5
    11774 
    11775         ac_header_compiler=no
    11776 fi
    11777 
    11778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11779 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11780 $as_echo "$ac_header_compiler" >&6; }
    11781 
    11782 # Is the header present?
    11783 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11784 $as_echo_n "checking $ac_header presence... " >&6; }
    11785 cat >conftest.$ac_ext <<_ACEOF
    11786 /* confdefs.h.  */
    11787 _ACEOF
    11788 cat confdefs.h >>conftest.$ac_ext
    11789 cat >>conftest.$ac_ext <<_ACEOF
    11790 /* end confdefs.h.  */
    11791 #include <$ac_header>
    11792 _ACEOF
    11793 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11794 case "(($ac_try" in
    11795   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11796   *) ac_try_echo=$ac_try;;
    11797 esac
    11798 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11799 $as_echo "$ac_try_echo") >&5
    11800   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11801   ac_status=$?
    11802   grep -v '^ *+' conftest.er1 >conftest.err
    11803   rm -f conftest.er1
    11804   cat conftest.err >&5
    11805   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11806   (exit $ac_status); } >/dev/null && {
    11807          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11808          test ! -s conftest.err
    11809        }; then
    11810   ac_header_preproc=yes
    11811 else
    11812   $as_echo "$as_me: failed program was:" >&5
    11813 sed 's/^/| /' conftest.$ac_ext >&5
    11814 
    11815   ac_header_preproc=no
    11816 fi
    11817 
    11818 rm -f conftest.err conftest.$ac_ext
    11819 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11820 $as_echo "$ac_header_preproc" >&6; }
    11821 
    11822 # So?  What about this header?
    11823 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11824   yes:no: )
    11825     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11826 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11827     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11828 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11829     ac_header_preproc=yes
    11830     ;;
    11831   no:yes:* )
    11832     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11833 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11834     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11835 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11836     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11837 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11838     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11839 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11840     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11841 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11842     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11843 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11844     ( cat <<\_ASBOX
    11845 ## ----------------------------------- ##
    11846 ## Report this to rappture@nanohub.org ##
    11847 ## ----------------------------------- ##
    11848 _ASBOX
    11849      ) | sed "s/^/$as_me: WARNING:     /" >&2
    11850     ;;
    11851 esac
    11852 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11853 $as_echo_n "checking for $ac_header... " >&6; }
    11854 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11855   $as_echo_n "(cached) " >&6
    11856 else
    11857   eval "$as_ac_Header=\$ac_header_preproc"
    11858 fi
    11859 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11860                  $as_echo "$as_val"'`
    11861                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11862 $as_echo "$ac_res" >&6; }
    11863 
    11864 fi
    11865 as_val=`eval 'as_val=${'$as_ac_Header'}
    11866                  $as_echo "$as_val"'`
    11867    if test "x$as_val" = x""yes; then
     8319for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     8320do :
     8321  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8322ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8323if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    118688324  cat >>confdefs.h <<_ACEOF
    118698325#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    118758331
    118768332
    11877 
    11878 
    11879 
    11880 
    11881 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    11882 do
    11883 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    11884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11885   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    11886 $as_echo_n "checking for $ac_header... " >&6; }
    11887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    11888   $as_echo_n "(cached) " >&6
    11889 fi
    11890 ac_res=`eval 'as_val=${'$as_ac_Header'}
    11891                  $as_echo "$as_val"'`
    11892                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    11893 $as_echo "$ac_res" >&6; }
    11894 else
    11895   # Is the header compilable?
    11896 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    11897 $as_echo_n "checking $ac_header usability... " >&6; }
    11898 cat >conftest.$ac_ext <<_ACEOF
    11899 /* confdefs.h.  */
    11900 _ACEOF
    11901 cat confdefs.h >>conftest.$ac_ext
    11902 cat >>conftest.$ac_ext <<_ACEOF
    11903 /* end confdefs.h.  */
    11904 $ac_includes_default
    11905 #include <$ac_header>
    11906 _ACEOF
    11907 rm -f conftest.$ac_objext
    11908 if { (ac_try="$ac_compile"
    11909 case "(($ac_try" in
    11910   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11911   *) ac_try_echo=$ac_try;;
    11912 esac
    11913 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11914 $as_echo "$ac_try_echo") >&5
    11915   (eval "$ac_compile") 2>conftest.er1
    11916   ac_status=$?
    11917   grep -v '^ *+' conftest.er1 >conftest.err
    11918   rm -f conftest.er1
    11919   cat conftest.err >&5
    11920   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11921   (exit $ac_status); } && {
    11922          test -z "$ac_cxx_werror_flag" ||
    11923          test ! -s conftest.err
    11924        } && test -s conftest.$ac_objext; then
    11925   ac_header_compiler=yes
    11926 else
    11927   $as_echo "$as_me: failed program was:" >&5
    11928 sed 's/^/| /' conftest.$ac_ext >&5
    11929 
    11930         ac_header_compiler=no
    11931 fi
    11932 
    11933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    11934 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    11935 $as_echo "$ac_header_compiler" >&6; }
    11936 
    11937 # Is the header present?
    11938 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    11939 $as_echo_n "checking $ac_header presence... " >&6; }
    11940 cat >conftest.$ac_ext <<_ACEOF
    11941 /* confdefs.h.  */
    11942 _ACEOF
    11943 cat confdefs.h >>conftest.$ac_ext
    11944 cat >>conftest.$ac_ext <<_ACEOF
    11945 /* end confdefs.h.  */
    11946 #include <$ac_header>
    11947 _ACEOF
    11948 if { (ac_try="$ac_cpp conftest.$ac_ext"
    11949 case "(($ac_try" in
    11950   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    11951   *) ac_try_echo=$ac_try;;
    11952 esac
    11953 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    11954 $as_echo "$ac_try_echo") >&5
    11955   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    11956   ac_status=$?
    11957   grep -v '^ *+' conftest.er1 >conftest.err
    11958   rm -f conftest.er1
    11959   cat conftest.err >&5
    11960   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    11961   (exit $ac_status); } >/dev/null && {
    11962          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    11963          test ! -s conftest.err
    11964        }; then
    11965   ac_header_preproc=yes
    11966 else
    11967   $as_echo "$as_me: failed program was:" >&5
    11968 sed 's/^/| /' conftest.$ac_ext >&5
    11969 
    11970   ac_header_preproc=no
    11971 fi
    11972 
    11973 rm -f conftest.err conftest.$ac_ext
    11974 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    11975 $as_echo "$ac_header_preproc" >&6; }
    11976 
    11977 # So?  What about this header?
    11978 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    11979   yes:no: )
    11980     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    11981 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    11982     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    11983 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    11984     ac_header_preproc=yes
    11985     ;;
    11986   no:yes:* )
    11987     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    11988 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    11989     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    11990 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    11991     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    11992 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    11993     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    11994 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    11995     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    11996 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    11997     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    11998 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    11999     ( cat <<\_ASBOX
    12000 ## ----------------------------------- ##
    12001 ## Report this to rappture@nanohub.org ##
    12002 ## ----------------------------------- ##
    12003 _ASBOX
    12004      ) | sed "s/^/$as_me: WARNING:     /" >&2
    12005     ;;
    12006 esac
    12007 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12008 $as_echo_n "checking for $ac_header... " >&6; }
    12009 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12010   $as_echo_n "(cached) " >&6
    12011 else
    12012   eval "$as_ac_Header=\$ac_header_preproc"
    12013 fi
    12014 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12015                  $as_echo "$as_val"'`
    12016                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12017 $as_echo "$ac_res" >&6; }
    12018 
    12019 fi
    12020 as_val=`eval 'as_val=${'$as_ac_Header'}
    12021                  $as_echo "$as_val"'`
    12022    if test "x$as_val" = x""yes; then
     8333for ac_func in accept4
     8334do :
     8335  ac_fn_cxx_check_func "$LINENO" "accept4" "ac_cv_func_accept4"
     8336if test "x$ac_cv_func_accept4" = xyes; then :
    120238337  cat >>confdefs.h <<_ACEOF
    12024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    12025 _ACEOF
    12026 
    12027 fi
    12028 
     8338#define HAVE_ACCEPT4 1
     8339_ACEOF
     8340
     8341fi
    120298342done
    120308343
    120318344
    12032 
    12033 for ac_func in accept4
    12034 do
    12035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12036 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12037 $as_echo_n "checking for $ac_func... " >&6; }
    12038 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12039   $as_echo_n "(cached) " >&6
    12040 else
    12041   cat >conftest.$ac_ext <<_ACEOF
    12042 /* confdefs.h.  */
    12043 _ACEOF
    12044 cat confdefs.h >>conftest.$ac_ext
    12045 cat >>conftest.$ac_ext <<_ACEOF
    12046 /* end confdefs.h.  */
    12047 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12048    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12049 #define $ac_func innocuous_$ac_func
    12050 
    12051 /* System header to define __stub macros and hopefully few prototypes,
    12052     which can conflict with char $ac_func (); below.
    12053     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12054     <limits.h> exists even on freestanding compilers.  */
    12055 
    12056 #ifdef __STDC__
    12057 # include <limits.h>
    12058 #else
    12059 # include <assert.h>
    12060 #endif
    12061 
    12062 #undef $ac_func
    12063 
    12064 /* Override any GCC internal prototype to avoid an error.
    12065    Use char because int might match the return type of a GCC
    12066    builtin and then its argument prototype would still apply.  */
    12067 #ifdef __cplusplus
    12068 extern "C"
    12069 #endif
    12070 char $ac_func ();
    12071 /* The GNU C library defines this for functions which it implements
    12072     to always fail with ENOSYS.  Some functions are actually named
    12073     something starting with __ and the normal name is an alias.  */
    12074 #if defined __stub_$ac_func || defined __stub___$ac_func
    12075 choke me
    12076 #endif
    12077 
    12078 int
    12079 main ()
    12080 {
    12081 return $ac_func ();
    12082   ;
    12083   return 0;
    12084 }
    12085 _ACEOF
    12086 rm -f conftest.$ac_objext conftest$ac_exeext
    12087 if { (ac_try="$ac_link"
    12088 case "(($ac_try" in
    12089   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12090   *) ac_try_echo=$ac_try;;
    12091 esac
    12092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12093 $as_echo "$ac_try_echo") >&5
    12094   (eval "$ac_link") 2>conftest.er1
    12095   ac_status=$?
    12096   grep -v '^ *+' conftest.er1 >conftest.err
    12097   rm -f conftest.er1
    12098   cat conftest.err >&5
    12099   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12100   (exit $ac_status); } && {
    12101          test -z "$ac_cxx_werror_flag" ||
    12102          test ! -s conftest.err
    12103        } && test -s conftest$ac_exeext && {
    12104          test "$cross_compiling" = yes ||
    12105          $as_test_x conftest$ac_exeext
    12106        }; then
    12107   eval "$as_ac_var=yes"
    12108 else
    12109   $as_echo "$as_me: failed program was:" >&5
    12110 sed 's/^/| /' conftest.$ac_ext >&5
    12111 
    12112         eval "$as_ac_var=no"
    12113 fi
    12114 
    12115 rm -rf conftest.dSYM
    12116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12117       conftest$ac_exeext conftest.$ac_ext
    12118 fi
    12119 ac_res=`eval 'as_val=${'$as_ac_var'}
    12120                  $as_echo "$as_val"'`
    12121                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12122 $as_echo "$ac_res" >&6; }
    12123 as_val=`eval 'as_val=${'$as_ac_var'}
    12124                  $as_echo "$as_val"'`
    12125    if test "x$as_val" = x""yes; then
    12126   cat >>confdefs.h <<_ACEOF
    12127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    12128 _ACEOF
    12129 
    12130 fi
    12131 done
    12132 
    12133 
    12134 { $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5
     8345{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5
    121358346$as_echo_n "checking for OpenDX headers... " >&6; }
    121368347DX_INC_DIR=""
     
    121468357done
    121478358if test "x${DX_INC_DIR}" = "x" ; then
    12148   { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX include files" >&5
     8359  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX include files" >&5
    121498360$as_echo "$as_me: WARNING: cannot find OpenDX include files" >&2;}
    121508361  DX_INC_SPEC=""
     
    121548365  DX_INC_SPEC="-I{DX_INC_DIR}"
    121558366fi
    12156 { $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5
     8367{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5
    121578368$as_echo "${DX_INC_DIR}" >&6; }
    121588369
     
    121698380  LDFLAGS="-L$dir $LDFLAGS"
    121708381  unset ac_cv_lib_DXcallm_DXGetComponentValue
    12171   { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5
     8382  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5
    121728383$as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; }
    12173 if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then
     8384if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :
    121748385  $as_echo_n "(cached) " >&6
    121758386else
    121768387  ac_check_lib_save_LIBS=$LIBS
    121778388LIBS="-lDXcallm -lX11 $LIBS"
    12178 cat >conftest.$ac_ext <<_ACEOF
    12179 /* confdefs.h.  */
    12180 _ACEOF
    12181 cat confdefs.h >>conftest.$ac_ext
    12182 cat >>conftest.$ac_ext <<_ACEOF
     8389cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    121838390/* end confdefs.h.  */
    121848391
     
    121988405}
    121998406_ACEOF
    12200 rm -f conftest.$ac_objext conftest$ac_exeext
    12201 if { (ac_try="$ac_link"
    12202 case "(($ac_try" in
    12203   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12204   *) ac_try_echo=$ac_try;;
    12205 esac
    12206 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12207 $as_echo "$ac_try_echo") >&5
    12208   (eval "$ac_link") 2>conftest.er1
    12209   ac_status=$?
    12210   grep -v '^ *+' conftest.er1 >conftest.err
    12211   rm -f conftest.er1
    12212   cat conftest.err >&5
    12213   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12214   (exit $ac_status); } && {
    12215          test -z "$ac_cxx_werror_flag" ||
    12216          test ! -s conftest.err
    12217        } && test -s conftest$ac_exeext && {
    12218          test "$cross_compiling" = yes ||
    12219          $as_test_x conftest$ac_exeext
    12220        }; then
     8407if ac_fn_cxx_try_link "$LINENO"; then :
    122218408  ac_cv_lib_DXcallm_DXGetComponentValue=yes
    122228409else
    12223   $as_echo "$as_me: failed program was:" >&5
    12224 sed 's/^/| /' conftest.$ac_ext >&5
    12225 
    12226         ac_cv_lib_DXcallm_DXGetComponentValue=no
    12227 fi
    12228 
    12229 rm -rf conftest.dSYM
    12230 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12231       conftest$ac_exeext conftest.$ac_ext
     8410  ac_cv_lib_DXcallm_DXGetComponentValue=no
     8411fi
     8412rm -f core conftest.err conftest.$ac_objext \
     8413    conftest$ac_exeext conftest.$ac_ext
    122328414LIBS=$ac_check_lib_save_LIBS
    122338415fi
    12234 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
     8416{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
    122358417$as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; }
    12236 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then
     8418if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then :
    122378419  found=yes
    122388420else
     
    122478429done
    122488430if test "x${DX_LIB_DIR}" = "x" ; then
    12249   { $as_echo "$as_me:$LINENO: WARNING: cannot find OpenDX libraries" >&5
     8431  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find OpenDX libraries" >&5
    122508432$as_echo "$as_me: WARNING: cannot find OpenDX libraries" >&2;}
    122518433fi
    122528434
    12253 { $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5
     8435{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5
    122548436$as_echo_n "checking for libDXcallm library... " >&6; }
    122558437if test "x${DX_LIB_DIR}" = "x" -o "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
     
    122588440  DX_LIB_SPEC="-L${DX_LIB_DIR}"
    122598441fi
    12260 { $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5
     8442{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5
    122618443$as_echo "$DX_LIB_SPEC" >&6; }
    122628444
    12263 
    12264 
    122658445for ac_header in opencv/cv.h opencv/highgui.h
    12266 do
    12267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    12268 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12269   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12270 $as_echo_n "checking for $ac_header... " >&6; }
    12271 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12272   $as_echo_n "(cached) " >&6
    12273 fi
    12274 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12275                  $as_echo "$as_val"'`
    12276                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12277 $as_echo "$ac_res" >&6; }
    12278 else
    12279   # Is the header compilable?
    12280 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    12281 $as_echo_n "checking $ac_header usability... " >&6; }
    12282 cat >conftest.$ac_ext <<_ACEOF
    12283 /* confdefs.h.  */
    12284 _ACEOF
    12285 cat confdefs.h >>conftest.$ac_ext
    12286 cat >>conftest.$ac_ext <<_ACEOF
    12287 /* end confdefs.h.  */
    12288 $ac_includes_default
    12289 #include <$ac_header>
    12290 _ACEOF
    12291 rm -f conftest.$ac_objext
    12292 if { (ac_try="$ac_compile"
    12293 case "(($ac_try" in
    12294   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12295   *) ac_try_echo=$ac_try;;
    12296 esac
    12297 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12298 $as_echo "$ac_try_echo") >&5
    12299   (eval "$ac_compile") 2>conftest.er1
    12300   ac_status=$?
    12301   grep -v '^ *+' conftest.er1 >conftest.err
    12302   rm -f conftest.er1
    12303   cat conftest.err >&5
    12304   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12305   (exit $ac_status); } && {
    12306          test -z "$ac_cxx_werror_flag" ||
    12307          test ! -s conftest.err
    12308        } && test -s conftest.$ac_objext; then
    12309   ac_header_compiler=yes
    12310 else
    12311   $as_echo "$as_me: failed program was:" >&5
    12312 sed 's/^/| /' conftest.$ac_ext >&5
    12313 
    12314         ac_header_compiler=no
    12315 fi
    12316 
    12317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12318 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    12319 $as_echo "$ac_header_compiler" >&6; }
    12320 
    12321 # Is the header present?
    12322 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    12323 $as_echo_n "checking $ac_header presence... " >&6; }
    12324 cat >conftest.$ac_ext <<_ACEOF
    12325 /* confdefs.h.  */
    12326 _ACEOF
    12327 cat confdefs.h >>conftest.$ac_ext
    12328 cat >>conftest.$ac_ext <<_ACEOF
    12329 /* end confdefs.h.  */
    12330 #include <$ac_header>
    12331 _ACEOF
    12332 if { (ac_try="$ac_cpp conftest.$ac_ext"
    12333 case "(($ac_try" in
    12334   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12335   *) ac_try_echo=$ac_try;;
    12336 esac
    12337 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12338 $as_echo "$ac_try_echo") >&5
    12339   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    12340   ac_status=$?
    12341   grep -v '^ *+' conftest.er1 >conftest.err
    12342   rm -f conftest.er1
    12343   cat conftest.err >&5
    12344   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12345   (exit $ac_status); } >/dev/null && {
    12346          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    12347          test ! -s conftest.err
    12348        }; then
    12349   ac_header_preproc=yes
    12350 else
    12351   $as_echo "$as_me: failed program was:" >&5
    12352 sed 's/^/| /' conftest.$ac_ext >&5
    12353 
    12354   ac_header_preproc=no
    12355 fi
    12356 
    12357 rm -f conftest.err conftest.$ac_ext
    12358 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    12359 $as_echo "$ac_header_preproc" >&6; }
    12360 
    12361 # So?  What about this header?
    12362 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    12363   yes:no: )
    12364     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    12365 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    12366     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    12367 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    12368     ac_header_preproc=yes
    12369     ;;
    12370   no:yes:* )
    12371     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    12372 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    12373     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    12374 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    12375     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    12376 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    12377     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    12378 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    12379     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    12380 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    12381     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    12382 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    12383     ( cat <<\_ASBOX
    12384 ## ----------------------------------- ##
    12385 ## Report this to rappture@nanohub.org ##
    12386 ## ----------------------------------- ##
    12387 _ASBOX
    12388      ) | sed "s/^/$as_me: WARNING:     /" >&2
    12389     ;;
    12390 esac
    12391 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12392 $as_echo_n "checking for $ac_header... " >&6; }
    12393 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12394   $as_echo_n "(cached) " >&6
    12395 else
    12396   eval "$as_ac_Header=\$ac_header_preproc"
    12397 fi
    12398 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12399                  $as_echo "$as_val"'`
    12400                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12401 $as_echo "$ac_res" >&6; }
    12402 
    12403 fi
    12404 as_val=`eval 'as_val=${'$as_ac_Header'}
    12405                  $as_echo "$as_val"'`
    12406    if test "x$as_val" = x""yes; then
     8446do :
     8447  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8448ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
     8449if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    124078450  cat >>confdefs.h <<_ACEOF
    124088451#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    124138456done
    124148457
    12415 
    12416 { $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lhighgui" >&5
     8458{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lhighgui" >&5
    124178459$as_echo_n "checking for cvLoadImage in -lhighgui... " >&6; }
    12418 if test "${ac_cv_lib_highgui_cvLoadImage+set}" = set; then
     8460if ${ac_cv_lib_highgui_cvLoadImage+:} false; then :
    124198461  $as_echo_n "(cached) " >&6
    124208462else
    124218463  ac_check_lib_save_LIBS=$LIBS
    124228464LIBS="-lhighgui  $LIBS"
    12423 cat >conftest.$ac_ext <<_ACEOF
    12424 /* confdefs.h.  */
    12425 _ACEOF
    12426 cat confdefs.h >>conftest.$ac_ext
    12427 cat >>conftest.$ac_ext <<_ACEOF
     8465cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    124288466/* end confdefs.h.  */
    124298467
     
    124438481}
    124448482_ACEOF
    12445 rm -f conftest.$ac_objext conftest$ac_exeext
    12446 if { (ac_try="$ac_link"
    12447 case "(($ac_try" in
    12448   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12449   *) ac_try_echo=$ac_try;;
    12450 esac
    12451 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12452 $as_echo "$ac_try_echo") >&5
    12453   (eval "$ac_link") 2>conftest.er1
    12454   ac_status=$?
    12455   grep -v '^ *+' conftest.er1 >conftest.err
    12456   rm -f conftest.er1
    12457   cat conftest.err >&5
    12458   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12459   (exit $ac_status); } && {
    12460          test -z "$ac_cxx_werror_flag" ||
    12461          test ! -s conftest.err
    12462        } && test -s conftest$ac_exeext && {
    12463          test "$cross_compiling" = yes ||
    12464          $as_test_x conftest$ac_exeext
    12465        }; then
     8483if ac_fn_cxx_try_link "$LINENO"; then :
    124668484  ac_cv_lib_highgui_cvLoadImage=yes
    124678485else
    12468   $as_echo "$as_me: failed program was:" >&5
    12469 sed 's/^/| /' conftest.$ac_ext >&5
    12470 
    12471         ac_cv_lib_highgui_cvLoadImage=no
    12472 fi
    12473 
    12474 rm -rf conftest.dSYM
    12475 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12476       conftest$ac_exeext conftest.$ac_ext
     8486  ac_cv_lib_highgui_cvLoadImage=no
     8487fi
     8488rm -f core conftest.err conftest.$ac_objext \
     8489    conftest$ac_exeext conftest.$ac_ext
    124778490LIBS=$ac_check_lib_save_LIBS
    124788491fi
    12479 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_highgui_cvLoadImage" >&5
     8492{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_highgui_cvLoadImage" >&5
    124808493$as_echo "$ac_cv_lib_highgui_cvLoadImage" >&6; }
    12481 if test "x$ac_cv_lib_highgui_cvLoadImage" = x""yes; then
     8494if test "x$ac_cv_lib_highgui_cvLoadImage" = xyes; then :
    124828495  cat >>confdefs.h <<_ACEOF
    124838496#define HAVE_LIBHIGHGUI 1
     
    124968509fi
    124978510
    12498 
    12499 
    12500 
    12501 
    12502 
    12503 
    125048511for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    12505 do
    12506 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    12507 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    12508 $as_echo_n "checking for $ac_header... " >&6; }
    12509 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    12510   $as_echo_n "(cached) " >&6
    12511 else
    12512   cat >conftest.$ac_ext <<_ACEOF
    12513 /* confdefs.h.  */
    12514 _ACEOF
    12515 cat confdefs.h >>conftest.$ac_ext
    12516 cat >>conftest.$ac_ext <<_ACEOF
    12517 /* end confdefs.h.  */
    12518 
     8512do :
     8513  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8514ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
    125198515#define SIZEOF_LONG ${ac_cv_sizeof_long}
    125208516#if SIZEOF_LONG == 8
     
    125268522#endif
    125278523
    12528 
    12529 #include <$ac_header>
    12530 _ACEOF
    12531 rm -f conftest.$ac_objext
    12532 if { (ac_try="$ac_compile"
    12533 case "(($ac_try" in
    12534   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12535   *) ac_try_echo=$ac_try;;
    12536 esac
    12537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12538 $as_echo "$ac_try_echo") >&5
    12539   (eval "$ac_compile") 2>conftest.er1
    12540   ac_status=$?
    12541   grep -v '^ *+' conftest.er1 >conftest.err
    12542   rm -f conftest.er1
    12543   cat conftest.err >&5
    12544   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12545   (exit $ac_status); } && {
    12546          test -z "$ac_cxx_werror_flag" ||
    12547          test ! -s conftest.err
    12548        } && test -s conftest.$ac_objext; then
    12549   eval "$as_ac_Header=yes"
    12550 else
    12551   $as_echo "$as_me: failed program was:" >&5
    12552 sed 's/^/| /' conftest.$ac_ext >&5
    12553 
    12554         eval "$as_ac_Header=no"
    12555 fi
    12556 
    12557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    12558 fi
    12559 ac_res=`eval 'as_val=${'$as_ac_Header'}
    12560                  $as_echo "$as_val"'`
    12561                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12562 $as_echo "$ac_res" >&6; }
    12563 as_val=`eval 'as_val=${'$as_ac_Header'}
    12564                  $as_echo "$as_val"'`
    12565    if test "x$as_val" = x""yes; then
     8524"
     8525if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
    125668526  cat >>confdefs.h <<_ACEOF
    125678527#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    125748534CPPFLAGS=$save_CPPFLAGS
    125758535
    12576 
    12577 { $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5
     8536{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5
    125788537$as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; }
    12579 if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then
     8538if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :
    125808539  $as_echo_n "(cached) " >&6
    125818540else
    125828541  ac_check_lib_save_LIBS=$LIBS
    125838542LIBS="-lavcodec  $LIBS"
    12584 cat >conftest.$ac_ext <<_ACEOF
    12585 /* confdefs.h.  */
    12586 _ACEOF
    12587 cat confdefs.h >>conftest.$ac_ext
    12588 cat >>conftest.$ac_ext <<_ACEOF
     8543cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    125898544/* end confdefs.h.  */
    125908545
     
    126048559}
    126058560_ACEOF
    12606 rm -f conftest.$ac_objext conftest$ac_exeext
    12607 if { (ac_try="$ac_link"
    12608 case "(($ac_try" in
    12609   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12610   *) ac_try_echo=$ac_try;;
    12611 esac
    12612 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12613 $as_echo "$ac_try_echo") >&5
    12614   (eval "$ac_link") 2>conftest.er1
    12615   ac_status=$?
    12616   grep -v '^ *+' conftest.er1 >conftest.err
    12617   rm -f conftest.er1
    12618   cat conftest.err >&5
    12619   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12620   (exit $ac_status); } && {
    12621          test -z "$ac_cxx_werror_flag" ||
    12622          test ! -s conftest.err
    12623        } && test -s conftest$ac_exeext && {
    12624          test "$cross_compiling" = yes ||
    12625          $as_test_x conftest$ac_exeext
    12626        }; then
     8561if ac_fn_cxx_try_link "$LINENO"; then :
    126278562  ac_cv_lib_avcodec_avcodec_alloc_frame=yes
    126288563else
    12629   $as_echo "$as_me: failed program was:" >&5
    12630 sed 's/^/| /' conftest.$ac_ext >&5
    12631 
    12632         ac_cv_lib_avcodec_avcodec_alloc_frame=no
    12633 fi
    12634 
    12635 rm -rf conftest.dSYM
    12636 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12637       conftest$ac_exeext conftest.$ac_ext
     8564  ac_cv_lib_avcodec_avcodec_alloc_frame=no
     8565fi
     8566rm -f core conftest.err conftest.$ac_objext \
     8567    conftest$ac_exeext conftest.$ac_ext
    126388568LIBS=$ac_check_lib_save_LIBS
    126398569fi
    12640 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
     8570{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
    126418571$as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; }
    12642 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then
     8572if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then :
    126438573  cat >>confdefs.h <<_ACEOF
    126448574#define HAVE_LIBAVCODEC 1
     
    126508580
    126518581# Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found
    12652 
    12653 { $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5
     8582{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5
    126548583$as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; }
    12655 if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then
     8584if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :
    126568585  $as_echo_n "(cached) " >&6
    126578586else
    126588587  ac_check_lib_save_LIBS=$LIBS
    126598588LIBS="-lavformat  $LIBS"
    12660 cat >conftest.$ac_ext <<_ACEOF
    12661 /* confdefs.h.  */
    12662 _ACEOF
    12663 cat confdefs.h >>conftest.$ac_ext
    12664 cat >>conftest.$ac_ext <<_ACEOF
     8589cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    126658590/* end confdefs.h.  */
    126668591
     
    126808605}
    126818606_ACEOF
    12682 rm -f conftest.$ac_objext conftest$ac_exeext
    12683 if { (ac_try="$ac_link"
    12684 case "(($ac_try" in
    12685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12686   *) ac_try_echo=$ac_try;;
    12687 esac
    12688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12689 $as_echo "$ac_try_echo") >&5
    12690   (eval "$ac_link") 2>conftest.er1
    12691   ac_status=$?
    12692   grep -v '^ *+' conftest.er1 >conftest.err
    12693   rm -f conftest.er1
    12694   cat conftest.err >&5
    12695   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12696   (exit $ac_status); } && {
    12697          test -z "$ac_cxx_werror_flag" ||
    12698          test ! -s conftest.err
    12699        } && test -s conftest$ac_exeext && {
    12700          test "$cross_compiling" = yes ||
    12701          $as_test_x conftest$ac_exeext
    12702        }; then
     8607if ac_fn_cxx_try_link "$LINENO"; then :
    127038608  ac_cv_lib_avformat_avformat_alloc_context=yes
    127048609else
    12705   $as_echo "$as_me: failed program was:" >&5
    12706 sed 's/^/| /' conftest.$ac_ext >&5
    12707 
    12708         ac_cv_lib_avformat_avformat_alloc_context=no
    12709 fi
    12710 
    12711 rm -rf conftest.dSYM
    12712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12713       conftest$ac_exeext conftest.$ac_ext
     8610  ac_cv_lib_avformat_avformat_alloc_context=no
     8611fi
     8612rm -f core conftest.err conftest.$ac_objext \
     8613    conftest$ac_exeext conftest.$ac_ext
    127148614LIBS=$ac_check_lib_save_LIBS
    127158615fi
    12716 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
     8616{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
    127178617$as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; }
    12718 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then
     8618if test "x$ac_cv_lib_avformat_avformat_alloc_context" = xyes; then :
    127198619  cat >>confdefs.h <<_ACEOF
    127208620#define HAVE_LIBAVFORMAT 1
     
    127248624
    127258625else
    12726 
    12727 { $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5
     8626  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_alloc_format_context in -lavformat" >&5
    127288627$as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; }
    12729 if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then
     8628if ${ac_cv_lib_avformat_av_alloc_format_context+:} false; then :
    127308629  $as_echo_n "(cached) " >&6
    127318630else
    127328631  ac_check_lib_save_LIBS=$LIBS
    127338632LIBS="-lavformat  $LIBS"
    12734 cat >conftest.$ac_ext <<_ACEOF
    12735 /* confdefs.h.  */
    12736 _ACEOF
    12737 cat confdefs.h >>conftest.$ac_ext
    12738 cat >>conftest.$ac_ext <<_ACEOF
     8633cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    127398634/* end confdefs.h.  */
    127408635
     
    127548649}
    127558650_ACEOF
    12756 rm -f conftest.$ac_objext conftest$ac_exeext
    12757 if { (ac_try="$ac_link"
    12758 case "(($ac_try" in
    12759   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12760   *) ac_try_echo=$ac_try;;
    12761 esac
    12762 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12763 $as_echo "$ac_try_echo") >&5
    12764   (eval "$ac_link") 2>conftest.er1
    12765   ac_status=$?
    12766   grep -v '^ *+' conftest.er1 >conftest.err
    12767   rm -f conftest.er1
    12768   cat conftest.err >&5
    12769   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12770   (exit $ac_status); } && {
    12771          test -z "$ac_cxx_werror_flag" ||
    12772          test ! -s conftest.err
    12773        } && test -s conftest$ac_exeext && {
    12774          test "$cross_compiling" = yes ||
    12775          $as_test_x conftest$ac_exeext
    12776        }; then
     8651if ac_fn_cxx_try_link "$LINENO"; then :
    127778652  ac_cv_lib_avformat_av_alloc_format_context=yes
    127788653else
    12779   $as_echo "$as_me: failed program was:" >&5
    12780 sed 's/^/| /' conftest.$ac_ext >&5
    12781 
    12782         ac_cv_lib_avformat_av_alloc_format_context=no
    12783 fi
    12784 
    12785 rm -rf conftest.dSYM
    12786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12787       conftest$ac_exeext conftest.$ac_ext
     8654  ac_cv_lib_avformat_av_alloc_format_context=no
     8655fi
     8656rm -f core conftest.err conftest.$ac_objext \
     8657    conftest$ac_exeext conftest.$ac_ext
    127888658LIBS=$ac_check_lib_save_LIBS
    127898659fi
    12790 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
     8660{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
    127918661$as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; }
    12792 if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then
     8662if test "x$ac_cv_lib_avformat_av_alloc_format_context" = xyes; then :
    127938663  cat >>confdefs.h <<_ACEOF
    127948664#define HAVE_LIBAVFORMAT 1
     
    127988668
    127998669else
    12800   { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5
     8670  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libavformat not usable" >&5
    128018671$as_echo "$as_me: WARNING: libavformat not usable" >&2;}
    128028672fi
     
    128048674fi
    128058675
    12806 
    128078676for ac_func in avformat_alloc_context
    12808 do
    12809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12810 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12811 $as_echo_n "checking for $ac_func... " >&6; }
    12812 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12813   $as_echo_n "(cached) " >&6
    12814 else
    12815   cat >conftest.$ac_ext <<_ACEOF
    12816 /* confdefs.h.  */
    12817 _ACEOF
    12818 cat confdefs.h >>conftest.$ac_ext
    12819 cat >>conftest.$ac_ext <<_ACEOF
    12820 /* end confdefs.h.  */
    12821 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12822    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12823 #define $ac_func innocuous_$ac_func
    12824 
    12825 /* System header to define __stub macros and hopefully few prototypes,
    12826     which can conflict with char $ac_func (); below.
    12827     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    12828     <limits.h> exists even on freestanding compilers.  */
    12829 
    12830 #ifdef __STDC__
    12831 # include <limits.h>
    12832 #else
    12833 # include <assert.h>
    12834 #endif
    12835 
    12836 #undef $ac_func
    12837 
    12838 /* Override any GCC internal prototype to avoid an error.
    12839    Use char because int might match the return type of a GCC
    12840    builtin and then its argument prototype would still apply.  */
    12841 #ifdef __cplusplus
    12842 extern "C"
    12843 #endif
    12844 char $ac_func ();
    12845 /* The GNU C library defines this for functions which it implements
    12846     to always fail with ENOSYS.  Some functions are actually named
    12847     something starting with __ and the normal name is an alias.  */
    12848 #if defined __stub_$ac_func || defined __stub___$ac_func
    12849 choke me
    12850 #endif
    12851 
    12852 int
    12853 main ()
    12854 {
    12855 return $ac_func ();
    12856   ;
    12857   return 0;
    12858 }
    12859 _ACEOF
    12860 rm -f conftest.$ac_objext conftest$ac_exeext
    12861 if { (ac_try="$ac_link"
    12862 case "(($ac_try" in
    12863   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12864   *) ac_try_echo=$ac_try;;
    12865 esac
    12866 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12867 $as_echo "$ac_try_echo") >&5
    12868   (eval "$ac_link") 2>conftest.er1
    12869   ac_status=$?
    12870   grep -v '^ *+' conftest.er1 >conftest.err
    12871   rm -f conftest.er1
    12872   cat conftest.err >&5
    12873   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12874   (exit $ac_status); } && {
    12875          test -z "$ac_cxx_werror_flag" ||
    12876          test ! -s conftest.err
    12877        } && test -s conftest$ac_exeext && {
    12878          test "$cross_compiling" = yes ||
    12879          $as_test_x conftest$ac_exeext
    12880        }; then
    12881   eval "$as_ac_var=yes"
    12882 else
    12883   $as_echo "$as_me: failed program was:" >&5
    12884 sed 's/^/| /' conftest.$ac_ext >&5
    12885 
    12886         eval "$as_ac_var=no"
    12887 fi
    12888 
    12889 rm -rf conftest.dSYM
    12890 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12891       conftest$ac_exeext conftest.$ac_ext
    12892 fi
    12893 ac_res=`eval 'as_val=${'$as_ac_var'}
    12894                  $as_echo "$as_val"'`
    12895                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    12896 $as_echo "$ac_res" >&6; }
    12897 as_val=`eval 'as_val=${'$as_ac_var'}
    12898                  $as_echo "$as_val"'`
    12899    if test "x$as_val" = x""yes; then
     8677do :
     8678  ac_fn_cxx_check_func "$LINENO" "avformat_alloc_context" "ac_cv_func_avformat_alloc_context"
     8679if test "x$ac_cv_func_avformat_alloc_context" = xyes; then :
    129008680  cat >>confdefs.h <<_ACEOF
    12901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8681#define HAVE_AVFORMAT_ALLOC_CONTEXT 1
    129028682_ACEOF
    129038683
     
    129058685done
    129068686
    12907 
    12908 { $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5
     8687{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5
    129098688$as_echo_n "checking for av_free in -lavutil... " >&6; }
    12910 if test "${ac_cv_lib_avutil_av_free+set}" = set; then
     8689if ${ac_cv_lib_avutil_av_free+:} false; then :
    129118690  $as_echo_n "(cached) " >&6
    129128691else
    129138692  ac_check_lib_save_LIBS=$LIBS
    129148693LIBS="-lavutil  $LIBS"
    12915 cat >conftest.$ac_ext <<_ACEOF
    12916 /* confdefs.h.  */
    12917 _ACEOF
    12918 cat confdefs.h >>conftest.$ac_ext
    12919 cat >>conftest.$ac_ext <<_ACEOF
     8694cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    129208695/* end confdefs.h.  */
    129218696
     
    129358710}
    129368711_ACEOF
    12937 rm -f conftest.$ac_objext conftest$ac_exeext
    12938 if { (ac_try="$ac_link"
    12939 case "(($ac_try" in
    12940   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    12941   *) ac_try_echo=$ac_try;;
    12942 esac
    12943 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    12944 $as_echo "$ac_try_echo") >&5
    12945   (eval "$ac_link") 2>conftest.er1
    12946   ac_status=$?
    12947   grep -v '^ *+' conftest.er1 >conftest.err
    12948   rm -f conftest.er1
    12949   cat conftest.err >&5
    12950   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    12951   (exit $ac_status); } && {
    12952          test -z "$ac_cxx_werror_flag" ||
    12953          test ! -s conftest.err
    12954        } && test -s conftest$ac_exeext && {
    12955          test "$cross_compiling" = yes ||
    12956          $as_test_x conftest$ac_exeext
    12957        }; then
     8712if ac_fn_cxx_try_link "$LINENO"; then :
    129588713  ac_cv_lib_avutil_av_free=yes
    129598714else
    12960   $as_echo "$as_me: failed program was:" >&5
    12961 sed 's/^/| /' conftest.$ac_ext >&5
    12962 
    12963         ac_cv_lib_avutil_av_free=no
    12964 fi
    12965 
    12966 rm -rf conftest.dSYM
    12967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    12968       conftest$ac_exeext conftest.$ac_ext
     8715  ac_cv_lib_avutil_av_free=no
     8716fi
     8717rm -f core conftest.err conftest.$ac_objext \
     8718    conftest$ac_exeext conftest.$ac_ext
    129698719LIBS=$ac_check_lib_save_LIBS
    129708720fi
    12971 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_free" >&5
     8721{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&5
    129728722$as_echo "$ac_cv_lib_avutil_av_free" >&6; }
    12973 if test "x$ac_cv_lib_avutil_av_free" = x""yes; then
     8723if test "x$ac_cv_lib_avutil_av_free" = xyes; then :
    129748724  cat >>confdefs.h <<_ACEOF
    129758725#define HAVE_LIBAVUTIL 1
     
    129808730fi
    129818731
    12982 
    129838732for ac_func in img_convert
    12984 do
    12985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
    12986 { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
    12987 $as_echo_n "checking for $ac_func... " >&6; }
    12988 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
    12989   $as_echo_n "(cached) " >&6
    12990 else
    12991   cat >conftest.$ac_ext <<_ACEOF
    12992 /* confdefs.h.  */
    12993 _ACEOF
    12994 cat confdefs.h >>conftest.$ac_ext
    12995 cat >>conftest.$ac_ext <<_ACEOF
    12996 /* end confdefs.h.  */
    12997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
    12998    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    12999 #define $ac_func innocuous_$ac_func
    13000 
    13001 /* System header to define __stub macros and hopefully few prototypes,
    13002     which can conflict with char $ac_func (); below.
    13003     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    13004     <limits.h> exists even on freestanding compilers.  */
    13005 
    13006 #ifdef __STDC__
    13007 # include <limits.h>
    13008 #else
    13009 # include <assert.h>
    13010 #endif
    13011 
    13012 #undef $ac_func
    13013 
    13014 /* Override any GCC internal prototype to avoid an error.
    13015    Use char because int might match the return type of a GCC
    13016    builtin and then its argument prototype would still apply.  */
    13017 #ifdef __cplusplus
    13018 extern "C"
    13019 #endif
    13020 char $ac_func ();
    13021 /* The GNU C library defines this for functions which it implements
    13022     to always fail with ENOSYS.  Some functions are actually named
    13023     something starting with __ and the normal name is an alias.  */
    13024 #if defined __stub_$ac_func || defined __stub___$ac_func
    13025 choke me
    13026 #endif
    13027 
    13028 int
    13029 main ()
    13030 {
    13031 return $ac_func ();
    13032   ;
    13033   return 0;
    13034 }
    13035 _ACEOF
    13036 rm -f conftest.$ac_objext conftest$ac_exeext
    13037 if { (ac_try="$ac_link"
    13038 case "(($ac_try" in
    13039   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13040   *) ac_try_echo=$ac_try;;
    13041 esac
    13042 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13043 $as_echo "$ac_try_echo") >&5
    13044   (eval "$ac_link") 2>conftest.er1
    13045   ac_status=$?
    13046   grep -v '^ *+' conftest.er1 >conftest.err
    13047   rm -f conftest.er1
    13048   cat conftest.err >&5
    13049   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13050   (exit $ac_status); } && {
    13051          test -z "$ac_cxx_werror_flag" ||
    13052          test ! -s conftest.err
    13053        } && test -s conftest$ac_exeext && {
    13054          test "$cross_compiling" = yes ||
    13055          $as_test_x conftest$ac_exeext
    13056        }; then
    13057   eval "$as_ac_var=yes"
    13058 else
    13059   $as_echo "$as_me: failed program was:" >&5
    13060 sed 's/^/| /' conftest.$ac_ext >&5
    13061 
    13062         eval "$as_ac_var=no"
    13063 fi
    13064 
    13065 rm -rf conftest.dSYM
    13066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    13067       conftest$ac_exeext conftest.$ac_ext
    13068 fi
    13069 ac_res=`eval 'as_val=${'$as_ac_var'}
    13070                  $as_echo "$as_val"'`
    13071                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13072 $as_echo "$ac_res" >&6; }
    13073 as_val=`eval 'as_val=${'$as_ac_var'}
    13074                  $as_echo "$as_val"'`
    13075    if test "x$as_val" = x""yes; then
     8733do :
     8734  ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
     8735if test "x$ac_cv_func_img_convert" = xyes; then :
    130768736  cat >>confdefs.h <<_ACEOF
    13077 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
     8737#define HAVE_IMG_CONVERT 1
    130788738_ACEOF
    130798739
     
    130838743
    130848744
    13085 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     8745{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
    130868746$as_echo_n "checking for nVidia Cg installation... " >&6; }
    130878747CG_DIR=""
     
    130968756  fi
    130978757done
    13098 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     8758{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
    130998759$as_echo "${CG_DIR}" >&6; }
    131008760
     
    131048764save_CPPFLAGS=$CPPFLAGS
    131058765CPPFLAGS="-I${CG_INC_DIR} $CPPFLAGS"
    13106 
    131078766for ac_header in Cg/cgGL.h
    13108 do
    13109 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    13110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13111   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    13112 $as_echo_n "checking for $ac_header... " >&6; }
    13113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13114   $as_echo_n "(cached) " >&6
    13115 fi
    13116 ac_res=`eval 'as_val=${'$as_ac_Header'}
    13117                  $as_echo "$as_val"'`
    13118                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13119 $as_echo "$ac_res" >&6; }
    13120 else
    13121   # Is the header compilable?
    13122 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    13123 $as_echo_n "checking $ac_header usability... " >&6; }
    13124 cat >conftest.$ac_ext <<_ACEOF
    13125 /* confdefs.h.  */
    13126 _ACEOF
    13127 cat confdefs.h >>conftest.$ac_ext
    13128 cat >>conftest.$ac_ext <<_ACEOF
    13129 /* end confdefs.h.  */
    13130 $ac_includes_default
    13131 #include <$ac_header>
    13132 _ACEOF
    13133 rm -f conftest.$ac_objext
    13134 if { (ac_try="$ac_compile"
    13135 case "(($ac_try" in
    13136   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13137   *) ac_try_echo=$ac_try;;
    13138 esac
    13139 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13140 $as_echo "$ac_try_echo") >&5
    13141   (eval "$ac_compile") 2>conftest.er1
    13142   ac_status=$?
    13143   grep -v '^ *+' conftest.er1 >conftest.err
    13144   rm -f conftest.er1
    13145   cat conftest.err >&5
    13146   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13147   (exit $ac_status); } && {
    13148          test -z "$ac_cxx_werror_flag" ||
    13149          test ! -s conftest.err
    13150        } && test -s conftest.$ac_objext; then
    13151   ac_header_compiler=yes
    13152 else
    13153   $as_echo "$as_me: failed program was:" >&5
    13154 sed 's/^/| /' conftest.$ac_ext >&5
    13155 
    13156         ac_header_compiler=no
    13157 fi
    13158 
    13159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    13160 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    13161 $as_echo "$ac_header_compiler" >&6; }
    13162 
    13163 # Is the header present?
    13164 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    13165 $as_echo_n "checking $ac_header presence... " >&6; }
    13166 cat >conftest.$ac_ext <<_ACEOF
    13167 /* confdefs.h.  */
    13168 _ACEOF
    13169 cat confdefs.h >>conftest.$ac_ext
    13170 cat >>conftest.$ac_ext <<_ACEOF
    13171 /* end confdefs.h.  */
    13172 #include <$ac_header>
    13173 _ACEOF
    13174 if { (ac_try="$ac_cpp conftest.$ac_ext"
    13175 case "(($ac_try" in
    13176   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    13177   *) ac_try_echo=$ac_try;;
    13178 esac
    13179 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    13180 $as_echo "$ac_try_echo") >&5
    13181   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    13182   ac_status=$?
    13183   grep -v '^ *+' conftest.er1 >conftest.err
    13184   rm -f conftest.er1
    13185   cat conftest.err >&5
    13186   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    13187   (exit $ac_status); } >/dev/null && {
    13188          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    13189          test ! -s conftest.err
    13190        }; then
    13191   ac_header_preproc=yes
    13192 else
    13193   $as_echo "$as_me: failed program was:" >&5
    13194 sed 's/^/| /' conftest.$ac_ext >&5
    13195 
    13196   ac_header_preproc=no
    13197 fi
    13198 
    13199 rm -f conftest.err conftest.$ac_ext
    13200 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    13201 $as_echo "$ac_header_preproc" >&6; }
    13202 
    13203 # So?  What about this header?
    13204 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    13205   yes:no: )
    13206     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    13207 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    13208     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    13209 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    13210     ac_header_preproc=yes
    13211     ;;
    13212   no:yes:* )
    13213     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    13214 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    13215     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    13216 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    13217     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    13218 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    13219     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    13220 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    13221     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    13222 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    13223     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    13224 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    13225     ( cat <<\_ASBOX
    13226 ## ----------------------------------- ##
    13227 ## Report this to rappture@nanohub.org ##
    13228 ## ----------------------------------- ##
    13229 _ASBOX
    13230      ) | sed "s/^/$as_me: WARNING:     /" >&2
    13231     ;;
    13232 esac
    13233 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    13234 $as_echo_n "checking for $ac_header... " >&6; }
    13235 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    13236   $as_echo_n "(cached) " >&6
    13237 else
    13238   eval "$as_ac_Header=\$ac_header_preproc"
    13239 fi
    13240 ac_res=`eval 'as_val=${'$as_ac_Header'}
    13241                  $as_echo "$as_val"'`
    13242                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    13243 $as_echo "$ac_res" >&6; }
    13244 
    13245 fi
    13246 as_val=`eval 'as_val=${'$as_ac_Header'}
    13247                  $as_echo "$as_val"'`
    13248    if test "x$as_val" = x""yes; then
     8767do :
     8768  ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
     8769if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then :
    132498770  cat >>confdefs.h <<_ACEOF
    13250 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    13251 _ACEOF
    13252 
    13253 else
    13254   { $as_echo "$as_me:$LINENO: WARNING: cannot find nVidia Cg headers" >&5
     8771#define HAVE_CG_CGGL_H 1
     8772_ACEOF
     8773
     8774else
     8775  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cannot find nVidia Cg headers" >&5
    132558776$as_echo "$as_me: WARNING: cannot find nVidia Cg headers" >&2;}
    132568777fi
     
    132988819
    132998820
    13300 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl 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 vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"
     8821
     8822ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanoscale/renderservers.tcl 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 pymolproxy/pymol vtkvis/Doxyfile vtkvis/Makefile start_viz.sh start_nanoscale.sh"
    133018823
    133028824cat >confcache <<\_ACEOF
     
    133278849    *${as_nl}*)
    133288850      case $ac_var in #(
    13329       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
     8851      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
    133308852$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    133318853      esac
     
    133338855      _ | IFS | as_nl) ;; #(
    133348856      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    13335       *) $as_unset $ac_var ;;
     8857      *) { eval $ac_var=; unset $ac_var;} ;;
    133368858      esac ;;
    133378859    esac
     
    133418863    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    133428864    *${as_nl}ac_space=\ *)
    13343       # `set' does not quote correctly, so add quotes (double-quote
    13344       # substitution turns \\\\ into \\, and sed turns \\ into \).
     8865      # `set' does not quote correctly, so add quotes: double-quote
     8866      # substitution turns \\\\ into \\, and sed turns \\ into \.
    133458867      sed -n \
    133468868        "s/'/'\\\\''/g;
     
    133648886if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    133658887  if test -w "$cache_file"; then
    13366     test "x$cache_file" != "x/dev/null" &&
    13367       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
     8888    if test "x$cache_file" != "x/dev/null"; then
     8889      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
    133688890$as_echo "$as_me: updating cache $cache_file" >&6;}
    13369     cat confcache >$cache_file
     8891      if test ! -f "$cache_file" || test -h "$cache_file"; then
     8892        cat confcache >"$cache_file"
     8893      else
     8894        case $cache_file in #(
     8895        */* | ?:*)
     8896          mv -f confcache "$cache_file"$$ &&
     8897          mv -f "$cache_file"$$ "$cache_file" ;; #(
     8898        *)
     8899          mv -f confcache "$cache_file" ;;
     8900        esac
     8901      fi
     8902    fi
    133708903  else
    13371     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     8904    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
    133728905$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    133738906  fi
     
    133838916ac_libobjs=
    133848917ac_ltlibobjs=
     8918U=
    133858919for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    133868920  # 1. Remove the extension, and $U if already installed.
     
    133898923  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    133908924  #    will be set to the directory where LIBOBJS objects are built.
    13391   ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    13392   ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
     8925  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     8926  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
    133938927done
    133948928LIBOBJS=$ac_libobjs
     
    133998933
    134008934
    13401 : ${CONFIG_STATUS=./config.status}
     8935: "${CONFIG_STATUS=./config.status}"
    134028936ac_write_fail=0
    134038937ac_clean_files_save=$ac_clean_files
    134048938ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    13405 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     8939{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
    134068940$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    13407 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     8941as_write_fail=0
     8942cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
    134088943#! $SHELL
    134098944# Generated by $as_me.
     
    134158950ac_cs_recheck=false
    134168951ac_cs_silent=false
     8952
    134178953SHELL=\${CONFIG_SHELL-$SHELL}
    13418 _ACEOF
    13419 
    13420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    13421 ## --------------------- ##
    13422 ## M4sh Initialization.  ##
    13423 ## --------------------- ##
     8954export SHELL
     8955_ASEOF
     8956cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
     8957## -------------------- ##
     8958## M4sh Initialization. ##
     8959## -------------------- ##
    134248960
    134258961# Be more Bourne compatible
    134268962DUALCASE=1; export DUALCASE # for MKS sh
    13427 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     8963if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
    134288964  emulate sh
    134298965  NULLCMD=:
     
    134338969  setopt NO_GLOB_SUBST
    134348970else
    13435   case `(set -o) 2>/dev/null` in
    13436   *posix*) set -o posix ;;
     8971  case `(set -o) 2>/dev/null` in #(
     8972  *posix*) :
     8973    set -o posix ;; #(
     8974  *) :
     8975     ;;
    134378976esac
    13438 
    13439 fi
    13440 
    13441 
    13442 
    13443 
    13444 # PATH needs CR
    13445 # Avoid depending upon Character Ranges.
    13446 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    13447 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    13448 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    13449 as_cr_digits='0123456789'
    13450 as_cr_alnum=$as_cr_Letters$as_cr_digits
     8977fi
     8978
    134518979
    134528980as_nl='
     
    134578985as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    134588986as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    13459 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     8987# Prefer a ksh shell builtin over an external printf program on Solaris,
     8988# but without wasting forks for bash or zsh.
     8989if test -z "$BASH_VERSION$ZSH_VERSION" \
     8990    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
     8991  as_echo='print -r --'
     8992  as_echo_n='print -rn --'
     8993elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    134608994  as_echo='printf %s\n'
    134618995  as_echo_n='printf %s'
     
    134689002    as_echo_n_body='eval
    134699003      arg=$1;
    13470       case $arg in
     9004      case $arg in #(
    134719005      *"$as_nl"*)
    134729006        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    134919025fi
    134929026
    13493 # Support unset when possible.
    13494 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
    13495   as_unset=unset
    13496 else
    13497   as_unset=false
    13498 fi
    13499 
    135009027
    135019028# IFS
     
    135079034
    135089035# Find who we are.  Look in the path if we contain no directory separator.
    13509 case $0 in
     9036as_myself=
     9037case $0 in #((
    135109038  *[\\/]* ) as_myself=$0 ;;
    135119039  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    135149042  IFS=$as_save_IFS
    135159043  test -z "$as_dir" && as_dir=.
    13516   test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    13517 done
     9044    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     9045  done
    135189046IFS=$as_save_IFS
    135199047
     
    135279055if test ! -f "$as_myself"; then
    135289056  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    13529   { (exit 1); exit 1; }
    13530 fi
    13531 
    13532 # Work around bugs in pre-3.0 UWIN ksh.
    13533 for as_var in ENV MAIL MAILPATH
    13534 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9057  exit 1
     9058fi
     9059
     9060# Unset variables that we do not need and which cause bugs (e.g. in
     9061# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
     9062# suppresses any "Segmentation fault" message there.  '((' could
     9063# trigger a bug in pdksh 5.2.14.
     9064for as_var in BASH_ENV ENV MAIL MAILPATH
     9065do eval test x\${$as_var+set} = xset \
     9066  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
    135359067done
    135369068PS1='$ '
     
    135449076export LANGUAGE
    135459077
    13546 # Required to use basename.
     9078# CDPATH.
     9079(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
     9080
     9081
     9082# as_fn_error STATUS ERROR [LINENO LOG_FD]
     9083# ----------------------------------------
     9084# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
     9085# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
     9086# script with STATUS, using 1 if that was 0.
     9087as_fn_error ()
     9088{
     9089  as_status=$1; test $as_status -eq 0 && as_status=1
     9090  if test "$4"; then
     9091    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
     9092    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
     9093  fi
     9094  $as_echo "$as_me: error: $2" >&2
     9095  as_fn_exit $as_status
     9096} # as_fn_error
     9097
     9098
     9099# as_fn_set_status STATUS
     9100# -----------------------
     9101# Set $? to STATUS, without forking.
     9102as_fn_set_status ()
     9103{
     9104  return $1
     9105} # as_fn_set_status
     9106
     9107# as_fn_exit STATUS
     9108# -----------------
     9109# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
     9110as_fn_exit ()
     9111{
     9112  set +e
     9113  as_fn_set_status $1
     9114  exit $1
     9115} # as_fn_exit
     9116
     9117# as_fn_unset VAR
     9118# ---------------
     9119# Portably unset VAR.
     9120as_fn_unset ()
     9121{
     9122  { eval $1=; unset $1;}
     9123}
     9124as_unset=as_fn_unset
     9125# as_fn_append VAR VALUE
     9126# ----------------------
     9127# Append the text in VALUE to the end of the definition contained in VAR. Take
     9128# advantage of any shell optimizations that allow amortized linear growth over
     9129# repeated appends, instead of the typical quadratic growth present in naive
     9130# implementations.
     9131if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
     9132  eval 'as_fn_append ()
     9133  {
     9134    eval $1+=\$2
     9135  }'
     9136else
     9137  as_fn_append ()
     9138  {
     9139    eval $1=\$$1\$2
     9140  }
     9141fi # as_fn_append
     9142
     9143# as_fn_arith ARG...
     9144# ------------------
     9145# Perform arithmetic evaluation on the ARGs, and store the result in the
     9146# global $as_val. Take advantage of shells that can avoid forks. The arguments
     9147# must be portable across $(()) and expr.
     9148if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
     9149  eval 'as_fn_arith ()
     9150  {
     9151    as_val=$(( $* ))
     9152  }'
     9153else
     9154  as_fn_arith ()
     9155  {
     9156    as_val=`expr "$@" || test $? -eq 1`
     9157  }
     9158fi # as_fn_arith
     9159
     9160
    135479161if expr a : '\(a\)' >/dev/null 2>&1 &&
    135489162   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    135589172fi
    135599173
    13560 
    13561 # Name of the executable.
     9174if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     9175  as_dirname=dirname
     9176else
     9177  as_dirname=false
     9178fi
     9179
    135629180as_me=`$as_basename -- "$0" ||
    135639181$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    135799197          s/.*/./; q'`
    135809198
    13581 # CDPATH.
    13582 $as_unset CDPATH
    13583 
    13584 
    13585 
    13586   as_lineno_1=$LINENO
    13587   as_lineno_2=$LINENO
    13588   test "x$as_lineno_1" != "x$as_lineno_2" &&
    13589   test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
    13590 
    13591   # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
    13592   # uniformly replaced by the line number.  The first 'sed' inserts a
    13593   # line-number line after each line using $LINENO; the second 'sed'
    13594   # does the real work.  The second script uses 'N' to pair each
    13595   # line-number line with the line containing $LINENO, and appends
    13596   # trailing '-' during substitution so that $LINENO is not a special
    13597   # case at line end.
    13598   # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
    13599   # scripts with optimization help from Paolo Bonzini.  Blame Lee
    13600   # E. McMahon (1931-1989) for sed's syntax.  :-)
    13601   sed -n '
    13602     p
    13603     /[$]LINENO/=
    13604   ' <$as_myself |
    13605     sed '
    13606       s/[$]LINENO.*/&-/
    13607       t lineno
    13608       b
    13609       :lineno
    13610       N
    13611       :loop
    13612       s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
    13613       t loop
    13614       s/-\n.*//
    13615     ' >$as_me.lineno &&
    13616   chmod +x "$as_me.lineno" ||
    13617     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    13618    { (exit 1); exit 1; }; }
    13619 
    13620   # Don't try to exec as it changes $[0], causing all sort of problems
    13621   # (the dirname of $[0] is not the place where we might find the
    13622   # original and so on.  Autoconf is especially sensitive to this).
    13623   . "./$as_me.lineno"
    13624   # Exit status is that of the last command.
    13625   exit
    13626 }
    13627 
    13628 
    13629 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    13630   as_dirname=dirname
    13631 else
    13632   as_dirname=false
    13633 fi
     9199# Avoid depending upon Character Ranges.
     9200as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     9201as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     9202as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     9203as_cr_digits='0123456789'
     9204as_cr_alnum=$as_cr_Letters$as_cr_digits
    136349205
    136359206ECHO_C= ECHO_N= ECHO_T=
    13636 case `echo -n x` in
     9207case `echo -n x` in #(((((
    136379208-n*)
    13638   case `echo 'x\c'` in
     9209  case `echo 'xy\c'` in
    136399210  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    13640   *)   ECHO_C='\c';;
     9211  xy)  ECHO_C='\c';;
     9212  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
     9213       ECHO_T=' ';;
    136419214  esac;;
    136429215*)
    136439216  ECHO_N='-n';;
    136449217esac
    13645 if expr a : '\(a\)' >/dev/null 2>&1 &&
    13646    test "X`expr 00001 : '.*\(...\)'`" = X001; then
    13647   as_expr=expr
    13648 else
    13649   as_expr=false
    13650 fi
    136519218
    136529219rm -f conf$$ conf$$.exe conf$$.file
     
    136779244rmdir conf$$.dir 2>/dev/null
    136789245
     9246
     9247# as_fn_mkdir_p
     9248# -------------
     9249# Create "$as_dir" as a directory, including parents if necessary.
     9250as_fn_mkdir_p ()
     9251{
     9252
     9253  case $as_dir in #(
     9254  -*) as_dir=./$as_dir;;
     9255  esac
     9256  test -d "$as_dir" || eval $as_mkdir_p || {
     9257    as_dirs=
     9258    while :; do
     9259      case $as_dir in #(
     9260      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     9261      *) as_qdir=$as_dir;;
     9262      esac
     9263      as_dirs="'$as_qdir' $as_dirs"
     9264      as_dir=`$as_dirname -- "$as_dir" ||
     9265$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     9266         X"$as_dir" : 'X\(//\)[^/]' \| \
     9267         X"$as_dir" : 'X\(//\)$' \| \
     9268         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     9269$as_echo X"$as_dir" |
     9270    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     9271            s//\1/
     9272            q
     9273          }
     9274          /^X\(\/\/\)[^/].*/{
     9275            s//\1/
     9276            q
     9277          }
     9278          /^X\(\/\/\)$/{
     9279            s//\1/
     9280            q
     9281          }
     9282          /^X\(\/\).*/{
     9283            s//\1/
     9284            q
     9285          }
     9286          s/.*/./; q'`
     9287      test -d "$as_dir" && break
     9288    done
     9289    test -z "$as_dirs" || eval "mkdir $as_dirs"
     9290  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
     9291
     9292
     9293} # as_fn_mkdir_p
    136799294if mkdir -p . 2>/dev/null; then
    13680   as_mkdir_p=:
     9295  as_mkdir_p='mkdir -p "$as_dir"'
    136819296else
    136829297  test -d ./-p && rmdir ./-p
     
    136979312        test -d "$1/.";
    136989313      else
    13699         case $1 in
     9314        case $1 in #(
    137009315        -*)set "./$1";;
    137019316        esac;
    13702         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     9317        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
    137039318        ???[sx]*):;;*)false;;esac;fi
    137049319    '\'' sh
     
    137159330
    137169331exec 6>&1
    13717 
    13718 # Save the log message, to keep $[0] and so on meaningful, and to
     9332## ----------------------------------- ##
     9333## Main body of $CONFIG_STATUS script. ##
     9334## ----------------------------------- ##
     9335_ASEOF
     9336test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
     9337
     9338cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9339# Save the log message, to keep $0 and so on meaningful, and to
    137199340# report actual input values of CONFIG_FILES etc. instead of their
    137209341# values after options handling.
    137219342ac_log="
    137229343This file was extended by vizservers $as_me 0.1, which was
    13723 generated by GNU Autoconf 2.63.  Invocation command line was
     9344generated by GNU Autoconf 2.68.  Invocation command line was
    137249345
    137259346  CONFIG_FILES    = $CONFIG_FILES
     
    137529373cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    137539374ac_cs_usage="\
    13754 \`$as_me' instantiates files from templates according to the
    13755 current configuration.
    13756 
    13757 Usage: $0 [OPTION]... [FILE]...
     9375\`$as_me' instantiates files and other configuration actions
     9376from templates according to the current configuration.  Unless the files
     9377and actions are specified as TAGs, all are instantiated by default.
     9378
     9379Usage: $0 [OPTION]... [TAG]...
    137589380
    137599381  -h, --help       print this help, then exit
    137609382  -V, --version    print version number and configuration settings, then exit
     9383      --config     print configuration, then exit
    137619384  -q, --quiet, --silent
    137629385                   do not print progress messages
     
    137749397$config_headers
    137759398
    13776 Report bugs to <bug-autoconf@gnu.org>."
     9399Report bugs to <rappture@nanohub.org>."
    137779400
    137789401_ACEOF
    137799402cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9403ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    137809404ac_cs_version="\\
    137819405vizservers config.status 0.1
    13782 configured by $0, generated by GNU Autoconf 2.63,
    13783   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    13784 
    13785 Copyright (C) 2008 Free Software Foundation, Inc.
     9406configured by $0, generated by GNU Autoconf 2.68,
     9407  with options \\"\$ac_cs_config\\"
     9408
     9409Copyright (C) 2010 Free Software Foundation, Inc.
    137869410This config.status script is free software; the Free Software Foundation
    137879411gives unlimited permission to copy, distribute and modify it."
     
    138009424do
    138019425  case $1 in
    13802   --*=*)
     9426  --*=?*)
    138039427    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    138049428    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
     9429    ac_shift=:
     9430    ;;
     9431  --*=)
     9432    ac_option=`expr "X$1" : 'X\([^=]*\)='`
     9433    ac_optarg=
    138059434    ac_shift=:
    138069435    ;;
     
    138189447  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    138199448    $as_echo "$ac_cs_version"; exit ;;
     9449  --config | --confi | --conf | --con | --co | --c )
     9450    $as_echo "$ac_cs_config"; exit ;;
    138209451  --debug | --debu | --deb | --de | --d | -d )
    138219452    debug=: ;;
     
    138249455    case $ac_optarg in
    138259456    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
     9457    '') as_fn_error $? "missing file argument" ;;
    138269458    esac
    13827     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     9459    as_fn_append CONFIG_FILES " '$ac_optarg'"
    138289460    ac_need_defaults=false;;
    138299461  --header | --heade | --head | --hea )
     
    138329464    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    138339465    esac
    13834     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     9466    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
    138359467    ac_need_defaults=false;;
    138369468  --he | --h)
    138379469    # Conflict between --help and --header
    13838     { $as_echo "$as_me: error: ambiguous option: $1
    13839 Try \`$0 --help' for more information." >&2
    13840    { (exit 1); exit 1; }; };;
     9470    as_fn_error $? "ambiguous option: \`$1'
     9471Try \`$0 --help' for more information.";;
    138419472  --help | --hel | -h )
    138429473    $as_echo "$ac_cs_usage"; exit ;;
     
    138469477
    138479478  # This is an error.
    13848   -*) { $as_echo "$as_me: error: unrecognized option: $1
    13849 Try \`$0 --help' for more information." >&2
    13850    { (exit 1); exit 1; }; } ;;
    13851 
    13852   *) ac_config_targets="$ac_config_targets $1"
     9479  -*) as_fn_error $? "unrecognized option: \`$1'
     9480Try \`$0 --help' for more information." ;;
     9481
     9482  *) as_fn_append ac_config_targets " $1"
    138539483     ac_need_defaults=false ;;
    138549484
     
    139109540    "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;;
    139119541    "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;;
     9542    "pymolproxy/pymol") CONFIG_FILES="$CONFIG_FILES pymolproxy/pymol" ;;
    139129543    "vtkvis/Doxyfile") CONFIG_FILES="$CONFIG_FILES vtkvis/Doxyfile" ;;
    139139544    "vtkvis/Makefile") CONFIG_FILES="$CONFIG_FILES vtkvis/Makefile" ;;
     
    139159546    "start_nanoscale.sh") CONFIG_FILES="$CONFIG_FILES start_nanoscale.sh" ;;
    139169547
    13917   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    13918 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    13919    { (exit 1); exit 1; }; };;
     9548  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
    139209549  esac
    139219550done
     
    139399568$debug ||
    139409569{
    13941   tmp=
     9570  tmp= ac_tmp=
    139429571  trap 'exit_status=$?
    13943   { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
     9572  : "${ac_tmp:=$tmp}"
     9573  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
    139449574' 0
    13945   trap '{ (exit 1); exit 1; }' 1 2 13 15
     9575  trap 'as_fn_exit 1' 1 2 13 15
    139469576}
    139479577# Create a (secure) tmp directory for tmp files.
     
    139499579{
    139509580  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    13951   test -n "$tmp" && test -d "$tmp"
     9581  test -d "$tmp"
    139529582}  ||
    139539583{
    139549584  tmp=./conf$$-$RANDOM
    139559585  (umask 077 && mkdir "$tmp")
    13956 } ||
    13957 {
    13958    $as_echo "$as_me: cannot create a temporary directory in ." >&2
    13959    { (exit 1); exit 1; }
    13960 }
     9586} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
     9587ac_tmp=$tmp
    139619588
    139629589# Set up the scripts for CONFIG_FILES section.
     
    139669593
    139679594
    13968 ac_cr='
    13969 '
     9595ac_cr=`echo X | tr X '\015'`
     9596# On cygwin, bash can eat \r inside `` if the user requested igncr.
     9597# But we know of no other shell where ac_cr would be empty at this
     9598# point, so we can use a bashism as a fallback.
     9599if test "x$ac_cr" = x; then
     9600  eval ac_cr=\$\'\\r\'
     9601fi
    139709602ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    139719603if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    139759607fi
    139769608
    13977 echo 'BEGIN {' >"$tmp/subs1.awk" &&
     9609echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
    139789610_ACEOF
    139799611
     
    139849616  echo "_ACEOF"
    139859617} >conf$$subs.sh ||
    13986   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13987 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13988    { (exit 1); exit 1; }; }
    13989 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     9618  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     9619ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
    139909620ac_delim='%!_!# '
    139919621for ac_last_try in false false false false false :; do
    139929622  . ./conf$$subs.sh ||
    13993     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    13994 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    13995    { (exit 1); exit 1; }; }
     9623    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    139969624
    139979625  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    139999627    break
    140009628  elif $ac_last_try; then
    14001     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    14002 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    14003    { (exit 1); exit 1; }; }
     9629    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    140049630  else
    140059631    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    140099635
    140109636cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    14011 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
     9637cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
    140129638_ACEOF
    140139639sed -n '
     
    140239649:nl
    140249650h
    14025 s/\(.\{148\}\).*/\1/
     9651s/\(.\{148\}\)..*/\1/
    140269652t more1
    140279653s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    140379663:delim
    140389664h
    14039 s/\(.\{148\}\).*/\1/
     9665s/\(.\{148\}\)..*/\1/
    140409666t more2
    140419667s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    140579683cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    140589684_ACAWK
    14059 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
     9685cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
    140609686  for (key in S) S_is_set[key] = 1
    140619687  FS = ""
     
    140899715else
    140909716  cat
    14091 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    14092   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    14093 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    14094    { (exit 1); exit 1; }; }
    14095 _ACEOF
    14096 
    14097 # VPATH may cause trouble with some makes, so we remove $(srcdir),
    14098 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
     9717fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
     9718  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
     9719_ACEOF
     9720
     9721# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
     9722# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
    140999723# trailing colons and then remove the whole line if VPATH becomes empty
    141009724# (actually we leave an empty line to preserve line numbers).
    141019725if test "x$srcdir" = x.; then
    14102   ac_vpsub='/^[  ]*VPATH[        ]*=/{
    14103 s/:*\$(srcdir):*/:/
    14104 s/:*\${srcdir}:*/:/
    14105 s/:*@srcdir@:*/:/
    14106 s/^\([^=]*=[     ]*\):*/\1/
     9726  ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
     9727h
     9728s///
     9729s/^/:/
     9730s/[      ]*$/:/
     9731s/:\$(srcdir):/:/g
     9732s/:\${srcdir}:/:/g
     9733s/:@srcdir@:/:/g
     9734s/^:*//
    141079735s/:*$//
     9736x
     9737s/\(=[   ]*\).*/\1/
     9738G
     9739s/\n//
    141089740s/^[^=]*=[       ]*$//
    141099741}'
     
    141179749# This happens for instance with `./config.status Makefile'.
    141189750if test -n "$CONFIG_HEADERS"; then
    14119 cat >"$tmp/defines.awk" <<\_ACAWK ||
     9751cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
    141209752BEGIN {
    141219753_ACEOF
     
    141299761ac_delim='%!_!# '
    141309762for ac_last_try in false false :; do
    14131   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    14132   if test -z "$ac_t"; then
     9763  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
     9764  if test -z "$ac_tt"; then
    141339765    break
    141349766  elif $ac_last_try; then
    14135     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    14136 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    14137    { (exit 1); exit 1; }; }
     9767    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
    141389768  else
    141399769    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    142209850_ACEOF
    142219851cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    14222   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    14223 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    14224    { (exit 1); exit 1; }; }
     9852  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
    142259853fi # test -n "$CONFIG_HEADERS"
    142269854
     
    142359863  case $ac_mode$ac_tag in
    142369864  :[FHL]*:*);;
    14237   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    14238 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
    14239    { (exit 1); exit 1; }; };;
     9865  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
    142409866  :[FH]-) ac_tag=-:-;;
    142419867  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    142569882    do
    142579883      case $ac_f in
    14258       -) ac_f="$tmp/stdin";;
     9884      -) ac_f="$ac_tmp/stdin";;
    142599885      *) # Look for the file first in the build tree, then in the source tree
    142609886         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    142659891           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    142669892           esac ||
    14267            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    14268 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    14269    { (exit 1); exit 1; }; };;
     9893           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
    142709894      esac
    142719895      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    14272       ac_file_inputs="$ac_file_inputs '$ac_f'"
     9896      as_fn_append ac_file_inputs " '$ac_f'"
    142739897    done
    142749898
     
    142819905    if test x"$ac_file" != x-; then
    142829906      configure_input="$ac_file.  $configure_input"
    14283       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
     9907      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
    142849908$as_echo "$as_me: creating $ac_file" >&6;}
    142859909    fi
     
    142939917
    142949918    case $ac_tag in
    14295     *:-:* | *:-) cat >"$tmp/stdin" \
    14296       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    14297 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    14298    { (exit 1); exit 1; }; } ;;
     9919    *:-:* | *:-) cat >"$ac_tmp/stdin" \
     9920      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
    142999921    esac
    143009922    ;;
     
    143249946          }
    143259947          s/.*/./; q'`
    14326   { as_dir="$ac_dir"
    14327   case $as_dir in #(
    14328   -*) as_dir=./$as_dir;;
    14329   esac
    14330   test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
    14331     as_dirs=
    14332     while :; do
    14333       case $as_dir in #(
    14334       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    14335       *) as_qdir=$as_dir;;
    14336       esac
    14337       as_dirs="'$as_qdir' $as_dirs"
    14338       as_dir=`$as_dirname -- "$as_dir" ||
    14339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    14340          X"$as_dir" : 'X\(//\)[^/]' \| \
    14341          X"$as_dir" : 'X\(//\)$' \| \
    14342          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    14343 $as_echo X"$as_dir" |
    14344     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    14345             s//\1/
    14346             q
    14347           }
    14348           /^X\(\/\/\)[^/].*/{
    14349             s//\1/
    14350             q
    14351           }
    14352           /^X\(\/\/\)$/{
    14353             s//\1/
    14354             q
    14355           }
    14356           /^X\(\/\).*/{
    14357             s//\1/
    14358             q
    14359           }
    14360           s/.*/./; q'`
    14361       test -d "$as_dir" && break
    14362     done
    14363     test -z "$as_dirs" || eval "mkdir $as_dirs"
    14364   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    14365 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
    14366    { (exit 1); exit 1; }; }; }
     9948  as_dir="$ac_dir"; as_fn_mkdir_p
    143679949  ac_builddir=.
    143689950
     
    1442110003# FIXME: This hack should be removed a few years after 2.60.
    1442210004ac_datarootdir_hack=; ac_datarootdir_seen=
    14423 
    1442410005ac_sed_dataroot='
    1442510006/datarootdir/ {
     
    1443110012/@infodir@/p
    1443210013/@localedir@/p
    14433 /@mandir@/p
    14434 '
     10014/@mandir@/p'
    1443510015case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    1443610016*datarootdir*) ac_datarootdir_seen=yes;;
    1443710017*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    14438   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     10018  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    1443910019$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    1444010020_ACEOF
     
    1444610026  s&@localedir@&$localedir&g
    1444710027  s&@mandir@&$mandir&g
    14448     s&\\\${datarootdir}&$datarootdir&g' ;;
     10028  s&\\\${datarootdir}&$datarootdir&g' ;;
    1444910029esac
    1445010030_ACEOF
     
    1447410054$ac_datarootdir_hack
    1447510055"
    14476 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    14477   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    14478 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    14479    { (exit 1); exit 1; }; }
     10056eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
     10057  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    1448010058
    1448110059test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    14482   { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    14483   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    14484   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    14485 which seems to be undefined.  Please make sure it is defined." >&5
     10060  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
     10061  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
     10062      "$ac_tmp/out"`; test -z "$ac_out"; } &&
     10063  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10064which seems to be undefined.  Please make sure it is defined" >&5
    1448610065$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    14487 which seems to be undefined.  Please make sure it is defined." >&2;}
    14488 
    14489   rm -f "$tmp/stdin"
     10066which seems to be undefined.  Please make sure it is defined" >&2;}
     10067
     10068  rm -f "$ac_tmp/stdin"
    1449010069  case $ac_file in
    14491   -) cat "$tmp/out" && rm -f "$tmp/out";;
    14492   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
     10070  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
     10071  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
    1449310072  esac \
    14494   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    14495 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    14496    { (exit 1); exit 1; }; }
     10073  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    1449710074 ;;
    1449810075  :H)
     
    1450310080    {
    1450410081      $as_echo "/* $configure_input  */" \
    14505       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    14506     } >"$tmp/config.h" \
    14507       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    14508 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    14509    { (exit 1); exit 1; }; }
    14510     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    14511       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     10082      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
     10083    } >"$ac_tmp/config.h" \
     10084      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     10085    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
     10086      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
    1451210087$as_echo "$as_me: $ac_file is unchanged" >&6;}
    1451310088    else
    1451410089      rm -f "$ac_file"
    14515       mv "$tmp/config.h" "$ac_file" \
    14516         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    14517 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    14518    { (exit 1); exit 1; }; }
     10090      mv "$ac_tmp/config.h" "$ac_file" \
     10091        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    1451910092    fi
    1452010093  else
    1452110094    $as_echo "/* $configure_input  */" \
    14522       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    14523       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    14524 $as_echo "$as_me: error: could not create -" >&2;}
    14525    { (exit 1); exit 1; }; }
     10095      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
     10096      || as_fn_error $? "could not create -" "$LINENO" 5
    1452610097  fi
    1452710098 ;;
     
    1453310104
    1453410105
    14535 { (exit 0); exit 0; }
    14536 _ACEOF
    14537 chmod +x $CONFIG_STATUS
     10106as_fn_exit 0
     10107_ACEOF
    1453810108ac_clean_files=$ac_clean_files_save
    1453910109
    1454010110test $ac_write_fail = 0 ||
    14541   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    14542 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    14543    { (exit 1); exit 1; }; }
     10111  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
    1454410112
    1454510113
     
    1456210130  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    1456310131  # would make configure fail if this is the last instruction.
    14564   $ac_cs_success || { (exit 1); exit 1; }
     10132  $ac_cs_success || as_fn_exit 1
    1456510133fi
    1456610134if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    14567   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     10135  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    1456810136$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    1456910137fi
  • trunk/packages/vizservers/configure.in

    r2567 r2618  
    11AC_PREREQ([2.60])
    22AC_INIT(vizservers, 0.1, rappture@nanohub.org)
     3AC_CONFIG_AUX_DIR(cf)
    34AC_CONFIG_HEADERS([nanovis/nvconf.h nanoscale/config.h])
    45
     
    3738    [with_vtk=$withval],
    3839    [with_vtk=yes])
     40
     41RP_LANG_PYTHON
    3942
    4043VERSION=0.0.1
     
    341344AC_SUBST(STLIB_LD)
    342345AC_SUBST(SUBDIRS)
     346AC_SUBST(PYTHON)
    343347AC_SUBST(TCL_INC_SPEC)
    344348AC_SUBST(TCL_LIB_SPEC)
     
    361365   nanovis/transfer-function/Makefile \
    362366   pymolproxy/Makefile \
     367   pymolproxy/pymol \
    363368   vtkvis/Doxyfile \
    364369   vtkvis/Makefile \
  • trunk/packages/vizservers/pymolproxy/Makefile.in

    r2428 r2618  
    4848        $(MKDIR_P) -m 0755 $(bindir)
    4949        $(INSTALL) -m 0555 pymolproxy $(bindir)/pymolproxy
    50         $(INSTALL) -m 0555 $(srcdir)/pymol $(bindir)/pymol
     50        $(INSTALL) -m 0555 pymol $(bindir)/pymol
    5151
    5252install-scripts:
     
    6060
    6161distclean: clean
    62         $(RM) Makefile
     62        $(RM) Makefile pymol
Note: See TracChangeset for help on using the changeset viewer.