Ignore:
Timestamp:
Feb 18, 2011 1:14:25 PM (13 years ago)
Author:
ldelgass
Message:

Include vtkvis in build, vizservers startup script. Added --with-vtk-includes
and --with-vtk-libs options to vizservers configure. Also, require autoconf
2.60, since AC_PROG_MKDIR_P doesn't exist in earlier versions (e.g. on RHEL 5
which has autoconf 2.59).

Location:
trunk/packages/vizservers
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/Makefile.in

    r1944 r2101  
    1818VPATH           = $(srcdir)
    1919
    20 SUBDIRS         = nanoscale nanovis pymolproxy
     20SUBDIRS         = @SUBDIRS@
    2121FILES           = \
    2222                start_viz.sh
    2323
    24 .PHONY: nanoscale nanovis pymolproxy
     24.PHONY: $(SUBDIRS)
    2525
    2626all:
  • trunk/packages/vizservers/configure

    r2092 r2101  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.63 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 #
    87# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    10 # Foundation, Inc.
    11 #
    12 #
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    139# This configure script is free software; the Free Software Foundation
    1410# gives unlimited permission to copy, distribute and modify it.
    15 ## -------------------- ##
    16 ## M4sh Initialization. ##
    17 ## -------------------- ##
     11## --------------------- ##
     12## M4sh Initialization.  ##
     13## --------------------- ##
    1814
    1915# Be more Bourne compatible
    2016DUALCASE=1; export DUALCASE # for MKS sh
    21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2218  emulate sh
    2319  NULLCMD=:
     
    2723  setopt NO_GLOB_SUBST
    2824else
    29   case `(set -o) 2>/dev/null` in #(
    30   *posix*) :
    31     set -o posix ;; #(
    32   *) :
    33      ;;
    34 esac
    35 fi
    36 
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
     35# Avoid depending upon Character Ranges.
     36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39as_cr_digits='0123456789'
     40as_cr_alnum=$as_cr_Letters$as_cr_digits
    3741
    3842as_nl='
     
    4347as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    45 # Prefer a ksh shell builtin over an external printf program on Solaris,
    46 # but without wasting forks for bash or zsh.
    47 if test -z "$BASH_VERSION$ZSH_VERSION" \
    48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    49   as_echo='print -r --'
    50   as_echo_n='print -rn --'
    51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5250  as_echo='printf %s\n'
    5351  as_echo_n='printf %s'
     
    6058    as_echo_n_body='eval
    6159      arg=$1;
    62       case $arg in #(
     60      case $arg in
    6361      *"$as_nl"*)
    6462        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8381fi
    8482
     83# Support unset when possible.
     84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85  as_unset=unset
     86else
     87  as_unset=false
     88fi
     89
    8590
    8691# IFS
     
    9297
    9398# Find who we are.  Look in the path if we contain no directory separator.
    94 as_myself=
    95 case $0 in #((
     99case $0 in
    96100  *[\\/]* ) as_myself=$0 ;;
    97101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    100104  IFS=$as_save_IFS
    101105  test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
     106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     107done
    104108IFS=$as_save_IFS
    105109
     
    113117if test ! -f "$as_myself"; then
    114118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     119  { (exit 1); exit 1; }
     120fi
     121
     122# Work around bugs in pre-3.0 UWIN ksh.
     123for as_var in ENV MAIL MAILPATH
     124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125125done
    126126PS1='$ '
     
    134134export LANGUAGE
    135135
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194          /*)
    195            for as_base in sh bash ksh sh5; do
    196              # Try only shells that exist, to save several forks.
    197              as_shell=$as_dir/$as_base
    198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205            done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218         # neutralization value for shells without unset; and this also
    219         # works around shells that cannot unset nonexistent variables.
    220         # Preserve -v and -x to the replacement shell.
    221         BASH_ENV=/dev/null
    222         ENV=/dev/null
    223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224         export CONFIG_SHELL
    225         case $- in # ((((
    226           *v*x* | *x*v* ) as_opts=-vx ;;
    227           *v* ) as_opts=-v ;;
    228           *x* ) as_opts=-x ;;
    229           * ) as_opts= ;;
    230         esac
    231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
    242 $0: rappture@nanohub.org about your system, including any
    243 $0: error possibly output before this message. Then install
    244 $0: a modern shell, or manually run the script under such a
    245 $0: shell if you do have one."
    246   fi
    247   exit 1
    248 fi
    249 fi
    250 fi
    251 SHELL=${CONFIG_SHELL-/bin/sh}
    252 export SHELL
    253 # Unset more variables known to interfere with behavior of common tools.
    254 CLICOLOR_FORCE= GREP_OPTIONS=
    255 unset CLICOLOR_FORCE GREP_OPTIONS
    256 
    257 ## --------------------- ##
    258 ## M4sh Shell Functions. ##
    259 ## --------------------- ##
    260 # as_fn_unset VAR
    261 # ---------------
    262 # Portably unset VAR.
    263 as_fn_unset ()
    264 {
    265   { eval $1=; unset $1;}
    266 }
    267 as_unset=as_fn_unset
    268 
    269 # as_fn_set_status STATUS
    270 # -----------------------
    271 # Set $? to STATUS, without forking.
    272 as_fn_set_status ()
    273 {
    274   return $1
    275 } # as_fn_set_status
    276 
    277 # as_fn_exit STATUS
    278 # -----------------
    279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    280 as_fn_exit ()
    281 {
    282   set +e
    283   as_fn_set_status $1
    284   exit $1
    285 } # as_fn_exit
    286 
    287 # as_fn_mkdir_p
    288 # -------------
    289 # Create "$as_dir" as a directory, including parents if necessary.
    290 as_fn_mkdir_p ()
    291 {
    292 
    293   case $as_dir in #(
    294   -*) as_dir=./$as_dir;;
    295   esac
    296   test -d "$as_dir" || eval $as_mkdir_p || {
    297     as_dirs=
    298     while :; do
    299       case $as_dir in #(
    300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    301       *) as_qdir=$as_dir;;
    302       esac
    303       as_dirs="'$as_qdir' $as_dirs"
    304       as_dir=`$as_dirname -- "$as_dir" ||
    305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    306          X"$as_dir" : 'X\(//\)[^/]' \| \
    307          X"$as_dir" : 'X\(//\)$' \| \
    308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    309 $as_echo X"$as_dir" |
    310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    311             s//\1/
    312             q
    313           }
    314           /^X\(\/\/\)[^/].*/{
    315             s//\1/
    316             q
    317           }
    318           /^X\(\/\/\)$/{
    319             s//\1/
    320             q
    321           }
    322           /^X\(\/\).*/{
    323             s//\1/
    324             q
    325           }
    326           s/.*/./; q'`
    327       test -d "$as_dir" && break
    328     done
    329     test -z "$as_dirs" || eval "mkdir $as_dirs"
    330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    331 
    332 
    333 } # as_fn_mkdir_p
    334 # as_fn_append VAR VALUE
    335 # ----------------------
    336 # Append the text in VALUE to the end of the definition contained in VAR. Take
    337 # advantage of any shell optimizations that allow amortized linear growth over
    338 # repeated appends, instead of the typical quadratic growth present in naive
    339 # implementations.
    340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    341   eval 'as_fn_append ()
    342   {
    343     eval $1+=\$2
    344   }'
    345 else
    346   as_fn_append ()
    347   {
    348     eval $1=\$$1\$2
    349   }
    350 fi # as_fn_append
    351 
    352 # as_fn_arith ARG...
    353 # ------------------
    354 # Perform arithmetic evaluation on the ARGs, and store the result in the
    355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    356 # must be portable across $(()) and expr.
    357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    358   eval 'as_fn_arith ()
    359   {
    360     as_val=$(( $* ))
    361   }'
    362 else
    363   as_fn_arith ()
    364   {
    365     as_val=`expr "$@" || test $? -eq 1`
    366   }
    367 fi # as_fn_arith
    368 
    369 
    370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    371 # ----------------------------------------
    372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    374 # script with STATUS, using 1 if that was 0.
    375 as_fn_error ()
    376 {
    377   as_status=$1; test $as_status -eq 0 && as_status=1
    378   if test "$4"; then
    379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    381   fi
    382   $as_echo "$as_me: error: $2" >&2
    383   as_fn_exit $as_status
    384 } # as_fn_error
    385 
     136# Required to use basename.
    386137if expr a : '\(a\)' >/dev/null 2>&1 &&
    387138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    397148fi
    398149
    399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    400   as_dirname=dirname
    401 else
    402   as_dirname=false
    403 fi
    404 
     150
     151# Name of the executable.
    405152as_me=`$as_basename -- "$0" ||
    406153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    422169          s/.*/./; q'`
    423170
    424 # Avoid depending upon Character Ranges.
    425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    428 as_cr_digits='0123456789'
    429 as_cr_alnum=$as_cr_Letters$as_cr_digits
    430 
    431 
    432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     171# CDPATH.
     172$as_unset CDPATH
     173
     174
     175if test "x$CONFIG_SHELL" = x; then
     176  if (eval ":") 2>/dev/null; then
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181
     182  if test $as_have_required = yes &&     (eval ":
     183(as_func_return () {
     184  (exit \$1)
     185}
     186as_func_success () {
     187  as_func_return 0
     188}
     189as_func_failure () {
     190  as_func_return 1
     191}
     192as_func_ret_success () {
     193  return 0
     194}
     195as_func_ret_failure () {
     196  return 1
     197}
     198
     199exitcode=0
     200if as_func_success; then
     201  :
     202else
     203  exitcode=1
     204  echo as_func_success failed.
     205fi
     206
     207if as_func_failure; then
     208  exitcode=1
     209  echo as_func_failure succeeded.
     210fi
     211
     212if as_func_ret_success; then
     213  :
     214else
     215  exitcode=1
     216  echo as_func_ret_success failed.
     217fi
     218
     219if as_func_ret_failure; then
     220  exitcode=1
     221  echo as_func_ret_failure succeeded.
     222fi
     223
     224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     225  :
     226else
     227  exitcode=1
     228  echo positional parameters were not saved.
     229fi
     230
     231test \$exitcode = 0) || { (exit 1); exit 1; }
     232
     233(
     234  as_lineno_1=\$LINENO
     235  as_lineno_2=\$LINENO
     236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     238") 2> /dev/null; then
     239  :
     240else
     241  as_candidate_shells=
     242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     244do
     245  IFS=$as_save_IFS
     246  test -z "$as_dir" && as_dir=.
     247  case $as_dir in
     248         /*)
     249           for as_base in sh bash ksh sh5; do
     250             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     251           done;;
     252       esac
     253done
     254IFS=$as_save_IFS
     255
     256
     257      for as_shell in $as_candidate_shells $SHELL; do
     258         # Try only shells that exist, to save several forks.
     259         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     260                { ("$as_shell") 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277_ASEOF
     278}; then
     279  CONFIG_SHELL=$as_shell
     280               as_have_required=yes
     281               if { "$as_shell" 2> /dev/null <<\_ASEOF
     282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     283  emulate sh
     284  NULLCMD=:
     285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     286  # is contrary to our usage.  Disable this feature.
     287  alias -g '${1+"$@"}'='"$@"'
     288  setopt NO_GLOB_SUBST
     289else
     290  case `(set -o) 2>/dev/null` in
     291  *posix*) set -o posix ;;
     292esac
     293
     294fi
     295
     296
     297:
     298(as_func_return () {
     299  (exit $1)
     300}
     301as_func_success () {
     302  as_func_return 0
     303}
     304as_func_failure () {
     305  as_func_return 1
     306}
     307as_func_ret_success () {
     308  return 0
     309}
     310as_func_ret_failure () {
     311  return 1
     312}
     313
     314exitcode=0
     315if as_func_success; then
     316  :
     317else
     318  exitcode=1
     319  echo as_func_success failed.
     320fi
     321
     322if as_func_failure; then
     323  exitcode=1
     324  echo as_func_failure succeeded.
     325fi
     326
     327if as_func_ret_success; then
     328  :
     329else
     330  exitcode=1
     331  echo as_func_ret_success failed.
     332fi
     333
     334if as_func_ret_failure; then
     335  exitcode=1
     336  echo as_func_ret_failure succeeded.
     337fi
     338
     339if ( set x; as_func_ret_success y && test x = "$1" ); then
     340  :
     341else
     342  exitcode=1
     343  echo positional parameters were not saved.
     344fi
     345
     346test $exitcode = 0) || { (exit 1); exit 1; }
     347
     348(
     349  as_lineno_1=$LINENO
     350  as_lineno_2=$LINENO
     351  test "x$as_lineno_1" != "x$as_lineno_2" &&
     352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     353
     354_ASEOF
     355}; then
     356  break
     357fi
     358
     359fi
     360
     361      done
     362
     363      if test "x$CONFIG_SHELL" != x; then
     364  for as_var in BASH_ENV ENV
     365        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     366        done
     367        export CONFIG_SHELL
     368        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     369fi
     370
     371
     372    if test $as_have_required = no; then
     373  echo This script requires a shell more modern than all the
     374      echo shells that I found on your system.  Please install a
     375      echo modern shell, or manually run the script under such a
     376      echo shell if you do have one.
     377      { (exit 1); exit 1; }
     378fi
     379
     380
     381fi
     382
     383fi
     384
     385
     386
     387(eval "as_func_return () {
     388  (exit \$1)
     389}
     390as_func_success () {
     391  as_func_return 0
     392}
     393as_func_failure () {
     394  as_func_return 1
     395}
     396as_func_ret_success () {
     397  return 0
     398}
     399as_func_ret_failure () {
     400  return 1
     401}
     402
     403exitcode=0
     404if as_func_success; then
     405  :
     406else
     407  exitcode=1
     408  echo as_func_success failed.
     409fi
     410
     411if as_func_failure; then
     412  exitcode=1
     413  echo as_func_failure succeeded.
     414fi
     415
     416if as_func_ret_success; then
     417  :
     418else
     419  exitcode=1
     420  echo as_func_ret_success failed.
     421fi
     422
     423if as_func_ret_failure; then
     424  exitcode=1
     425  echo as_func_ret_failure succeeded.
     426fi
     427
     428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     429  :
     430else
     431  exitcode=1
     432  echo positional parameters were not saved.
     433fi
     434
     435test \$exitcode = 0") || {
     436  echo No shell found that supports shell functions.
     437  echo Please tell bug-autoconf@gnu.org about your system,
     438  echo including any error possibly output before this message.
     439  echo This can help us improve future autoconf versions.
     440  echo Configuration will now proceed without shell functions.
     441}
     442
     443
     444
     445  as_lineno_1=$LINENO
     446  as_lineno_2=$LINENO
     447  test "x$as_lineno_1" != "x$as_lineno_2" &&
     448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     449
     450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     451  # uniformly replaced by the line number.  The first 'sed' inserts a
     452  # line-number line after each line using $LINENO; the second 'sed'
     453  # does the real work.  The second script uses 'N' to pair each
     454  # line-number line with the line containing $LINENO, and appends
     455  # trailing '-' during substitution so that $LINENO is not a special
     456  # case at line end.
     457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     459  # E. McMahon (1931-1989) for sed's syntax.  :-)
    437460  sed -n '
    438461    p
     
    451474    ' >$as_me.lineno &&
    452475  chmod +x "$as_me.lineno" ||
    453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     477   { (exit 1); exit 1; }; }
    454478
    455479  # Don't try to exec as it changes $[0], causing all sort of problems
     
    461485}
    462486
     487
     488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     489  as_dirname=dirname
     490else
     491  as_dirname=false
     492fi
     493
    463494ECHO_C= ECHO_N= ECHO_T=
    464 case `echo -n x` in #(((((
     495case `echo -n x` in
    465496-n*)
    466   case `echo 'xy\c'` in
     497  case `echo 'x\c'` in
    467498  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    468   xy)  ECHO_C='\c';;
    469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    470        ECHO_T=' ';;
     499  *)   ECHO_C='\c';;
    471500  esac;;
    472501*)
    473502  ECHO_N='-n';;
    474503esac
     504if expr a : '\(a\)' >/dev/null 2>&1 &&
     505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     506  as_expr=expr
     507else
     508  as_expr=false
     509fi
    475510
    476511rm -f conf$$ conf$$.exe conf$$.file
     
    502537
    503538if mkdir -p . 2>/dev/null; then
    504   as_mkdir_p='mkdir -p "$as_dir"'
     539  as_mkdir_p=:
    505540else
    506541  test -d ./-p && rmdir ./-p
     
    521556        test -d "$1/.";
    522557      else
    523         case $1 in #(
     558        case $1 in
    524559        -*)set "./$1";;
    525560        esac;
    526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     561        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    527562        ???[sx]*):;;*)false;;esac;fi
    528563    '\'' sh
     
    538573
    539574
    540 test -n "$DJDIR" || exec 7<&0 </dev/null
    541 exec 6>&1
     575
     576exec 7<&0 </dev/null 6>&1
    542577
    543578# Name of the host.
    544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    545580# so uname gets run too.
    546581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    557592MFLAGS=
    558593MAKEFLAGS=
     594SHELL=${CONFIG_SHELL-/bin/sh}
    559595
    560596# Identity of this package.
     
    564600PACKAGE_STRING='vizservers 0.1'
    565601PACKAGE_BUGREPORT='rappture@nanohub.org'
    566 PACKAGE_URL=''
    567602
    568603# Factoring default headers for most tests.
     
    609644DX_LIB_SPEC
    610645DX_INC_SPEC
     646VTK_LIB_SPEC
     647VTK_INC_SPEC
    611648RP_DIR
    612649RP2_INCL_DIR
     
    696733prefix
    697734exec_prefix
    698 PACKAGE_URL
    699735PACKAGE_BUGREPORT
    700736PACKAGE_STRING
     
    709745with_tcllib
    710746with_rappture
     747with_vtk_includes
     748with_vtk_libs
    711749enable_64bit
    712750enable_64bit_vis
     
    791829
    792830  case $ac_option in
    793   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    794   *=)   ac_optarg= ;;
    795   *)    ac_optarg=yes ;;
     831  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     832  *)    ac_optarg=yes ;;
    796833  esac
    797834
     
    838875    # Reject names that are not valid shell variable names.
    839876    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    840       as_fn_error $? "invalid feature name: $ac_useropt"
     877      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     878   { (exit 1); exit 1; }; }
    841879    ac_useropt_orig=$ac_useropt
    842880    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    864902    # Reject names that are not valid shell variable names.
    865903    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    866       as_fn_error $? "invalid feature name: $ac_useropt"
     904      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     905   { (exit 1); exit 1; }; }
    867906    ac_useropt_orig=$ac_useropt
    868907    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10681107    # Reject names that are not valid shell variable names.
    10691108    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1070       as_fn_error $? "invalid package name: $ac_useropt"
     1109      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1110   { (exit 1); exit 1; }; }
    10711111    ac_useropt_orig=$ac_useropt
    10721112    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10841124    # Reject names that are not valid shell variable names.
    10851125    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1086       as_fn_error $? "invalid package name: $ac_useropt"
     1126      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1127   { (exit 1); exit 1; }; }
    10871128    ac_useropt_orig=$ac_useropt
    10881129    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11141155    x_libraries=$ac_optarg ;;
    11151156
    1116   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1117 Try \`$0 --help' for more information"
     1157  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1158Try \`$0 --help' for more information." >&2
     1159   { (exit 1); exit 1; }; }
    11181160    ;;
    11191161
     
    11211163    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11221164    # Reject names that are not valid shell variable names.
    1123     case $ac_envvar in #(
    1124       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1125       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1126     esac
     1165    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     1166      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1167   { (exit 1); exit 1; }; }
    11271168    eval $ac_envvar=\$ac_optarg
    11281169    export $ac_envvar ;;
     
    11331174    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11341175      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1135     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     1176    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    11361177    ;;
    11371178
     
    11411182if test -n "$ac_prev"; then
    11421183  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1143   as_fn_error $? "missing argument to $ac_option"
     1184  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1185   { (exit 1); exit 1; }; }
    11441186fi
    11451187
     
    11471189  case $enable_option_checking in
    11481190    no) ;;
    1149     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1191    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1192   { (exit 1); exit 1; }; } ;;
    11501193    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11511194  esac
     
    11701213    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11711214  esac
    1172   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
     1215  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1216   { (exit 1); exit 1; }; }
    11731217done
    11741218
     
    11841228  if test "x$build_alias" = x; then
    11851229    cross_compiling=maybe
    1186     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1187     If a cross compiler is detected then cross compile mode will be used" >&2
     1230    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1231    If a cross compiler is detected then cross compile mode will be used." >&2
    11881232  elif test "x$build_alias" != "x$host_alias"; then
    11891233    cross_compiling=yes
     
    12001244ac_ls_di=`ls -di .` &&
    12011245ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1202   as_fn_error $? "working directory cannot be determined"
     1246  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1247   { (exit 1); exit 1; }; }
    12031248test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1204   as_fn_error $? "pwd does not report name of working directory"
     1249  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1250   { (exit 1); exit 1; }; }
    12051251
    12061252
     
    12411287if test ! -r "$srcdir/$ac_unique_file"; then
    12421288  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1243   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1289  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1290   { (exit 1); exit 1; }; }
    12441291fi
    12451292ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12461293ac_abs_confdir=`(
    1247         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1294        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1295   { (exit 1); exit 1; }; }
    12481296        pwd)`
    12491297# When building in place, set srcdir=.
     
    12851333      --help=recursive    display the short help of all the included packages
    12861334  -V, --version           display version information and exit
    1287   -q, --quiet, --silent   do not print \`checking ...' messages
     1335  -q, --quiet, --silent   do not print \`checking...' messages
    12881336      --cache-file=FILE   cache test results in FILE [disabled]
    12891337  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13561404  --with-rappture=DIR     location of rappture files lib/librappture2.a and
    13571405                          include/rappture2/rappture2.h [default=/usr]
     1406  --with-vtk-includes=DIR VTK include files are in DIR
     1407  --with-vtk-libs=DIR     VTK libraries are in DIR
    13581408  --with-x                use the X Window System
    13591409
     
    13641414              nonstandard directory <lib dir>
    13651415  LIBS        libraries to pass to the linker, e.g. -l<library>
    1366   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1416  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    13671417              you have headers in a nonstandard directory <include dir>
    13681418  CPP         C preprocessor
     
    14391489  cat <<\_ACEOF
    14401490vizservers configure 0.1
    1441 generated by GNU Autoconf 2.68
    1442 
    1443 Copyright (C) 2010 Free Software Foundation, Inc.
     1491generated by GNU Autoconf 2.63
     1492
     1493Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     14942002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    14441495This configure script is free software; the Free Software Foundation
    14451496gives unlimited permission to copy, distribute and modify it.
     
    14471498  exit
    14481499fi
    1449 
    1450 ## ------------------------ ##
    1451 ## Autoconf initialization. ##
    1452 ## ------------------------ ##
    1453 
    1454 # ac_fn_c_try_compile LINENO
    1455 # --------------------------
    1456 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1457 ac_fn_c_try_compile ()
    1458 {
    1459   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1460   rm -f conftest.$ac_objext
    1461   if { { ac_try="$ac_compile"
    1462 case "(($ac_try" in
    1463   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1464   *) ac_try_echo=$ac_try;;
    1465 esac
    1466 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1467 $as_echo "$ac_try_echo"; } >&5
    1468   (eval "$ac_compile") 2>conftest.err
    1469   ac_status=$?
    1470   if test -s conftest.err; then
    1471     grep -v '^ *+' conftest.err >conftest.er1
    1472     cat conftest.er1 >&5
    1473     mv -f conftest.er1 conftest.err
    1474   fi
    1475   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1476   test $ac_status = 0; } && {
    1477          test -z "$ac_c_werror_flag" ||
    1478          test ! -s conftest.err
    1479        } && test -s conftest.$ac_objext; then :
    1480   ac_retval=0
    1481 else
    1482   $as_echo "$as_me: failed program was:" >&5
    1483 sed 's/^/| /' conftest.$ac_ext >&5
    1484 
    1485         ac_retval=1
    1486 fi
    1487   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1488   as_fn_set_status $ac_retval
    1489 
    1490 } # ac_fn_c_try_compile
    1491 
    1492 # ac_fn_c_try_link LINENO
    1493 # -----------------------
    1494 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1495 ac_fn_c_try_link ()
    1496 {
    1497   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1498   rm -f conftest.$ac_objext conftest$ac_exeext
    1499   if { { ac_try="$ac_link"
    1500 case "(($ac_try" in
    1501   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1502   *) ac_try_echo=$ac_try;;
    1503 esac
    1504 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1505 $as_echo "$ac_try_echo"; } >&5
    1506   (eval "$ac_link") 2>conftest.err
    1507   ac_status=$?
    1508   if test -s conftest.err; then
    1509     grep -v '^ *+' conftest.err >conftest.er1
    1510     cat conftest.er1 >&5
    1511     mv -f conftest.er1 conftest.err
    1512   fi
    1513   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1514   test $ac_status = 0; } && {
    1515          test -z "$ac_c_werror_flag" ||
    1516          test ! -s conftest.err
    1517        } && test -s conftest$ac_exeext && {
    1518          test "$cross_compiling" = yes ||
    1519          $as_test_x conftest$ac_exeext
    1520        }; then :
    1521   ac_retval=0
    1522 else
    1523   $as_echo "$as_me: failed program was:" >&5
    1524 sed 's/^/| /' conftest.$ac_ext >&5
    1525 
    1526         ac_retval=1
    1527 fi
    1528   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1529   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1530   # interfere with the next link command; also delete a directory that is
    1531   # left behind by Apple's compiler.  We do this before executing the actions.
    1532   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1533   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1534   as_fn_set_status $ac_retval
    1535 
    1536 } # ac_fn_c_try_link
    1537 
    1538 # ac_fn_c_try_cpp LINENO
    1539 # ----------------------
    1540 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1541 ac_fn_c_try_cpp ()
    1542 {
    1543   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1544   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1545 case "(($ac_try" in
    1546   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1547   *) ac_try_echo=$ac_try;;
    1548 esac
    1549 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1550 $as_echo "$ac_try_echo"; } >&5
    1551   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1552   ac_status=$?
    1553   if test -s conftest.err; then
    1554     grep -v '^ *+' conftest.err >conftest.er1
    1555     cat conftest.er1 >&5
    1556     mv -f conftest.er1 conftest.err
    1557   fi
    1558   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1559   test $ac_status = 0; } > conftest.i && {
    1560          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1561          test ! -s conftest.err
    1562        }; then :
    1563   ac_retval=0
    1564 else
    1565   $as_echo "$as_me: failed program was:" >&5
    1566 sed 's/^/| /' conftest.$ac_ext >&5
    1567 
    1568     ac_retval=1
    1569 fi
    1570   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1571   as_fn_set_status $ac_retval
    1572 
    1573 } # ac_fn_c_try_cpp
    1574 
    1575 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1576 # -------------------------------------------------------
    1577 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1578 # the include files in INCLUDES and setting the cache variable VAR
    1579 # accordingly.
    1580 ac_fn_c_check_header_mongrel ()
    1581 {
    1582   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1583   if eval \${$3+:} false; then :
    1584   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1585 $as_echo_n "checking for $2... " >&6; }
    1586 if eval \${$3+:} false; then :
    1587   $as_echo_n "(cached) " >&6
    1588 fi
    1589 eval ac_res=\$$3
    1590                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1591 $as_echo "$ac_res" >&6; }
    1592 else
    1593   # Is the header compilable?
    1594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1595 $as_echo_n "checking $2 usability... " >&6; }
    1596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1597 /* end confdefs.h.  */
    1598 $4
    1599 #include <$2>
    1600 _ACEOF
    1601 if ac_fn_c_try_compile "$LINENO"; then :
    1602   ac_header_compiler=yes
    1603 else
    1604   ac_header_compiler=no
    1605 fi
    1606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1608 $as_echo "$ac_header_compiler" >&6; }
    1609 
    1610 # Is the header present?
    1611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1612 $as_echo_n "checking $2 presence... " >&6; }
    1613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1614 /* end confdefs.h.  */
    1615 #include <$2>
    1616 _ACEOF
    1617 if ac_fn_c_try_cpp "$LINENO"; then :
    1618   ac_header_preproc=yes
    1619 else
    1620   ac_header_preproc=no
    1621 fi
    1622 rm -f conftest.err conftest.i conftest.$ac_ext
    1623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1624 $as_echo "$ac_header_preproc" >&6; }
    1625 
    1626 # So?  What about this header?
    1627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1628   yes:no: )
    1629     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1630 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1631     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1632 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1633     ;;
    1634   no:yes:* )
    1635     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1636 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1637     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1638 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1639     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1640 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1641     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1642 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1643     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1644 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1645 ( $as_echo "## ----------------------------------- ##
    1646 ## Report this to rappture@nanohub.org ##
    1647 ## ----------------------------------- ##"
    1648      ) | sed "s/^/$as_me: WARNING:     /" >&2
    1649     ;;
    1650 esac
    1651   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1652 $as_echo_n "checking for $2... " >&6; }
    1653 if eval \${$3+:} false; then :
    1654   $as_echo_n "(cached) " >&6
    1655 else
    1656   eval "$3=\$ac_header_compiler"
    1657 fi
    1658 eval ac_res=\$$3
    1659                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1660 $as_echo "$ac_res" >&6; }
    1661 fi
    1662   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1663 
    1664 } # ac_fn_c_check_header_mongrel
    1665 
    1666 # ac_fn_c_try_run LINENO
    1667 # ----------------------
    1668 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1669 # that executables *can* be run.
    1670 ac_fn_c_try_run ()
    1671 {
    1672   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1673   if { { ac_try="$ac_link"
    1674 case "(($ac_try" in
    1675   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1676   *) ac_try_echo=$ac_try;;
    1677 esac
    1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1679 $as_echo "$ac_try_echo"; } >&5
    1680   (eval "$ac_link") 2>&5
    1681   ac_status=$?
    1682   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1683   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1684   { { case "(($ac_try" in
    1685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1686   *) ac_try_echo=$ac_try;;
    1687 esac
    1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1689 $as_echo "$ac_try_echo"; } >&5
    1690   (eval "$ac_try") 2>&5
    1691   ac_status=$?
    1692   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1693   test $ac_status = 0; }; }; then :
    1694   ac_retval=0
    1695 else
    1696   $as_echo "$as_me: program exited with status $ac_status" >&5
    1697        $as_echo "$as_me: failed program was:" >&5
    1698 sed 's/^/| /' conftest.$ac_ext >&5
    1699 
    1700        ac_retval=$ac_status
    1701 fi
    1702   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1704   as_fn_set_status $ac_retval
    1705 
    1706 } # ac_fn_c_try_run
    1707 
    1708 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1709 # -------------------------------------------------------
    1710 # Tests whether HEADER exists and can be compiled using the include files in
    1711 # INCLUDES, setting the cache variable VAR accordingly.
    1712 ac_fn_c_check_header_compile ()
    1713 {
    1714   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1715   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1716 $as_echo_n "checking for $2... " >&6; }
    1717 if eval \${$3+:} false; then :
    1718   $as_echo_n "(cached) " >&6
    1719 else
    1720   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1721 /* end confdefs.h.  */
    1722 $4
    1723 #include <$2>
    1724 _ACEOF
    1725 if ac_fn_c_try_compile "$LINENO"; then :
    1726   eval "$3=yes"
    1727 else
    1728   eval "$3=no"
    1729 fi
    1730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1731 fi
    1732 eval ac_res=\$$3
    1733                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1734 $as_echo "$ac_res" >&6; }
    1735   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1736 
    1737 } # ac_fn_c_check_header_compile
    1738 
    1739 # ac_fn_cxx_try_compile LINENO
    1740 # ----------------------------
    1741 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1742 ac_fn_cxx_try_compile ()
    1743 {
    1744   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1745   rm -f conftest.$ac_objext
    1746   if { { ac_try="$ac_compile"
    1747 case "(($ac_try" in
    1748   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1749   *) ac_try_echo=$ac_try;;
    1750 esac
    1751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1752 $as_echo "$ac_try_echo"; } >&5
    1753   (eval "$ac_compile") 2>conftest.err
    1754   ac_status=$?
    1755   if test -s conftest.err; then
    1756     grep -v '^ *+' conftest.err >conftest.er1
    1757     cat conftest.er1 >&5
    1758     mv -f conftest.er1 conftest.err
    1759   fi
    1760   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1761   test $ac_status = 0; } && {
    1762          test -z "$ac_cxx_werror_flag" ||
    1763          test ! -s conftest.err
    1764        } && test -s conftest.$ac_objext; then :
    1765   ac_retval=0
    1766 else
    1767   $as_echo "$as_me: failed program was:" >&5
    1768 sed 's/^/| /' conftest.$ac_ext >&5
    1769 
    1770         ac_retval=1
    1771 fi
    1772   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1773   as_fn_set_status $ac_retval
    1774 
    1775 } # ac_fn_cxx_try_compile
    1776 
    1777 # ac_fn_cxx_try_cpp LINENO
    1778 # ------------------------
    1779 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1780 ac_fn_cxx_try_cpp ()
    1781 {
    1782   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1783   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1784 case "(($ac_try" in
    1785   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1786   *) ac_try_echo=$ac_try;;
    1787 esac
    1788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1789 $as_echo "$ac_try_echo"; } >&5
    1790   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1791   ac_status=$?
    1792   if test -s conftest.err; then
    1793     grep -v '^ *+' conftest.err >conftest.er1
    1794     cat conftest.er1 >&5
    1795     mv -f conftest.er1 conftest.err
    1796   fi
    1797   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1798   test $ac_status = 0; } > conftest.i && {
    1799          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1800          test ! -s conftest.err
    1801        }; then :
    1802   ac_retval=0
    1803 else
    1804   $as_echo "$as_me: failed program was:" >&5
    1805 sed 's/^/| /' conftest.$ac_ext >&5
    1806 
    1807     ac_retval=1
    1808 fi
    1809   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1810   as_fn_set_status $ac_retval
    1811 
    1812 } # ac_fn_cxx_try_cpp
    1813 
    1814 # ac_fn_cxx_try_run LINENO
    1815 # ------------------------
    1816 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1817 # that executables *can* be run.
    1818 ac_fn_cxx_try_run ()
    1819 {
    1820   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1821   if { { ac_try="$ac_link"
    1822 case "(($ac_try" in
    1823   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1824   *) ac_try_echo=$ac_try;;
    1825 esac
    1826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1827 $as_echo "$ac_try_echo"; } >&5
    1828   (eval "$ac_link") 2>&5
    1829   ac_status=$?
    1830   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1831   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1832   { { case "(($ac_try" in
    1833   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1834   *) ac_try_echo=$ac_try;;
    1835 esac
    1836 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1837 $as_echo "$ac_try_echo"; } >&5
    1838   (eval "$ac_try") 2>&5
    1839   ac_status=$?
    1840   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1841   test $ac_status = 0; }; }; then :
    1842   ac_retval=0
    1843 else
    1844   $as_echo "$as_me: program exited with status $ac_status" >&5
    1845        $as_echo "$as_me: failed program was:" >&5
    1846 sed 's/^/| /' conftest.$ac_ext >&5
    1847 
    1848        ac_retval=$ac_status
    1849 fi
    1850   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1851   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1852   as_fn_set_status $ac_retval
    1853 
    1854 } # ac_fn_cxx_try_run
    1855 
    1856 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
    1857 # ----------------------------------------------
    1858 # Tries to find the compile-time value of EXPR in a program that includes
    1859 # INCLUDES, setting VAR accordingly. Returns whether the value could be
    1860 # computed
    1861 ac_fn_cxx_compute_int ()
    1862 {
    1863   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1864   if test "$cross_compiling" = yes; then
    1865     # Depending upon the size, compute the lo and hi bounds.
    1866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1867 /* end confdefs.h.  */
    1868 $4
    1869 int
    1870 main ()
    1871 {
    1872 static int test_array [1 - 2 * !(($2) >= 0)];
    1873 test_array [0] = 0
    1874 
    1875   ;
    1876   return 0;
    1877 }
    1878 _ACEOF
    1879 if ac_fn_cxx_try_compile "$LINENO"; then :
    1880   ac_lo=0 ac_mid=0
    1881   while :; do
    1882     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1883 /* end confdefs.h.  */
    1884 $4
    1885 int
    1886 main ()
    1887 {
    1888 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1889 test_array [0] = 0
    1890 
    1891   ;
    1892   return 0;
    1893 }
    1894 _ACEOF
    1895 if ac_fn_cxx_try_compile "$LINENO"; then :
    1896   ac_hi=$ac_mid; break
    1897 else
    1898   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    1899                         if test $ac_lo -le $ac_mid; then
    1900                           ac_lo= ac_hi=
    1901                           break
    1902                         fi
    1903                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    1904 fi
    1905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1906   done
    1907 else
    1908   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1909 /* end confdefs.h.  */
    1910 $4
    1911 int
    1912 main ()
    1913 {
    1914 static int test_array [1 - 2 * !(($2) < 0)];
    1915 test_array [0] = 0
    1916 
    1917   ;
    1918   return 0;
    1919 }
    1920 _ACEOF
    1921 if ac_fn_cxx_try_compile "$LINENO"; then :
    1922   ac_hi=-1 ac_mid=-1
    1923   while :; do
    1924     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1925 /* end confdefs.h.  */
    1926 $4
    1927 int
    1928 main ()
    1929 {
    1930 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    1931 test_array [0] = 0
    1932 
    1933   ;
    1934   return 0;
    1935 }
    1936 _ACEOF
    1937 if ac_fn_cxx_try_compile "$LINENO"; then :
    1938   ac_lo=$ac_mid; break
    1939 else
    1940   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    1941                         if test $ac_mid -le $ac_hi; then
    1942                           ac_lo= ac_hi=
    1943                           break
    1944                         fi
    1945                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
    1946 fi
    1947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1948   done
    1949 else
    1950   ac_lo= ac_hi=
    1951 fi
    1952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1953 fi
    1954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1955 # Binary search between lo and hi bounds.
    1956 while test "x$ac_lo" != "x$ac_hi"; do
    1957   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
    1958   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1959 /* end confdefs.h.  */
    1960 $4
    1961 int
    1962 main ()
    1963 {
    1964 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1965 test_array [0] = 0
    1966 
    1967   ;
    1968   return 0;
    1969 }
    1970 _ACEOF
    1971 if ac_fn_cxx_try_compile "$LINENO"; then :
    1972   ac_hi=$ac_mid
    1973 else
    1974   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
    1975 fi
    1976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1977 done
    1978 case $ac_lo in #((
    1979 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
    1980 '') ac_retval=1 ;;
    1981 esac
    1982   else
    1983     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1984 /* end confdefs.h.  */
    1985 $4
    1986 static long int longval () { return $2; }
    1987 static unsigned long int ulongval () { return $2; }
    1988 #include <stdio.h>
    1989 #include <stdlib.h>
    1990 int
    1991 main ()
    1992 {
    1993 
    1994   FILE *f = fopen ("conftest.val", "w");
    1995   if (! f)
    1996     return 1;
    1997   if (($2) < 0)
    1998     {
    1999       long int i = longval ();
    2000       if (i != ($2))
    2001         return 1;
    2002       fprintf (f, "%ld", i);
    2003     }
    2004   else
    2005     {
    2006       unsigned long int i = ulongval ();
    2007       if (i != ($2))
    2008         return 1;
    2009       fprintf (f, "%lu", i);
    2010     }
    2011   /* Do not output a trailing newline, as this causes \r\n confusion
    2012      on some platforms.  */
    2013   return ferror (f) || fclose (f) != 0;
    2014 
    2015   ;
    2016   return 0;
    2017 }
    2018 _ACEOF
    2019 if ac_fn_cxx_try_run "$LINENO"; then :
    2020   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
    2021 else
    2022   ac_retval=1
    2023 fi
    2024 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    2025   conftest.$ac_objext conftest.beam conftest.$ac_ext
    2026 rm -f conftest.val
    2027 
    2028   fi
    2029   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2030   as_fn_set_status $ac_retval
    2031 
    2032 } # ac_fn_cxx_compute_int
    2033 
    2034 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
    2035 # ---------------------------------------------------------
    2036 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2037 # the include files in INCLUDES and setting the cache variable VAR
    2038 # accordingly.
    2039 ac_fn_cxx_check_header_mongrel ()
    2040 {
    2041   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2042   if eval \${$3+:} false; then :
    2043   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2044 $as_echo_n "checking for $2... " >&6; }
    2045 if eval \${$3+:} false; then :
    2046   $as_echo_n "(cached) " >&6
    2047 fi
    2048 eval ac_res=\$$3
    2049                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2050 $as_echo "$ac_res" >&6; }
    2051 else
    2052   # Is the header compilable?
    2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2054 $as_echo_n "checking $2 usability... " >&6; }
    2055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2056 /* end confdefs.h.  */
    2057 $4
    2058 #include <$2>
    2059 _ACEOF
    2060 if ac_fn_cxx_try_compile "$LINENO"; then :
    2061   ac_header_compiler=yes
    2062 else
    2063   ac_header_compiler=no
    2064 fi
    2065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2067 $as_echo "$ac_header_compiler" >&6; }
    2068 
    2069 # Is the header present?
    2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2071 $as_echo_n "checking $2 presence... " >&6; }
    2072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2073 /* end confdefs.h.  */
    2074 #include <$2>
    2075 _ACEOF
    2076 if ac_fn_cxx_try_cpp "$LINENO"; then :
    2077   ac_header_preproc=yes
    2078 else
    2079   ac_header_preproc=no
    2080 fi
    2081 rm -f conftest.err conftest.i conftest.$ac_ext
    2082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2083 $as_echo "$ac_header_preproc" >&6; }
    2084 
    2085 # So?  What about this header?
    2086 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
    2087   yes:no: )
    2088     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2089 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2090     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2091 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2092     ;;
    2093   no:yes:* )
    2094     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2095 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2096     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2097 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2098     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2099 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2100     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2101 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2102     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2103 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2104 ( $as_echo "## ----------------------------------- ##
    2105 ## Report this to rappture@nanohub.org ##
    2106 ## ----------------------------------- ##"
    2107      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2108     ;;
    2109 esac
    2110   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2111 $as_echo_n "checking for $2... " >&6; }
    2112 if eval \${$3+:} false; then :
    2113   $as_echo_n "(cached) " >&6
    2114 else
    2115   eval "$3=\$ac_header_compiler"
    2116 fi
    2117 eval ac_res=\$$3
    2118                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2119 $as_echo "$ac_res" >&6; }
    2120 fi
    2121   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2122 
    2123 } # ac_fn_cxx_check_header_mongrel
    2124 
    2125 # ac_fn_cxx_try_link LINENO
    2126 # -------------------------
    2127 # Try to link conftest.$ac_ext, and return whether this succeeded.
    2128 ac_fn_cxx_try_link ()
    2129 {
    2130   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2131   rm -f conftest.$ac_objext conftest$ac_exeext
    2132   if { { ac_try="$ac_link"
    2133 case "(($ac_try" in
    2134   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2135   *) ac_try_echo=$ac_try;;
    2136 esac
    2137 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2138 $as_echo "$ac_try_echo"; } >&5
    2139   (eval "$ac_link") 2>conftest.err
    2140   ac_status=$?
    2141   if test -s conftest.err; then
    2142     grep -v '^ *+' conftest.err >conftest.er1
    2143     cat conftest.er1 >&5
    2144     mv -f conftest.er1 conftest.err
    2145   fi
    2146   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2147   test $ac_status = 0; } && {
    2148          test -z "$ac_cxx_werror_flag" ||
    2149          test ! -s conftest.err
    2150        } && test -s conftest$ac_exeext && {
    2151          test "$cross_compiling" = yes ||
    2152          $as_test_x conftest$ac_exeext
    2153        }; then :
    2154   ac_retval=0
    2155 else
    2156   $as_echo "$as_me: failed program was:" >&5
    2157 sed 's/^/| /' conftest.$ac_ext >&5
    2158 
    2159         ac_retval=1
    2160 fi
    2161   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    2162   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    2163   # interfere with the next link command; also delete a directory that is
    2164   # left behind by Apple's compiler.  We do this before executing the actions.
    2165   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2166   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2167   as_fn_set_status $ac_retval
    2168 
    2169 } # ac_fn_cxx_try_link
    2170 
    2171 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
    2172 # ---------------------------------------------------------
    2173 # Tests whether HEADER exists and can be compiled using the include files in
    2174 # INCLUDES, setting the cache variable VAR accordingly.
    2175 ac_fn_cxx_check_header_compile ()
    2176 {
    2177   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2178   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2179 $as_echo_n "checking for $2... " >&6; }
    2180 if eval \${$3+:} false; then :
    2181   $as_echo_n "(cached) " >&6
    2182 else
    2183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2184 /* end confdefs.h.  */
    2185 $4
    2186 #include <$2>
    2187 _ACEOF
    2188 if ac_fn_cxx_try_compile "$LINENO"; then :
    2189   eval "$3=yes"
    2190 else
    2191   eval "$3=no"
    2192 fi
    2193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2194 fi
    2195 eval ac_res=\$$3
    2196                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2197 $as_echo "$ac_res" >&6; }
    2198   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2199 
    2200 } # ac_fn_cxx_check_header_compile
    2201 
    2202 # ac_fn_cxx_check_func LINENO FUNC VAR
    2203 # ------------------------------------
    2204 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    2205 ac_fn_cxx_check_func ()
    2206 {
    2207   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2208   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2209 $as_echo_n "checking for $2... " >&6; }
    2210 if eval \${$3+:} false; then :
    2211   $as_echo_n "(cached) " >&6
    2212 else
    2213   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2214 /* end confdefs.h.  */
    2215 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    2216    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    2217 #define $2 innocuous_$2
    2218 
    2219 /* System header to define __stub macros and hopefully few prototypes,
    2220     which can conflict with char $2 (); below.
    2221     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2222     <limits.h> exists even on freestanding compilers.  */
    2223 
    2224 #ifdef __STDC__
    2225 # include <limits.h>
    2226 #else
    2227 # include <assert.h>
    2228 #endif
    2229 
    2230 #undef $2
    2231 
    2232 /* Override any GCC internal prototype to avoid an error.
    2233    Use char because int might match the return type of a GCC
    2234    builtin and then its argument prototype would still apply.  */
    2235 #ifdef __cplusplus
    2236 extern "C"
    2237 #endif
    2238 char $2 ();
    2239 /* The GNU C library defines this for functions which it implements
    2240     to always fail with ENOSYS.  Some functions are actually named
    2241     something starting with __ and the normal name is an alias.  */
    2242 #if defined __stub_$2 || defined __stub___$2
    2243 choke me
    2244 #endif
    2245 
    2246 int
    2247 main ()
    2248 {
    2249 return $2 ();
    2250   ;
    2251   return 0;
    2252 }
    2253 _ACEOF
    2254 if ac_fn_cxx_try_link "$LINENO"; then :
    2255   eval "$3=yes"
    2256 else
    2257   eval "$3=no"
    2258 fi
    2259 rm -f core conftest.err conftest.$ac_objext \
    2260     conftest$ac_exeext conftest.$ac_ext
    2261 fi
    2262 eval ac_res=\$$3
    2263                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2264 $as_echo "$ac_res" >&6; }
    2265   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2266 
    2267 } # ac_fn_cxx_check_func
    22681500cat >config.log <<_ACEOF
    22691501This file contains any messages produced by compilers while
     
    22711503
    22721504It was created by vizservers $as_me 0.1, which was
    2273 generated by GNU Autoconf 2.68.  Invocation command line was
     1505generated by GNU Autoconf 2.63.  Invocation command line was
    22741506
    22751507  $ $0 $@
     
    23071539  IFS=$as_save_IFS
    23081540  test -z "$as_dir" && as_dir=.
    2309     $as_echo "PATH: $as_dir"
    2310   done
     1541  $as_echo "PATH: $as_dir"
     1542done
    23111543IFS=$as_save_IFS
    23121544
     
    23451577    esac
    23461578    case $ac_pass in
    2347     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1579    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    23481580    2)
    2349       as_fn_append ac_configure_args1 " '$ac_arg'"
     1581      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    23501582      if test $ac_must_keep_next = true; then
    23511583        ac_must_keep_next=false # Got value, back to normal.
     
    23631595        esac
    23641596      fi
    2365       as_fn_append ac_configure_args " '$ac_arg'"
     1597      ac_configure_args="$ac_configure_args '$ac_arg'"
    23661598      ;;
    23671599    esac
    23681600  done
    23691601done
    2370 { ac_configure_args0=; unset ac_configure_args0;}
    2371 { ac_configure_args1=; unset ac_configure_args1;}
     1602$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1603$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    23721604
    23731605# When interrupted or exit'd, cleanup temporary files, and complete
     
    23811613    echo
    23821614
    2383     $as_echo "## ---------------- ##
     1615    cat <<\_ASBOX
     1616## ---------------- ##
    23841617## Cache variables. ##
    2385 ## ---------------- ##"
     1618## ---------------- ##
     1619_ASBOX
    23861620    echo
    23871621    # The following way of writing the cache mishandles newlines in values,
     
    23921626    *${as_nl}*)
    23931627      case $ac_var in #(
    2394       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1628      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    23951629$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    23961630      esac
     
    23981632      _ | IFS | as_nl) ;; #(
    23991633      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2400       *) { eval $ac_var=; unset $ac_var;} ;;
     1634      *) $as_unset $ac_var ;;
    24011635      esac ;;
    24021636    esac
     
    24171651    echo
    24181652
    2419     $as_echo "## ----------------- ##
     1653    cat <<\_ASBOX
     1654## ----------------- ##
    24201655## Output variables. ##
    2421 ## ----------------- ##"
     1656## ----------------- ##
     1657_ASBOX
    24221658    echo
    24231659    for ac_var in $ac_subst_vars
     
    24321668
    24331669    if test -n "$ac_subst_files"; then
    2434       $as_echo "## ------------------- ##
     1670      cat <<\_ASBOX
     1671## ------------------- ##
    24351672## File substitutions. ##
    2436 ## ------------------- ##"
     1673## ------------------- ##
     1674_ASBOX
    24371675      echo
    24381676      for ac_var in $ac_subst_files
     
    24481686
    24491687    if test -s confdefs.h; then
    2450       $as_echo "## ----------- ##
     1688      cat <<\_ASBOX
     1689## ----------- ##
    24511690## confdefs.h. ##
    2452 ## ----------- ##"
     1691## ----------- ##
     1692_ASBOX
    24531693      echo
    24541694      cat confdefs.h
     
    24641704' 0
    24651705for ac_signal in 1 2 13 15; do
    2466   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1706  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    24671707done
    24681708ac_signal=0
     
    24711711rm -f -r conftest* confdefs.h
    24721712
    2473 $as_echo "/* confdefs.h */" > confdefs.h
    2474 
    24751713# Predefined preprocessor variables.
    24761714
     
    24791717_ACEOF
    24801718
     1719
    24811720cat >>confdefs.h <<_ACEOF
    24821721#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    24831722_ACEOF
    24841723
     1724
    24851725cat >>confdefs.h <<_ACEOF
    24861726#define PACKAGE_VERSION "$PACKAGE_VERSION"
    24871727_ACEOF
    24881728
     1729
    24891730cat >>confdefs.h <<_ACEOF
    24901731#define PACKAGE_STRING "$PACKAGE_STRING"
    24911732_ACEOF
    24921733
     1734
    24931735cat >>confdefs.h <<_ACEOF
    24941736#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    2495 _ACEOF
    2496 
    2497 cat >>confdefs.h <<_ACEOF
    2498 #define PACKAGE_URL "$PACKAGE_URL"
    24991737_ACEOF
    25001738
     
    25051743ac_site_file2=NONE
    25061744if test -n "$CONFIG_SITE"; then
    2507   # We do not want a PATH search for config.site.
    2508   case $CONFIG_SITE in #((
    2509     -*)  ac_site_file1=./$CONFIG_SITE;;
    2510     */*) ac_site_file1=$CONFIG_SITE;;
    2511     *)   ac_site_file1=./$CONFIG_SITE;;
    2512   esac
     1745  ac_site_file1=$CONFIG_SITE
    25131746elif test "x$prefix" != xNONE; then
    25141747  ac_site_file1=$prefix/share/config.site
     
    25211754do
    25221755  test "x$ac_site_file" = xNONE && continue
    2523   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2524     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     1756  if test -r "$ac_site_file"; then
     1757    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    25251758$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    25261759    sed 's/^/| /' "$ac_site_file" >&5
    2527     . "$ac_site_file" \
    2528       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2529 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2530 as_fn_error $? "failed to load site script $ac_site_file
    2531 See \`config.log' for more details" "$LINENO" 5; }
     1760    . "$ac_site_file"
    25321761  fi
    25331762done
    25341763
    25351764if test -r "$cache_file"; then
    2536   # Some versions of bash will fail to source /dev/null (special files
    2537   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2538   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2539     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     1765  # Some versions of bash will fail to source /dev/null (special
     1766  # files actually), so we avoid doing that.
     1767  if test -f "$cache_file"; then
     1768    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    25401769$as_echo "$as_me: loading cache $cache_file" >&6;}
    25411770    case $cache_file in
     
    25451774  fi
    25461775else
    2547   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     1776  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    25481777$as_echo "$as_me: creating cache $cache_file" >&6;}
    25491778  >$cache_file
     
    25601789  case $ac_old_set,$ac_new_set in
    25611790    set,)
    2562       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1791      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    25631792$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    25641793      ac_cache_corrupted=: ;;
    25651794    ,set)
    2566       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     1795      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    25671796$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    25681797      ac_cache_corrupted=: ;;
     
    25741803        ac_new_val_w=`echo x $ac_new_val`
    25751804        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2576           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     1805          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    25771806$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    25781807          ac_cache_corrupted=:
    25791808        else
    2580           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1809          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    25811810$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    25821811          eval $ac_var=\$ac_old_val
    25831812        fi
    2584         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     1813        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    25851814$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2586         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     1815        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    25871816$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    25881817      fi;;
     
    25961825    case " $ac_configure_args " in
    25971826      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2598       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1827      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    25991828    esac
    26001829  fi
    26011830done
    26021831if $ac_cache_corrupted; then
    2603   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1832  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    26041833$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2605   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     1834  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    26061835$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2607   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2608 fi
    2609 ## -------------------- ##
    2610 ## Main body of script. ##
    2611 ## -------------------- ##
     1836  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1837$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1838   { (exit 1); exit 1; }; }
     1839fi
     1840
     1841
     1842
     1843
     1844
     1845
     1846
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
     1858
     1859
     1860
     1861
     1862
     1863
    26121864
    26131865ac_ext=c
     
    26221874
    26231875
    2624 
    26251876# Check whether --with-tcllib was given.
    2626 if test "${with_tcllib+set}" = set; then :
     1877if test "${with_tcllib+set}" = set; then
    26271878  withval=$with_tcllib; with_tcllib=$withval
    26281879else
     
    26331884
    26341885# Check whether --with-rappture was given.
    2635 if test "${with_rappture+set}" = set; then :
     1886if test "${with_rappture+set}" = set; then
    26361887  withval=$with_rappture; with_rappture=$withval
    26371888else
    26381889  with_rappture=/usr
     1890fi
     1891
     1892
     1893
     1894# Check whether --with-vtk-includes was given.
     1895if test "${with_vtk_includes+set}" = set; then
     1896  withval=$with_vtk_includes; with_vtk_includes=$withval
     1897else
     1898  with_vtk_includes=/usr/include/vtk-5.6
     1899fi
     1900
     1901
     1902
     1903# Check whether --with-vtk-libs was given.
     1904if test "${with_vtk_libs+set}" = set; then
     1905  withval=$with_vtk_libs; with_vtk_libs=$withval
     1906else
     1907  with_vtk_libs=/usr/lib/vtk-5.6
    26391908fi
    26401909
     
    26681937  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    26691938set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1939{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    26711940$as_echo_n "checking for $ac_word... " >&6; }
    2672 if ${ac_cv_prog_CC+:} false; then :
     1941if test "${ac_cv_prog_CC+set}" = set; then
    26731942  $as_echo_n "(cached) " >&6
    26741943else
     
    26811950  IFS=$as_save_IFS
    26821951  test -z "$as_dir" && as_dir=.
    2683     for ac_exec_ext in '' $ac_executable_extensions; do
     1952  for ac_exec_ext in '' $ac_executable_extensions; do
    26841953  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    26851954    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2686     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1955    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    26871956    break 2
    26881957  fi
    26891958done
    2690   done
     1959done
    26911960IFS=$as_save_IFS
    26921961
     
    26951964CC=$ac_cv_prog_CC
    26961965if test -n "$CC"; then
    2697   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     1966  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    26981967$as_echo "$CC" >&6; }
    26991968else
    2700   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     1969  { $as_echo "$as_me:$LINENO: result: no" >&5
    27011970$as_echo "no" >&6; }
    27021971fi
     
    27081977  # Extract the first word of "gcc", so it can be a program name with args.
    27091978set dummy gcc; ac_word=$2
    2710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1979{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27111980$as_echo_n "checking for $ac_word... " >&6; }
    2712 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     1981if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    27131982  $as_echo_n "(cached) " >&6
    27141983else
     
    27211990  IFS=$as_save_IFS
    27221991  test -z "$as_dir" && as_dir=.
    2723     for ac_exec_ext in '' $ac_executable_extensions; do
     1992  for ac_exec_ext in '' $ac_executable_extensions; do
    27241993  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27251994    ac_cv_prog_ac_ct_CC="gcc"
    2726     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1995    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27271996    break 2
    27281997  fi
    27291998done
    2730   done
     1999done
    27312000IFS=$as_save_IFS
    27322001
     
    27352004ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27362005if test -n "$ac_ct_CC"; then
    2737   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2006  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    27382007$as_echo "$ac_ct_CC" >&6; }
    27392008else
    2740   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2009  { $as_echo "$as_me:$LINENO: result: no" >&5
    27412010$as_echo "no" >&6; }
    27422011fi
     
    27472016    case $cross_compiling:$ac_tool_warned in
    27482017yes:)
    2749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2018{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    27502019$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    27512020ac_tool_warned=yes ;;
     
    27612030    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    27622031set dummy ${ac_tool_prefix}cc; ac_word=$2
    2763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2032{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27642033$as_echo_n "checking for $ac_word... " >&6; }
    2765 if ${ac_cv_prog_CC+:} false; then :
     2034if test "${ac_cv_prog_CC+set}" = set; then
    27662035  $as_echo_n "(cached) " >&6
    27672036else
     
    27742043  IFS=$as_save_IFS
    27752044  test -z "$as_dir" && as_dir=.
    2776     for ac_exec_ext in '' $ac_executable_extensions; do
     2045  for ac_exec_ext in '' $ac_executable_extensions; do
    27772046  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27782047    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2779     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2048    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27802049    break 2
    27812050  fi
    27822051done
    2783   done
     2052done
    27842053IFS=$as_save_IFS
    27852054
     
    27882057CC=$ac_cv_prog_CC
    27892058if test -n "$CC"; then
    2790   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2059  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    27912060$as_echo "$CC" >&6; }
    27922061else
    2793   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2062  { $as_echo "$as_me:$LINENO: result: no" >&5
    27942063$as_echo "no" >&6; }
    27952064fi
     
    28012070  # Extract the first word of "cc", so it can be a program name with args.
    28022071set dummy cc; ac_word=$2
    2803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2072{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28042073$as_echo_n "checking for $ac_word... " >&6; }
    2805 if ${ac_cv_prog_CC+:} false; then :
     2074if test "${ac_cv_prog_CC+set}" = set; then
    28062075  $as_echo_n "(cached) " >&6
    28072076else
     
    28152084  IFS=$as_save_IFS
    28162085  test -z "$as_dir" && as_dir=.
    2817     for ac_exec_ext in '' $ac_executable_extensions; do
     2086  for ac_exec_ext in '' $ac_executable_extensions; do
    28182087  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28192088    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    28222091     fi
    28232092    ac_cv_prog_CC="cc"
    2824     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2093    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28252094    break 2
    28262095  fi
    28272096done
    2828   done
     2097done
    28292098IFS=$as_save_IFS
    28302099
     
    28452114CC=$ac_cv_prog_CC
    28462115if test -n "$CC"; then
    2847   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2116  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28482117$as_echo "$CC" >&6; }
    28492118else
    2850   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2119  { $as_echo "$as_me:$LINENO: result: no" >&5
    28512120$as_echo "no" >&6; }
    28522121fi
     
    28602129    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    28612130set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2131{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28632132$as_echo_n "checking for $ac_word... " >&6; }
    2864 if ${ac_cv_prog_CC+:} false; then :
     2133if test "${ac_cv_prog_CC+set}" = set; then
    28652134  $as_echo_n "(cached) " >&6
    28662135else
     
    28732142  IFS=$as_save_IFS
    28742143  test -z "$as_dir" && as_dir=.
    2875     for ac_exec_ext in '' $ac_executable_extensions; do
     2144  for ac_exec_ext in '' $ac_executable_extensions; do
    28762145  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28772146    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2878     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2147    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28792148    break 2
    28802149  fi
    28812150done
    2882   done
     2151done
    28832152IFS=$as_save_IFS
    28842153
     
    28872156CC=$ac_cv_prog_CC
    28882157if test -n "$CC"; then
    2889   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2158  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28902159$as_echo "$CC" >&6; }
    28912160else
    2892   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2161  { $as_echo "$as_me:$LINENO: result: no" >&5
    28932162$as_echo "no" >&6; }
    28942163fi
     
    29042173  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29052174set dummy $ac_prog; ac_word=$2
    2906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2175{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29072176$as_echo_n "checking for $ac_word... " >&6; }
    2908 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2177if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    29092178  $as_echo_n "(cached) " >&6
    29102179else
     
    29172186  IFS=$as_save_IFS
    29182187  test -z "$as_dir" && as_dir=.
    2919     for ac_exec_ext in '' $ac_executable_extensions; do
     2188  for ac_exec_ext in '' $ac_executable_extensions; do
    29202189  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29212190    ac_cv_prog_ac_ct_CC="$ac_prog"
    2922     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2191    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29232192    break 2
    29242193  fi
    29252194done
    2926   done
     2195done
    29272196IFS=$as_save_IFS
    29282197
     
    29312200ac_ct_CC=$ac_cv_prog_ac_ct_CC
    29322201if test -n "$ac_ct_CC"; then
    2933   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2202  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    29342203$as_echo "$ac_ct_CC" >&6; }
    29352204else
    2936   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2205  { $as_echo "$as_me:$LINENO: result: no" >&5
    29372206$as_echo "no" >&6; }
    29382207fi
     
    29472216    case $cross_compiling:$ac_tool_warned in
    29482217yes:)
    2949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2218{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    29502219$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    29512220ac_tool_warned=yes ;;
     
    29582227
    29592228
    2960 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2229test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    29612230$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2962 as_fn_error $? "no acceptable C compiler found in \$PATH
    2963 See \`config.log' for more details" "$LINENO" 5; }
     2231{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2232See \`config.log' for more details." >&5
     2233$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2234See \`config.log' for more details." >&2;}
     2235   { (exit 1); exit 1; }; }; }
    29642236
    29652237# Provide some information about the compiler.
    2966 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2238$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    29672239set X $ac_compile
    29682240ac_compiler=$2
    2969 for ac_option in --version -v -V -qversion; do
    2970   { { ac_try="$ac_compiler $ac_option >&5"
     2241{ (ac_try="$ac_compiler --version >&5"
    29712242case "(($ac_try" in
    29722243  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    29732244  *) ac_try_echo=$ac_try;;
    29742245esac
    2975 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2976 $as_echo "$ac_try_echo"; } >&5
    2977   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     2246eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2247$as_echo "$ac_try_echo") >&5
     2248  (eval "$ac_compiler --version >&5") 2>&5
    29782249  ac_status=$?
    2979   if test -s conftest.err; then
    2980     sed '10a\
    2981 ... rest of stderr output deleted ...
    2982          10q' conftest.err >conftest.er1
    2983     cat conftest.er1 >&5
    2984   fi
    2985   rm -f conftest.er1 conftest.err
    2986   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2987   test $ac_status = 0; }
    2988 done
    2989 
    2990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2250  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2251  (exit $ac_status); }
     2252{ (ac_try="$ac_compiler -v >&5"
     2253case "(($ac_try" in
     2254  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2255  *) ac_try_echo=$ac_try;;
     2256esac
     2257eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2258$as_echo "$ac_try_echo") >&5
     2259  (eval "$ac_compiler -v >&5") 2>&5
     2260  ac_status=$?
     2261  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2262  (exit $ac_status); }
     2263{ (ac_try="$ac_compiler -V >&5"
     2264case "(($ac_try" in
     2265  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2266  *) ac_try_echo=$ac_try;;
     2267esac
     2268eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2269$as_echo "$ac_try_echo") >&5
     2270  (eval "$ac_compiler -V >&5") 2>&5
     2271  ac_status=$?
     2272  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2273  (exit $ac_status); }
     2274
     2275cat >conftest.$ac_ext <<_ACEOF
     2276/* confdefs.h.  */
     2277_ACEOF
     2278cat confdefs.h >>conftest.$ac_ext
     2279cat >>conftest.$ac_ext <<_ACEOF
    29912280/* end confdefs.h.  */
    29922281
     
    30042293# It will help us diagnose broken compilers, and finding out an intuition
    30052294# of exeext.
    3006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3007 $as_echo_n "checking whether the C compiler works... " >&6; }
     2295{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2296$as_echo_n "checking for C compiler default output file name... " >&6; }
    30082297ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    30092298
     
    30212310rm -f $ac_rmfiles
    30222311
    3023 if { { ac_try="$ac_link_default"
     2312if { (ac_try="$ac_link_default"
    30242313case "(($ac_try" in
    30252314  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30262315  *) ac_try_echo=$ac_try;;
    30272316esac
    3028 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3029 $as_echo "$ac_try_echo"; } >&5
     2317eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2318$as_echo "$ac_try_echo") >&5
    30302319  (eval "$ac_link_default") 2>&5
    30312320  ac_status=$?
    3032   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3033   test $ac_status = 0; }; then :
     2321  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2322  (exit $ac_status); }; then
    30342323  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    30352324# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    30482337        break;;
    30492338    *.* )
    3050         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2339        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    30512340        then :; else
    30522341           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    30672356  ac_file=''
    30682357fi
    3069 if test -z "$ac_file"; then :
    3070   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3071 $as_echo "no" >&6; }
    3072 $as_echo "$as_me: failed program was:" >&5
     2358
     2359{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2360$as_echo "$ac_file" >&6; }
     2361if test -z "$ac_file"; then
     2362  $as_echo "$as_me: failed program was:" >&5
    30732363sed 's/^/| /' conftest.$ac_ext >&5
    30742364
    3075 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2365{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    30762366$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3077 as_fn_error 77 "C compiler cannot create executables
    3078 See \`config.log' for more details" "$LINENO" 5; }
    3079 else
    3080   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2367{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2368See \`config.log' for more details." >&5
     2369$as_echo "$as_me: error: C compiler cannot create executables
     2370See \`config.log' for more details." >&2;}
     2371   { (exit 77); exit 77; }; }; }
     2372fi
     2373
     2374ac_exeext=$ac_cv_exeext
     2375
     2376# Check that the compiler produces executables we can run.  If not, either
     2377# the compiler is broken, or we cross compile.
     2378{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2379$as_echo_n "checking whether the C compiler works... " >&6; }
     2380# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2381# If not cross compiling, check that we can run a simple program.
     2382if test "$cross_compiling" != yes; then
     2383  if { ac_try='./$ac_file'
     2384  { (case "(($ac_try" in
     2385  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2386  *) ac_try_echo=$ac_try;;
     2387esac
     2388eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2389$as_echo "$ac_try_echo") >&5
     2390  (eval "$ac_try") 2>&5
     2391  ac_status=$?
     2392  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2393  (exit $ac_status); }; }; then
     2394    cross_compiling=no
     2395  else
     2396    if test "$cross_compiling" = maybe; then
     2397        cross_compiling=yes
     2398    else
     2399        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2400$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2401{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2402If you meant to cross compile, use \`--host'.
     2403See \`config.log' for more details." >&5
     2404$as_echo "$as_me: error: cannot run C compiled programs.
     2405If you meant to cross compile, use \`--host'.
     2406See \`config.log' for more details." >&2;}
     2407   { (exit 1); exit 1; }; }; }
     2408    fi
     2409  fi
     2410fi
     2411{ $as_echo "$as_me:$LINENO: result: yes" >&5
    30812412$as_echo "yes" >&6; }
    3082 fi
    3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3084 $as_echo_n "checking for C compiler default output file name... " >&6; }
    3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    3086 $as_echo "$ac_file" >&6; }
    3087 ac_exeext=$ac_cv_exeext
    30882413
    30892414rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    30902415ac_clean_files=$ac_clean_files_save
    3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2416# Check that the compiler produces executables we can run.  If not, either
     2417# the compiler is broken, or we cross compile.
     2418{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2419$as_echo_n "checking whether we are cross compiling... " >&6; }
     2420{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2421$as_echo "$cross_compiling" >&6; }
     2422
     2423{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    30922424$as_echo_n "checking for suffix of executables... " >&6; }
    3093 if { { ac_try="$ac_link"
     2425if { (ac_try="$ac_link"
    30942426case "(($ac_try" in
    30952427  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30962428  *) ac_try_echo=$ac_try;;
    30972429esac
    3098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3099 $as_echo "$ac_try_echo"; } >&5
     2430eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2431$as_echo "$ac_try_echo") >&5
    31002432  (eval "$ac_link") 2>&5
    31012433  ac_status=$?
    3102   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3103   test $ac_status = 0; }; then :
     2434  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2435  (exit $ac_status); }; then
    31042436  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    31052437# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    31162448done
    31172449else
    3118   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2450  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31192451$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3120 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3121 See \`config.log' for more details" "$LINENO" 5; }
    3122 fi
    3123 rm -f conftest conftest$ac_cv_exeext
    3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2452{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2453See \`config.log' for more details." >&5
     2454$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2455See \`config.log' for more details." >&2;}
     2456   { (exit 1); exit 1; }; }; }
     2457fi
     2458
     2459rm -f conftest$ac_cv_exeext
     2460{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    31252461$as_echo "$ac_cv_exeext" >&6; }
    31262462
     
    31282464EXEEXT=$ac_cv_exeext
    31292465ac_exeext=$EXEEXT
    3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2466{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2467$as_echo_n "checking for suffix of object files... " >&6; }
     2468if test "${ac_cv_objext+set}" = set; then
     2469  $as_echo_n "(cached) " >&6
     2470else
     2471  cat >conftest.$ac_ext <<_ACEOF
     2472/* confdefs.h.  */
     2473_ACEOF
     2474cat confdefs.h >>conftest.$ac_ext
     2475cat >>conftest.$ac_ext <<_ACEOF
    31312476/* end confdefs.h.  */
    3132 #include <stdio.h>
     2477
    31332478int
    31342479main ()
    31352480{
    3136 FILE *f = fopen ("conftest.out", "w");
    3137  return ferror (f) || fclose (f) != 0;
    31382481
    31392482  ;
     
    31412484}
    31422485_ACEOF
    3143 ac_clean_files="$ac_clean_files conftest.out"
    3144 # Check that the compiler produces executables we can run.  If not, either
    3145 # the compiler is broken, or we cross compile.
    3146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3147 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3148 if test "$cross_compiling" != yes; then
    3149   { { ac_try="$ac_link"
     2486rm -f conftest.o conftest.obj
     2487if { (ac_try="$ac_compile"
    31502488case "(($ac_try" in
    31512489  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31522490  *) ac_try_echo=$ac_try;;
    31532491esac
    3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3155 $as_echo "$ac_try_echo"; } >&5
    3156   (eval "$ac_link") 2>&5
    3157   ac_status=$?
    3158   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3159   test $ac_status = 0; }
    3160   if { ac_try='./conftest$ac_cv_exeext'
    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:${as_lineno-$LINENO}: $ac_try_echo\""
    3166 $as_echo "$ac_try_echo"; } >&5
    3167   (eval "$ac_try") 2>&5
    3168   ac_status=$?
    3169   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3170   test $ac_status = 0; }; }; then
    3171     cross_compiling=no
    3172   else
    3173     if test "$cross_compiling" = maybe; then
    3174         cross_compiling=yes
    3175     else
    3176         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3178 as_fn_error $? "cannot run C compiled programs.
    3179 If you meant to cross compile, use \`--host'.
    3180 See \`config.log' for more details" "$LINENO" 5; }
    3181     fi
    3182   fi
    3183 fi
    3184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3185 $as_echo "$cross_compiling" >&6; }
    3186 
    3187 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3188 ac_clean_files=$ac_clean_files_save
    3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3190 $as_echo_n "checking for suffix of object files... " >&6; }
    3191 if ${ac_cv_objext+:} false; then :
    3192   $as_echo_n "(cached) " >&6
    3193 else
    3194   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3195 /* end confdefs.h.  */
    3196 
    3197 int
    3198 main ()
    3199 {
    3200 
    3201   ;
    3202   return 0;
    3203 }
    3204 _ACEOF
    3205 rm -f conftest.o conftest.obj
    3206 if { { ac_try="$ac_compile"
    3207 case "(($ac_try" in
    3208   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3209   *) ac_try_echo=$ac_try;;
    3210 esac
    3211 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3212 $as_echo "$ac_try_echo"; } >&5
     2492eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2493$as_echo "$ac_try_echo") >&5
    32132494  (eval "$ac_compile") 2>&5
    32142495  ac_status=$?
    3215   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3216   test $ac_status = 0; }; then :
     2496  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2497  (exit $ac_status); }; then
    32172498  for ac_file in conftest.o conftest.obj conftest.*; do
    32182499  test -f "$ac_file" || continue;
     
    32272508sed 's/^/| /' conftest.$ac_ext >&5
    32282509
    3229 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2510{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    32302511$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3231 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3232 See \`config.log' for more details" "$LINENO" 5; }
    3233 fi
     2512{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2513See \`config.log' for more details." >&5
     2514$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2515See \`config.log' for more details." >&2;}
     2516   { (exit 1); exit 1; }; }; }
     2517fi
     2518
    32342519rm -f conftest.$ac_cv_objext conftest.$ac_ext
    32352520fi
    3236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2521{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    32372522$as_echo "$ac_cv_objext" >&6; }
    32382523OBJEXT=$ac_cv_objext
    32392524ac_objext=$OBJEXT
    3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2525{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32412526$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3242 if ${ac_cv_c_compiler_gnu+:} false; then :
     2527if test "${ac_cv_c_compiler_gnu+set}" = set; then
    32432528  $as_echo_n "(cached) " >&6
    32442529else
    3245   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2530  cat >conftest.$ac_ext <<_ACEOF
     2531/* confdefs.h.  */
     2532_ACEOF
     2533cat confdefs.h >>conftest.$ac_ext
     2534cat >>conftest.$ac_ext <<_ACEOF
    32462535/* end confdefs.h.  */
    32472536
     
    32572546}
    32582547_ACEOF
    3259 if ac_fn_c_try_compile "$LINENO"; then :
     2548rm -f conftest.$ac_objext
     2549if { (ac_try="$ac_compile"
     2550case "(($ac_try" in
     2551  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2552  *) ac_try_echo=$ac_try;;
     2553esac
     2554eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2555$as_echo "$ac_try_echo") >&5
     2556  (eval "$ac_compile") 2>conftest.er1
     2557  ac_status=$?
     2558  grep -v '^ *+' conftest.er1 >conftest.err
     2559  rm -f conftest.er1
     2560  cat conftest.err >&5
     2561  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2562  (exit $ac_status); } && {
     2563         test -z "$ac_c_werror_flag" ||
     2564         test ! -s conftest.err
     2565       } && test -s conftest.$ac_objext; then
    32602566  ac_compiler_gnu=yes
    32612567else
    3262   ac_compiler_gnu=no
    3263 fi
     2568  $as_echo "$as_me: failed program was:" >&5
     2569sed 's/^/| /' conftest.$ac_ext >&5
     2570
     2571        ac_compiler_gnu=no
     2572fi
     2573
    32642574rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    32652575ac_cv_c_compiler_gnu=$ac_compiler_gnu
    32662576
    32672577fi
    3268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2578{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    32692579$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    32702580if test $ac_compiler_gnu = yes; then
     
    32752585ac_test_CFLAGS=${CFLAGS+set}
    32762586ac_save_CFLAGS=$CFLAGS
    3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2587{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    32782588$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3279 if ${ac_cv_prog_cc_g+:} false; then :
     2589if test "${ac_cv_prog_cc_g+set}" = set; then
    32802590  $as_echo_n "(cached) " >&6
    32812591else
     
    32842594   ac_cv_prog_cc_g=no
    32852595   CFLAGS="-g"
    3286    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2596   cat >conftest.$ac_ext <<_ACEOF
     2597/* confdefs.h.  */
     2598_ACEOF
     2599cat confdefs.h >>conftest.$ac_ext
     2600cat >>conftest.$ac_ext <<_ACEOF
    32872601/* end confdefs.h.  */
    32882602
     
    32952609}
    32962610_ACEOF
    3297 if ac_fn_c_try_compile "$LINENO"; then :
     2611rm -f conftest.$ac_objext
     2612if { (ac_try="$ac_compile"
     2613case "(($ac_try" in
     2614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2615  *) ac_try_echo=$ac_try;;
     2616esac
     2617eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2618$as_echo "$ac_try_echo") >&5
     2619  (eval "$ac_compile") 2>conftest.er1
     2620  ac_status=$?
     2621  grep -v '^ *+' conftest.er1 >conftest.err
     2622  rm -f conftest.er1
     2623  cat conftest.err >&5
     2624  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2625  (exit $ac_status); } && {
     2626         test -z "$ac_c_werror_flag" ||
     2627         test ! -s conftest.err
     2628       } && test -s conftest.$ac_objext; then
    32982629  ac_cv_prog_cc_g=yes
    32992630else
    3300   CFLAGS=""
    3301       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2631  $as_echo "$as_me: failed program was:" >&5
     2632sed 's/^/| /' conftest.$ac_ext >&5
     2633
     2634        CFLAGS=""
     2635      cat >conftest.$ac_ext <<_ACEOF
     2636/* confdefs.h.  */
     2637_ACEOF
     2638cat confdefs.h >>conftest.$ac_ext
     2639cat >>conftest.$ac_ext <<_ACEOF
    33022640/* end confdefs.h.  */
    33032641
     
    33102648}
    33112649_ACEOF
    3312 if ac_fn_c_try_compile "$LINENO"; then :
    3313 
    3314 else
    3315   ac_c_werror_flag=$ac_save_c_werror_flag
     2650rm -f conftest.$ac_objext
     2651if { (ac_try="$ac_compile"
     2652case "(($ac_try" in
     2653  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2654  *) ac_try_echo=$ac_try;;
     2655esac
     2656eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2657$as_echo "$ac_try_echo") >&5
     2658  (eval "$ac_compile") 2>conftest.er1
     2659  ac_status=$?
     2660  grep -v '^ *+' conftest.er1 >conftest.err
     2661  rm -f conftest.er1
     2662  cat conftest.err >&5
     2663  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2664  (exit $ac_status); } && {
     2665         test -z "$ac_c_werror_flag" ||
     2666         test ! -s conftest.err
     2667       } && test -s conftest.$ac_objext; then
     2668  :
     2669else
     2670  $as_echo "$as_me: failed program was:" >&5
     2671sed 's/^/| /' conftest.$ac_ext >&5
     2672
     2673        ac_c_werror_flag=$ac_save_c_werror_flag
    33162674         CFLAGS="-g"
    3317          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2675         cat >conftest.$ac_ext <<_ACEOF
     2676/* confdefs.h.  */
     2677_ACEOF
     2678cat confdefs.h >>conftest.$ac_ext
     2679cat >>conftest.$ac_ext <<_ACEOF
    33182680/* end confdefs.h.  */
    33192681
     
    33262688}
    33272689_ACEOF
    3328 if ac_fn_c_try_compile "$LINENO"; then :
     2690rm -f conftest.$ac_objext
     2691if { (ac_try="$ac_compile"
     2692case "(($ac_try" in
     2693  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2694  *) ac_try_echo=$ac_try;;
     2695esac
     2696eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2697$as_echo "$ac_try_echo") >&5
     2698  (eval "$ac_compile") 2>conftest.er1
     2699  ac_status=$?
     2700  grep -v '^ *+' conftest.er1 >conftest.err
     2701  rm -f conftest.er1
     2702  cat conftest.err >&5
     2703  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2704  (exit $ac_status); } && {
     2705         test -z "$ac_c_werror_flag" ||
     2706         test ! -s conftest.err
     2707       } && test -s conftest.$ac_objext; then
    33292708  ac_cv_prog_cc_g=yes
    3330 fi
     2709else
     2710  $as_echo "$as_me: failed program was:" >&5
     2711sed 's/^/| /' conftest.$ac_ext >&5
     2712
     2713
     2714fi
     2715
    33312716rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33322717fi
     2718
    33332719rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33342720fi
     2721
    33352722rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33362723   ac_c_werror_flag=$ac_save_c_werror_flag
    33372724fi
    3338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2725{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    33392726$as_echo "$ac_cv_prog_cc_g" >&6; }
    33402727if test "$ac_test_CFLAGS" = set; then
     
    33532740  fi
    33542741fi
    3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2742{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    33562743$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3357 if ${ac_cv_prog_cc_c89+:} false; then :
     2744if test "${ac_cv_prog_cc_c89+set}" = set; then
    33582745  $as_echo_n "(cached) " >&6
    33592746else
    33602747  ac_cv_prog_cc_c89=no
    33612748ac_save_CC=$CC
    3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2749cat >conftest.$ac_ext <<_ACEOF
     2750/* confdefs.h.  */
     2751_ACEOF
     2752cat confdefs.h >>conftest.$ac_ext
     2753cat >>conftest.$ac_ext <<_ACEOF
    33632754/* end confdefs.h.  */
    33642755#include <stdarg.h>
     
    34172808do
    34182809  CC="$ac_save_CC $ac_arg"
    3419   if ac_fn_c_try_compile "$LINENO"; then :
     2810  rm -f conftest.$ac_objext
     2811if { (ac_try="$ac_compile"
     2812case "(($ac_try" in
     2813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2814  *) ac_try_echo=$ac_try;;
     2815esac
     2816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2817$as_echo "$ac_try_echo") >&5
     2818  (eval "$ac_compile") 2>conftest.er1
     2819  ac_status=$?
     2820  grep -v '^ *+' conftest.er1 >conftest.err
     2821  rm -f conftest.er1
     2822  cat conftest.err >&5
     2823  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2824  (exit $ac_status); } && {
     2825         test -z "$ac_c_werror_flag" ||
     2826         test ! -s conftest.err
     2827       } && test -s conftest.$ac_objext; then
    34202828  ac_cv_prog_cc_c89=$ac_arg
    3421 fi
     2829else
     2830  $as_echo "$as_me: failed program was:" >&5
     2831sed 's/^/| /' conftest.$ac_ext >&5
     2832
     2833
     2834fi
     2835
    34222836rm -f core conftest.err conftest.$ac_objext
    34232837  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    34302844case "x$ac_cv_prog_cc_c89" in
    34312845  x)
    3432     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     2846    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    34332847$as_echo "none needed" >&6; } ;;
    34342848  xno)
    3435     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     2849    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    34362850$as_echo "unsupported" >&6; } ;;
    34372851  *)
    34382852    CC="$CC $ac_cv_prog_cc_c89"
    3439     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     2853    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    34402854$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    34412855esac
    3442 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3443 
    3444 fi
     2856
    34452857
    34462858ac_ext=c
     
    34542866  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    34552867set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    3456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2868{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    34572869$as_echo_n "checking for $ac_word... " >&6; }
    3458 if ${ac_cv_prog_RANLIB+:} false; then :
     2870if test "${ac_cv_prog_RANLIB+set}" = set; then
    34592871  $as_echo_n "(cached) " >&6
    34602872else
     
    34672879  IFS=$as_save_IFS
    34682880  test -z "$as_dir" && as_dir=.
    3469     for ac_exec_ext in '' $ac_executable_extensions; do
     2881  for ac_exec_ext in '' $ac_executable_extensions; do
    34702882  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    34712883    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    3472     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2884    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    34732885    break 2
    34742886  fi
    34752887done
    3476   done
     2888done
    34772889IFS=$as_save_IFS
    34782890
     
    34812893RANLIB=$ac_cv_prog_RANLIB
    34822894if test -n "$RANLIB"; then
    3483   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     2895  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    34842896$as_echo "$RANLIB" >&6; }
    34852897else
    3486   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2898  { $as_echo "$as_me:$LINENO: result: no" >&5
    34872899$as_echo "no" >&6; }
    34882900fi
     
    34942906  # Extract the first word of "ranlib", so it can be a program name with args.
    34952907set dummy ranlib; ac_word=$2
    3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2908{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    34972909$as_echo_n "checking for $ac_word... " >&6; }
    3498 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     2910if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    34992911  $as_echo_n "(cached) " >&6
    35002912else
     
    35072919  IFS=$as_save_IFS
    35082920  test -z "$as_dir" && as_dir=.
    3509     for ac_exec_ext in '' $ac_executable_extensions; do
     2921  for ac_exec_ext in '' $ac_executable_extensions; do
    35102922  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    35112923    ac_cv_prog_ac_ct_RANLIB="ranlib"
    3512     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2924    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    35132925    break 2
    35142926  fi
    35152927done
    3516   done
     2928done
    35172929IFS=$as_save_IFS
    35182930
     
    35212933ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    35222934if test -n "$ac_ct_RANLIB"; then
    3523   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     2935  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    35242936$as_echo "$ac_ct_RANLIB" >&6; }
    35252937else
    3526   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2938  { $as_echo "$as_me:$LINENO: result: no" >&5
    35272939$as_echo "no" >&6; }
    35282940fi
     
    35332945    case $cross_compiling:$ac_tool_warned in
    35342946yes:)
    3535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2947{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    35362948$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    35372949ac_tool_warned=yes ;;
     
    35482960ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35492961ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     2962{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    35512963$as_echo_n "checking how to run the C preprocessor... " >&6; }
    35522964# On Suns, sometimes $CPP names a directory.
     
    35552967fi
    35562968if test -z "$CPP"; then
    3557   if ${ac_cv_prog_CPP+:} false; then :
     2969  if test "${ac_cv_prog_CPP+set}" = set; then
    35582970  $as_echo_n "(cached) " >&6
    35592971else
     
    35702982  # On the NeXT, cc -E runs the code through the compiler's parser,
    35712983  # not just through cpp. "Syntax error" is here to catch this case.
    3572   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2984  cat >conftest.$ac_ext <<_ACEOF
     2985/* confdefs.h.  */
     2986_ACEOF
     2987cat confdefs.h >>conftest.$ac_ext
     2988cat >>conftest.$ac_ext <<_ACEOF
    35732989/* end confdefs.h.  */
    35742990#ifdef __STDC__
     
    35792995                     Syntax error
    35802996_ACEOF
    3581 if ac_fn_c_try_cpp "$LINENO"; then :
    3582 
    3583 else
     2997if { (ac_try="$ac_cpp conftest.$ac_ext"
     2998case "(($ac_try" in
     2999  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3000  *) ac_try_echo=$ac_try;;
     3001esac
     3002eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3003$as_echo "$ac_try_echo") >&5
     3004  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3005  ac_status=$?
     3006  grep -v '^ *+' conftest.er1 >conftest.err
     3007  rm -f conftest.er1
     3008  cat conftest.err >&5
     3009  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3010  (exit $ac_status); } >/dev/null && {
     3011         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3012         test ! -s conftest.err
     3013       }; then
     3014  :
     3015else
     3016  $as_echo "$as_me: failed program was:" >&5
     3017sed 's/^/| /' conftest.$ac_ext >&5
     3018
    35843019  # Broken: fails on valid input.
    35853020continue
    35863021fi
    3587 rm -f conftest.err conftest.i conftest.$ac_ext
     3022
     3023rm -f conftest.err conftest.$ac_ext
    35883024
    35893025  # OK, works on sane cases.  Now check whether nonexistent headers
    35903026  # can be detected and how.
    3591   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3027  cat >conftest.$ac_ext <<_ACEOF
     3028/* confdefs.h.  */
     3029_ACEOF
     3030cat confdefs.h >>conftest.$ac_ext
     3031cat >>conftest.$ac_ext <<_ACEOF
    35923032/* end confdefs.h.  */
    35933033#include <ac_nonexistent.h>
    35943034_ACEOF
    3595 if ac_fn_c_try_cpp "$LINENO"; then :
     3035if { (ac_try="$ac_cpp conftest.$ac_ext"
     3036case "(($ac_try" in
     3037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3038  *) ac_try_echo=$ac_try;;
     3039esac
     3040eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3041$as_echo "$ac_try_echo") >&5
     3042  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3043  ac_status=$?
     3044  grep -v '^ *+' conftest.er1 >conftest.err
     3045  rm -f conftest.er1
     3046  cat conftest.err >&5
     3047  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3048  (exit $ac_status); } >/dev/null && {
     3049         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3050         test ! -s conftest.err
     3051       }; then
    35963052  # Broken: success on invalid input.
    35973053continue
    35983054else
     3055  $as_echo "$as_me: failed program was:" >&5
     3056sed 's/^/| /' conftest.$ac_ext >&5
     3057
    35993058  # Passes both tests.
    36003059ac_preproc_ok=:
    36013060break
    36023061fi
    3603 rm -f conftest.err conftest.i conftest.$ac_ext
     3062
     3063rm -f conftest.err conftest.$ac_ext
    36043064
    36053065done
    36063066# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3607 rm -f conftest.i conftest.err conftest.$ac_ext
    3608 if $ac_preproc_ok; then :
     3067rm -f conftest.err conftest.$ac_ext
     3068if $ac_preproc_ok; then
    36093069  break
    36103070fi
     
    36183078  ac_cv_prog_CPP=$CPP
    36193079fi
    3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3080{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    36213081$as_echo "$CPP" >&6; }
    36223082ac_preproc_ok=false
     
    36293089  # On the NeXT, cc -E runs the code through the compiler's parser,
    36303090  # not just through cpp. "Syntax error" is here to catch this case.
    3631   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3091  cat >conftest.$ac_ext <<_ACEOF
     3092/* confdefs.h.  */
     3093_ACEOF
     3094cat confdefs.h >>conftest.$ac_ext
     3095cat >>conftest.$ac_ext <<_ACEOF
    36323096/* end confdefs.h.  */
    36333097#ifdef __STDC__
     
    36383102                     Syntax error
    36393103_ACEOF
    3640 if ac_fn_c_try_cpp "$LINENO"; then :
    3641 
    3642 else
     3104if { (ac_try="$ac_cpp conftest.$ac_ext"
     3105case "(($ac_try" in
     3106  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3107  *) ac_try_echo=$ac_try;;
     3108esac
     3109eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3110$as_echo "$ac_try_echo") >&5
     3111  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3112  ac_status=$?
     3113  grep -v '^ *+' conftest.er1 >conftest.err
     3114  rm -f conftest.er1
     3115  cat conftest.err >&5
     3116  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3117  (exit $ac_status); } >/dev/null && {
     3118         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3119         test ! -s conftest.err
     3120       }; then
     3121  :
     3122else
     3123  $as_echo "$as_me: failed program was:" >&5
     3124sed 's/^/| /' conftest.$ac_ext >&5
     3125
    36433126  # Broken: fails on valid input.
    36443127continue
    36453128fi
    3646 rm -f conftest.err conftest.i conftest.$ac_ext
     3129
     3130rm -f conftest.err conftest.$ac_ext
    36473131
    36483132  # OK, works on sane cases.  Now check whether nonexistent headers
    36493133  # can be detected and how.
    3650   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3134  cat >conftest.$ac_ext <<_ACEOF
     3135/* confdefs.h.  */
     3136_ACEOF
     3137cat confdefs.h >>conftest.$ac_ext
     3138cat >>conftest.$ac_ext <<_ACEOF
    36513139/* end confdefs.h.  */
    36523140#include <ac_nonexistent.h>
    36533141_ACEOF
    3654 if ac_fn_c_try_cpp "$LINENO"; then :
     3142if { (ac_try="$ac_cpp conftest.$ac_ext"
     3143case "(($ac_try" in
     3144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3145  *) ac_try_echo=$ac_try;;
     3146esac
     3147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3148$as_echo "$ac_try_echo") >&5
     3149  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3150  ac_status=$?
     3151  grep -v '^ *+' conftest.er1 >conftest.err
     3152  rm -f conftest.er1
     3153  cat conftest.err >&5
     3154  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3155  (exit $ac_status); } >/dev/null && {
     3156         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3157         test ! -s conftest.err
     3158       }; then
    36553159  # Broken: success on invalid input.
    36563160continue
    36573161else
     3162  $as_echo "$as_me: failed program was:" >&5
     3163sed 's/^/| /' conftest.$ac_ext >&5
     3164
    36583165  # Passes both tests.
    36593166ac_preproc_ok=:
    36603167break
    36613168fi
    3662 rm -f conftest.err conftest.i conftest.$ac_ext
     3169
     3170rm -f conftest.err conftest.$ac_ext
    36633171
    36643172done
    36653173# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3666 rm -f conftest.i conftest.err conftest.$ac_ext
    3667 if $ac_preproc_ok; then :
    3668 
    3669 else
    3670   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3174rm -f conftest.err conftest.$ac_ext
     3175if $ac_preproc_ok; then
     3176  :
     3177else
     3178  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    36713179$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3672 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    3673 See \`config.log' for more details" "$LINENO" 5; }
     3180{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3181See \`config.log' for more details." >&5
     3182$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3183See \`config.log' for more details." >&2;}
     3184   { (exit 1); exit 1; }; }; }
    36743185fi
    36753186
     
    36813192
    36823193
    3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3194{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    36843195$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3685 if ${ac_cv_path_GREP+:} false; then :
     3196if test "${ac_cv_path_GREP+set}" = set; then
    36863197  $as_echo_n "(cached) " >&6
    36873198else
     
    36943205  IFS=$as_save_IFS
    36953206  test -z "$as_dir" && as_dir=.
    3696     for ac_prog in grep ggrep; do
     3207  for ac_prog in grep ggrep; do
    36973208    for ac_exec_ext in '' $ac_executable_extensions; do
    36983209      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    37143225    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    37153226    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3716     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3227    ac_count=`expr $ac_count + 1`
    37173228    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    37183229      # Best one so far, save it but keep looking for a better one
     
    37293240    done
    37303241  done
    3731   done
     3242done
    37323243IFS=$as_save_IFS
    37333244  if test -z "$ac_cv_path_GREP"; then
    3734     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3245    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3246$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3247   { (exit 1); exit 1; }; }
    37353248  fi
    37363249else
     
    37393252
    37403253fi
    3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3254{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    37423255$as_echo "$ac_cv_path_GREP" >&6; }
    37433256 GREP="$ac_cv_path_GREP"
    37443257
    37453258
    3746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3259{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
    37473260$as_echo_n "checking for egrep... " >&6; }
    3748 if ${ac_cv_path_EGREP+:} false; then :
     3261if test "${ac_cv_path_EGREP+set}" = set; then
    37493262  $as_echo_n "(cached) " >&6
    37503263else
     
    37603273  IFS=$as_save_IFS
    37613274  test -z "$as_dir" && as_dir=.
    3762     for ac_prog in egrep; do
     3275  for ac_prog in egrep; do
    37633276    for ac_exec_ext in '' $ac_executable_extensions; do
    37643277      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    37803293    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    37813294    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3782     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3295    ac_count=`expr $ac_count + 1`
    37833296    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    37843297      # Best one so far, save it but keep looking for a better one
     
    37953308    done
    37963309  done
    3797   done
     3310done
    37983311IFS=$as_save_IFS
    37993312  if test -z "$ac_cv_path_EGREP"; then
    3800     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3313    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3314$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3315   { (exit 1); exit 1; }; }
    38013316  fi
    38023317else
     
    38063321   fi
    38073322fi
    3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3323{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    38093324$as_echo "$ac_cv_path_EGREP" >&6; }
    38103325 EGREP="$ac_cv_path_EGREP"
    38113326
    38123327
    3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3328{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    38143329$as_echo_n "checking for ANSI C header files... " >&6; }
    3815 if ${ac_cv_header_stdc+:} false; then :
     3330if test "${ac_cv_header_stdc+set}" = set; then
    38163331  $as_echo_n "(cached) " >&6
    38173332else
    3818   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3333  cat >conftest.$ac_ext <<_ACEOF
     3334/* confdefs.h.  */
     3335_ACEOF
     3336cat confdefs.h >>conftest.$ac_ext
     3337cat >>conftest.$ac_ext <<_ACEOF
    38193338/* end confdefs.h.  */
    38203339#include <stdlib.h>
     
    38313350}
    38323351_ACEOF
    3833 if ac_fn_c_try_compile "$LINENO"; then :
     3352rm -f conftest.$ac_objext
     3353if { (ac_try="$ac_compile"
     3354case "(($ac_try" in
     3355  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3356  *) ac_try_echo=$ac_try;;
     3357esac
     3358eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3359$as_echo "$ac_try_echo") >&5
     3360  (eval "$ac_compile") 2>conftest.er1
     3361  ac_status=$?
     3362  grep -v '^ *+' conftest.er1 >conftest.err
     3363  rm -f conftest.er1
     3364  cat conftest.err >&5
     3365  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3366  (exit $ac_status); } && {
     3367         test -z "$ac_c_werror_flag" ||
     3368         test ! -s conftest.err
     3369       } && test -s conftest.$ac_objext; then
    38343370  ac_cv_header_stdc=yes
    38353371else
    3836   ac_cv_header_stdc=no
    3837 fi
     3372  $as_echo "$as_me: failed program was:" >&5
     3373sed 's/^/| /' conftest.$ac_ext >&5
     3374
     3375        ac_cv_header_stdc=no
     3376fi
     3377
    38383378rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    38393379
    38403380if test $ac_cv_header_stdc = yes; then
    38413381  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3842   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3382  cat >conftest.$ac_ext <<_ACEOF
     3383/* confdefs.h.  */
     3384_ACEOF
     3385cat confdefs.h >>conftest.$ac_ext
     3386cat >>conftest.$ac_ext <<_ACEOF
    38433387/* end confdefs.h.  */
    38443388#include <string.h>
     
    38463390_ACEOF
    38473391if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3848   $EGREP "memchr" >/dev/null 2>&1; then :
    3849 
     3392  $EGREP "memchr" >/dev/null 2>&1; then
     3393  :
    38503394else
    38513395  ac_cv_header_stdc=no
     
    38573401if test $ac_cv_header_stdc = yes; then
    38583402  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3859   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3403  cat >conftest.$ac_ext <<_ACEOF
     3404/* confdefs.h.  */
     3405_ACEOF
     3406cat confdefs.h >>conftest.$ac_ext
     3407cat >>conftest.$ac_ext <<_ACEOF
    38603408/* end confdefs.h.  */
    38613409#include <stdlib.h>
     
    38633411_ACEOF
    38643412if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3865   $EGREP "free" >/dev/null 2>&1; then :
    3866 
     3413  $EGREP "free" >/dev/null 2>&1; then
     3414  :
    38673415else
    38683416  ac_cv_header_stdc=no
     
    38743422if test $ac_cv_header_stdc = yes; then
    38753423  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3876   if test "$cross_compiling" = yes; then :
     3424  if test "$cross_compiling" = yes; then
    38773425  :
    38783426else
    3879   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3427  cat >conftest.$ac_ext <<_ACEOF
     3428/* confdefs.h.  */
     3429_ACEOF
     3430cat confdefs.h >>conftest.$ac_ext
     3431cat >>conftest.$ac_ext <<_ACEOF
    38803432/* end confdefs.h.  */
    38813433#include <ctype.h>
     
    39043456}
    39053457_ACEOF
    3906 if ac_fn_c_try_run "$LINENO"; then :
    3907 
    3908 else
    3909   ac_cv_header_stdc=no
    3910 fi
    3911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    3912   conftest.$ac_objext conftest.beam conftest.$ac_ext
    3913 fi
    3914 
    3915 fi
    3916 fi
    3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3458rm -f conftest$ac_exeext
     3459if { (ac_try="$ac_link"
     3460case "(($ac_try" in
     3461  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3462  *) ac_try_echo=$ac_try;;
     3463esac
     3464eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3465$as_echo "$ac_try_echo") >&5
     3466  (eval "$ac_link") 2>&5
     3467  ac_status=$?
     3468  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3469  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3470  { (case "(($ac_try" in
     3471  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3472  *) ac_try_echo=$ac_try;;
     3473esac
     3474eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3475$as_echo "$ac_try_echo") >&5
     3476  (eval "$ac_try") 2>&5
     3477  ac_status=$?
     3478  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3479  (exit $ac_status); }; }; then
     3480  :
     3481else
     3482  $as_echo "$as_me: program exited with status $ac_status" >&5
     3483$as_echo "$as_me: failed program was:" >&5
     3484sed 's/^/| /' conftest.$ac_ext >&5
     3485
     3486( exit $ac_status )
     3487ac_cv_header_stdc=no
     3488fi
     3489rm -rf conftest.dSYM
     3490rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3491fi
     3492
     3493
     3494fi
     3495fi
     3496{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    39183497$as_echo "$ac_cv_header_stdc" >&6; }
    39193498if test $ac_cv_header_stdc = yes; then
    39203499
    3921 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3500cat >>confdefs.h <<\_ACEOF
     3501#define STDC_HEADERS 1
     3502_ACEOF
    39223503
    39233504fi
    39243505
    39253506# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3507
     3508
     3509
     3510
     3511
     3512
     3513
     3514
     3515
    39263516for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    39273517                  inttypes.h stdint.h unistd.h
    3928 do :
    3929   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3930 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    3931 "
    3932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3518do
     3519as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3520{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3521$as_echo_n "checking for $ac_header... " >&6; }
     3522if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3523  $as_echo_n "(cached) " >&6
     3524else
     3525  cat >conftest.$ac_ext <<_ACEOF
     3526/* confdefs.h.  */
     3527_ACEOF
     3528cat confdefs.h >>conftest.$ac_ext
     3529cat >>conftest.$ac_ext <<_ACEOF
     3530/* end confdefs.h.  */
     3531$ac_includes_default
     3532
     3533#include <$ac_header>
     3534_ACEOF
     3535rm -f conftest.$ac_objext
     3536if { (ac_try="$ac_compile"
     3537case "(($ac_try" in
     3538  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3539  *) ac_try_echo=$ac_try;;
     3540esac
     3541eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3542$as_echo "$ac_try_echo") >&5
     3543  (eval "$ac_compile") 2>conftest.er1
     3544  ac_status=$?
     3545  grep -v '^ *+' conftest.er1 >conftest.err
     3546  rm -f conftest.er1
     3547  cat conftest.err >&5
     3548  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3549  (exit $ac_status); } && {
     3550         test -z "$ac_c_werror_flag" ||
     3551         test ! -s conftest.err
     3552       } && test -s conftest.$ac_objext; then
     3553  eval "$as_ac_Header=yes"
     3554else
     3555  $as_echo "$as_me: failed program was:" >&5
     3556sed 's/^/| /' conftest.$ac_ext >&5
     3557
     3558        eval "$as_ac_Header=no"
     3559fi
     3560
     3561rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3562fi
     3563ac_res=`eval 'as_val=${'$as_ac_Header'}
     3564                 $as_echo "$as_val"'`
     3565               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3566$as_echo "$ac_res" >&6; }
     3567as_val=`eval 'as_val=${'$as_ac_Header'}
     3568                 $as_echo "$as_val"'`
     3569   if test "x$as_val" = x""yes; then
    39333570  cat >>confdefs.h <<_ACEOF
    39343571#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    39443581    # Step 0.a: Enable 64 bit support?
    39453582
    3946     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     3583    { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    39473584$as_echo_n "checking if 64bit support is requested... " >&6; }
    39483585    # Check whether --enable-64bit was given.
    3949 if test "${enable_64bit+set}" = set; then :
     3586if test "${enable_64bit+set}" = set; then
    39503587  enableval=$enable_64bit; do64bit=$enableval
    39513588else
     
    39533590fi
    39543591
    3955     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     3592    { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    39563593$as_echo "$do64bit" >&6; }
    39573594
    39583595    # Step 0.b: Enable Solaris 64 bit VIS support?
    39593596
    3960     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     3597    { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    39613598$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    39623599    # Check whether --enable-64bit-vis was given.
    3963 if test "${enable_64bit_vis+set}" = set; then :
     3600if test "${enable_64bit_vis+set}" = set; then
    39643601  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    39653602else
     
    39673604fi
    39683605
    3969     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     3606    { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    39703607$as_echo "$do64bitVIS" >&6; }
    39713608
     
    39793616
    39803617
    3981     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     3618    { $as_echo "$as_me:$LINENO: checking system version" >&5
    39823619$as_echo_n "checking system version... " >&6; }
    3983 if ${tcl_cv_sys_version+:} false; then :
     3620if test "${tcl_cv_sys_version+set}" = set; then
    39843621  $as_echo_n "(cached) " >&6
    39853622else
     
    39903627            tcl_cv_sys_version=`uname -s`-`uname -r`
    39913628            if test "$?" -ne 0 ; then
    3992                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     3629                { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    39933630$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    39943631                tcl_cv_sys_version=unknown
     
    40073644
    40083645fi
    4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     3646{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    40103647$as_echo "$tcl_cv_sys_version" >&6; }
    40113648    system=$tcl_cv_sys_version
     
    40153652    # Linux can use either -ldl or -ldld for dynamic loading.
    40163653
    4017     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     3654    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    40183655$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4019 if ${ac_cv_lib_dl_dlopen+:} false; then :
     3656if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    40203657  $as_echo_n "(cached) " >&6
    40213658else
    40223659  ac_check_lib_save_LIBS=$LIBS
    40233660LIBS="-ldl  $LIBS"
    4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3661cat >conftest.$ac_ext <<_ACEOF
     3662/* confdefs.h.  */
     3663_ACEOF
     3664cat confdefs.h >>conftest.$ac_ext
     3665cat >>conftest.$ac_ext <<_ACEOF
    40253666/* end confdefs.h.  */
    40263667
     
    40403681}
    40413682_ACEOF
    4042 if ac_fn_c_try_link "$LINENO"; then :
     3683rm -f conftest.$ac_objext conftest$ac_exeext
     3684if { (ac_try="$ac_link"
     3685case "(($ac_try" in
     3686  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3687  *) ac_try_echo=$ac_try;;
     3688esac
     3689eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3690$as_echo "$ac_try_echo") >&5
     3691  (eval "$ac_link") 2>conftest.er1
     3692  ac_status=$?
     3693  grep -v '^ *+' conftest.er1 >conftest.err
     3694  rm -f conftest.er1
     3695  cat conftest.err >&5
     3696  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3697  (exit $ac_status); } && {
     3698         test -z "$ac_c_werror_flag" ||
     3699         test ! -s conftest.err
     3700       } && test -s conftest$ac_exeext && {
     3701         test "$cross_compiling" = yes ||
     3702         $as_test_x conftest$ac_exeext
     3703       }; then
    40433704  ac_cv_lib_dl_dlopen=yes
    40443705else
    4045   ac_cv_lib_dl_dlopen=no
    4046 fi
    4047 rm -f core conftest.err conftest.$ac_objext \
    4048     conftest$ac_exeext conftest.$ac_ext
     3706  $as_echo "$as_me: failed program was:" >&5
     3707sed 's/^/| /' conftest.$ac_ext >&5
     3708
     3709        ac_cv_lib_dl_dlopen=no
     3710fi
     3711
     3712rm -rf conftest.dSYM
     3713rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     3714      conftest$ac_exeext conftest.$ac_ext
    40493715LIBS=$ac_check_lib_save_LIBS
    40503716fi
    4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     3717{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    40523718$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4053 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     3719if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    40543720  have_dl=yes
    40553721else
     
    40833749    # Extract the first word of "ar", so it can be a program name with args.
    40843750set dummy ar; ac_word=$2
    4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3751{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    40863752$as_echo_n "checking for $ac_word... " >&6; }
    4087 if ${ac_cv_prog_AR+:} false; then :
     3753if test "${ac_cv_prog_AR+set}" = set; then
    40883754  $as_echo_n "(cached) " >&6
    40893755else
     
    40963762  IFS=$as_save_IFS
    40973763  test -z "$as_dir" && as_dir=.
    4098     for ac_exec_ext in '' $ac_executable_extensions; do
     3764  for ac_exec_ext in '' $ac_executable_extensions; do
    40993765  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41003766    ac_cv_prog_AR="ar"
    4101     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3767    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41023768    break 2
    41033769  fi
    41043770done
    4105   done
     3771done
    41063772IFS=$as_save_IFS
    41073773
     
    41103776AR=$ac_cv_prog_AR
    41113777if test -n "$AR"; then
    4112   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     3778  { $as_echo "$as_me:$LINENO: result: $AR" >&5
    41133779$as_echo "$AR" >&6; }
    41143780else
    4115   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3781  { $as_echo "$as_me:$LINENO: result: no" >&5
    41163782$as_echo "no" >&6; }
    41173783fi
     
    41193785
    41203786    if test "${AR}" = "" ; then
    4121         as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
     3787        { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     3788$as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     3789   { (exit 1); exit 1; }; }
    41223790    fi
    41233791    STLIB_LD='${AR} cr'
     
    41373805                        ;;
    41383806                esac
    4139                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     3807                { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    41403808$as_echo "Using $CC for compiling with threads" >&6; }
    41413809            fi
     
    41533821            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    41543822                if test "$GCC" = "yes" ; then
    4155                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     3823                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    41563824$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    41573825                else
     
    42083876            # known GMT value.
    42093877
    4210             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     3878            { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    42113879$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4212 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
     3880if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    42133881  $as_echo_n "(cached) " >&6
    42143882else
    42153883  ac_check_lib_save_LIBS=$LIBS
    42163884LIBS="-lbsd  $LIBS"
    4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3885cat >conftest.$ac_ext <<_ACEOF
     3886/* confdefs.h.  */
     3887_ACEOF
     3888cat confdefs.h >>conftest.$ac_ext
     3889cat >>conftest.$ac_ext <<_ACEOF
    42183890/* end confdefs.h.  */
    42193891
     
    42333905}
    42343906_ACEOF
    4235 if ac_fn_c_try_link "$LINENO"; then :
     3907rm -f conftest.$ac_objext conftest$ac_exeext
     3908if { (ac_try="$ac_link"
     3909case "(($ac_try" in
     3910  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3911  *) ac_try_echo=$ac_try;;
     3912esac
     3913eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3914$as_echo "$ac_try_echo") >&5
     3915  (eval "$ac_link") 2>conftest.er1
     3916  ac_status=$?
     3917  grep -v '^ *+' conftest.er1 >conftest.err
     3918  rm -f conftest.er1
     3919  cat conftest.err >&5
     3920  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3921  (exit $ac_status); } && {
     3922         test -z "$ac_c_werror_flag" ||
     3923         test ! -s conftest.err
     3924       } && test -s conftest$ac_exeext && {
     3925         test "$cross_compiling" = yes ||
     3926         $as_test_x conftest$ac_exeext
     3927       }; then
    42363928  ac_cv_lib_bsd_gettimeofday=yes
    42373929else
    4238   ac_cv_lib_bsd_gettimeofday=no
    4239 fi
    4240 rm -f core conftest.err conftest.$ac_objext \
    4241     conftest$ac_exeext conftest.$ac_ext
     3930  $as_echo "$as_me: failed program was:" >&5
     3931sed 's/^/| /' conftest.$ac_ext >&5
     3932
     3933        ac_cv_lib_bsd_gettimeofday=no
     3934fi
     3935
     3936rm -rf conftest.dSYM
     3937rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     3938      conftest$ac_exeext conftest.$ac_ext
    42423939LIBS=$ac_check_lib_save_LIBS
    42433940fi
    4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     3941{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    42453942$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4246 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
     3943if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    42473944  libbsd=yes
    42483945else
     
    42523949            if test $libbsd = yes; then
    42533950                MATH_LIBS="$MATH_LIBS -lbsd"
    4254                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
     3951                cat >>confdefs.h <<\_ACEOF
     3952#define USE_DELTA_FOR_TZ 1
     3953_ACEOF
    42553954
    42563955            fi
     
    42693968            # is always linked to, for compatibility.
    42703969            #-----------------------------------------------------------
    4271             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     3970            { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    42723971$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4273 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
     3972if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    42743973  $as_echo_n "(cached) " >&6
    42753974else
    42763975  ac_check_lib_save_LIBS=$LIBS
    42773976LIBS="-lbind  $LIBS"
    4278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3977cat >conftest.$ac_ext <<_ACEOF
     3978/* confdefs.h.  */
     3979_ACEOF
     3980cat confdefs.h >>conftest.$ac_ext
     3981cat >>conftest.$ac_ext <<_ACEOF
    42793982/* end confdefs.h.  */
    42803983
     
    42943997}
    42953998_ACEOF
    4296 if ac_fn_c_try_link "$LINENO"; then :
     3999rm -f conftest.$ac_objext conftest$ac_exeext
     4000if { (ac_try="$ac_link"
     4001case "(($ac_try" in
     4002  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4003  *) ac_try_echo=$ac_try;;
     4004esac
     4005eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4006$as_echo "$ac_try_echo") >&5
     4007  (eval "$ac_link") 2>conftest.er1
     4008  ac_status=$?
     4009  grep -v '^ *+' conftest.er1 >conftest.err
     4010  rm -f conftest.er1
     4011  cat conftest.err >&5
     4012  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4013  (exit $ac_status); } && {
     4014         test -z "$ac_c_werror_flag" ||
     4015         test ! -s conftest.err
     4016       } && test -s conftest$ac_exeext && {
     4017         test "$cross_compiling" = yes ||
     4018         $as_test_x conftest$ac_exeext
     4019       }; then
    42974020  ac_cv_lib_bind_inet_ntoa=yes
    42984021else
    4299   ac_cv_lib_bind_inet_ntoa=no
    4300 fi
    4301 rm -f core conftest.err conftest.$ac_objext \
    4302     conftest$ac_exeext conftest.$ac_ext
     4022  $as_echo "$as_me: failed program was:" >&5
     4023sed 's/^/| /' conftest.$ac_ext >&5
     4024
     4025        ac_cv_lib_bind_inet_ntoa=no
     4026fi
     4027
     4028rm -rf conftest.dSYM
     4029rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4030      conftest$ac_exeext conftest.$ac_ext
    43034031LIBS=$ac_check_lib_save_LIBS
    43044032fi
    4305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4033{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    43064034$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4307 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
     4035if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    43084036  LIBS="$LIBS -lbind -lsocket"
    43094037fi
     
    43434071        HP-UX-*.11.*)
    43444072            # Use updated header definitions where possible
    4345             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
     4073            cat >>confdefs.h <<\_ACEOF
     4074#define _XOPEN_SOURCE 1
     4075_ACEOF
    43464076          # Use the XOPEN network library
    4347             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     4077            cat >>confdefs.h <<\_ACEOF
     4078#define _XOPEN_SOURCE_EXTENDED 1
     4079_ACEOF
    43484080 # Use the XOPEN network library
    43494081            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    43544086                SHLIB_SUFFIX=".sl"
    43554087            fi
    4356             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4088            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    43574089$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4358 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4090if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    43594091  $as_echo_n "(cached) " >&6
    43604092else
    43614093  ac_check_lib_save_LIBS=$LIBS
    43624094LIBS="-ldld  $LIBS"
    4363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4095cat >conftest.$ac_ext <<_ACEOF
     4096/* confdefs.h.  */
     4097_ACEOF
     4098cat confdefs.h >>conftest.$ac_ext
     4099cat >>conftest.$ac_ext <<_ACEOF
    43644100/* end confdefs.h.  */
    43654101
     
    43794115}
    43804116_ACEOF
    4381 if ac_fn_c_try_link "$LINENO"; then :
     4117rm -f conftest.$ac_objext conftest$ac_exeext
     4118if { (ac_try="$ac_link"
     4119case "(($ac_try" in
     4120  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4121  *) ac_try_echo=$ac_try;;
     4122esac
     4123eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4124$as_echo "$ac_try_echo") >&5
     4125  (eval "$ac_link") 2>conftest.er1
     4126  ac_status=$?
     4127  grep -v '^ *+' conftest.er1 >conftest.err
     4128  rm -f conftest.er1
     4129  cat conftest.err >&5
     4130  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4131  (exit $ac_status); } && {
     4132         test -z "$ac_c_werror_flag" ||
     4133         test ! -s conftest.err
     4134       } && test -s conftest$ac_exeext && {
     4135         test "$cross_compiling" = yes ||
     4136         $as_test_x conftest$ac_exeext
     4137       }; then
    43824138  ac_cv_lib_dld_shl_load=yes
    43834139else
    4384   ac_cv_lib_dld_shl_load=no
    4385 fi
    4386 rm -f core conftest.err conftest.$ac_objext \
    4387     conftest$ac_exeext conftest.$ac_ext
     4140  $as_echo "$as_me: failed program was:" >&5
     4141sed 's/^/| /' conftest.$ac_ext >&5
     4142
     4143        ac_cv_lib_dld_shl_load=no
     4144fi
     4145
     4146rm -rf conftest.dSYM
     4147rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4148      conftest$ac_exeext conftest.$ac_ext
    43884149LIBS=$ac_check_lib_save_LIBS
    43894150fi
    4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4151{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    43914152$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4392 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4153if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    43934154  tcl_ok=yes
    43944155else
     
    44304191                            ;;
    44314192                        *)
    4432                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4193                            { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    44334194$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    44344195                            ;;
     
    44434204        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    44444205            SHLIB_SUFFIX=".sl"
    4445             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4206            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    44464207$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4447 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4208if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    44484209  $as_echo_n "(cached) " >&6
    44494210else
    44504211  ac_check_lib_save_LIBS=$LIBS
    44514212LIBS="-ldld  $LIBS"
    4452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4213cat >conftest.$ac_ext <<_ACEOF
     4214/* confdefs.h.  */
     4215_ACEOF
     4216cat confdefs.h >>conftest.$ac_ext
     4217cat >>conftest.$ac_ext <<_ACEOF
    44534218/* end confdefs.h.  */
    44544219
     
    44684233}
    44694234_ACEOF
    4470 if ac_fn_c_try_link "$LINENO"; then :
     4235rm -f conftest.$ac_objext conftest$ac_exeext
     4236if { (ac_try="$ac_link"
     4237case "(($ac_try" in
     4238  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4239  *) ac_try_echo=$ac_try;;
     4240esac
     4241eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4242$as_echo "$ac_try_echo") >&5
     4243  (eval "$ac_link") 2>conftest.er1
     4244  ac_status=$?
     4245  grep -v '^ *+' conftest.er1 >conftest.err
     4246  rm -f conftest.er1
     4247  cat conftest.err >&5
     4248  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4249  (exit $ac_status); } && {
     4250         test -z "$ac_c_werror_flag" ||
     4251         test ! -s conftest.err
     4252       } && test -s conftest$ac_exeext && {
     4253         test "$cross_compiling" = yes ||
     4254         $as_test_x conftest$ac_exeext
     4255       }; then
    44714256  ac_cv_lib_dld_shl_load=yes
    44724257else
    4473   ac_cv_lib_dld_shl_load=no
    4474 fi
    4475 rm -f core conftest.err conftest.$ac_objext \
    4476     conftest$ac_exeext conftest.$ac_ext
     4258  $as_echo "$as_me: failed program was:" >&5
     4259sed 's/^/| /' conftest.$ac_ext >&5
     4260
     4261        ac_cv_lib_dld_shl_load=no
     4262fi
     4263
     4264rm -rf conftest.dSYM
     4265rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4266      conftest$ac_exeext conftest.$ac_ext
    44774267LIBS=$ac_check_lib_save_LIBS
    44784268fi
    4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4269{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    44804270$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4481 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4271if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    44824272  tcl_ok=yes
    44834273else
     
    45584348            if test "$do64bit" = "yes" ; then
    45594349                if test "$GCC" = "yes" ; then
    4560                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
     4350                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    45614351$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    45624352                else
     
    45874377                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    45884378            else
    4589                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4590 if test "x$ac_cv_header_dld_h" = xyes; then :
     4379                if test "${ac_cv_header_dld_h+set}" = set; then
     4380  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4381$as_echo_n "checking for dld.h... " >&6; }
     4382if test "${ac_cv_header_dld_h+set}" = set; then
     4383  $as_echo_n "(cached) " >&6
     4384fi
     4385{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4386$as_echo "$ac_cv_header_dld_h" >&6; }
     4387else
     4388  # Is the header compilable?
     4389{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4390$as_echo_n "checking dld.h usability... " >&6; }
     4391cat >conftest.$ac_ext <<_ACEOF
     4392/* confdefs.h.  */
     4393_ACEOF
     4394cat confdefs.h >>conftest.$ac_ext
     4395cat >>conftest.$ac_ext <<_ACEOF
     4396/* end confdefs.h.  */
     4397$ac_includes_default
     4398#include <dld.h>
     4399_ACEOF
     4400rm -f conftest.$ac_objext
     4401if { (ac_try="$ac_compile"
     4402case "(($ac_try" in
     4403  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4404  *) ac_try_echo=$ac_try;;
     4405esac
     4406eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4407$as_echo "$ac_try_echo") >&5
     4408  (eval "$ac_compile") 2>conftest.er1
     4409  ac_status=$?
     4410  grep -v '^ *+' conftest.er1 >conftest.err
     4411  rm -f conftest.er1
     4412  cat conftest.err >&5
     4413  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4414  (exit $ac_status); } && {
     4415         test -z "$ac_c_werror_flag" ||
     4416         test ! -s conftest.err
     4417       } && test -s conftest.$ac_objext; then
     4418  ac_header_compiler=yes
     4419else
     4420  $as_echo "$as_me: failed program was:" >&5
     4421sed 's/^/| /' conftest.$ac_ext >&5
     4422
     4423        ac_header_compiler=no
     4424fi
     4425
     4426rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4427{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4428$as_echo "$ac_header_compiler" >&6; }
     4429
     4430# Is the header present?
     4431{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     4432$as_echo_n "checking dld.h presence... " >&6; }
     4433cat >conftest.$ac_ext <<_ACEOF
     4434/* confdefs.h.  */
     4435_ACEOF
     4436cat confdefs.h >>conftest.$ac_ext
     4437cat >>conftest.$ac_ext <<_ACEOF
     4438/* end confdefs.h.  */
     4439#include <dld.h>
     4440_ACEOF
     4441if { (ac_try="$ac_cpp conftest.$ac_ext"
     4442case "(($ac_try" in
     4443  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4444  *) ac_try_echo=$ac_try;;
     4445esac
     4446eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4447$as_echo "$ac_try_echo") >&5
     4448  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4449  ac_status=$?
     4450  grep -v '^ *+' conftest.er1 >conftest.err
     4451  rm -f conftest.er1
     4452  cat conftest.err >&5
     4453  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4454  (exit $ac_status); } >/dev/null && {
     4455         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4456         test ! -s conftest.err
     4457       }; then
     4458  ac_header_preproc=yes
     4459else
     4460  $as_echo "$as_me: failed program was:" >&5
     4461sed 's/^/| /' conftest.$ac_ext >&5
     4462
     4463  ac_header_preproc=no
     4464fi
     4465
     4466rm -f conftest.err conftest.$ac_ext
     4467{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4468$as_echo "$ac_header_preproc" >&6; }
     4469
     4470# So?  What about this header?
     4471case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4472  yes:no: )
     4473    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4474$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4475    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4476$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4477    ac_header_preproc=yes
     4478    ;;
     4479  no:yes:* )
     4480    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4481$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4482    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4483$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4484    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4485$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4486    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4487$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4488    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4489$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4490    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4491$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4492    ( cat <<\_ASBOX
     4493## ----------------------------------- ##
     4494## Report this to rappture@nanohub.org ##
     4495## ----------------------------------- ##
     4496_ASBOX
     4497     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4498    ;;
     4499esac
     4500{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4501$as_echo_n "checking for dld.h... " >&6; }
     4502if test "${ac_cv_header_dld_h+set}" = set; then
     4503  $as_echo_n "(cached) " >&6
     4504else
     4505  ac_cv_header_dld_h=$ac_header_preproc
     4506fi
     4507{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4508$as_echo "$ac_cv_header_dld_h" >&6; }
     4509
     4510fi
     4511if test "x$ac_cv_header_dld_h" = x""yes; then
    45914512
    45924513                    SHLIB_LD="ld -shared"
     
    46034524            fi
    46044525            if test $do64bit = yes; then
    4605                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
     4526                { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    46064527$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4607 if ${tcl_cv_cc_m64+:} false; then :
     4528if test "${tcl_cv_cc_m64+set}" = set; then
    46084529  $as_echo_n "(cached) " >&6
    46094530else
     
    46114532                    hold_cflags=$CFLAGS
    46124533                    CFLAGS="$CFLAGS -m64"
    4613                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4534                    cat >conftest.$ac_ext <<_ACEOF
     4535/* confdefs.h.  */
     4536_ACEOF
     4537cat confdefs.h >>conftest.$ac_ext
     4538cat >>conftest.$ac_ext <<_ACEOF
    46144539/* end confdefs.h.  */
    46154540
     
    46224547}
    46234548_ACEOF
    4624 if ac_fn_c_try_link "$LINENO"; then :
     4549rm -f conftest.$ac_objext conftest$ac_exeext
     4550if { (ac_try="$ac_link"
     4551case "(($ac_try" in
     4552  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4553  *) ac_try_echo=$ac_try;;
     4554esac
     4555eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4556$as_echo "$ac_try_echo") >&5
     4557  (eval "$ac_link") 2>conftest.er1
     4558  ac_status=$?
     4559  grep -v '^ *+' conftest.er1 >conftest.err
     4560  rm -f conftest.er1
     4561  cat conftest.err >&5
     4562  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4563  (exit $ac_status); } && {
     4564         test -z "$ac_c_werror_flag" ||
     4565         test ! -s conftest.err
     4566       } && test -s conftest$ac_exeext && {
     4567         test "$cross_compiling" = yes ||
     4568         $as_test_x conftest$ac_exeext
     4569       }; then
    46254570  tcl_cv_cc_m64=yes
    46264571else
    4627   tcl_cv_cc_m64=no
    4628 fi
    4629 rm -f core conftest.err conftest.$ac_objext \
    4630     conftest$ac_exeext conftest.$ac_ext
     4572  $as_echo "$as_me: failed program was:" >&5
     4573sed 's/^/| /' conftest.$ac_ext >&5
     4574
     4575        tcl_cv_cc_m64=no
     4576fi
     4577
     4578rm -rf conftest.dSYM
     4579rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4580      conftest$ac_exeext conftest.$ac_ext
    46314581                    CFLAGS=$hold_cflags
    46324582fi
    4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
     4583{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    46344584$as_echo "$tcl_cv_cc_m64" >&6; }
    46354585                if test $tcl_cv_cc_m64 = yes; then
     
    46514601
    46524602            # XIM peeking works under XFree86.
    4653             $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
     4603            cat >>confdefs.h <<\_ACEOF
     4604#define PEEK_XCLOSEIM 1
     4605_ACEOF
    46544606
    46554607
     
    46684620                LD_SEARCH_FLAGS=""
    46694621            else
    4670                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4671 if test "x$ac_cv_header_dld_h" = xyes; then :
     4622                if test "${ac_cv_header_dld_h+set}" = set; then
     4623  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4624$as_echo_n "checking for dld.h... " >&6; }
     4625if test "${ac_cv_header_dld_h+set}" = set; then
     4626  $as_echo_n "(cached) " >&6
     4627fi
     4628{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4629$as_echo "$ac_cv_header_dld_h" >&6; }
     4630else
     4631  # Is the header compilable?
     4632{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4633$as_echo_n "checking dld.h usability... " >&6; }
     4634cat >conftest.$ac_ext <<_ACEOF
     4635/* confdefs.h.  */
     4636_ACEOF
     4637cat confdefs.h >>conftest.$ac_ext
     4638cat >>conftest.$ac_ext <<_ACEOF
     4639/* end confdefs.h.  */
     4640$ac_includes_default
     4641#include <dld.h>
     4642_ACEOF
     4643rm -f conftest.$ac_objext
     4644if { (ac_try="$ac_compile"
     4645case "(($ac_try" in
     4646  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4647  *) ac_try_echo=$ac_try;;
     4648esac
     4649eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4650$as_echo "$ac_try_echo") >&5
     4651  (eval "$ac_compile") 2>conftest.er1
     4652  ac_status=$?
     4653  grep -v '^ *+' conftest.er1 >conftest.err
     4654  rm -f conftest.er1
     4655  cat conftest.err >&5
     4656  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4657  (exit $ac_status); } && {
     4658         test -z "$ac_c_werror_flag" ||
     4659         test ! -s conftest.err
     4660       } && test -s conftest.$ac_objext; then
     4661  ac_header_compiler=yes
     4662else
     4663  $as_echo "$as_me: failed program was:" >&5
     4664sed 's/^/| /' conftest.$ac_ext >&5
     4665
     4666        ac_header_compiler=no
     4667fi
     4668
     4669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4670{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4671$as_echo "$ac_header_compiler" >&6; }
     4672
     4673# Is the header present?
     4674{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     4675$as_echo_n "checking dld.h presence... " >&6; }
     4676cat >conftest.$ac_ext <<_ACEOF
     4677/* confdefs.h.  */
     4678_ACEOF
     4679cat confdefs.h >>conftest.$ac_ext
     4680cat >>conftest.$ac_ext <<_ACEOF
     4681/* end confdefs.h.  */
     4682#include <dld.h>
     4683_ACEOF
     4684if { (ac_try="$ac_cpp conftest.$ac_ext"
     4685case "(($ac_try" in
     4686  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4687  *) ac_try_echo=$ac_try;;
     4688esac
     4689eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4690$as_echo "$ac_try_echo") >&5
     4691  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4692  ac_status=$?
     4693  grep -v '^ *+' conftest.er1 >conftest.err
     4694  rm -f conftest.er1
     4695  cat conftest.err >&5
     4696  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4697  (exit $ac_status); } >/dev/null && {
     4698         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4699         test ! -s conftest.err
     4700       }; then
     4701  ac_header_preproc=yes
     4702else
     4703  $as_echo "$as_me: failed program was:" >&5
     4704sed 's/^/| /' conftest.$ac_ext >&5
     4705
     4706  ac_header_preproc=no
     4707fi
     4708
     4709rm -f conftest.err conftest.$ac_ext
     4710{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4711$as_echo "$ac_header_preproc" >&6; }
     4712
     4713# So?  What about this header?
     4714case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4715  yes:no: )
     4716    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4717$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4718    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4719$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4720    ac_header_preproc=yes
     4721    ;;
     4722  no:yes:* )
     4723    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4724$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4725    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4726$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4727    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4728$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4729    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4730$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4731    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4732$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4733    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4734$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4735    ( cat <<\_ASBOX
     4736## ----------------------------------- ##
     4737## Report this to rappture@nanohub.org ##
     4738## ----------------------------------- ##
     4739_ASBOX
     4740     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4741    ;;
     4742esac
     4743{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4744$as_echo_n "checking for dld.h... " >&6; }
     4745if test "${ac_cv_header_dld_h+set}" = set; then
     4746  $as_echo_n "(cached) " >&6
     4747else
     4748  ac_cv_header_dld_h=$ac_header_preproc
     4749fi
     4750{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4751$as_echo "$ac_cv_header_dld_h" >&6; }
     4752
     4753fi
     4754if test "x$ac_cv_header_dld_h" = x""yes; then
    46724755
    46734756                    SHLIB_LD="ld -shared"
     
    47194802        NetBSD-*|FreeBSD-[1-2].*)
    47204803            # Not available on all versions:  check for include file.
    4721             ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
    4722 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     4804            if test "${ac_cv_header_dlfcn_h+set}" = set; then
     4805  { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     4806$as_echo_n "checking for dlfcn.h... " >&6; }
     4807if test "${ac_cv_header_dlfcn_h+set}" = set; then
     4808  $as_echo_n "(cached) " >&6
     4809fi
     4810{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     4811$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     4812else
     4813  # Is the header compilable?
     4814{ $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
     4815$as_echo_n "checking dlfcn.h usability... " >&6; }
     4816cat >conftest.$ac_ext <<_ACEOF
     4817/* confdefs.h.  */
     4818_ACEOF
     4819cat confdefs.h >>conftest.$ac_ext
     4820cat >>conftest.$ac_ext <<_ACEOF
     4821/* end confdefs.h.  */
     4822$ac_includes_default
     4823#include <dlfcn.h>
     4824_ACEOF
     4825rm -f conftest.$ac_objext
     4826if { (ac_try="$ac_compile"
     4827case "(($ac_try" in
     4828  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4829  *) ac_try_echo=$ac_try;;
     4830esac
     4831eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4832$as_echo "$ac_try_echo") >&5
     4833  (eval "$ac_compile") 2>conftest.er1
     4834  ac_status=$?
     4835  grep -v '^ *+' conftest.er1 >conftest.err
     4836  rm -f conftest.er1
     4837  cat conftest.err >&5
     4838  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4839  (exit $ac_status); } && {
     4840         test -z "$ac_c_werror_flag" ||
     4841         test ! -s conftest.err
     4842       } && test -s conftest.$ac_objext; then
     4843  ac_header_compiler=yes
     4844else
     4845  $as_echo "$as_me: failed program was:" >&5
     4846sed 's/^/| /' conftest.$ac_ext >&5
     4847
     4848        ac_header_compiler=no
     4849fi
     4850
     4851rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4852{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4853$as_echo "$ac_header_compiler" >&6; }
     4854
     4855# Is the header present?
     4856{ $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
     4857$as_echo_n "checking dlfcn.h presence... " >&6; }
     4858cat >conftest.$ac_ext <<_ACEOF
     4859/* confdefs.h.  */
     4860_ACEOF
     4861cat confdefs.h >>conftest.$ac_ext
     4862cat >>conftest.$ac_ext <<_ACEOF
     4863/* end confdefs.h.  */
     4864#include <dlfcn.h>
     4865_ACEOF
     4866if { (ac_try="$ac_cpp conftest.$ac_ext"
     4867case "(($ac_try" in
     4868  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4869  *) ac_try_echo=$ac_try;;
     4870esac
     4871eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4872$as_echo "$ac_try_echo") >&5
     4873  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4874  ac_status=$?
     4875  grep -v '^ *+' conftest.er1 >conftest.err
     4876  rm -f conftest.er1
     4877  cat conftest.err >&5
     4878  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4879  (exit $ac_status); } >/dev/null && {
     4880         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4881         test ! -s conftest.err
     4882       }; then
     4883  ac_header_preproc=yes
     4884else
     4885  $as_echo "$as_me: failed program was:" >&5
     4886sed 's/^/| /' conftest.$ac_ext >&5
     4887
     4888  ac_header_preproc=no
     4889fi
     4890
     4891rm -f conftest.err conftest.$ac_ext
     4892{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4893$as_echo "$ac_header_preproc" >&6; }
     4894
     4895# So?  What about this header?
     4896case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4897  yes:no: )
     4898    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4899$as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4900    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
     4901$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
     4902    ac_header_preproc=yes
     4903    ;;
     4904  no:yes:* )
     4905    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
     4906$as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
     4907    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
     4908$as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
     4909    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
     4910$as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
     4911    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
     4912$as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4913    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
     4914$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
     4915    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
     4916$as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
     4917    ( cat <<\_ASBOX
     4918## ----------------------------------- ##
     4919## Report this to rappture@nanohub.org ##
     4920## ----------------------------------- ##
     4921_ASBOX
     4922     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4923    ;;
     4924esac
     4925{ $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     4926$as_echo_n "checking for dlfcn.h... " >&6; }
     4927if test "${ac_cv_header_dlfcn_h+set}" = set; then
     4928  $as_echo_n "(cached) " >&6
     4929else
     4930  ac_cv_header_dlfcn_h=$ac_header_preproc
     4931fi
     4932{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     4933$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     4934
     4935fi
     4936if test "x$ac_cv_header_dlfcn_h" = x""yes; then
    47234937
    47244938                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    47314945                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    47324946                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4733                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     4947                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    47344948$as_echo_n "checking for ELF... " >&6; }
    4735 if ${tcl_cv_ld_elf+:} false; then :
     4949if test "${tcl_cv_ld_elf+set}" = set; then
    47364950  $as_echo_n "(cached) " >&6
    47374951else
    47384952
    4739                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4953                    cat >conftest.$ac_ext <<_ACEOF
     4954/* confdefs.h.  */
     4955_ACEOF
     4956cat confdefs.h >>conftest.$ac_ext
     4957cat >>conftest.$ac_ext <<_ACEOF
    47404958/* end confdefs.h.  */
    47414959
     
    47464964_ACEOF
    47474965if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4748   $EGREP "yes" >/dev/null 2>&1; then :
     4966  $EGREP "yes" >/dev/null 2>&1; then
    47494967  tcl_cv_ld_elf=yes
    47504968else
     
    47544972
    47554973fi
    4756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     4974{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    47574975$as_echo "$tcl_cv_ld_elf" >&6; }
    47584976                if test $tcl_cv_ld_elf = yes; then
     
    48135031                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    48145032                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4815                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     5033                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    48165034$as_echo_n "checking for ELF... " >&6; }
    4817 if ${tcl_cv_ld_elf+:} false; then :
     5035if test "${tcl_cv_ld_elf+set}" = set; then
    48185036  $as_echo_n "(cached) " >&6
    48195037else
    48205038
    4821                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5039                    cat >conftest.$ac_ext <<_ACEOF
     5040/* confdefs.h.  */
     5041_ACEOF
     5042cat confdefs.h >>conftest.$ac_ext
     5043cat >>conftest.$ac_ext <<_ACEOF
    48225044/* end confdefs.h.  */
    48235045
     
    48285050_ACEOF
    48295051if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4830   $EGREP "yes" >/dev/null 2>&1; then :
     5052  $EGREP "yes" >/dev/null 2>&1; then
    48315053  tcl_cv_ld_elf=yes
    48325054else
     
    48365058
    48375059fi
    4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     5060{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    48395061$as_echo "$tcl_cv_ld_elf" >&6; }
    48405062                if test $tcl_cv_ld_elf = yes; then
     
    48915113                case `arch` in
    48925114                    ppc)
    4893                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
     5115                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    48945116$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    4895 if ${tcl_cv_cc_arch_ppc64+:} false; then :
     5117if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    48965118  $as_echo_n "(cached) " >&6
    48975119else
     
    48995121                            hold_cflags=$CFLAGS
    49005122                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    4901                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5123                            cat >conftest.$ac_ext <<_ACEOF
     5124/* confdefs.h.  */
     5125_ACEOF
     5126cat confdefs.h >>conftest.$ac_ext
     5127cat >>conftest.$ac_ext <<_ACEOF
    49025128/* end confdefs.h.  */
    49035129
     
    49105136}
    49115137_ACEOF
    4912 if ac_fn_c_try_link "$LINENO"; then :
     5138rm -f conftest.$ac_objext conftest$ac_exeext
     5139if { (ac_try="$ac_link"
     5140case "(($ac_try" in
     5141  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5142  *) ac_try_echo=$ac_try;;
     5143esac
     5144eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5145$as_echo "$ac_try_echo") >&5
     5146  (eval "$ac_link") 2>conftest.er1
     5147  ac_status=$?
     5148  grep -v '^ *+' conftest.er1 >conftest.err
     5149  rm -f conftest.er1
     5150  cat conftest.err >&5
     5151  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5152  (exit $ac_status); } && {
     5153         test -z "$ac_c_werror_flag" ||
     5154         test ! -s conftest.err
     5155       } && test -s conftest$ac_exeext && {
     5156         test "$cross_compiling" = yes ||
     5157         $as_test_x conftest$ac_exeext
     5158       }; then
    49135159  tcl_cv_cc_arch_ppc64=yes
    49145160else
    4915   tcl_cv_cc_arch_ppc64=no
    4916 fi
    4917 rm -f core conftest.err conftest.$ac_objext \
    4918     conftest$ac_exeext conftest.$ac_ext
     5161  $as_echo "$as_me: failed program was:" >&5
     5162sed 's/^/| /' conftest.$ac_ext >&5
     5163
     5164        tcl_cv_cc_arch_ppc64=no
     5165fi
     5166
     5167rm -rf conftest.dSYM
     5168rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5169      conftest$ac_exeext conftest.$ac_ext
    49195170                            CFLAGS=$hold_cflags
    49205171fi
    4921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
     5172{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    49225173$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    49235174                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    49265177                        fi;;
    49275178                    i386)
    4928                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
     5179                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    49295180$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    4930 if ${tcl_cv_cc_arch_x86_64+:} false; then :
     5181if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    49315182  $as_echo_n "(cached) " >&6
    49325183else
     
    49345185                            hold_cflags=$CFLAGS
    49355186                            CFLAGS="$CFLAGS -arch x86_64"
    4936                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5187                            cat >conftest.$ac_ext <<_ACEOF
     5188/* confdefs.h.  */
     5189_ACEOF
     5190cat confdefs.h >>conftest.$ac_ext
     5191cat >>conftest.$ac_ext <<_ACEOF
    49375192/* end confdefs.h.  */
    49385193
     
    49455200}
    49465201_ACEOF
    4947 if ac_fn_c_try_link "$LINENO"; then :
     5202rm -f conftest.$ac_objext conftest$ac_exeext
     5203if { (ac_try="$ac_link"
     5204case "(($ac_try" in
     5205  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5206  *) ac_try_echo=$ac_try;;
     5207esac
     5208eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5209$as_echo "$ac_try_echo") >&5
     5210  (eval "$ac_link") 2>conftest.er1
     5211  ac_status=$?
     5212  grep -v '^ *+' conftest.er1 >conftest.err
     5213  rm -f conftest.er1
     5214  cat conftest.err >&5
     5215  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5216  (exit $ac_status); } && {
     5217         test -z "$ac_c_werror_flag" ||
     5218         test ! -s conftest.err
     5219       } && test -s conftest$ac_exeext && {
     5220         test "$cross_compiling" = yes ||
     5221         $as_test_x conftest$ac_exeext
     5222       }; then
    49485223  tcl_cv_cc_arch_x86_64=yes
    49495224else
    4950   tcl_cv_cc_arch_x86_64=no
    4951 fi
    4952 rm -f core conftest.err conftest.$ac_objext \
    4953     conftest$ac_exeext conftest.$ac_ext
     5225  $as_echo "$as_me: failed program was:" >&5
     5226sed 's/^/| /' conftest.$ac_ext >&5
     5227
     5228        tcl_cv_cc_arch_x86_64=no
     5229fi
     5230
     5231rm -rf conftest.dSYM
     5232rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5233      conftest$ac_exeext conftest.$ac_ext
    49545234                            CFLAGS=$hold_cflags
    49555235fi
    4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
     5236{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    49575237$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    49585238                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    49615241                        fi;;
    49625242                    *)
    4963                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5243                        { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    49645244$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    49655245                esac
     
    49715251            fi
    49725252            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    4973             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
     5253            { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    49745254$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    4975 if ${tcl_cv_ld_single_module+:} false; then :
     5255if test "${tcl_cv_ld_single_module+set}" = set; then
    49765256  $as_echo_n "(cached) " >&6
    49775257else
     
    49795259                hold_ldflags=$LDFLAGS
    49805260                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    4981                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5261                cat >conftest.$ac_ext <<_ACEOF
     5262/* confdefs.h.  */
     5263_ACEOF
     5264cat confdefs.h >>conftest.$ac_ext
     5265cat >>conftest.$ac_ext <<_ACEOF
    49825266/* end confdefs.h.  */
    49835267
     
    49905274}
    49915275_ACEOF
    4992 if ac_fn_c_try_link "$LINENO"; then :
     5276rm -f conftest.$ac_objext conftest$ac_exeext
     5277if { (ac_try="$ac_link"
     5278case "(($ac_try" in
     5279  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5280  *) ac_try_echo=$ac_try;;
     5281esac
     5282eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5283$as_echo "$ac_try_echo") >&5
     5284  (eval "$ac_link") 2>conftest.er1
     5285  ac_status=$?
     5286  grep -v '^ *+' conftest.er1 >conftest.err
     5287  rm -f conftest.er1
     5288  cat conftest.err >&5
     5289  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5290  (exit $ac_status); } && {
     5291         test -z "$ac_c_werror_flag" ||
     5292         test ! -s conftest.err
     5293       } && test -s conftest$ac_exeext && {
     5294         test "$cross_compiling" = yes ||
     5295         $as_test_x conftest$ac_exeext
     5296       }; then
    49935297  tcl_cv_ld_single_module=yes
    49945298else
    4995   tcl_cv_ld_single_module=no
    4996 fi
    4997 rm -f core conftest.err conftest.$ac_objext \
    4998     conftest$ac_exeext conftest.$ac_ext
     5299  $as_echo "$as_me: failed program was:" >&5
     5300sed 's/^/| /' conftest.$ac_ext >&5
     5301
     5302        tcl_cv_ld_single_module=no
     5303fi
     5304
     5305rm -rf conftest.dSYM
     5306rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5307      conftest$ac_exeext conftest.$ac_ext
    49995308                LDFLAGS=$hold_ldflags
    50005309fi
    5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
     5310{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    50025311$as_echo "$tcl_cv_ld_single_module" >&6; }
    50035312            if test $tcl_cv_ld_single_module = yes; then
     
    50135322                LDFLAGS="$LDFLAGS -prebind"
    50145323            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5015             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
     5324            { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    50165325$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5017 if ${tcl_cv_ld_search_paths_first+:} false; then :
     5326if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    50185327  $as_echo_n "(cached) " >&6
    50195328else
     
    50215330                hold_ldflags=$LDFLAGS
    50225331                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5023                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5332                cat >conftest.$ac_ext <<_ACEOF
     5333/* confdefs.h.  */
     5334_ACEOF
     5335cat confdefs.h >>conftest.$ac_ext
     5336cat >>conftest.$ac_ext <<_ACEOF
    50245337/* end confdefs.h.  */
    50255338
     
    50325345}
    50335346_ACEOF
    5034 if ac_fn_c_try_link "$LINENO"; then :
     5347rm -f conftest.$ac_objext conftest$ac_exeext
     5348if { (ac_try="$ac_link"
     5349case "(($ac_try" in
     5350  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5351  *) ac_try_echo=$ac_try;;
     5352esac
     5353eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5354$as_echo "$ac_try_echo") >&5
     5355  (eval "$ac_link") 2>conftest.er1
     5356  ac_status=$?
     5357  grep -v '^ *+' conftest.er1 >conftest.err
     5358  rm -f conftest.er1
     5359  cat conftest.err >&5
     5360  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5361  (exit $ac_status); } && {
     5362         test -z "$ac_c_werror_flag" ||
     5363         test ! -s conftest.err
     5364       } && test -s conftest$ac_exeext && {
     5365         test "$cross_compiling" = yes ||
     5366         $as_test_x conftest$ac_exeext
     5367       }; then
    50355368  tcl_cv_ld_search_paths_first=yes
    50365369else
    5037   tcl_cv_ld_search_paths_first=no
    5038 fi
    5039 rm -f core conftest.err conftest.$ac_objext \
    5040     conftest$ac_exeext conftest.$ac_ext
     5370  $as_echo "$as_me: failed program was:" >&5
     5371sed 's/^/| /' conftest.$ac_ext >&5
     5372
     5373        tcl_cv_ld_search_paths_first=no
     5374fi
     5375
     5376rm -rf conftest.dSYM
     5377rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5378      conftest$ac_exeext conftest.$ac_ext
    50415379                LDFLAGS=$hold_ldflags
    50425380fi
    5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
     5381{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    50445382$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    50455383            if test $tcl_cv_ld_search_paths_first = yes; then
     
    50515389            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    50525390            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5053             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
     5391            { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    50545392$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    50555393            # Check whether --enable-corefoundation was given.
    5056 if test "${enable_corefoundation+set}" = set; then :
     5394if test "${enable_corefoundation+set}" = set; then
    50575395  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    50585396else
     
    50605398fi
    50615399
    5062             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
     5400            { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    50635401$as_echo "$tcl_corefoundation" >&6; }
    50645402            if test $tcl_corefoundation = yes; then
    5065                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
     5403                { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    50665404$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5067 if ${tcl_cv_lib_corefoundation+:} false; then :
     5405if test "${tcl_cv_lib_corefoundation+set}" = set; then
    50685406  $as_echo_n "(cached) " >&6
    50695407else
     
    50775415                    done; fi
    50785416                    LIBS="$LIBS -framework CoreFoundation"
    5079                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5417                    cat >conftest.$ac_ext <<_ACEOF
     5418/* confdefs.h.  */
     5419_ACEOF
     5420cat confdefs.h >>conftest.$ac_ext
     5421cat >>conftest.$ac_ext <<_ACEOF
    50805422/* end confdefs.h.  */
    50815423#include <CoreFoundation/CoreFoundation.h>
     
    50885430}
    50895431_ACEOF
    5090 if ac_fn_c_try_link "$LINENO"; then :
     5432rm -f conftest.$ac_objext conftest$ac_exeext
     5433if { (ac_try="$ac_link"
     5434case "(($ac_try" in
     5435  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5436  *) ac_try_echo=$ac_try;;
     5437esac
     5438eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5439$as_echo "$ac_try_echo") >&5
     5440  (eval "$ac_link") 2>conftest.er1
     5441  ac_status=$?
     5442  grep -v '^ *+' conftest.er1 >conftest.err
     5443  rm -f conftest.er1
     5444  cat conftest.err >&5
     5445  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5446  (exit $ac_status); } && {
     5447         test -z "$ac_c_werror_flag" ||
     5448         test ! -s conftest.err
     5449       } && test -s conftest$ac_exeext && {
     5450         test "$cross_compiling" = yes ||
     5451         $as_test_x conftest$ac_exeext
     5452       }; then
    50915453  tcl_cv_lib_corefoundation=yes
    50925454else
    5093   tcl_cv_lib_corefoundation=no
    5094 fi
    5095 rm -f core conftest.err conftest.$ac_objext \
    5096     conftest$ac_exeext conftest.$ac_ext
     5455  $as_echo "$as_me: failed program was:" >&5
     5456sed 's/^/| /' conftest.$ac_ext >&5
     5457
     5458        tcl_cv_lib_corefoundation=no
     5459fi
     5460
     5461rm -rf conftest.dSYM
     5462rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5463      conftest$ac_exeext conftest.$ac_ext
    50975464                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    50985465                        eval $v'="$hold_'$v'"'
    50995466                    done; fi; LIBS=$hold_libs
    51005467fi
    5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
     5468{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    51025469$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    51035470                if test $tcl_cv_lib_corefoundation = yes; then
    51045471                    LIBS="$LIBS -framework CoreFoundation"
    5105                     $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
     5472                    cat >>confdefs.h <<\_ACEOF
     5473#define HAVE_COREFOUNDATION 1
     5474_ACEOF
    51065475
    51075476                else
     
    51095478                fi
    51105479                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5111                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
     5480                    { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    51125481$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5113 if ${tcl_cv_lib_corefoundation_64+:} false; then :
     5482if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    51145483  $as_echo_n "(cached) " >&6
    51155484else
     
    51185487                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    51195488                        done
    5120                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5489                        cat >conftest.$ac_ext <<_ACEOF
     5490/* confdefs.h.  */
     5491_ACEOF
     5492cat confdefs.h >>conftest.$ac_ext
     5493cat >>conftest.$ac_ext <<_ACEOF
    51215494/* end confdefs.h.  */
    51225495#include <CoreFoundation/CoreFoundation.h>
     
    51295502}
    51305503_ACEOF
    5131 if ac_fn_c_try_link "$LINENO"; then :
     5504rm -f conftest.$ac_objext conftest$ac_exeext
     5505if { (ac_try="$ac_link"
     5506case "(($ac_try" in
     5507  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5508  *) ac_try_echo=$ac_try;;
     5509esac
     5510eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5511$as_echo "$ac_try_echo") >&5
     5512  (eval "$ac_link") 2>conftest.er1
     5513  ac_status=$?
     5514  grep -v '^ *+' conftest.er1 >conftest.err
     5515  rm -f conftest.er1
     5516  cat conftest.err >&5
     5517  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5518  (exit $ac_status); } && {
     5519         test -z "$ac_c_werror_flag" ||
     5520         test ! -s conftest.err
     5521       } && test -s conftest$ac_exeext && {
     5522         test "$cross_compiling" = yes ||
     5523         $as_test_x conftest$ac_exeext
     5524       }; then
    51325525  tcl_cv_lib_corefoundation_64=yes
    51335526else
    5134   tcl_cv_lib_corefoundation_64=no
    5135 fi
    5136 rm -f core conftest.err conftest.$ac_objext \
    5137     conftest$ac_exeext conftest.$ac_ext
     5527  $as_echo "$as_me: failed program was:" >&5
     5528sed 's/^/| /' conftest.$ac_ext >&5
     5529
     5530        tcl_cv_lib_corefoundation_64=no
     5531fi
     5532
     5533rm -rf conftest.dSYM
     5534rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5535      conftest$ac_exeext conftest.$ac_ext
    51385536                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    51395537                            eval $v'="$hold_'$v'"'
    51405538                        done
    51415539fi
    5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
     5540{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    51435541$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    51445542                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5145                         $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
     5543                        cat >>confdefs.h <<\_ACEOF
     5544#define NO_COREFOUNDATION_64 1
     5545_ACEOF
    51465546
    51475547                    fi
    51485548                fi
    51495549            fi
    5150             $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
     5550            cat >>confdefs.h <<\_ACEOF
     5551#define MAC_OSX_TCL 1
     5552_ACEOF
    51515553
    51525554            ;;
     
    51635565        OS/390-*)
    51645566            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5165             $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
     5567            cat >>confdefs.h <<\_ACEOF
     5568#define _OE_SOCKETS 1
     5569_ACEOF
    51665570        # needed in sys/socket.h
    51675571            ;;
     
    53045708            # won't define thread-safe library routines.
    53055709
    5306             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5307 
    5308             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5710            cat >>confdefs.h <<\_ACEOF
     5711#define _REENTRANT 1
     5712_ACEOF
     5713
     5714            cat >>confdefs.h <<\_ACEOF
     5715#define _POSIX_PTHREAD_SEMANTICS 1
     5716_ACEOF
    53095717
    53105718
     
    53325740            # won't define thread-safe library routines.
    53335741
    5334             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5335 
    5336             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     5742            cat >>confdefs.h <<\_ACEOF
     5743#define _REENTRANT 1
     5744_ACEOF
     5745
     5746            cat >>confdefs.h <<\_ACEOF
     5747#define _POSIX_PTHREAD_SEMANTICS 1
     5748_ACEOF
    53375749
    53385750
     
    53455757                        if test "$GCC" = "yes" ; then
    53465758                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5347                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5759                                { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    53485760$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    53495761                            else
     
    53675779                elif test "$arch" = "amd64 i386" ; then
    53685780                    if test "$GCC" = "yes" ; then
    5369                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     5781                        { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    53705782$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    53715783                    else
     
    53755787                    fi
    53765788                else
    5377                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
     5789                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    53785790$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    53795791                fi
     
    54345846            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    54355847            # that don't grok the -Bexport option.  Test that it does.
    5436             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
     5848            { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    54375849$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5438 if ${tcl_cv_ld_Bexport+:} false; then :
     5850if test "${tcl_cv_ld_Bexport+set}" = set; then
    54395851  $as_echo_n "(cached) " >&6
    54405852else
     
    54425854                hold_ldflags=$LDFLAGS
    54435855                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5444                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5856                cat >conftest.$ac_ext <<_ACEOF
     5857/* confdefs.h.  */
     5858_ACEOF
     5859cat confdefs.h >>conftest.$ac_ext
     5860cat >>conftest.$ac_ext <<_ACEOF
    54455861/* end confdefs.h.  */
    54465862
     
    54535869}
    54545870_ACEOF
    5455 if ac_fn_c_try_link "$LINENO"; then :
     5871rm -f conftest.$ac_objext conftest$ac_exeext
     5872if { (ac_try="$ac_link"
     5873case "(($ac_try" in
     5874  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5875  *) ac_try_echo=$ac_try;;
     5876esac
     5877eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5878$as_echo "$ac_try_echo") >&5
     5879  (eval "$ac_link") 2>conftest.er1
     5880  ac_status=$?
     5881  grep -v '^ *+' conftest.er1 >conftest.err
     5882  rm -f conftest.er1
     5883  cat conftest.err >&5
     5884  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5885  (exit $ac_status); } && {
     5886         test -z "$ac_c_werror_flag" ||
     5887         test ! -s conftest.err
     5888       } && test -s conftest$ac_exeext && {
     5889         test "$cross_compiling" = yes ||
     5890         $as_test_x conftest$ac_exeext
     5891       }; then
    54565892  tcl_cv_ld_Bexport=yes
    54575893else
    5458   tcl_cv_ld_Bexport=no
    5459 fi
    5460 rm -f core conftest.err conftest.$ac_objext \
    5461     conftest$ac_exeext conftest.$ac_ext
     5894  $as_echo "$as_me: failed program was:" >&5
     5895sed 's/^/| /' conftest.$ac_ext >&5
     5896
     5897        tcl_cv_ld_Bexport=no
     5898fi
     5899
     5900rm -rf conftest.dSYM
     5901rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5902      conftest$ac_exeext conftest.$ac_ext
    54625903                LDFLAGS=$hold_ldflags
    54635904fi
    5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
     5905{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    54655906$as_echo "$tcl_cv_ld_Bexport" >&6; }
    54665907            if test $tcl_cv_ld_Bexport = yes; then
     
    54735914
    54745915    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5475         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5916        { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    54765917$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    54775918    fi
     
    55005941
    55015942    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5502         { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
     5943        { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
    55035944$as_echo_n "checking sys/exec.h... " >&6; }
    5504 if ${tcl_cv_sysexec_h+:} false; then :
     5945if test "${tcl_cv_sysexec_h+set}" = set; then
    55055946  $as_echo_n "(cached) " >&6
    55065947else
    55075948
    5508         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5949        cat >conftest.$ac_ext <<_ACEOF
     5950/* confdefs.h.  */
     5951_ACEOF
     5952cat confdefs.h >>conftest.$ac_ext
     5953cat >>conftest.$ac_ext <<_ACEOF
    55095954/* end confdefs.h.  */
    55105955#include <sys/exec.h>
     
    55285973}
    55295974_ACEOF
    5530 if ac_fn_c_try_compile "$LINENO"; then :
     5975rm -f conftest.$ac_objext
     5976if { (ac_try="$ac_compile"
     5977case "(($ac_try" in
     5978  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5979  *) ac_try_echo=$ac_try;;
     5980esac
     5981eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5982$as_echo "$ac_try_echo") >&5
     5983  (eval "$ac_compile") 2>conftest.er1
     5984  ac_status=$?
     5985  grep -v '^ *+' conftest.er1 >conftest.err
     5986  rm -f conftest.er1
     5987  cat conftest.err >&5
     5988  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5989  (exit $ac_status); } && {
     5990         test -z "$ac_c_werror_flag" ||
     5991         test ! -s conftest.err
     5992       } && test -s conftest.$ac_objext; then
    55315993  tcl_cv_sysexec_h=usable
    55325994else
    5533   tcl_cv_sysexec_h=unusable
    5534 fi
     5995  $as_echo "$as_me: failed program was:" >&5
     5996sed 's/^/| /' conftest.$ac_ext >&5
     5997
     5998        tcl_cv_sysexec_h=unusable
     5999fi
     6000
    55356001rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    55366002fi
    5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
     6003{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    55386004$as_echo "$tcl_cv_sysexec_h" >&6; }
    55396005        if test $tcl_cv_sysexec_h = usable; then
    5540             $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
     6006            cat >>confdefs.h <<\_ACEOF
     6007#define USE_SYS_EXEC_H 1
     6008_ACEOF
    55416009
    55426010        else
    5543             { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
     6011            { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
    55446012$as_echo_n "checking a.out.h... " >&6; }
    5545 if ${tcl_cv_aout_h+:} false; then :
     6013if test "${tcl_cv_aout_h+set}" = set; then
    55466014  $as_echo_n "(cached) " >&6
    55476015else
    55486016
    5549             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6017            cat >conftest.$ac_ext <<_ACEOF
     6018/* confdefs.h.  */
     6019_ACEOF
     6020cat confdefs.h >>conftest.$ac_ext
     6021cat >>conftest.$ac_ext <<_ACEOF
    55506022/* end confdefs.h.  */
    55516023#include <a.out.h>
     
    55696041}
    55706042_ACEOF
    5571 if ac_fn_c_try_compile "$LINENO"; then :
     6043rm -f conftest.$ac_objext
     6044if { (ac_try="$ac_compile"
     6045case "(($ac_try" in
     6046  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6047  *) ac_try_echo=$ac_try;;
     6048esac
     6049eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6050$as_echo "$ac_try_echo") >&5
     6051  (eval "$ac_compile") 2>conftest.er1
     6052  ac_status=$?
     6053  grep -v '^ *+' conftest.er1 >conftest.err
     6054  rm -f conftest.er1
     6055  cat conftest.err >&5
     6056  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6057  (exit $ac_status); } && {
     6058         test -z "$ac_c_werror_flag" ||
     6059         test ! -s conftest.err
     6060       } && test -s conftest.$ac_objext; then
    55726061  tcl_cv_aout_h=usable
    55736062else
    5574   tcl_cv_aout_h=unusable
    5575 fi
     6063  $as_echo "$as_me: failed program was:" >&5
     6064sed 's/^/| /' conftest.$ac_ext >&5
     6065
     6066        tcl_cv_aout_h=unusable
     6067fi
     6068
    55766069rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    55776070fi
    5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
     6071{ $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    55796072$as_echo "$tcl_cv_aout_h" >&6; }
    55806073            if test $tcl_cv_aout_h = usable; then
    5581                 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
     6074                cat >>confdefs.h <<\_ACEOF
     6075#define USE_A_OUT_H 1
     6076_ACEOF
    55826077
    55836078            else
    5584                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
     6079                { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    55856080$as_echo_n "checking sys/exec_aout.h... " >&6; }
    5586 if ${tcl_cv_sysexecaout_h+:} false; then :
     6081if test "${tcl_cv_sysexecaout_h+set}" = set; then
    55876082  $as_echo_n "(cached) " >&6
    55886083else
    55896084
    5590                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6085                cat >conftest.$ac_ext <<_ACEOF
     6086/* confdefs.h.  */
     6087_ACEOF
     6088cat confdefs.h >>conftest.$ac_ext
     6089cat >>conftest.$ac_ext <<_ACEOF
    55916090/* end confdefs.h.  */
    55926091#include <sys/exec_aout.h>
     
    56106109}
    56116110_ACEOF
    5612 if ac_fn_c_try_compile "$LINENO"; then :
     6111rm -f conftest.$ac_objext
     6112if { (ac_try="$ac_compile"
     6113case "(($ac_try" in
     6114  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6115  *) ac_try_echo=$ac_try;;
     6116esac
     6117eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6118$as_echo "$ac_try_echo") >&5
     6119  (eval "$ac_compile") 2>conftest.er1
     6120  ac_status=$?
     6121  grep -v '^ *+' conftest.er1 >conftest.err
     6122  rm -f conftest.er1
     6123  cat conftest.err >&5
     6124  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6125  (exit $ac_status); } && {
     6126         test -z "$ac_c_werror_flag" ||
     6127         test ! -s conftest.err
     6128       } && test -s conftest.$ac_objext; then
    56136129  tcl_cv_sysexecaout_h=usable
    56146130else
    5615   tcl_cv_sysexecaout_h=unusable
    5616 fi
     6131  $as_echo "$as_me: failed program was:" >&5
     6132sed 's/^/| /' conftest.$ac_ext >&5
     6133
     6134        tcl_cv_sysexecaout_h=unusable
     6135fi
     6136
    56176137rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    56186138fi
    5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
     6139{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    56206140$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    56216141                if test $tcl_cv_sysexecaout_h = usable; then
    5622                     $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
     6142                    cat >>confdefs.h <<\_ACEOF
     6143#define USE_SYS_EXEC_AOUT_H 1
     6144_ACEOF
    56236145
    56246146                else
     
    56326154
    56336155    # Check whether --enable-load was given.
    5634 if test "${enable_load+set}" = set; then :
     6156if test "${enable_load+set}" = set; then
    56356157  enableval=$enable_load; tcl_ok=$enableval
    56366158else
     
    57626284
    57636285
    5764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
     6286{ $as_echo "$as_me:$LINENO: checking for X" >&5
    57656287$as_echo_n "checking for X... " >&6; }
    57666288
    57676289
    57686290# Check whether --with-x was given.
    5769 if test "${with_x+set}" = set; then :
     6291if test "${with_x+set}" = set; then
    57706292  withval=$with_x;
    57716293fi
     
    57776299else
    57786300  case $x_includes,$x_libraries in #(
    5779     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
    5780     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
     6301    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
     6302$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
     6303   { (exit 1); exit 1; }; };; #(
     6304    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
    57816305  $as_echo_n "(cached) " >&6
    57826306else
     
    57956319_ACEOF
    57966320  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    5797     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     6321    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    57986322    for ac_var in incroot usrlibdir libdir; do
    57996323      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    58266350ac_x_header_dirs='
    58276351/usr/X11/include
    5828 /usr/X11R7/include
    58296352/usr/X11R6/include
    58306353/usr/X11R5/include
     
    58326355
    58336356/usr/include/X11
    5834 /usr/include/X11R7
    58356357/usr/include/X11R6
    58366358/usr/include/X11R5
     
    58386360
    58396361/usr/local/X11/include
    5840 /usr/local/X11R7/include
    58416362/usr/local/X11R6/include
    58426363/usr/local/X11R5/include
     
    58446365
    58456366/usr/local/include/X11
    5846 /usr/local/include/X11R7
    58476367/usr/local/include/X11R6
    58486368/usr/local/include/X11R5
     
    58666386  # Guess where to find include files, by looking for Xlib.h.
    58676387  # First, try using that file with no special directory specified.
    5868   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6388  cat >conftest.$ac_ext <<_ACEOF
     6389/* confdefs.h.  */
     6390_ACEOF
     6391cat confdefs.h >>conftest.$ac_ext
     6392cat >>conftest.$ac_ext <<_ACEOF
    58696393/* end confdefs.h.  */
    58706394#include <X11/Xlib.h>
    58716395_ACEOF
    5872 if ac_fn_c_try_cpp "$LINENO"; then :
     6396if { (ac_try="$ac_cpp conftest.$ac_ext"
     6397case "(($ac_try" in
     6398  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6399  *) ac_try_echo=$ac_try;;
     6400esac
     6401eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6402$as_echo "$ac_try_echo") >&5
     6403  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     6404  ac_status=$?
     6405  grep -v '^ *+' conftest.er1 >conftest.err
     6406  rm -f conftest.er1
     6407  cat conftest.err >&5
     6408  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6409  (exit $ac_status); } >/dev/null && {
     6410         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     6411         test ! -s conftest.err
     6412       }; then
    58736413  # We can compile using X headers with no special include directory.
    58746414ac_x_includes=
    58756415else
     6416  $as_echo "$as_me: failed program was:" >&5
     6417sed 's/^/| /' conftest.$ac_ext >&5
     6418
    58766419  for ac_dir in $ac_x_header_dirs; do
    58776420  if test -r "$ac_dir/X11/Xlib.h"; then
     
    58816424done
    58826425fi
    5883 rm -f conftest.err conftest.i conftest.$ac_ext
     6426
     6427rm -f conftest.err conftest.$ac_ext
    58846428fi # $ac_x_includes = no
    58856429
     
    58906434  ac_save_LIBS=$LIBS
    58916435  LIBS="-lX11 $LIBS"
    5892   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6436  cat >conftest.$ac_ext <<_ACEOF
     6437/* confdefs.h.  */
     6438_ACEOF
     6439cat confdefs.h >>conftest.$ac_ext
     6440cat >>conftest.$ac_ext <<_ACEOF
    58936441/* end confdefs.h.  */
    58946442#include <X11/Xlib.h>
     
    59016449}
    59026450_ACEOF
    5903 if ac_fn_c_try_link "$LINENO"; then :
     6451rm -f conftest.$ac_objext conftest$ac_exeext
     6452if { (ac_try="$ac_link"
     6453case "(($ac_try" in
     6454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6455  *) ac_try_echo=$ac_try;;
     6456esac
     6457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6458$as_echo "$ac_try_echo") >&5
     6459  (eval "$ac_link") 2>conftest.er1
     6460  ac_status=$?
     6461  grep -v '^ *+' conftest.er1 >conftest.err
     6462  rm -f conftest.er1
     6463  cat conftest.err >&5
     6464  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6465  (exit $ac_status); } && {
     6466         test -z "$ac_c_werror_flag" ||
     6467         test ! -s conftest.err
     6468       } && test -s conftest$ac_exeext && {
     6469         test "$cross_compiling" = yes ||
     6470         $as_test_x conftest$ac_exeext
     6471       }; then
    59046472  LIBS=$ac_save_LIBS
    59056473# We can link X programs with no special library path.
    59066474ac_x_libraries=
    59076475else
    5908   LIBS=$ac_save_LIBS
     6476  $as_echo "$as_me: failed program was:" >&5
     6477sed 's/^/| /' conftest.$ac_ext >&5
     6478
     6479        LIBS=$ac_save_LIBS
    59096480for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
    59106481do
     
    59186489done
    59196490fi
    5920 rm -f core conftest.err conftest.$ac_objext \
    5921     conftest$ac_exeext conftest.$ac_ext
     6491
     6492rm -rf conftest.dSYM
     6493rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6494      conftest$ac_exeext conftest.$ac_ext
    59226495fi # $ac_x_libraries = no
    59236496
     
    59406513
    59416514if test "$have_x" != yes; then
    5942   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
     6515  { $as_echo "$as_me:$LINENO: result: $have_x" >&5
    59436516$as_echo "$have_x" >&6; }
    59446517  no_x=yes
     
    59516524        ac_x_includes='$x_includes'\
    59526525        ac_x_libraries='$x_libraries'"
    5953   { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
     6526  { $as_echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
    59546527$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
    59556528fi
     
    59736546done
    59746547if test -z "$ac_aux_dir"; then
    5975   as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
     6548  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     6549$as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     6550   { (exit 1); exit 1; }; }
    59766551fi
    59776552
     
    59996574# ./install, which can be erroneously created by make from ./install.sh.
    60006575# Reject install programs that cannot install multiple files.
    6001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
     6576{ $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    60026577$as_echo_n "checking for a BSD-compatible install... " >&6; }
    60036578if test -z "$INSTALL"; then
    6004 if ${ac_cv_path_install+:} false; then :
     6579if test "${ac_cv_path_install+set}" = set; then
    60056580  $as_echo_n "(cached) " >&6
    60066581else
     
    60106585  IFS=$as_save_IFS
    60116586  test -z "$as_dir" && as_dir=.
    6012     # Account for people who put trailing slashes in PATH elements.
    6013 case $as_dir/ in #((
    6014   ./ | .// | /[cC]/* | \
     6587  # Account for people who put trailing slashes in PATH elements.
     6588case $as_dir/ in
     6589  ./ | .// | /cC/* | \
    60156590  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
    6016   ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
     6591  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
    60176592  /usr/ucb/* ) ;;
    60186593  *)
     
    60516626esac
    60526627
    6053   done
     6628done
    60546629IFS=$as_save_IFS
    60556630
     
    60676642  fi
    60686643fi
    6069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
     6644{ $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    60706645$as_echo "$INSTALL" >&6; }
    60716646
     
    60816656  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    60826657set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6658{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    60846659$as_echo_n "checking for $ac_word... " >&6; }
    6085 if ${ac_cv_prog_RANLIB+:} false; then :
     6660if test "${ac_cv_prog_RANLIB+set}" = set; then
    60866661  $as_echo_n "(cached) " >&6
    60876662else
     
    60946669  IFS=$as_save_IFS
    60956670  test -z "$as_dir" && as_dir=.
    6096     for ac_exec_ext in '' $ac_executable_extensions; do
     6671  for ac_exec_ext in '' $ac_executable_extensions; do
    60976672  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    60986673    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6099     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6674    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    61006675    break 2
    61016676  fi
    61026677done
    6103   done
     6678done
    61046679IFS=$as_save_IFS
    61056680
     
    61086683RANLIB=$ac_cv_prog_RANLIB
    61096684if test -n "$RANLIB"; then
    6110   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     6685  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    61116686$as_echo "$RANLIB" >&6; }
    61126687else
    6113   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6688  { $as_echo "$as_me:$LINENO: result: no" >&5
    61146689$as_echo "no" >&6; }
    61156690fi
     
    61216696  # Extract the first word of "ranlib", so it can be a program name with args.
    61226697set dummy ranlib; ac_word=$2
    6123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6698{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    61246699$as_echo_n "checking for $ac_word... " >&6; }
    6125 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     6700if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    61266701  $as_echo_n "(cached) " >&6
    61276702else
     
    61346709  IFS=$as_save_IFS
    61356710  test -z "$as_dir" && as_dir=.
    6136     for ac_exec_ext in '' $ac_executable_extensions; do
     6711  for ac_exec_ext in '' $ac_executable_extensions; do
    61376712  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    61386713    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6139     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6714    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    61406715    break 2
    61416716  fi
    61426717done
    6143   done
     6718done
    61446719IFS=$as_save_IFS
    61456720
     
    61486723ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    61496724if test -n "$ac_ct_RANLIB"; then
    6150   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     6725  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    61516726$as_echo "$ac_ct_RANLIB" >&6; }
    61526727else
    6153   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6728  { $as_echo "$as_me:$LINENO: result: no" >&5
    61546729$as_echo "no" >&6; }
    61556730fi
     
    61606735    case $cross_compiling:$ac_tool_warned in
    61616736yes:)
    6162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6737{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    61636738$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    61646739ac_tool_warned=yes ;;
     
    61706745fi
    61716746
    6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
     6747{ $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
    61736748$as_echo_n "checking whether ln -s works... " >&6; }
    61746749LN_S=$as_ln_s
    61756750if test "$LN_S" = "ln -s"; then
    6176   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     6751  { $as_echo "$as_me:$LINENO: result: yes" >&5
    61776752$as_echo "yes" >&6; }
    61786753else
    6179   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
     6754  { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    61806755$as_echo "no, using $LN_S" >&6; }
    61816756fi
    61826757
    6183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
     6758{ $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    61846759$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
    61856760if test -z "$MKDIR_P"; then
    6186   if ${ac_cv_path_mkdir+:} false; then :
     6761  if test "${ac_cv_path_mkdir+set}" = set; then
    61876762  $as_echo_n "(cached) " >&6
    61886763else
     
    61926767  IFS=$as_save_IFS
    61936768  test -z "$as_dir" && as_dir=.
    6194     for ac_prog in mkdir gmkdir; do
     6769  for ac_prog in mkdir gmkdir; do
    61956770         for ac_exec_ext in '' $ac_executable_extensions; do
    61966771           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
     
    62046779         done
    62056780       done
    6206   done
     6781done
    62076782IFS=$as_save_IFS
    62086783
    62096784fi
    62106785
    6211   test -d ./--version && rmdir ./--version
    62126786  if test "${ac_cv_path_mkdir+set}" = set; then
    62136787    MKDIR_P="$ac_cv_path_mkdir -p"
     
    62176791    # break other packages using the cache if that directory is
    62186792    # removed, or if the value is a relative name.
     6793    test -d ./--version && rmdir ./--version
    62196794    MKDIR_P="$ac_install_sh -d"
    62206795  fi
    62216796fi
    6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
     6797{ $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    62236798$as_echo "$MKDIR_P" >&6; }
    62246799
     
    62326807  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    62336808set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6809{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    62356810$as_echo_n "checking for $ac_word... " >&6; }
    6236 if ${ac_cv_prog_CC+:} false; then :
     6811if test "${ac_cv_prog_CC+set}" = set; then
    62376812  $as_echo_n "(cached) " >&6
    62386813else
     
    62456820  IFS=$as_save_IFS
    62466821  test -z "$as_dir" && as_dir=.
    6247     for ac_exec_ext in '' $ac_executable_extensions; do
     6822  for ac_exec_ext in '' $ac_executable_extensions; do
    62486823  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    62496824    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6250     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6825    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    62516826    break 2
    62526827  fi
    62536828done
    6254   done
     6829done
    62556830IFS=$as_save_IFS
    62566831
     
    62596834CC=$ac_cv_prog_CC
    62606835if test -n "$CC"; then
    6261   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     6836  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    62626837$as_echo "$CC" >&6; }
    62636838else
    6264   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6839  { $as_echo "$as_me:$LINENO: result: no" >&5
    62656840$as_echo "no" >&6; }
    62666841fi
     
    62726847  # Extract the first word of "gcc", so it can be a program name with args.
    62736848set dummy gcc; ac_word=$2
    6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6849{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    62756850$as_echo_n "checking for $ac_word... " >&6; }
    6276 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     6851if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    62776852  $as_echo_n "(cached) " >&6
    62786853else
     
    62856860  IFS=$as_save_IFS
    62866861  test -z "$as_dir" && as_dir=.
    6287     for ac_exec_ext in '' $ac_executable_extensions; do
     6862  for ac_exec_ext in '' $ac_executable_extensions; do
    62886863  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    62896864    ac_cv_prog_ac_ct_CC="gcc"
    6290     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6865    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    62916866    break 2
    62926867  fi
    62936868done
    6294   done
     6869done
    62956870IFS=$as_save_IFS
    62966871
     
    62996874ac_ct_CC=$ac_cv_prog_ac_ct_CC
    63006875if test -n "$ac_ct_CC"; then
    6301   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     6876  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    63026877$as_echo "$ac_ct_CC" >&6; }
    63036878else
    6304   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6879  { $as_echo "$as_me:$LINENO: result: no" >&5
    63056880$as_echo "no" >&6; }
    63066881fi
     
    63116886    case $cross_compiling:$ac_tool_warned in
    63126887yes:)
    6313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     6888{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    63146889$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    63156890ac_tool_warned=yes ;;
     
    63256900    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    63266901set dummy ${ac_tool_prefix}cc; ac_word=$2
    6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6902{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    63286903$as_echo_n "checking for $ac_word... " >&6; }
    6329 if ${ac_cv_prog_CC+:} false; then :
     6904if test "${ac_cv_prog_CC+set}" = set; then
    63306905  $as_echo_n "(cached) " >&6
    63316906else
     
    63386913  IFS=$as_save_IFS
    63396914  test -z "$as_dir" && as_dir=.
    6340     for ac_exec_ext in '' $ac_executable_extensions; do
     6915  for ac_exec_ext in '' $ac_executable_extensions; do
    63416916  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63426917    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6343     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6918    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63446919    break 2
    63456920  fi
    63466921done
    6347   done
     6922done
    63486923IFS=$as_save_IFS
    63496924
     
    63526927CC=$ac_cv_prog_CC
    63536928if test -n "$CC"; then
    6354   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     6929  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    63556930$as_echo "$CC" >&6; }
    63566931else
    6357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6932  { $as_echo "$as_me:$LINENO: result: no" >&5
    63586933$as_echo "no" >&6; }
    63596934fi
     
    63656940  # Extract the first word of "cc", so it can be a program name with args.
    63666941set dummy cc; ac_word=$2
    6367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     6942{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    63686943$as_echo_n "checking for $ac_word... " >&6; }
    6369 if ${ac_cv_prog_CC+:} false; then :
     6944if test "${ac_cv_prog_CC+set}" = set; then
    63706945  $as_echo_n "(cached) " >&6
    63716946else
     
    63796954  IFS=$as_save_IFS
    63806955  test -z "$as_dir" && as_dir=.
    6381     for ac_exec_ext in '' $ac_executable_extensions; do
     6956  for ac_exec_ext in '' $ac_executable_extensions; do
    63826957  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63836958    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    63866961     fi
    63876962    ac_cv_prog_CC="cc"
    6388     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     6963    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63896964    break 2
    63906965  fi
    63916966done
    6392   done
     6967done
    63936968IFS=$as_save_IFS
    63946969
     
    64096984CC=$ac_cv_prog_CC
    64106985if test -n "$CC"; then
    6411   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     6986  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    64126987$as_echo "$CC" >&6; }
    64136988else
    6414   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     6989  { $as_echo "$as_me:$LINENO: result: no" >&5
    64156990$as_echo "no" >&6; }
    64166991fi
     
    64246999    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    64257000set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7001{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    64277002$as_echo_n "checking for $ac_word... " >&6; }
    6428 if ${ac_cv_prog_CC+:} false; then :
     7003if test "${ac_cv_prog_CC+set}" = set; then
    64297004  $as_echo_n "(cached) " >&6
    64307005else
     
    64377012  IFS=$as_save_IFS
    64387013  test -z "$as_dir" && as_dir=.
    6439     for ac_exec_ext in '' $ac_executable_extensions; do
     7014  for ac_exec_ext in '' $ac_executable_extensions; do
    64407015  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64417016    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    6442     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7017    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64437018    break 2
    64447019  fi
    64457020done
    6446   done
     7021done
    64477022IFS=$as_save_IFS
    64487023
     
    64517026CC=$ac_cv_prog_CC
    64527027if test -n "$CC"; then
    6453   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     7028  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    64547029$as_echo "$CC" >&6; }
    64557030else
    6456   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7031  { $as_echo "$as_me:$LINENO: result: no" >&5
    64577032$as_echo "no" >&6; }
    64587033fi
     
    64687043  # Extract the first word of "$ac_prog", so it can be a program name with args.
    64697044set dummy $ac_prog; ac_word=$2
    6470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7045{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    64717046$as_echo_n "checking for $ac_word... " >&6; }
    6472 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     7047if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    64737048  $as_echo_n "(cached) " >&6
    64747049else
     
    64817056  IFS=$as_save_IFS
    64827057  test -z "$as_dir" && as_dir=.
    6483     for ac_exec_ext in '' $ac_executable_extensions; do
     7058  for ac_exec_ext in '' $ac_executable_extensions; do
    64847059  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64857060    ac_cv_prog_ac_ct_CC="$ac_prog"
    6486     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7061    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64877062    break 2
    64887063  fi
    64897064done
    6490   done
     7065done
    64917066IFS=$as_save_IFS
    64927067
     
    64957070ac_ct_CC=$ac_cv_prog_ac_ct_CC
    64967071if test -n "$ac_ct_CC"; then
    6497   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     7072  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    64987073$as_echo "$ac_ct_CC" >&6; }
    64997074else
    6500   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7075  { $as_echo "$as_me:$LINENO: result: no" >&5
    65017076$as_echo "no" >&6; }
    65027077fi
     
    65117086    case $cross_compiling:$ac_tool_warned in
    65127087yes:)
    6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7088{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    65147089$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    65157090ac_tool_warned=yes ;;
     
    65227097
    65237098
    6524 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7099test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    65257100$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6526 as_fn_error $? "no acceptable C compiler found in \$PATH
    6527 See \`config.log' for more details" "$LINENO" 5; }
     7101{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     7102See \`config.log' for more details." >&5
     7103$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     7104See \`config.log' for more details." >&2;}
     7105   { (exit 1); exit 1; }; }; }
    65287106
    65297107# Provide some information about the compiler.
    6530 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     7108$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    65317109set X $ac_compile
    65327110ac_compiler=$2
    6533 for ac_option in --version -v -V -qversion; do
    6534   { { ac_try="$ac_compiler $ac_option >&5"
     7111{ (ac_try="$ac_compiler --version >&5"
    65357112case "(($ac_try" in
    65367113  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    65377114  *) ac_try_echo=$ac_try;;
    65387115esac
    6539 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    6540 $as_echo "$ac_try_echo"; } >&5
    6541   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     7116eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7117$as_echo "$ac_try_echo") >&5
     7118  (eval "$ac_compiler --version >&5") 2>&5
    65427119  ac_status=$?
    6543   if test -s conftest.err; then
    6544     sed '10a\
    6545 ... rest of stderr output deleted ...
    6546          10q' conftest.err >conftest.er1
    6547     cat conftest.er1 >&5
    6548   fi
    6549   rm -f conftest.er1 conftest.err
    6550   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    6551   test $ac_status = 0; }
    6552 done
    6553 
    6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     7120  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7121  (exit $ac_status); }
     7122{ (ac_try="$ac_compiler -v >&5"
     7123case "(($ac_try" in
     7124  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7125  *) ac_try_echo=$ac_try;;
     7126esac
     7127eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7128$as_echo "$ac_try_echo") >&5
     7129  (eval "$ac_compiler -v >&5") 2>&5
     7130  ac_status=$?
     7131  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7132  (exit $ac_status); }
     7133{ (ac_try="$ac_compiler -V >&5"
     7134case "(($ac_try" in
     7135  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7136  *) ac_try_echo=$ac_try;;
     7137esac
     7138eval 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
     7145{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    65557146$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    6556 if ${ac_cv_c_compiler_gnu+:} false; then :
     7147if test "${ac_cv_c_compiler_gnu+set}" = set; then
    65577148  $as_echo_n "(cached) " >&6
    65587149else
    6559   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7150  cat >conftest.$ac_ext <<_ACEOF
     7151/* confdefs.h.  */
     7152_ACEOF
     7153cat confdefs.h >>conftest.$ac_ext
     7154cat >>conftest.$ac_ext <<_ACEOF
    65607155/* end confdefs.h.  */
    65617156
     
    65717166}
    65727167_ACEOF
    6573 if ac_fn_c_try_compile "$LINENO"; then :
     7168rm -f conftest.$ac_objext
     7169if { (ac_try="$ac_compile"
     7170case "(($ac_try" in
     7171  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7172  *) ac_try_echo=$ac_try;;
     7173esac
     7174eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7175$as_echo "$ac_try_echo") >&5
     7176  (eval "$ac_compile") 2>conftest.er1
     7177  ac_status=$?
     7178  grep -v '^ *+' conftest.er1 >conftest.err
     7179  rm -f conftest.er1
     7180  cat conftest.err >&5
     7181  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7182  (exit $ac_status); } && {
     7183         test -z "$ac_c_werror_flag" ||
     7184         test ! -s conftest.err
     7185       } && test -s conftest.$ac_objext; then
    65747186  ac_compiler_gnu=yes
    65757187else
    6576   ac_compiler_gnu=no
    6577 fi
     7188  $as_echo "$as_me: failed program was:" >&5
     7189sed 's/^/| /' conftest.$ac_ext >&5
     7190
     7191        ac_compiler_gnu=no
     7192fi
     7193
    65787194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    65797195ac_cv_c_compiler_gnu=$ac_compiler_gnu
    65807196
    65817197fi
    6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     7198{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    65837199$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    65847200if test $ac_compiler_gnu = yes; then
     
    65897205ac_test_CFLAGS=${CFLAGS+set}
    65907206ac_save_CFLAGS=$CFLAGS
    6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     7207{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    65927208$as_echo_n "checking whether $CC accepts -g... " >&6; }
    6593 if ${ac_cv_prog_cc_g+:} false; then :
     7209if test "${ac_cv_prog_cc_g+set}" = set; then
    65947210  $as_echo_n "(cached) " >&6
    65957211else
     
    65987214   ac_cv_prog_cc_g=no
    65997215   CFLAGS="-g"
    6600    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7216   cat >conftest.$ac_ext <<_ACEOF
     7217/* confdefs.h.  */
     7218_ACEOF
     7219cat confdefs.h >>conftest.$ac_ext
     7220cat >>conftest.$ac_ext <<_ACEOF
    66017221/* end confdefs.h.  */
    66027222
     
    66097229}
    66107230_ACEOF
    6611 if ac_fn_c_try_compile "$LINENO"; then :
     7231rm -f conftest.$ac_objext
     7232if { (ac_try="$ac_compile"
     7233case "(($ac_try" in
     7234  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7235  *) ac_try_echo=$ac_try;;
     7236esac
     7237eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7238$as_echo "$ac_try_echo") >&5
     7239  (eval "$ac_compile") 2>conftest.er1
     7240  ac_status=$?
     7241  grep -v '^ *+' conftest.er1 >conftest.err
     7242  rm -f conftest.er1
     7243  cat conftest.err >&5
     7244  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7245  (exit $ac_status); } && {
     7246         test -z "$ac_c_werror_flag" ||
     7247         test ! -s conftest.err
     7248       } && test -s conftest.$ac_objext; then
    66127249  ac_cv_prog_cc_g=yes
    66137250else
    6614   CFLAGS=""
    6615       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7251  $as_echo "$as_me: failed program was:" >&5
     7252sed 's/^/| /' conftest.$ac_ext >&5
     7253
     7254        CFLAGS=""
     7255      cat >conftest.$ac_ext <<_ACEOF
     7256/* confdefs.h.  */
     7257_ACEOF
     7258cat confdefs.h >>conftest.$ac_ext
     7259cat >>conftest.$ac_ext <<_ACEOF
    66167260/* end confdefs.h.  */
    66177261
     
    66247268}
    66257269_ACEOF
    6626 if ac_fn_c_try_compile "$LINENO"; then :
    6627 
    6628 else
    6629   ac_c_werror_flag=$ac_save_c_werror_flag
     7270rm -f conftest.$ac_objext
     7271if { (ac_try="$ac_compile"
     7272case "(($ac_try" in
     7273  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7274  *) ac_try_echo=$ac_try;;
     7275esac
     7276eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7277$as_echo "$ac_try_echo") >&5
     7278  (eval "$ac_compile") 2>conftest.er1
     7279  ac_status=$?
     7280  grep -v '^ *+' conftest.er1 >conftest.err
     7281  rm -f conftest.er1
     7282  cat conftest.err >&5
     7283  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7284  (exit $ac_status); } && {
     7285         test -z "$ac_c_werror_flag" ||
     7286         test ! -s conftest.err
     7287       } && test -s conftest.$ac_objext; then
     7288  :
     7289else
     7290  $as_echo "$as_me: failed program was:" >&5
     7291sed 's/^/| /' conftest.$ac_ext >&5
     7292
     7293        ac_c_werror_flag=$ac_save_c_werror_flag
    66307294         CFLAGS="-g"
    6631          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7295         cat >conftest.$ac_ext <<_ACEOF
     7296/* confdefs.h.  */
     7297_ACEOF
     7298cat confdefs.h >>conftest.$ac_ext
     7299cat >>conftest.$ac_ext <<_ACEOF
    66327300/* end confdefs.h.  */
    66337301
     
    66407308}
    66417309_ACEOF
    6642 if ac_fn_c_try_compile "$LINENO"; then :
     7310rm -f conftest.$ac_objext
     7311if { (ac_try="$ac_compile"
     7312case "(($ac_try" in
     7313  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7314  *) ac_try_echo=$ac_try;;
     7315esac
     7316eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7317$as_echo "$ac_try_echo") >&5
     7318  (eval "$ac_compile") 2>conftest.er1
     7319  ac_status=$?
     7320  grep -v '^ *+' conftest.er1 >conftest.err
     7321  rm -f conftest.er1
     7322  cat conftest.err >&5
     7323  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7324  (exit $ac_status); } && {
     7325         test -z "$ac_c_werror_flag" ||
     7326         test ! -s conftest.err
     7327       } && test -s conftest.$ac_objext; then
    66437328  ac_cv_prog_cc_g=yes
    6644 fi
     7329else
     7330  $as_echo "$as_me: failed program was:" >&5
     7331sed 's/^/| /' conftest.$ac_ext >&5
     7332
     7333
     7334fi
     7335
    66457336rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66467337fi
     7338
    66477339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66487340fi
     7341
    66497342rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    66507343   ac_c_werror_flag=$ac_save_c_werror_flag
    66517344fi
    6652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     7345{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    66537346$as_echo "$ac_cv_prog_cc_g" >&6; }
    66547347if test "$ac_test_CFLAGS" = set; then
     
    66677360  fi
    66687361fi
    6669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     7362{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    66707363$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    6671 if ${ac_cv_prog_cc_c89+:} false; then :
     7364if test "${ac_cv_prog_cc_c89+set}" = set; then
    66727365  $as_echo_n "(cached) " >&6
    66737366else
    66747367  ac_cv_prog_cc_c89=no
    66757368ac_save_CC=$CC
    6676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7369cat >conftest.$ac_ext <<_ACEOF
     7370/* confdefs.h.  */
     7371_ACEOF
     7372cat confdefs.h >>conftest.$ac_ext
     7373cat >>conftest.$ac_ext <<_ACEOF
    66777374/* end confdefs.h.  */
    66787375#include <stdarg.h>
     
    67317428do
    67327429  CC="$ac_save_CC $ac_arg"
    6733   if ac_fn_c_try_compile "$LINENO"; then :
     7430  rm -f conftest.$ac_objext
     7431if { (ac_try="$ac_compile"
     7432case "(($ac_try" in
     7433  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7434  *) ac_try_echo=$ac_try;;
     7435esac
     7436eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7437$as_echo "$ac_try_echo") >&5
     7438  (eval "$ac_compile") 2>conftest.er1
     7439  ac_status=$?
     7440  grep -v '^ *+' conftest.er1 >conftest.err
     7441  rm -f conftest.er1
     7442  cat conftest.err >&5
     7443  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7444  (exit $ac_status); } && {
     7445         test -z "$ac_c_werror_flag" ||
     7446         test ! -s conftest.err
     7447       } && test -s conftest.$ac_objext; then
    67347448  ac_cv_prog_cc_c89=$ac_arg
    6735 fi
     7449else
     7450  $as_echo "$as_me: failed program was:" >&5
     7451sed 's/^/| /' conftest.$ac_ext >&5
     7452
     7453
     7454fi
     7455
    67367456rm -f core conftest.err conftest.$ac_objext
    67377457  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    67447464case "x$ac_cv_prog_cc_c89" in
    67457465  x)
    6746     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     7466    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    67477467$as_echo "none needed" >&6; } ;;
    67487468  xno)
    6749     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     7469    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    67507470$as_echo "unsupported" >&6; } ;;
    67517471  *)
    67527472    CC="$CC $ac_cv_prog_cc_c89"
    6753     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     7473    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    67547474$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    67557475esac
    6756 if test "x$ac_cv_prog_cc_c89" != xno; then :
    6757 
    6758 fi
     7476
    67597477
    67607478ac_ext=c
     
    67697487ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    67707488ac_compiler_gnu=$ac_cv_c_compiler_gnu
    6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     7489{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    67727490$as_echo_n "checking how to run the C preprocessor... " >&6; }
    67737491# On Suns, sometimes $CPP names a directory.
     
    67767494fi
    67777495if test -z "$CPP"; then
    6778   if ${ac_cv_prog_CPP+:} false; then :
     7496  if test "${ac_cv_prog_CPP+set}" = set; then
    67797497  $as_echo_n "(cached) " >&6
    67807498else
     
    67917509  # On the NeXT, cc -E runs the code through the compiler's parser,
    67927510  # not just through cpp. "Syntax error" is here to catch this case.
    6793   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7511  cat >conftest.$ac_ext <<_ACEOF
     7512/* confdefs.h.  */
     7513_ACEOF
     7514cat confdefs.h >>conftest.$ac_ext
     7515cat >>conftest.$ac_ext <<_ACEOF
    67947516/* end confdefs.h.  */
    67957517#ifdef __STDC__
     
    68007522                     Syntax error
    68017523_ACEOF
    6802 if ac_fn_c_try_cpp "$LINENO"; then :
    6803 
    6804 else
     7524if { (ac_try="$ac_cpp conftest.$ac_ext"
     7525case "(($ac_try" in
     7526  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7527  *) ac_try_echo=$ac_try;;
     7528esac
     7529eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7530$as_echo "$ac_try_echo") >&5
     7531  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7532  ac_status=$?
     7533  grep -v '^ *+' conftest.er1 >conftest.err
     7534  rm -f conftest.er1
     7535  cat conftest.err >&5
     7536  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7537  (exit $ac_status); } >/dev/null && {
     7538         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7539         test ! -s conftest.err
     7540       }; then
     7541  :
     7542else
     7543  $as_echo "$as_me: failed program was:" >&5
     7544sed 's/^/| /' conftest.$ac_ext >&5
     7545
    68057546  # Broken: fails on valid input.
    68067547continue
    68077548fi
    6808 rm -f conftest.err conftest.i conftest.$ac_ext
     7549
     7550rm -f conftest.err conftest.$ac_ext
    68097551
    68107552  # OK, works on sane cases.  Now check whether nonexistent headers
    68117553  # can be detected and how.
    6812   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7554  cat >conftest.$ac_ext <<_ACEOF
     7555/* confdefs.h.  */
     7556_ACEOF
     7557cat confdefs.h >>conftest.$ac_ext
     7558cat >>conftest.$ac_ext <<_ACEOF
    68137559/* end confdefs.h.  */
    68147560#include <ac_nonexistent.h>
    68157561_ACEOF
    6816 if ac_fn_c_try_cpp "$LINENO"; then :
     7562if { (ac_try="$ac_cpp conftest.$ac_ext"
     7563case "(($ac_try" in
     7564  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7565  *) ac_try_echo=$ac_try;;
     7566esac
     7567eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7568$as_echo "$ac_try_echo") >&5
     7569  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7570  ac_status=$?
     7571  grep -v '^ *+' conftest.er1 >conftest.err
     7572  rm -f conftest.er1
     7573  cat conftest.err >&5
     7574  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7575  (exit $ac_status); } >/dev/null && {
     7576         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7577         test ! -s conftest.err
     7578       }; then
    68177579  # Broken: success on invalid input.
    68187580continue
    68197581else
     7582  $as_echo "$as_me: failed program was:" >&5
     7583sed 's/^/| /' conftest.$ac_ext >&5
     7584
    68207585  # Passes both tests.
    68217586ac_preproc_ok=:
    68227587break
    68237588fi
    6824 rm -f conftest.err conftest.i conftest.$ac_ext
     7589
     7590rm -f conftest.err conftest.$ac_ext
    68257591
    68267592done
    68277593# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6828 rm -f conftest.i conftest.err conftest.$ac_ext
    6829 if $ac_preproc_ok; then :
     7594rm -f conftest.err conftest.$ac_ext
     7595if $ac_preproc_ok; then
    68307596  break
    68317597fi
     
    68397605  ac_cv_prog_CPP=$CPP
    68407606fi
    6841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     7607{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    68427608$as_echo "$CPP" >&6; }
    68437609ac_preproc_ok=false
     
    68507616  # On the NeXT, cc -E runs the code through the compiler's parser,
    68517617  # not just through cpp. "Syntax error" is here to catch this case.
    6852   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7618  cat >conftest.$ac_ext <<_ACEOF
     7619/* confdefs.h.  */
     7620_ACEOF
     7621cat confdefs.h >>conftest.$ac_ext
     7622cat >>conftest.$ac_ext <<_ACEOF
    68537623/* end confdefs.h.  */
    68547624#ifdef __STDC__
     
    68597629                     Syntax error
    68607630_ACEOF
    6861 if ac_fn_c_try_cpp "$LINENO"; then :
    6862 
    6863 else
     7631if { (ac_try="$ac_cpp conftest.$ac_ext"
     7632case "(($ac_try" in
     7633  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7634  *) ac_try_echo=$ac_try;;
     7635esac
     7636eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7637$as_echo "$ac_try_echo") >&5
     7638  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7639  ac_status=$?
     7640  grep -v '^ *+' conftest.er1 >conftest.err
     7641  rm -f conftest.er1
     7642  cat conftest.err >&5
     7643  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7644  (exit $ac_status); } >/dev/null && {
     7645         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7646         test ! -s conftest.err
     7647       }; then
     7648  :
     7649else
     7650  $as_echo "$as_me: failed program was:" >&5
     7651sed 's/^/| /' conftest.$ac_ext >&5
     7652
    68647653  # Broken: fails on valid input.
    68657654continue
    68667655fi
    6867 rm -f conftest.err conftest.i conftest.$ac_ext
     7656
     7657rm -f conftest.err conftest.$ac_ext
    68687658
    68697659  # OK, works on sane cases.  Now check whether nonexistent headers
    68707660  # can be detected and how.
    6871   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7661  cat >conftest.$ac_ext <<_ACEOF
     7662/* confdefs.h.  */
     7663_ACEOF
     7664cat confdefs.h >>conftest.$ac_ext
     7665cat >>conftest.$ac_ext <<_ACEOF
    68727666/* end confdefs.h.  */
    68737667#include <ac_nonexistent.h>
    68747668_ACEOF
    6875 if ac_fn_c_try_cpp "$LINENO"; then :
     7669if { (ac_try="$ac_cpp conftest.$ac_ext"
     7670case "(($ac_try" in
     7671  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7672  *) ac_try_echo=$ac_try;;
     7673esac
     7674eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7675$as_echo "$ac_try_echo") >&5
     7676  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     7677  ac_status=$?
     7678  grep -v '^ *+' conftest.er1 >conftest.err
     7679  rm -f conftest.er1
     7680  cat conftest.err >&5
     7681  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7682  (exit $ac_status); } >/dev/null && {
     7683         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     7684         test ! -s conftest.err
     7685       }; then
    68767686  # Broken: success on invalid input.
    68777687continue
    68787688else
     7689  $as_echo "$as_me: failed program was:" >&5
     7690sed 's/^/| /' conftest.$ac_ext >&5
     7691
    68797692  # Passes both tests.
    68807693ac_preproc_ok=:
    68817694break
    68827695fi
    6883 rm -f conftest.err conftest.i conftest.$ac_ext
     7696
     7697rm -f conftest.err conftest.$ac_ext
    68847698
    68857699done
    68867700# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    6887 rm -f conftest.i conftest.err conftest.$ac_ext
    6888 if $ac_preproc_ok; then :
    6889 
    6890 else
    6891   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     7701rm -f conftest.err conftest.$ac_ext
     7702if $ac_preproc_ok; then
     7703  :
     7704else
     7705  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    68927706$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6893 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    6894 See \`config.log' for more details" "$LINENO" 5; }
     7707{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     7708See \`config.log' for more details." >&5
     7709$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     7710See \`config.log' for more details." >&2;}
     7711   { (exit 1); exit 1; }; }; }
    68957712fi
    68967713
     
    69157732    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    69167733set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7734{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    69187735$as_echo_n "checking for $ac_word... " >&6; }
    6919 if ${ac_cv_prog_CXX+:} false; then :
     7736if test "${ac_cv_prog_CXX+set}" = set; then
    69207737  $as_echo_n "(cached) " >&6
    69217738else
     
    69287745  IFS=$as_save_IFS
    69297746  test -z "$as_dir" && as_dir=.
    6930     for ac_exec_ext in '' $ac_executable_extensions; do
     7747  for ac_exec_ext in '' $ac_executable_extensions; do
    69317748  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    69327749    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    6933     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7750    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    69347751    break 2
    69357752  fi
    69367753done
    6937   done
     7754done
    69387755IFS=$as_save_IFS
    69397756
     
    69427759CXX=$ac_cv_prog_CXX
    69437760if test -n "$CXX"; then
    6944   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     7761  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    69457762$as_echo "$CXX" >&6; }
    69467763else
    6947   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7764  { $as_echo "$as_me:$LINENO: result: no" >&5
    69487765$as_echo "no" >&6; }
    69497766fi
     
    69597776  # Extract the first word of "$ac_prog", so it can be a program name with args.
    69607777set dummy $ac_prog; ac_word=$2
    6961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     7778{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    69627779$as_echo_n "checking for $ac_word... " >&6; }
    6963 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     7780if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    69647781  $as_echo_n "(cached) " >&6
    69657782else
     
    69727789  IFS=$as_save_IFS
    69737790  test -z "$as_dir" && as_dir=.
    6974     for ac_exec_ext in '' $ac_executable_extensions; do
     7791  for ac_exec_ext in '' $ac_executable_extensions; do
    69757792  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    69767793    ac_cv_prog_ac_ct_CXX="$ac_prog"
    6977     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     7794    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    69787795    break 2
    69797796  fi
    69807797done
    6981   done
     7798done
    69827799IFS=$as_save_IFS
    69837800
     
    69867803ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    69877804if test -n "$ac_ct_CXX"; then
    6988   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     7805  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    69897806$as_echo "$ac_ct_CXX" >&6; }
    69907807else
    6991   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     7808  { $as_echo "$as_me:$LINENO: result: no" >&5
    69927809$as_echo "no" >&6; }
    69937810fi
     
    70027819    case $cross_compiling:$ac_tool_warned in
    70037820yes:)
    7004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     7821{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    70057822$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    70067823ac_tool_warned=yes ;;
     
    70137830fi
    70147831# Provide some information about the compiler.
    7015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     7832$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    70167833set X $ac_compile
    70177834ac_compiler=$2
    7018 for ac_option in --version -v -V -qversion; do
    7019   { { ac_try="$ac_compiler $ac_option >&5"
     7835{ (ac_try="$ac_compiler --version >&5"
    70207836case "(($ac_try" in
    70217837  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    70227838  *) ac_try_echo=$ac_try;;
    70237839esac
    7024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    7025 $as_echo "$ac_try_echo"; } >&5
    7026   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     7840eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7841$as_echo "$ac_try_echo") >&5
     7842  (eval "$ac_compiler --version >&5") 2>&5
    70277843  ac_status=$?
    7028   if test -s conftest.err; then
    7029     sed '10a\
    7030 ... rest of stderr output deleted ...
    7031          10q' conftest.err >conftest.er1
    7032     cat conftest.er1 >&5
    7033   fi
    7034   rm -f conftest.er1 conftest.err
    7035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7036   test $ac_status = 0; }
    7037 done
    7038 
    7039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     7844  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7845  (exit $ac_status); }
     7846{ (ac_try="$ac_compiler -v >&5"
     7847case "(($ac_try" in
     7848  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7849  *) ac_try_echo=$ac_try;;
     7850esac
     7851eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7852$as_echo "$ac_try_echo") >&5
     7853  (eval "$ac_compiler -v >&5") 2>&5
     7854  ac_status=$?
     7855  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7856  (exit $ac_status); }
     7857{ (ac_try="$ac_compiler -V >&5"
     7858case "(($ac_try" in
     7859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7860  *) ac_try_echo=$ac_try;;
     7861esac
     7862eval 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
     7869{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    70407870$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7041 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     7871if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    70427872  $as_echo_n "(cached) " >&6
    70437873else
    7044   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7874  cat >conftest.$ac_ext <<_ACEOF
     7875/* confdefs.h.  */
     7876_ACEOF
     7877cat confdefs.h >>conftest.$ac_ext
     7878cat >>conftest.$ac_ext <<_ACEOF
    70457879/* end confdefs.h.  */
    70467880
     
    70567890}
    70577891_ACEOF
    7058 if ac_fn_cxx_try_compile "$LINENO"; then :
     7892rm -f conftest.$ac_objext
     7893if { (ac_try="$ac_compile"
     7894case "(($ac_try" in
     7895  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7896  *) ac_try_echo=$ac_try;;
     7897esac
     7898eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7899$as_echo "$ac_try_echo") >&5
     7900  (eval "$ac_compile") 2>conftest.er1
     7901  ac_status=$?
     7902  grep -v '^ *+' conftest.er1 >conftest.err
     7903  rm -f conftest.er1
     7904  cat conftest.err >&5
     7905  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7906  (exit $ac_status); } && {
     7907         test -z "$ac_cxx_werror_flag" ||
     7908         test ! -s conftest.err
     7909       } && test -s conftest.$ac_objext; then
    70597910  ac_compiler_gnu=yes
    70607911else
    7061   ac_compiler_gnu=no
    7062 fi
     7912  $as_echo "$as_me: failed program was:" >&5
     7913sed 's/^/| /' conftest.$ac_ext >&5
     7914
     7915        ac_compiler_gnu=no
     7916fi
     7917
    70637918rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    70647919ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    70657920
    70667921fi
    7067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     7922{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    70687923$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    70697924if test $ac_compiler_gnu = yes; then
     
    70747929ac_test_CXXFLAGS=${CXXFLAGS+set}
    70757930ac_save_CXXFLAGS=$CXXFLAGS
    7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     7931{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    70777932$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7078 if ${ac_cv_prog_cxx_g+:} false; then :
     7933if test "${ac_cv_prog_cxx_g+set}" = set; then
    70797934  $as_echo_n "(cached) " >&6
    70807935else
     
    70837938   ac_cv_prog_cxx_g=no
    70847939   CXXFLAGS="-g"
    7085    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7940   cat >conftest.$ac_ext <<_ACEOF
     7941/* confdefs.h.  */
     7942_ACEOF
     7943cat confdefs.h >>conftest.$ac_ext
     7944cat >>conftest.$ac_ext <<_ACEOF
    70867945/* end confdefs.h.  */
    70877946
     
    70947953}
    70957954_ACEOF
    7096 if ac_fn_cxx_try_compile "$LINENO"; then :
     7955rm -f conftest.$ac_objext
     7956if { (ac_try="$ac_compile"
     7957case "(($ac_try" in
     7958  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7959  *) ac_try_echo=$ac_try;;
     7960esac
     7961eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     7962$as_echo "$ac_try_echo") >&5
     7963  (eval "$ac_compile") 2>conftest.er1
     7964  ac_status=$?
     7965  grep -v '^ *+' conftest.er1 >conftest.err
     7966  rm -f conftest.er1
     7967  cat conftest.err >&5
     7968  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7969  (exit $ac_status); } && {
     7970         test -z "$ac_cxx_werror_flag" ||
     7971         test ! -s conftest.err
     7972       } && test -s conftest.$ac_objext; then
    70977973  ac_cv_prog_cxx_g=yes
    70987974else
    7099   CXXFLAGS=""
    7100       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     7975  $as_echo "$as_me: failed program was:" >&5
     7976sed 's/^/| /' conftest.$ac_ext >&5
     7977
     7978        CXXFLAGS=""
     7979      cat >conftest.$ac_ext <<_ACEOF
     7980/* confdefs.h.  */
     7981_ACEOF
     7982cat confdefs.h >>conftest.$ac_ext
     7983cat >>conftest.$ac_ext <<_ACEOF
    71017984/* end confdefs.h.  */
    71027985
     
    71097992}
    71107993_ACEOF
    7111 if ac_fn_cxx_try_compile "$LINENO"; then :
    7112 
    7113 else
    7114   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     7994rm -f conftest.$ac_objext
     7995if { (ac_try="$ac_compile"
     7996case "(($ac_try" in
     7997  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     7998  *) ac_try_echo=$ac_try;;
     7999esac
     8000eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8001$as_echo "$ac_try_echo") >&5
     8002  (eval "$ac_compile") 2>conftest.er1
     8003  ac_status=$?
     8004  grep -v '^ *+' conftest.er1 >conftest.err
     8005  rm -f conftest.er1
     8006  cat conftest.err >&5
     8007  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8008  (exit $ac_status); } && {
     8009         test -z "$ac_cxx_werror_flag" ||
     8010         test ! -s conftest.err
     8011       } && test -s conftest.$ac_objext; then
     8012  :
     8013else
     8014  $as_echo "$as_me: failed program was:" >&5
     8015sed 's/^/| /' conftest.$ac_ext >&5
     8016
     8017        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    71158018         CXXFLAGS="-g"
    7116          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8019         cat >conftest.$ac_ext <<_ACEOF
     8020/* confdefs.h.  */
     8021_ACEOF
     8022cat confdefs.h >>conftest.$ac_ext
     8023cat >>conftest.$ac_ext <<_ACEOF
    71178024/* end confdefs.h.  */
    71188025
     
    71258032}
    71268033_ACEOF
    7127 if ac_fn_cxx_try_compile "$LINENO"; then :
     8034rm -f conftest.$ac_objext
     8035if { (ac_try="$ac_compile"
     8036case "(($ac_try" in
     8037  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8038  *) ac_try_echo=$ac_try;;
     8039esac
     8040eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8041$as_echo "$ac_try_echo") >&5
     8042  (eval "$ac_compile") 2>conftest.er1
     8043  ac_status=$?
     8044  grep -v '^ *+' conftest.er1 >conftest.err
     8045  rm -f conftest.er1
     8046  cat conftest.err >&5
     8047  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8048  (exit $ac_status); } && {
     8049         test -z "$ac_cxx_werror_flag" ||
     8050         test ! -s conftest.err
     8051       } && test -s conftest.$ac_objext; then
    71288052  ac_cv_prog_cxx_g=yes
    7129 fi
     8053else
     8054  $as_echo "$as_me: failed program was:" >&5
     8055sed 's/^/| /' conftest.$ac_ext >&5
     8056
     8057
     8058fi
     8059
    71308060rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71318061fi
     8062
    71328063rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71338064fi
     8065
    71348066rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    71358067   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    71368068fi
    7137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     8069{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    71388070$as_echo "$ac_cv_prog_cxx_g" >&6; }
    71398071if test "$ac_test_CXXFLAGS" = set; then
     
    71638095ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    71648096ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    7165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
     8097{ $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    71668098$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
    71678099if test -z "$CXXCPP"; then
    7168   if ${ac_cv_prog_CXXCPP+:} false; then :
     8100  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    71698101  $as_echo_n "(cached) " >&6
    71708102else
     
    71818113  # On the NeXT, cc -E runs the code through the compiler's parser,
    71828114  # not just through cpp. "Syntax error" is here to catch this case.
    7183   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8115  cat >conftest.$ac_ext <<_ACEOF
     8116/* confdefs.h.  */
     8117_ACEOF
     8118cat confdefs.h >>conftest.$ac_ext
     8119cat >>conftest.$ac_ext <<_ACEOF
    71848120/* end confdefs.h.  */
    71858121#ifdef __STDC__
     
    71908126                     Syntax error
    71918127_ACEOF
    7192 if ac_fn_cxx_try_cpp "$LINENO"; then :
    7193 
    7194 else
     8128if { (ac_try="$ac_cpp conftest.$ac_ext"
     8129case "(($ac_try" in
     8130  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8131  *) ac_try_echo=$ac_try;;
     8132esac
     8133eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8134$as_echo "$ac_try_echo") >&5
     8135  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8136  ac_status=$?
     8137  grep -v '^ *+' conftest.er1 >conftest.err
     8138  rm -f conftest.er1
     8139  cat conftest.err >&5
     8140  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8141  (exit $ac_status); } >/dev/null && {
     8142         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8143         test ! -s conftest.err
     8144       }; then
     8145  :
     8146else
     8147  $as_echo "$as_me: failed program was:" >&5
     8148sed 's/^/| /' conftest.$ac_ext >&5
     8149
    71958150  # Broken: fails on valid input.
    71968151continue
    71978152fi
    7198 rm -f conftest.err conftest.i conftest.$ac_ext
     8153
     8154rm -f conftest.err conftest.$ac_ext
    71998155
    72008156  # OK, works on sane cases.  Now check whether nonexistent headers
    72018157  # can be detected and how.
    7202   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8158  cat >conftest.$ac_ext <<_ACEOF
     8159/* confdefs.h.  */
     8160_ACEOF
     8161cat confdefs.h >>conftest.$ac_ext
     8162cat >>conftest.$ac_ext <<_ACEOF
    72038163/* end confdefs.h.  */
    72048164#include <ac_nonexistent.h>
    72058165_ACEOF
    7206 if ac_fn_cxx_try_cpp "$LINENO"; then :
     8166if { (ac_try="$ac_cpp conftest.$ac_ext"
     8167case "(($ac_try" in
     8168  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8169  *) ac_try_echo=$ac_try;;
     8170esac
     8171eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8172$as_echo "$ac_try_echo") >&5
     8173  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8174  ac_status=$?
     8175  grep -v '^ *+' conftest.er1 >conftest.err
     8176  rm -f conftest.er1
     8177  cat conftest.err >&5
     8178  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8179  (exit $ac_status); } >/dev/null && {
     8180         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8181         test ! -s conftest.err
     8182       }; then
    72078183  # Broken: success on invalid input.
    72088184continue
    72098185else
     8186  $as_echo "$as_me: failed program was:" >&5
     8187sed 's/^/| /' conftest.$ac_ext >&5
     8188
    72108189  # Passes both tests.
    72118190ac_preproc_ok=:
    72128191break
    72138192fi
    7214 rm -f conftest.err conftest.i conftest.$ac_ext
     8193
     8194rm -f conftest.err conftest.$ac_ext
    72158195
    72168196done
    72178197# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7218 rm -f conftest.i conftest.err conftest.$ac_ext
    7219 if $ac_preproc_ok; then :
     8198rm -f conftest.err conftest.$ac_ext
     8199if $ac_preproc_ok; then
    72208200  break
    72218201fi
     
    72298209  ac_cv_prog_CXXCPP=$CXXCPP
    72308210fi
    7231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
     8211{ $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
    72328212$as_echo "$CXXCPP" >&6; }
    72338213ac_preproc_ok=false
     
    72408220  # On the NeXT, cc -E runs the code through the compiler's parser,
    72418221  # not just through cpp. "Syntax error" is here to catch this case.
    7242   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8222  cat >conftest.$ac_ext <<_ACEOF
     8223/* confdefs.h.  */
     8224_ACEOF
     8225cat confdefs.h >>conftest.$ac_ext
     8226cat >>conftest.$ac_ext <<_ACEOF
    72438227/* end confdefs.h.  */
    72448228#ifdef __STDC__
     
    72498233                     Syntax error
    72508234_ACEOF
    7251 if ac_fn_cxx_try_cpp "$LINENO"; then :
    7252 
    7253 else
     8235if { (ac_try="$ac_cpp conftest.$ac_ext"
     8236case "(($ac_try" in
     8237  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8238  *) ac_try_echo=$ac_try;;
     8239esac
     8240eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8241$as_echo "$ac_try_echo") >&5
     8242  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8243  ac_status=$?
     8244  grep -v '^ *+' conftest.er1 >conftest.err
     8245  rm -f conftest.er1
     8246  cat conftest.err >&5
     8247  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8248  (exit $ac_status); } >/dev/null && {
     8249         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8250         test ! -s conftest.err
     8251       }; then
     8252  :
     8253else
     8254  $as_echo "$as_me: failed program was:" >&5
     8255sed 's/^/| /' conftest.$ac_ext >&5
     8256
    72548257  # Broken: fails on valid input.
    72558258continue
    72568259fi
    7257 rm -f conftest.err conftest.i conftest.$ac_ext
     8260
     8261rm -f conftest.err conftest.$ac_ext
    72588262
    72598263  # OK, works on sane cases.  Now check whether nonexistent headers
    72608264  # can be detected and how.
    7261   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8265  cat >conftest.$ac_ext <<_ACEOF
     8266/* confdefs.h.  */
     8267_ACEOF
     8268cat confdefs.h >>conftest.$ac_ext
     8269cat >>conftest.$ac_ext <<_ACEOF
    72628270/* end confdefs.h.  */
    72638271#include <ac_nonexistent.h>
    72648272_ACEOF
    7265 if ac_fn_cxx_try_cpp "$LINENO"; then :
     8273if { (ac_try="$ac_cpp conftest.$ac_ext"
     8274case "(($ac_try" in
     8275  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8276  *) ac_try_echo=$ac_try;;
     8277esac
     8278eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8279$as_echo "$ac_try_echo") >&5
     8280  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     8281  ac_status=$?
     8282  grep -v '^ *+' conftest.er1 >conftest.err
     8283  rm -f conftest.er1
     8284  cat conftest.err >&5
     8285  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8286  (exit $ac_status); } >/dev/null && {
     8287         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     8288         test ! -s conftest.err
     8289       }; then
    72668290  # Broken: success on invalid input.
    72678291continue
    72688292else
     8293  $as_echo "$as_me: failed program was:" >&5
     8294sed 's/^/| /' conftest.$ac_ext >&5
     8295
    72698296  # Passes both tests.
    72708297ac_preproc_ok=:
    72718298break
    72728299fi
    7273 rm -f conftest.err conftest.i conftest.$ac_ext
     8300
     8301rm -f conftest.err conftest.$ac_ext
    72748302
    72758303done
    72768304# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    7277 rm -f conftest.i conftest.err conftest.$ac_ext
    7278 if $ac_preproc_ok; then :
    7279 
    7280 else
    7281   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     8305rm -f conftest.err conftest.$ac_ext
     8306if $ac_preproc_ok; then
     8307  :
     8308else
     8309  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    72828310$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7283 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
    7284 See \`config.log' for more details" "$LINENO" 5; }
     8311{ { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8312See \`config.log' for more details." >&5
     8313$as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     8314See \`config.log' for more details." >&2;}
     8315   { (exit 1); exit 1; }; }; }
    72858316fi
    72868317
     
    73058336    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    73068337set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8338{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    73088339$as_echo_n "checking for $ac_word... " >&6; }
    7309 if ${ac_cv_prog_CXX+:} false; then :
     8340if test "${ac_cv_prog_CXX+set}" = set; then
    73108341  $as_echo_n "(cached) " >&6
    73118342else
     
    73188349  IFS=$as_save_IFS
    73198350  test -z "$as_dir" && as_dir=.
    7320     for ac_exec_ext in '' $ac_executable_extensions; do
     8351  for ac_exec_ext in '' $ac_executable_extensions; do
    73218352  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    73228353    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7323     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8354    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    73248355    break 2
    73258356  fi
    73268357done
    7327   done
     8358done
    73288359IFS=$as_save_IFS
    73298360
     
    73328363CXX=$ac_cv_prog_CXX
    73338364if test -n "$CXX"; then
    7334   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
     8365  { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    73358366$as_echo "$CXX" >&6; }
    73368367else
    7337   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8368  { $as_echo "$as_me:$LINENO: result: no" >&5
    73388369$as_echo "no" >&6; }
    73398370fi
     
    73498380  # Extract the first word of "$ac_prog", so it can be a program name with args.
    73508381set dummy $ac_prog; ac_word=$2
    7351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     8382{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    73528383$as_echo_n "checking for $ac_word... " >&6; }
    7353 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
     8384if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    73548385  $as_echo_n "(cached) " >&6
    73558386else
     
    73628393  IFS=$as_save_IFS
    73638394  test -z "$as_dir" && as_dir=.
    7364     for ac_exec_ext in '' $ac_executable_extensions; do
     8395  for ac_exec_ext in '' $ac_executable_extensions; do
    73658396  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    73668397    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7367     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     8398    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    73688399    break 2
    73698400  fi
    73708401done
    7371   done
     8402done
    73728403IFS=$as_save_IFS
    73738404
     
    73768407ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    73778408if test -n "$ac_ct_CXX"; then
    7378   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
     8409  { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    73798410$as_echo "$ac_ct_CXX" >&6; }
    73808411else
    7381   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     8412  { $as_echo "$as_me:$LINENO: result: no" >&5
    73828413$as_echo "no" >&6; }
    73838414fi
     
    73928423    case $cross_compiling:$ac_tool_warned in
    73938424yes:)
    7394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     8425{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    73958426$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    73968427ac_tool_warned=yes ;;
     
    74038434fi
    74048435# Provide some information about the compiler.
    7405 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
     8436$as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    74068437set X $ac_compile
    74078438ac_compiler=$2
    7408 for ac_option in --version -v -V -qversion; do
    7409   { { ac_try="$ac_compiler $ac_option >&5"
     8439{ (ac_try="$ac_compiler --version >&5"
    74108440case "(($ac_try" in
    74118441  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    74128442  *) ac_try_echo=$ac_try;;
    74138443esac
    7414 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    7415 $as_echo "$ac_try_echo"; } >&5
    7416   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     8444eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8445$as_echo "$ac_try_echo") >&5
     8446  (eval "$ac_compiler --version >&5") 2>&5
    74178447  ac_status=$?
    7418   if test -s conftest.err; then
    7419     sed '10a\
    7420 ... rest of stderr output deleted ...
    7421          10q' conftest.err >conftest.er1
    7422     cat conftest.er1 >&5
    7423   fi
    7424   rm -f conftest.er1 conftest.err
    7425   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    7426   test $ac_status = 0; }
    7427 done
    7428 
    7429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
     8448  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8449  (exit $ac_status); }
     8450{ (ac_try="$ac_compiler -v >&5"
     8451case "(($ac_try" in
     8452  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8453  *) ac_try_echo=$ac_try;;
     8454esac
     8455eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8456$as_echo "$ac_try_echo") >&5
     8457  (eval "$ac_compiler -v >&5") 2>&5
     8458  ac_status=$?
     8459  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8460  (exit $ac_status); }
     8461{ (ac_try="$ac_compiler -V >&5"
     8462case "(($ac_try" in
     8463  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8464  *) ac_try_echo=$ac_try;;
     8465esac
     8466eval 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
     8473{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    74308474$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
    7431 if ${ac_cv_cxx_compiler_gnu+:} false; then :
     8475if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    74328476  $as_echo_n "(cached) " >&6
    74338477else
    7434   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8478  cat >conftest.$ac_ext <<_ACEOF
     8479/* confdefs.h.  */
     8480_ACEOF
     8481cat confdefs.h >>conftest.$ac_ext
     8482cat >>conftest.$ac_ext <<_ACEOF
    74358483/* end confdefs.h.  */
    74368484
     
    74468494}
    74478495_ACEOF
    7448 if ac_fn_cxx_try_compile "$LINENO"; then :
     8496rm -f conftest.$ac_objext
     8497if { (ac_try="$ac_compile"
     8498case "(($ac_try" in
     8499  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8500  *) ac_try_echo=$ac_try;;
     8501esac
     8502eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8503$as_echo "$ac_try_echo") >&5
     8504  (eval "$ac_compile") 2>conftest.er1
     8505  ac_status=$?
     8506  grep -v '^ *+' conftest.er1 >conftest.err
     8507  rm -f conftest.er1
     8508  cat conftest.err >&5
     8509  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8510  (exit $ac_status); } && {
     8511         test -z "$ac_cxx_werror_flag" ||
     8512         test ! -s conftest.err
     8513       } && test -s conftest.$ac_objext; then
    74498514  ac_compiler_gnu=yes
    74508515else
    7451   ac_compiler_gnu=no
    7452 fi
     8516  $as_echo "$as_me: failed program was:" >&5
     8517sed 's/^/| /' conftest.$ac_ext >&5
     8518
     8519        ac_compiler_gnu=no
     8520fi
     8521
    74538522rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    74548523ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
    74558524
    74568525fi
    7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
     8526{ $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    74588527$as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    74598528if test $ac_compiler_gnu = yes; then
     
    74648533ac_test_CXXFLAGS=${CXXFLAGS+set}
    74658534ac_save_CXXFLAGS=$CXXFLAGS
    7466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
     8535{ $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    74678536$as_echo_n "checking whether $CXX accepts -g... " >&6; }
    7468 if ${ac_cv_prog_cxx_g+:} false; then :
     8537if test "${ac_cv_prog_cxx_g+set}" = set; then
    74698538  $as_echo_n "(cached) " >&6
    74708539else
     
    74738542   ac_cv_prog_cxx_g=no
    74748543   CXXFLAGS="-g"
    7475    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8544   cat >conftest.$ac_ext <<_ACEOF
     8545/* confdefs.h.  */
     8546_ACEOF
     8547cat confdefs.h >>conftest.$ac_ext
     8548cat >>conftest.$ac_ext <<_ACEOF
    74768549/* end confdefs.h.  */
    74778550
     
    74848557}
    74858558_ACEOF
    7486 if ac_fn_cxx_try_compile "$LINENO"; then :
     8559rm -f conftest.$ac_objext
     8560if { (ac_try="$ac_compile"
     8561case "(($ac_try" in
     8562  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8563  *) ac_try_echo=$ac_try;;
     8564esac
     8565eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8566$as_echo "$ac_try_echo") >&5
     8567  (eval "$ac_compile") 2>conftest.er1
     8568  ac_status=$?
     8569  grep -v '^ *+' conftest.er1 >conftest.err
     8570  rm -f conftest.er1
     8571  cat conftest.err >&5
     8572  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8573  (exit $ac_status); } && {
     8574         test -z "$ac_cxx_werror_flag" ||
     8575         test ! -s conftest.err
     8576       } && test -s conftest.$ac_objext; then
    74878577  ac_cv_prog_cxx_g=yes
    74888578else
    7489   CXXFLAGS=""
    7490       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8579  $as_echo "$as_me: failed program was:" >&5
     8580sed 's/^/| /' conftest.$ac_ext >&5
     8581
     8582        CXXFLAGS=""
     8583      cat >conftest.$ac_ext <<_ACEOF
     8584/* confdefs.h.  */
     8585_ACEOF
     8586cat confdefs.h >>conftest.$ac_ext
     8587cat >>conftest.$ac_ext <<_ACEOF
    74918588/* end confdefs.h.  */
    74928589
     
    74998596}
    75008597_ACEOF
    7501 if ac_fn_cxx_try_compile "$LINENO"; then :
    7502 
    7503 else
    7504   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
     8598rm -f conftest.$ac_objext
     8599if { (ac_try="$ac_compile"
     8600case "(($ac_try" in
     8601  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8602  *) ac_try_echo=$ac_try;;
     8603esac
     8604eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8605$as_echo "$ac_try_echo") >&5
     8606  (eval "$ac_compile") 2>conftest.er1
     8607  ac_status=$?
     8608  grep -v '^ *+' conftest.er1 >conftest.err
     8609  rm -f conftest.er1
     8610  cat conftest.err >&5
     8611  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8612  (exit $ac_status); } && {
     8613         test -z "$ac_cxx_werror_flag" ||
     8614         test ! -s conftest.err
     8615       } && test -s conftest.$ac_objext; then
     8616  :
     8617else
     8618  $as_echo "$as_me: failed program was:" >&5
     8619sed 's/^/| /' conftest.$ac_ext >&5
     8620
     8621        ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    75058622         CXXFLAGS="-g"
    7506          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8623         cat >conftest.$ac_ext <<_ACEOF
     8624/* confdefs.h.  */
     8625_ACEOF
     8626cat confdefs.h >>conftest.$ac_ext
     8627cat >>conftest.$ac_ext <<_ACEOF
    75078628/* end confdefs.h.  */
    75088629
     
    75158636}
    75168637_ACEOF
    7517 if ac_fn_cxx_try_compile "$LINENO"; then :
     8638rm -f conftest.$ac_objext
     8639if { (ac_try="$ac_compile"
     8640case "(($ac_try" in
     8641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8642  *) ac_try_echo=$ac_try;;
     8643esac
     8644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8645$as_echo "$ac_try_echo") >&5
     8646  (eval "$ac_compile") 2>conftest.er1
     8647  ac_status=$?
     8648  grep -v '^ *+' conftest.er1 >conftest.err
     8649  rm -f conftest.er1
     8650  cat conftest.err >&5
     8651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8652  (exit $ac_status); } && {
     8653         test -z "$ac_cxx_werror_flag" ||
     8654         test ! -s conftest.err
     8655       } && test -s conftest.$ac_objext; then
    75188656  ac_cv_prog_cxx_g=yes
    7519 fi
     8657else
     8658  $as_echo "$as_me: failed program was:" >&5
     8659sed 's/^/| /' conftest.$ac_ext >&5
     8660
     8661
     8662fi
     8663
    75208664rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75218665fi
     8666
    75228667rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75238668fi
     8669
    75248670rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75258671   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    75268672fi
    7527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
     8673{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    75288674$as_echo "$ac_cv_prog_cxx_g" >&6; }
    75298675if test "$ac_test_CXXFLAGS" = set; then
     
    75568702
    75578703
    7558  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
     8704
     8705 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    75598706$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
    7560 if ${ac_cv_c_bigendian+:} false; then :
     8707if test "${ac_cv_c_bigendian+set}" = set; then
    75618708  $as_echo_n "(cached) " >&6
    75628709else
    75638710  ac_cv_c_bigendian=unknown
    75648711    # See if we're dealing with a universal compiler.
    7565     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8712    cat >conftest.$ac_ext <<_ACEOF
     8713/* confdefs.h.  */
     8714_ACEOF
     8715cat confdefs.h >>conftest.$ac_ext
     8716cat >>conftest.$ac_ext <<_ACEOF
    75668717/* end confdefs.h.  */
    75678718#ifndef __APPLE_CC__
     
    75718722
    75728723_ACEOF
    7573 if ac_fn_cxx_try_compile "$LINENO"; then :
     8724rm -f conftest.$ac_objext
     8725if { (ac_try="$ac_compile"
     8726case "(($ac_try" in
     8727  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8728  *) ac_try_echo=$ac_try;;
     8729esac
     8730eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8731$as_echo "$ac_try_echo") >&5
     8732  (eval "$ac_compile") 2>conftest.er1
     8733  ac_status=$?
     8734  grep -v '^ *+' conftest.er1 >conftest.err
     8735  rm -f conftest.er1
     8736  cat conftest.err >&5
     8737  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8738  (exit $ac_status); } && {
     8739         test -z "$ac_cxx_werror_flag" ||
     8740         test ! -s conftest.err
     8741       } && test -s conftest.$ac_objext; then
    75748742
    75758743        # Check for potential -arch flags.  It is not universal unless
    7576         # there are at least two -arch flags with different values.
    7577         ac_arch=
    7578         ac_prev=
    7579         for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
    7580          if test -n "$ac_prev"; then
    7581            case $ac_word in
    7582              i?86 | x86_64 | ppc | ppc64)
    7583                if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
    7584                  ac_arch=$ac_word
    7585                else
    7586                  ac_cv_c_bigendian=universal
    7587                  break
    7588                fi
    7589                ;;
    7590            esac
    7591            ac_prev=
    7592          elif test "x$ac_word" = "x-arch"; then
    7593            ac_prev=arch
    7594          fi
    7595        done
    7596 fi
     8744        # there are some -arch flags.  Note that *ppc* also matches
     8745        # ppc64.  This check is also rather less than ideal.
     8746        case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
     8747          *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
     8748        esac
     8749else
     8750  $as_echo "$as_me: failed program was:" >&5
     8751sed 's/^/| /' conftest.$ac_ext >&5
     8752
     8753
     8754fi
     8755
    75978756rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    75988757    if test $ac_cv_c_bigendian = unknown; then
    75998758      # See if sys/param.h defines the BYTE_ORDER macro.
    7600       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8759      cat >conftest.$ac_ext <<_ACEOF
     8760/* confdefs.h.  */
     8761_ACEOF
     8762cat confdefs.h >>conftest.$ac_ext
     8763cat >>conftest.$ac_ext <<_ACEOF
    76018764/* end confdefs.h.  */
    76028765#include <sys/types.h>
     
    76168779}
    76178780_ACEOF
    7618 if ac_fn_cxx_try_compile "$LINENO"; then :
     8781rm -f conftest.$ac_objext
     8782if { (ac_try="$ac_compile"
     8783case "(($ac_try" in
     8784  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8785  *) ac_try_echo=$ac_try;;
     8786esac
     8787eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8788$as_echo "$ac_try_echo") >&5
     8789  (eval "$ac_compile") 2>conftest.er1
     8790  ac_status=$?
     8791  grep -v '^ *+' conftest.er1 >conftest.err
     8792  rm -f conftest.er1
     8793  cat conftest.err >&5
     8794  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8795  (exit $ac_status); } && {
     8796         test -z "$ac_cxx_werror_flag" ||
     8797         test ! -s conftest.err
     8798       } && test -s conftest.$ac_objext; then
    76198799  # It does; now see whether it defined to BIG_ENDIAN or not.
    7620          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8800         cat >conftest.$ac_ext <<_ACEOF
     8801/* confdefs.h.  */
     8802_ACEOF
     8803cat confdefs.h >>conftest.$ac_ext
     8804cat >>conftest.$ac_ext <<_ACEOF
    76218805/* end confdefs.h.  */
    76228806#include <sys/types.h>
     
    76348818}
    76358819_ACEOF
    7636 if ac_fn_cxx_try_compile "$LINENO"; then :
     8820rm -f conftest.$ac_objext
     8821if { (ac_try="$ac_compile"
     8822case "(($ac_try" in
     8823  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8824  *) ac_try_echo=$ac_try;;
     8825esac
     8826eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8827$as_echo "$ac_try_echo") >&5
     8828  (eval "$ac_compile") 2>conftest.er1
     8829  ac_status=$?
     8830  grep -v '^ *+' conftest.er1 >conftest.err
     8831  rm -f conftest.er1
     8832  cat conftest.err >&5
     8833  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8834  (exit $ac_status); } && {
     8835         test -z "$ac_cxx_werror_flag" ||
     8836         test ! -s conftest.err
     8837       } && test -s conftest.$ac_objext; then
    76378838  ac_cv_c_bigendian=yes
    76388839else
    7639   ac_cv_c_bigendian=no
    7640 fi
     8840  $as_echo "$as_me: failed program was:" >&5
     8841sed 's/^/| /' conftest.$ac_ext >&5
     8842
     8843        ac_cv_c_bigendian=no
     8844fi
     8845
    76418846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7642 fi
     8847else
     8848  $as_echo "$as_me: failed program was:" >&5
     8849sed 's/^/| /' conftest.$ac_ext >&5
     8850
     8851
     8852fi
     8853
    76438854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76448855    fi
    76458856    if test $ac_cv_c_bigendian = unknown; then
    76468857      # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    7647       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8858      cat >conftest.$ac_ext <<_ACEOF
     8859/* confdefs.h.  */
     8860_ACEOF
     8861cat confdefs.h >>conftest.$ac_ext
     8862cat >>conftest.$ac_ext <<_ACEOF
    76488863/* end confdefs.h.  */
    76498864#include <limits.h>
     
    76608875}
    76618876_ACEOF
    7662 if ac_fn_cxx_try_compile "$LINENO"; then :
     8877rm -f conftest.$ac_objext
     8878if { (ac_try="$ac_compile"
     8879case "(($ac_try" in
     8880  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8881  *) ac_try_echo=$ac_try;;
     8882esac
     8883eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8884$as_echo "$ac_try_echo") >&5
     8885  (eval "$ac_compile") 2>conftest.er1
     8886  ac_status=$?
     8887  grep -v '^ *+' conftest.er1 >conftest.err
     8888  rm -f conftest.er1
     8889  cat conftest.err >&5
     8890  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8891  (exit $ac_status); } && {
     8892         test -z "$ac_cxx_werror_flag" ||
     8893         test ! -s conftest.err
     8894       } && test -s conftest.$ac_objext; then
    76638895  # It does; now see whether it defined to _BIG_ENDIAN or not.
    7664          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8896         cat >conftest.$ac_ext <<_ACEOF
     8897/* confdefs.h.  */
     8898_ACEOF
     8899cat confdefs.h >>conftest.$ac_ext
     8900cat >>conftest.$ac_ext <<_ACEOF
    76658901/* end confdefs.h.  */
    76668902#include <limits.h>
     
    76778913}
    76788914_ACEOF
    7679 if ac_fn_cxx_try_compile "$LINENO"; then :
     8915rm -f conftest.$ac_objext
     8916if { (ac_try="$ac_compile"
     8917case "(($ac_try" in
     8918  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8919  *) ac_try_echo=$ac_try;;
     8920esac
     8921eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8922$as_echo "$ac_try_echo") >&5
     8923  (eval "$ac_compile") 2>conftest.er1
     8924  ac_status=$?
     8925  grep -v '^ *+' conftest.er1 >conftest.err
     8926  rm -f conftest.er1
     8927  cat conftest.err >&5
     8928  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8929  (exit $ac_status); } && {
     8930         test -z "$ac_cxx_werror_flag" ||
     8931         test ! -s conftest.err
     8932       } && test -s conftest.$ac_objext; then
    76808933  ac_cv_c_bigendian=yes
    76818934else
    7682   ac_cv_c_bigendian=no
    7683 fi
     8935  $as_echo "$as_me: failed program was:" >&5
     8936sed 's/^/| /' conftest.$ac_ext >&5
     8937
     8938        ac_cv_c_bigendian=no
     8939fi
     8940
    76848941rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    7685 fi
     8942else
     8943  $as_echo "$as_me: failed program was:" >&5
     8944sed 's/^/| /' conftest.$ac_ext >&5
     8945
     8946
     8947fi
     8948
    76868949rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    76878950    fi
    76888951    if test $ac_cv_c_bigendian = unknown; then
    76898952      # Compile a test program.
    7690       if test "$cross_compiling" = yes; then :
     8953      if test "$cross_compiling" = yes; then
    76918954  # Try to guess by grepping values from an object file.
    7692          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     8955         cat >conftest.$ac_ext <<_ACEOF
     8956/* confdefs.h.  */
     8957_ACEOF
     8958cat confdefs.h >>conftest.$ac_ext
     8959cat >>conftest.$ac_ext <<_ACEOF
    76938960/* end confdefs.h.  */
    76948961short int ascii_mm[] =
     
    77168983}
    77178984_ACEOF
    7718 if ac_fn_cxx_try_compile "$LINENO"; then :
     8985rm -f conftest.$ac_objext
     8986if { (ac_try="$ac_compile"
     8987case "(($ac_try" in
     8988  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     8989  *) ac_try_echo=$ac_try;;
     8990esac
     8991eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     8992$as_echo "$ac_try_echo") >&5
     8993  (eval "$ac_compile") 2>conftest.er1
     8994  ac_status=$?
     8995  grep -v '^ *+' conftest.er1 >conftest.err
     8996  rm -f conftest.er1
     8997  cat conftest.err >&5
     8998  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8999  (exit $ac_status); } && {
     9000         test -z "$ac_cxx_werror_flag" ||
     9001         test ! -s conftest.err
     9002       } && test -s conftest.$ac_objext; then
    77199003  if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    77209004              ac_cv_c_bigendian=yes
     
    77289012              fi
    77299013            fi
    7730 fi
     9014else
     9015  $as_echo "$as_me: failed program was:" >&5
     9016sed 's/^/| /' conftest.$ac_ext >&5
     9017
     9018
     9019fi
     9020
    77319021rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    77329022else
    7733   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     9023  cat >conftest.$ac_ext <<_ACEOF
     9024/* confdefs.h.  */
     9025_ACEOF
     9026cat confdefs.h >>conftest.$ac_ext
     9027cat >>conftest.$ac_ext <<_ACEOF
    77349028/* end confdefs.h.  */
    77359029$ac_includes_default
     
    77519045}
    77529046_ACEOF
    7753 if ac_fn_cxx_try_run "$LINENO"; then :
     9047rm -f conftest$ac_exeext
     9048if { (ac_try="$ac_link"
     9049case "(($ac_try" in
     9050  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9051  *) ac_try_echo=$ac_try;;
     9052esac
     9053eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9054$as_echo "$ac_try_echo") >&5
     9055  (eval "$ac_link") 2>&5
     9056  ac_status=$?
     9057  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9058  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9059  { (case "(($ac_try" in
     9060  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9061  *) ac_try_echo=$ac_try;;
     9062esac
     9063eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9064$as_echo "$ac_try_echo") >&5
     9065  (eval "$ac_try") 2>&5
     9066  ac_status=$?
     9067  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9068  (exit $ac_status); }; }; then
    77549069  ac_cv_c_bigendian=no
    77559070else
    7756   ac_cv_c_bigendian=yes
    7757 fi
    7758 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    7759   conftest.$ac_objext conftest.beam conftest.$ac_ext
    7760 fi
     9071  $as_echo "$as_me: program exited with status $ac_status" >&5
     9072$as_echo "$as_me: failed program was:" >&5
     9073sed 's/^/| /' conftest.$ac_ext >&5
     9074
     9075( exit $ac_status )
     9076ac_cv_c_bigendian=yes
     9077fi
     9078rm -rf conftest.dSYM
     9079rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9080fi
     9081
    77619082
    77629083    fi
    77639084fi
    7764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
     9085{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    77659086$as_echo "$ac_cv_c_bigendian" >&6; }
    77669087 case $ac_cv_c_bigendian in #(
    77679088   yes)
    7768      $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
     9089     cat >>confdefs.h <<\_ACEOF
     9090#define WORDS_BIGENDIAN 1
     9091_ACEOF
    77699092;; #(
    77709093   no)
     
    77729095   universal)
    77739096
    7774 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
     9097cat >>confdefs.h <<\_ACEOF
     9098#define AC_APPLE_UNIVERSAL_BUILD 1
     9099_ACEOF
    77759100
    77769101     ;; #(
    77779102   *)
    7778      as_fn_error $? "unknown endianness
    7779  presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
     9103     { { $as_echo "$as_me:$LINENO: error: unknown endianness
     9104 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     9105$as_echo "$as_me: error: unknown endianness
     9106 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     9107   { (exit 1); exit 1; }; } ;;
    77809108 esac
    77819109
     
    77849112# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    77859113# This bug is HP SR number 8606223364.
    7786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
     9114{ $as_echo "$as_me:$LINENO: checking size of int" >&5
    77879115$as_echo_n "checking size of int... " >&6; }
    7788 if ${ac_cv_sizeof_int+:} false; then :
     9116if test "${ac_cv_sizeof_int+set}" = set; then
    77899117  $as_echo_n "(cached) " >&6
    77909118else
    7791   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
    7792 
    7793 else
    7794   if test "$ac_cv_type_int" = yes; then
    7795      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9119  if test "$cross_compiling" = yes; then
     9120  # Depending upon the size, compute the lo and hi bounds.
     9121cat >conftest.$ac_ext <<_ACEOF
     9122/* confdefs.h.  */
     9123_ACEOF
     9124cat confdefs.h >>conftest.$ac_ext
     9125cat >>conftest.$ac_ext <<_ACEOF
     9126/* end confdefs.h.  */
     9127$ac_includes_default
     9128int
     9129main ()
     9130{
     9131static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= 0)];
     9132test_array [0] = 0
     9133
     9134  ;
     9135  return 0;
     9136}
     9137_ACEOF
     9138rm -f conftest.$ac_objext
     9139if { (ac_try="$ac_compile"
     9140case "(($ac_try" in
     9141  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9142  *) ac_try_echo=$ac_try;;
     9143esac
     9144eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9145$as_echo "$ac_try_echo") >&5
     9146  (eval "$ac_compile") 2>conftest.er1
     9147  ac_status=$?
     9148  grep -v '^ *+' conftest.er1 >conftest.err
     9149  rm -f conftest.er1
     9150  cat conftest.err >&5
     9151  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9152  (exit $ac_status); } && {
     9153         test -z "$ac_cxx_werror_flag" ||
     9154         test ! -s conftest.err
     9155       } && test -s conftest.$ac_objext; then
     9156  ac_lo=0 ac_mid=0
     9157  while :; do
     9158    cat >conftest.$ac_ext <<_ACEOF
     9159/* confdefs.h.  */
     9160_ACEOF
     9161cat confdefs.h >>conftest.$ac_ext
     9162cat >>conftest.$ac_ext <<_ACEOF
     9163/* end confdefs.h.  */
     9164$ac_includes_default
     9165int
     9166main ()
     9167{
     9168static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     9169test_array [0] = 0
     9170
     9171  ;
     9172  return 0;
     9173}
     9174_ACEOF
     9175rm -f conftest.$ac_objext
     9176if { (ac_try="$ac_compile"
     9177case "(($ac_try" in
     9178  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9179  *) ac_try_echo=$ac_try;;
     9180esac
     9181eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9182$as_echo "$ac_try_echo") >&5
     9183  (eval "$ac_compile") 2>conftest.er1
     9184  ac_status=$?
     9185  grep -v '^ *+' conftest.er1 >conftest.err
     9186  rm -f conftest.er1
     9187  cat conftest.err >&5
     9188  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9189  (exit $ac_status); } && {
     9190         test -z "$ac_cxx_werror_flag" ||
     9191         test ! -s conftest.err
     9192       } && test -s conftest.$ac_objext; then
     9193  ac_hi=$ac_mid; break
     9194else
     9195  $as_echo "$as_me: failed program was:" >&5
     9196sed 's/^/| /' conftest.$ac_ext >&5
     9197
     9198        ac_lo=`expr $ac_mid + 1`
     9199                        if test $ac_lo -le $ac_mid; then
     9200                          ac_lo= ac_hi=
     9201                          break
     9202                        fi
     9203                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9204fi
     9205
     9206rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9207  done
     9208else
     9209  $as_echo "$as_me: failed program was:" >&5
     9210sed 's/^/| /' conftest.$ac_ext >&5
     9211
     9212        cat >conftest.$ac_ext <<_ACEOF
     9213/* confdefs.h.  */
     9214_ACEOF
     9215cat confdefs.h >>conftest.$ac_ext
     9216cat >>conftest.$ac_ext <<_ACEOF
     9217/* end confdefs.h.  */
     9218$ac_includes_default
     9219int
     9220main ()
     9221{
     9222static int test_array [1 - 2 * !(((long int) (sizeof (int))) < 0)];
     9223test_array [0] = 0
     9224
     9225  ;
     9226  return 0;
     9227}
     9228_ACEOF
     9229rm -f conftest.$ac_objext
     9230if { (ac_try="$ac_compile"
     9231case "(($ac_try" in
     9232  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9233  *) ac_try_echo=$ac_try;;
     9234esac
     9235eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9236$as_echo "$ac_try_echo") >&5
     9237  (eval "$ac_compile") 2>conftest.er1
     9238  ac_status=$?
     9239  grep -v '^ *+' conftest.er1 >conftest.err
     9240  rm -f conftest.er1
     9241  cat conftest.err >&5
     9242  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9243  (exit $ac_status); } && {
     9244         test -z "$ac_cxx_werror_flag" ||
     9245         test ! -s conftest.err
     9246       } && test -s conftest.$ac_objext; then
     9247  ac_hi=-1 ac_mid=-1
     9248  while :; do
     9249    cat >conftest.$ac_ext <<_ACEOF
     9250/* confdefs.h.  */
     9251_ACEOF
     9252cat confdefs.h >>conftest.$ac_ext
     9253cat >>conftest.$ac_ext <<_ACEOF
     9254/* end confdefs.h.  */
     9255$ac_includes_default
     9256int
     9257main ()
     9258{
     9259static int test_array [1 - 2 * !(((long int) (sizeof (int))) >= $ac_mid)];
     9260test_array [0] = 0
     9261
     9262  ;
     9263  return 0;
     9264}
     9265_ACEOF
     9266rm -f conftest.$ac_objext
     9267if { (ac_try="$ac_compile"
     9268case "(($ac_try" in
     9269  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9270  *) ac_try_echo=$ac_try;;
     9271esac
     9272eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9273$as_echo "$ac_try_echo") >&5
     9274  (eval "$ac_compile") 2>conftest.er1
     9275  ac_status=$?
     9276  grep -v '^ *+' conftest.er1 >conftest.err
     9277  rm -f conftest.er1
     9278  cat conftest.err >&5
     9279  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9280  (exit $ac_status); } && {
     9281         test -z "$ac_cxx_werror_flag" ||
     9282         test ! -s conftest.err
     9283       } && test -s conftest.$ac_objext; then
     9284  ac_lo=$ac_mid; break
     9285else
     9286  $as_echo "$as_me: failed program was:" >&5
     9287sed 's/^/| /' conftest.$ac_ext >&5
     9288
     9289        ac_hi=`expr '(' $ac_mid ')' - 1`
     9290                        if test $ac_mid -le $ac_hi; then
     9291                          ac_lo= ac_hi=
     9292                          break
     9293                        fi
     9294                        ac_mid=`expr 2 '*' $ac_mid`
     9295fi
     9296
     9297rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9298  done
     9299else
     9300  $as_echo "$as_me: failed program was:" >&5
     9301sed 's/^/| /' conftest.$ac_ext >&5
     9302
     9303        ac_lo= ac_hi=
     9304fi
     9305
     9306rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9307fi
     9308
     9309rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9310# Binary search between lo and hi bounds.
     9311while test "x$ac_lo" != "x$ac_hi"; do
     9312  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     9313  cat >conftest.$ac_ext <<_ACEOF
     9314/* confdefs.h.  */
     9315_ACEOF
     9316cat confdefs.h >>conftest.$ac_ext
     9317cat >>conftest.$ac_ext <<_ACEOF
     9318/* end confdefs.h.  */
     9319$ac_includes_default
     9320int
     9321main ()
     9322{
     9323static int test_array [1 - 2 * !(((long int) (sizeof (int))) <= $ac_mid)];
     9324test_array [0] = 0
     9325
     9326  ;
     9327  return 0;
     9328}
     9329_ACEOF
     9330rm -f conftest.$ac_objext
     9331if { (ac_try="$ac_compile"
     9332case "(($ac_try" in
     9333  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9334  *) ac_try_echo=$ac_try;;
     9335esac
     9336eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9337$as_echo "$ac_try_echo") >&5
     9338  (eval "$ac_compile") 2>conftest.er1
     9339  ac_status=$?
     9340  grep -v '^ *+' conftest.er1 >conftest.err
     9341  rm -f conftest.er1
     9342  cat conftest.err >&5
     9343  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9344  (exit $ac_status); } && {
     9345         test -z "$ac_cxx_werror_flag" ||
     9346         test ! -s conftest.err
     9347       } && test -s conftest.$ac_objext; then
     9348  ac_hi=$ac_mid
     9349else
     9350  $as_echo "$as_me: failed program was:" >&5
     9351sed 's/^/| /' conftest.$ac_ext >&5
     9352
     9353        ac_lo=`expr '(' $ac_mid ')' + 1`
     9354fi
     9355
     9356rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9357done
     9358case $ac_lo in
     9359?*) ac_cv_sizeof_int=$ac_lo;;
     9360'') if test "$ac_cv_type_int" = yes; then
     9361     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    77969362$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7797 as_fn_error 77 "cannot compute sizeof (int)
    7798 See \`config.log' for more details" "$LINENO" 5; }
     9363{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     9364See \`config.log' for more details." >&5
     9365$as_echo "$as_me: error: cannot compute sizeof (int)
     9366See \`config.log' for more details." >&2;}
     9367   { (exit 77); exit 77; }; }; }
     9368   else
     9369     ac_cv_sizeof_int=0
     9370   fi ;;
     9371esac
     9372else
     9373  cat >conftest.$ac_ext <<_ACEOF
     9374/* confdefs.h.  */
     9375_ACEOF
     9376cat confdefs.h >>conftest.$ac_ext
     9377cat >>conftest.$ac_ext <<_ACEOF
     9378/* end confdefs.h.  */
     9379$ac_includes_default
     9380static long int longval () { return (long int) (sizeof (int)); }
     9381static unsigned long int ulongval () { return (long int) (sizeof (int)); }
     9382#include <stdio.h>
     9383#include <stdlib.h>
     9384int
     9385main ()
     9386{
     9387
     9388  FILE *f = fopen ("conftest.val", "w");
     9389  if (! f)
     9390    return 1;
     9391  if (((long int) (sizeof (int))) < 0)
     9392    {
     9393      long int i = longval ();
     9394      if (i != ((long int) (sizeof (int))))
     9395        return 1;
     9396      fprintf (f, "%ld", i);
     9397    }
     9398  else
     9399    {
     9400      unsigned long int i = ulongval ();
     9401      if (i != ((long int) (sizeof (int))))
     9402        return 1;
     9403      fprintf (f, "%lu", i);
     9404    }
     9405  /* Do not output a trailing newline, as this causes \r\n confusion
     9406     on some platforms.  */
     9407  return ferror (f) || fclose (f) != 0;
     9408
     9409  ;
     9410  return 0;
     9411}
     9412_ACEOF
     9413rm -f conftest$ac_exeext
     9414if { (ac_try="$ac_link"
     9415case "(($ac_try" in
     9416  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9417  *) ac_try_echo=$ac_try;;
     9418esac
     9419eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9420$as_echo "$ac_try_echo") >&5
     9421  (eval "$ac_link") 2>&5
     9422  ac_status=$?
     9423  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9424  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9425  { (case "(($ac_try" in
     9426  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9427  *) ac_try_echo=$ac_try;;
     9428esac
     9429eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9430$as_echo "$ac_try_echo") >&5
     9431  (eval "$ac_try") 2>&5
     9432  ac_status=$?
     9433  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9434  (exit $ac_status); }; }; then
     9435  ac_cv_sizeof_int=`cat conftest.val`
     9436else
     9437  $as_echo "$as_me: program exited with status $ac_status" >&5
     9438$as_echo "$as_me: failed program was:" >&5
     9439sed 's/^/| /' conftest.$ac_ext >&5
     9440
     9441( exit $ac_status )
     9442if test "$ac_cv_type_int" = yes; then
     9443     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9444$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9445{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (int)
     9446See \`config.log' for more details." >&5
     9447$as_echo "$as_me: error: cannot compute sizeof (int)
     9448See \`config.log' for more details." >&2;}
     9449   { (exit 77); exit 77; }; }; }
    77999450   else
    78009451     ac_cv_sizeof_int=0
    78019452   fi
    78029453fi
    7803 
    7804 fi
    7805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
     9454rm -rf conftest.dSYM
     9455rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9456fi
     9457rm -f conftest.val
     9458fi
     9459{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
    78069460$as_echo "$ac_cv_sizeof_int" >&6; }
    78079461
     
    78179471# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    78189472# This bug is HP SR number 8606223364.
    7819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
     9473{ $as_echo "$as_me:$LINENO: checking size of long" >&5
    78209474$as_echo_n "checking size of long... " >&6; }
    7821 if ${ac_cv_sizeof_long+:} false; then :
     9475if test "${ac_cv_sizeof_long+set}" = set; then
    78229476  $as_echo_n "(cached) " >&6
    78239477else
    7824   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
    7825 
    7826 else
    7827   if test "$ac_cv_type_long" = yes; then
    7828      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9478  if test "$cross_compiling" = yes; then
     9479  # Depending upon the size, compute the lo and hi bounds.
     9480cat >conftest.$ac_ext <<_ACEOF
     9481/* confdefs.h.  */
     9482_ACEOF
     9483cat confdefs.h >>conftest.$ac_ext
     9484cat >>conftest.$ac_ext <<_ACEOF
     9485/* end confdefs.h.  */
     9486$ac_includes_default
     9487int
     9488main ()
     9489{
     9490static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= 0)];
     9491test_array [0] = 0
     9492
     9493  ;
     9494  return 0;
     9495}
     9496_ACEOF
     9497rm -f conftest.$ac_objext
     9498if { (ac_try="$ac_compile"
     9499case "(($ac_try" in
     9500  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9501  *) ac_try_echo=$ac_try;;
     9502esac
     9503eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9504$as_echo "$ac_try_echo") >&5
     9505  (eval "$ac_compile") 2>conftest.er1
     9506  ac_status=$?
     9507  grep -v '^ *+' conftest.er1 >conftest.err
     9508  rm -f conftest.er1
     9509  cat conftest.err >&5
     9510  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9511  (exit $ac_status); } && {
     9512         test -z "$ac_cxx_werror_flag" ||
     9513         test ! -s conftest.err
     9514       } && test -s conftest.$ac_objext; then
     9515  ac_lo=0 ac_mid=0
     9516  while :; do
     9517    cat >conftest.$ac_ext <<_ACEOF
     9518/* confdefs.h.  */
     9519_ACEOF
     9520cat confdefs.h >>conftest.$ac_ext
     9521cat >>conftest.$ac_ext <<_ACEOF
     9522/* end confdefs.h.  */
     9523$ac_includes_default
     9524int
     9525main ()
     9526{
     9527static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     9528test_array [0] = 0
     9529
     9530  ;
     9531  return 0;
     9532}
     9533_ACEOF
     9534rm -f conftest.$ac_objext
     9535if { (ac_try="$ac_compile"
     9536case "(($ac_try" in
     9537  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9538  *) ac_try_echo=$ac_try;;
     9539esac
     9540eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9541$as_echo "$ac_try_echo") >&5
     9542  (eval "$ac_compile") 2>conftest.er1
     9543  ac_status=$?
     9544  grep -v '^ *+' conftest.er1 >conftest.err
     9545  rm -f conftest.er1
     9546  cat conftest.err >&5
     9547  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9548  (exit $ac_status); } && {
     9549         test -z "$ac_cxx_werror_flag" ||
     9550         test ! -s conftest.err
     9551       } && test -s conftest.$ac_objext; then
     9552  ac_hi=$ac_mid; break
     9553else
     9554  $as_echo "$as_me: failed program was:" >&5
     9555sed 's/^/| /' conftest.$ac_ext >&5
     9556
     9557        ac_lo=`expr $ac_mid + 1`
     9558                        if test $ac_lo -le $ac_mid; then
     9559                          ac_lo= ac_hi=
     9560                          break
     9561                        fi
     9562                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9563fi
     9564
     9565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9566  done
     9567else
     9568  $as_echo "$as_me: failed program was:" >&5
     9569sed 's/^/| /' conftest.$ac_ext >&5
     9570
     9571        cat >conftest.$ac_ext <<_ACEOF
     9572/* confdefs.h.  */
     9573_ACEOF
     9574cat confdefs.h >>conftest.$ac_ext
     9575cat >>conftest.$ac_ext <<_ACEOF
     9576/* end confdefs.h.  */
     9577$ac_includes_default
     9578int
     9579main ()
     9580{
     9581static int test_array [1 - 2 * !(((long int) (sizeof (long))) < 0)];
     9582test_array [0] = 0
     9583
     9584  ;
     9585  return 0;
     9586}
     9587_ACEOF
     9588rm -f conftest.$ac_objext
     9589if { (ac_try="$ac_compile"
     9590case "(($ac_try" in
     9591  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9592  *) ac_try_echo=$ac_try;;
     9593esac
     9594eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9595$as_echo "$ac_try_echo") >&5
     9596  (eval "$ac_compile") 2>conftest.er1
     9597  ac_status=$?
     9598  grep -v '^ *+' conftest.er1 >conftest.err
     9599  rm -f conftest.er1
     9600  cat conftest.err >&5
     9601  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9602  (exit $ac_status); } && {
     9603         test -z "$ac_cxx_werror_flag" ||
     9604         test ! -s conftest.err
     9605       } && test -s conftest.$ac_objext; then
     9606  ac_hi=-1 ac_mid=-1
     9607  while :; do
     9608    cat >conftest.$ac_ext <<_ACEOF
     9609/* confdefs.h.  */
     9610_ACEOF
     9611cat confdefs.h >>conftest.$ac_ext
     9612cat >>conftest.$ac_ext <<_ACEOF
     9613/* end confdefs.h.  */
     9614$ac_includes_default
     9615int
     9616main ()
     9617{
     9618static int test_array [1 - 2 * !(((long int) (sizeof (long))) >= $ac_mid)];
     9619test_array [0] = 0
     9620
     9621  ;
     9622  return 0;
     9623}
     9624_ACEOF
     9625rm -f conftest.$ac_objext
     9626if { (ac_try="$ac_compile"
     9627case "(($ac_try" in
     9628  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9629  *) ac_try_echo=$ac_try;;
     9630esac
     9631eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9632$as_echo "$ac_try_echo") >&5
     9633  (eval "$ac_compile") 2>conftest.er1
     9634  ac_status=$?
     9635  grep -v '^ *+' conftest.er1 >conftest.err
     9636  rm -f conftest.er1
     9637  cat conftest.err >&5
     9638  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9639  (exit $ac_status); } && {
     9640         test -z "$ac_cxx_werror_flag" ||
     9641         test ! -s conftest.err
     9642       } && test -s conftest.$ac_objext; then
     9643  ac_lo=$ac_mid; break
     9644else
     9645  $as_echo "$as_me: failed program was:" >&5
     9646sed 's/^/| /' conftest.$ac_ext >&5
     9647
     9648        ac_hi=`expr '(' $ac_mid ')' - 1`
     9649                        if test $ac_mid -le $ac_hi; then
     9650                          ac_lo= ac_hi=
     9651                          break
     9652                        fi
     9653                        ac_mid=`expr 2 '*' $ac_mid`
     9654fi
     9655
     9656rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9657  done
     9658else
     9659  $as_echo "$as_me: failed program was:" >&5
     9660sed 's/^/| /' conftest.$ac_ext >&5
     9661
     9662        ac_lo= ac_hi=
     9663fi
     9664
     9665rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9666fi
     9667
     9668rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9669# Binary search between lo and hi bounds.
     9670while test "x$ac_lo" != "x$ac_hi"; do
     9671  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     9672  cat >conftest.$ac_ext <<_ACEOF
     9673/* confdefs.h.  */
     9674_ACEOF
     9675cat confdefs.h >>conftest.$ac_ext
     9676cat >>conftest.$ac_ext <<_ACEOF
     9677/* end confdefs.h.  */
     9678$ac_includes_default
     9679int
     9680main ()
     9681{
     9682static int test_array [1 - 2 * !(((long int) (sizeof (long))) <= $ac_mid)];
     9683test_array [0] = 0
     9684
     9685  ;
     9686  return 0;
     9687}
     9688_ACEOF
     9689rm -f conftest.$ac_objext
     9690if { (ac_try="$ac_compile"
     9691case "(($ac_try" in
     9692  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9693  *) ac_try_echo=$ac_try;;
     9694esac
     9695eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9696$as_echo "$ac_try_echo") >&5
     9697  (eval "$ac_compile") 2>conftest.er1
     9698  ac_status=$?
     9699  grep -v '^ *+' conftest.er1 >conftest.err
     9700  rm -f conftest.er1
     9701  cat conftest.err >&5
     9702  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9703  (exit $ac_status); } && {
     9704         test -z "$ac_cxx_werror_flag" ||
     9705         test ! -s conftest.err
     9706       } && test -s conftest.$ac_objext; then
     9707  ac_hi=$ac_mid
     9708else
     9709  $as_echo "$as_me: failed program was:" >&5
     9710sed 's/^/| /' conftest.$ac_ext >&5
     9711
     9712        ac_lo=`expr '(' $ac_mid ')' + 1`
     9713fi
     9714
     9715rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9716done
     9717case $ac_lo in
     9718?*) ac_cv_sizeof_long=$ac_lo;;
     9719'') if test "$ac_cv_type_long" = yes; then
     9720     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    78299721$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7830 as_fn_error 77 "cannot compute sizeof (long)
    7831 See \`config.log' for more details" "$LINENO" 5; }
     9722{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     9723See \`config.log' for more details." >&5
     9724$as_echo "$as_me: error: cannot compute sizeof (long)
     9725See \`config.log' for more details." >&2;}
     9726   { (exit 77); exit 77; }; }; }
     9727   else
     9728     ac_cv_sizeof_long=0
     9729   fi ;;
     9730esac
     9731else
     9732  cat >conftest.$ac_ext <<_ACEOF
     9733/* confdefs.h.  */
     9734_ACEOF
     9735cat confdefs.h >>conftest.$ac_ext
     9736cat >>conftest.$ac_ext <<_ACEOF
     9737/* end confdefs.h.  */
     9738$ac_includes_default
     9739static long int longval () { return (long int) (sizeof (long)); }
     9740static unsigned long int ulongval () { return (long int) (sizeof (long)); }
     9741#include <stdio.h>
     9742#include <stdlib.h>
     9743int
     9744main ()
     9745{
     9746
     9747  FILE *f = fopen ("conftest.val", "w");
     9748  if (! f)
     9749    return 1;
     9750  if (((long int) (sizeof (long))) < 0)
     9751    {
     9752      long int i = longval ();
     9753      if (i != ((long int) (sizeof (long))))
     9754        return 1;
     9755      fprintf (f, "%ld", i);
     9756    }
     9757  else
     9758    {
     9759      unsigned long int i = ulongval ();
     9760      if (i != ((long int) (sizeof (long))))
     9761        return 1;
     9762      fprintf (f, "%lu", i);
     9763    }
     9764  /* Do not output a trailing newline, as this causes \r\n confusion
     9765     on some platforms.  */
     9766  return ferror (f) || fclose (f) != 0;
     9767
     9768  ;
     9769  return 0;
     9770}
     9771_ACEOF
     9772rm -f conftest$ac_exeext
     9773if { (ac_try="$ac_link"
     9774case "(($ac_try" in
     9775  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9776  *) ac_try_echo=$ac_try;;
     9777esac
     9778eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9779$as_echo "$ac_try_echo") >&5
     9780  (eval "$ac_link") 2>&5
     9781  ac_status=$?
     9782  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9783  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     9784  { (case "(($ac_try" in
     9785  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9786  *) ac_try_echo=$ac_try;;
     9787esac
     9788eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9789$as_echo "$ac_try_echo") >&5
     9790  (eval "$ac_try") 2>&5
     9791  ac_status=$?
     9792  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9793  (exit $ac_status); }; }; then
     9794  ac_cv_sizeof_long=`cat conftest.val`
     9795else
     9796  $as_echo "$as_me: program exited with status $ac_status" >&5
     9797$as_echo "$as_me: failed program was:" >&5
     9798sed 's/^/| /' conftest.$ac_ext >&5
     9799
     9800( exit $ac_status )
     9801if test "$ac_cv_type_long" = yes; then
     9802     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     9803$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     9804{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long)
     9805See \`config.log' for more details." >&5
     9806$as_echo "$as_me: error: cannot compute sizeof (long)
     9807See \`config.log' for more details." >&2;}
     9808   { (exit 77); exit 77; }; }; }
    78329809   else
    78339810     ac_cv_sizeof_long=0
    78349811   fi
    78359812fi
    7836 
    7837 fi
    7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
     9813rm -rf conftest.dSYM
     9814rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     9815fi
     9816rm -f conftest.val
     9817fi
     9818{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
    78399819$as_echo "$ac_cv_sizeof_long" >&6; }
    78409820
     
    78509830# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    78519831# This bug is HP SR number 8606223364.
    7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
     9832{ $as_echo "$as_me:$LINENO: checking size of long long" >&5
    78539833$as_echo_n "checking size of long long... " >&6; }
    7854 if ${ac_cv_sizeof_long_long+:} false; then :
     9834if test "${ac_cv_sizeof_long_long+set}" = set; then
    78559835  $as_echo_n "(cached) " >&6
    78569836else
    7857   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long"        "$ac_includes_default"; then :
    7858 
    7859 else
    7860   if test "$ac_cv_type_long_long" = yes; then
    7861      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     9837  if test "$cross_compiling" = yes; then
     9838  # Depending upon the size, compute the lo and hi bounds.
     9839cat >conftest.$ac_ext <<_ACEOF
     9840/* confdefs.h.  */
     9841_ACEOF
     9842cat confdefs.h >>conftest.$ac_ext
     9843cat >>conftest.$ac_ext <<_ACEOF
     9844/* end confdefs.h.  */
     9845$ac_includes_default
     9846int
     9847main ()
     9848{
     9849static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= 0)];
     9850test_array [0] = 0
     9851
     9852  ;
     9853  return 0;
     9854}
     9855_ACEOF
     9856rm -f conftest.$ac_objext
     9857if { (ac_try="$ac_compile"
     9858case "(($ac_try" in
     9859  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9860  *) ac_try_echo=$ac_try;;
     9861esac
     9862eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9863$as_echo "$ac_try_echo") >&5
     9864  (eval "$ac_compile") 2>conftest.er1
     9865  ac_status=$?
     9866  grep -v '^ *+' conftest.er1 >conftest.err
     9867  rm -f conftest.er1
     9868  cat conftest.err >&5
     9869  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9870  (exit $ac_status); } && {
     9871         test -z "$ac_cxx_werror_flag" ||
     9872         test ! -s conftest.err
     9873       } && test -s conftest.$ac_objext; then
     9874  ac_lo=0 ac_mid=0
     9875  while :; do
     9876    cat >conftest.$ac_ext <<_ACEOF
     9877/* confdefs.h.  */
     9878_ACEOF
     9879cat confdefs.h >>conftest.$ac_ext
     9880cat >>conftest.$ac_ext <<_ACEOF
     9881/* end confdefs.h.  */
     9882$ac_includes_default
     9883int
     9884main ()
     9885{
     9886static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     9887test_array [0] = 0
     9888
     9889  ;
     9890  return 0;
     9891}
     9892_ACEOF
     9893rm -f conftest.$ac_objext
     9894if { (ac_try="$ac_compile"
     9895case "(($ac_try" in
     9896  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9897  *) ac_try_echo=$ac_try;;
     9898esac
     9899eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9900$as_echo "$ac_try_echo") >&5
     9901  (eval "$ac_compile") 2>conftest.er1
     9902  ac_status=$?
     9903  grep -v '^ *+' conftest.er1 >conftest.err
     9904  rm -f conftest.er1
     9905  cat conftest.err >&5
     9906  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9907  (exit $ac_status); } && {
     9908         test -z "$ac_cxx_werror_flag" ||
     9909         test ! -s conftest.err
     9910       } && test -s conftest.$ac_objext; then
     9911  ac_hi=$ac_mid; break
     9912else
     9913  $as_echo "$as_me: failed program was:" >&5
     9914sed 's/^/| /' conftest.$ac_ext >&5
     9915
     9916        ac_lo=`expr $ac_mid + 1`
     9917                        if test $ac_lo -le $ac_mid; then
     9918                          ac_lo= ac_hi=
     9919                          break
     9920                        fi
     9921                        ac_mid=`expr 2 '*' $ac_mid + 1`
     9922fi
     9923
     9924rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     9925  done
     9926else
     9927  $as_echo "$as_me: failed program was:" >&5
     9928sed 's/^/| /' conftest.$ac_ext >&5
     9929
     9930        cat >conftest.$ac_ext <<_ACEOF
     9931/* confdefs.h.  */
     9932_ACEOF
     9933cat confdefs.h >>conftest.$ac_ext
     9934cat >>conftest.$ac_ext <<_ACEOF
     9935/* end confdefs.h.  */
     9936$ac_includes_default
     9937int
     9938main ()
     9939{
     9940static int test_array [1 - 2 * !(((long int) (sizeof (long long))) < 0)];
     9941test_array [0] = 0
     9942
     9943  ;
     9944  return 0;
     9945}
     9946_ACEOF
     9947rm -f conftest.$ac_objext
     9948if { (ac_try="$ac_compile"
     9949case "(($ac_try" in
     9950  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9951  *) ac_try_echo=$ac_try;;
     9952esac
     9953eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9954$as_echo "$ac_try_echo") >&5
     9955  (eval "$ac_compile") 2>conftest.er1
     9956  ac_status=$?
     9957  grep -v '^ *+' conftest.er1 >conftest.err
     9958  rm -f conftest.er1
     9959  cat conftest.err >&5
     9960  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9961  (exit $ac_status); } && {
     9962         test -z "$ac_cxx_werror_flag" ||
     9963         test ! -s conftest.err
     9964       } && test -s conftest.$ac_objext; then
     9965  ac_hi=-1 ac_mid=-1
     9966  while :; do
     9967    cat >conftest.$ac_ext <<_ACEOF
     9968/* confdefs.h.  */
     9969_ACEOF
     9970cat confdefs.h >>conftest.$ac_ext
     9971cat >>conftest.$ac_ext <<_ACEOF
     9972/* end confdefs.h.  */
     9973$ac_includes_default
     9974int
     9975main ()
     9976{
     9977static int test_array [1 - 2 * !(((long int) (sizeof (long long))) >= $ac_mid)];
     9978test_array [0] = 0
     9979
     9980  ;
     9981  return 0;
     9982}
     9983_ACEOF
     9984rm -f conftest.$ac_objext
     9985if { (ac_try="$ac_compile"
     9986case "(($ac_try" in
     9987  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     9988  *) ac_try_echo=$ac_try;;
     9989esac
     9990eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     9991$as_echo "$ac_try_echo") >&5
     9992  (eval "$ac_compile") 2>conftest.er1
     9993  ac_status=$?
     9994  grep -v '^ *+' conftest.er1 >conftest.err
     9995  rm -f conftest.er1
     9996  cat conftest.err >&5
     9997  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9998  (exit $ac_status); } && {
     9999         test -z "$ac_cxx_werror_flag" ||
     10000         test ! -s conftest.err
     10001       } && test -s conftest.$ac_objext; then
     10002  ac_lo=$ac_mid; break
     10003else
     10004  $as_echo "$as_me: failed program was:" >&5
     10005sed 's/^/| /' conftest.$ac_ext >&5
     10006
     10007        ac_hi=`expr '(' $ac_mid ')' - 1`
     10008                        if test $ac_mid -le $ac_hi; then
     10009                          ac_lo= ac_hi=
     10010                          break
     10011                        fi
     10012                        ac_mid=`expr 2 '*' $ac_mid`
     10013fi
     10014
     10015rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10016  done
     10017else
     10018  $as_echo "$as_me: failed program was:" >&5
     10019sed 's/^/| /' conftest.$ac_ext >&5
     10020
     10021        ac_lo= ac_hi=
     10022fi
     10023
     10024rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10025fi
     10026
     10027rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10028# Binary search between lo and hi bounds.
     10029while test "x$ac_lo" != "x$ac_hi"; do
     10030  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10031  cat >conftest.$ac_ext <<_ACEOF
     10032/* confdefs.h.  */
     10033_ACEOF
     10034cat confdefs.h >>conftest.$ac_ext
     10035cat >>conftest.$ac_ext <<_ACEOF
     10036/* end confdefs.h.  */
     10037$ac_includes_default
     10038int
     10039main ()
     10040{
     10041static int test_array [1 - 2 * !(((long int) (sizeof (long long))) <= $ac_mid)];
     10042test_array [0] = 0
     10043
     10044  ;
     10045  return 0;
     10046}
     10047_ACEOF
     10048rm -f conftest.$ac_objext
     10049if { (ac_try="$ac_compile"
     10050case "(($ac_try" in
     10051  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10052  *) ac_try_echo=$ac_try;;
     10053esac
     10054eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10055$as_echo "$ac_try_echo") >&5
     10056  (eval "$ac_compile") 2>conftest.er1
     10057  ac_status=$?
     10058  grep -v '^ *+' conftest.er1 >conftest.err
     10059  rm -f conftest.er1
     10060  cat conftest.err >&5
     10061  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10062  (exit $ac_status); } && {
     10063         test -z "$ac_cxx_werror_flag" ||
     10064         test ! -s conftest.err
     10065       } && test -s conftest.$ac_objext; then
     10066  ac_hi=$ac_mid
     10067else
     10068  $as_echo "$as_me: failed program was:" >&5
     10069sed 's/^/| /' conftest.$ac_ext >&5
     10070
     10071        ac_lo=`expr '(' $ac_mid ')' + 1`
     10072fi
     10073
     10074rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10075done
     10076case $ac_lo in
     10077?*) ac_cv_sizeof_long_long=$ac_lo;;
     10078'') if test "$ac_cv_type_long_long" = yes; then
     10079     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    786210080$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7863 as_fn_error 77 "cannot compute sizeof (long long)
    7864 See \`config.log' for more details" "$LINENO" 5; }
     10081{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     10082See \`config.log' for more details." >&5
     10083$as_echo "$as_me: error: cannot compute sizeof (long long)
     10084See \`config.log' for more details." >&2;}
     10085   { (exit 77); exit 77; }; }; }
     10086   else
     10087     ac_cv_sizeof_long_long=0
     10088   fi ;;
     10089esac
     10090else
     10091  cat >conftest.$ac_ext <<_ACEOF
     10092/* confdefs.h.  */
     10093_ACEOF
     10094cat confdefs.h >>conftest.$ac_ext
     10095cat >>conftest.$ac_ext <<_ACEOF
     10096/* end confdefs.h.  */
     10097$ac_includes_default
     10098static long int longval () { return (long int) (sizeof (long long)); }
     10099static unsigned long int ulongval () { return (long int) (sizeof (long long)); }
     10100#include <stdio.h>
     10101#include <stdlib.h>
     10102int
     10103main ()
     10104{
     10105
     10106  FILE *f = fopen ("conftest.val", "w");
     10107  if (! f)
     10108    return 1;
     10109  if (((long int) (sizeof (long long))) < 0)
     10110    {
     10111      long int i = longval ();
     10112      if (i != ((long int) (sizeof (long long))))
     10113        return 1;
     10114      fprintf (f, "%ld", i);
     10115    }
     10116  else
     10117    {
     10118      unsigned long int i = ulongval ();
     10119      if (i != ((long int) (sizeof (long long))))
     10120        return 1;
     10121      fprintf (f, "%lu", i);
     10122    }
     10123  /* Do not output a trailing newline, as this causes \r\n confusion
     10124     on some platforms.  */
     10125  return ferror (f) || fclose (f) != 0;
     10126
     10127  ;
     10128  return 0;
     10129}
     10130_ACEOF
     10131rm -f conftest$ac_exeext
     10132if { (ac_try="$ac_link"
     10133case "(($ac_try" in
     10134  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10135  *) ac_try_echo=$ac_try;;
     10136esac
     10137eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10138$as_echo "$ac_try_echo") >&5
     10139  (eval "$ac_link") 2>&5
     10140  ac_status=$?
     10141  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10142  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10143  { (case "(($ac_try" in
     10144  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10145  *) ac_try_echo=$ac_try;;
     10146esac
     10147eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10148$as_echo "$ac_try_echo") >&5
     10149  (eval "$ac_try") 2>&5
     10150  ac_status=$?
     10151  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10152  (exit $ac_status); }; }; then
     10153  ac_cv_sizeof_long_long=`cat conftest.val`
     10154else
     10155  $as_echo "$as_me: program exited with status $ac_status" >&5
     10156$as_echo "$as_me: failed program was:" >&5
     10157sed 's/^/| /' conftest.$ac_ext >&5
     10158
     10159( exit $ac_status )
     10160if test "$ac_cv_type_long_long" = yes; then
     10161     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10162$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10163{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
     10164See \`config.log' for more details." >&5
     10165$as_echo "$as_me: error: cannot compute sizeof (long long)
     10166See \`config.log' for more details." >&2;}
     10167   { (exit 77); exit 77; }; }; }
    786510168   else
    786610169     ac_cv_sizeof_long_long=0
    786710170   fi
    786810171fi
    7869 
    7870 fi
    7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
     10172rm -rf conftest.dSYM
     10173rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10174fi
     10175rm -f conftest.val
     10176fi
     10177{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
    787210178$as_echo "$ac_cv_sizeof_long_long" >&6; }
    787310179
     
    788310189# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    788410190# This bug is HP SR number 8606223364.
    7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
     10191{ $as_echo "$as_me:$LINENO: checking size of void *" >&5
    788610192$as_echo_n "checking size of void *... " >&6; }
    7887 if ${ac_cv_sizeof_void_p+:} false; then :
     10193if test "${ac_cv_sizeof_void_p+set}" = set; then
    788810194  $as_echo_n "(cached) " >&6
    788910195else
    7890   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
    7891 
    7892 else
    7893   if test "$ac_cv_type_void_p" = yes; then
    7894      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10196  if test "$cross_compiling" = yes; then
     10197  # Depending upon the size, compute the lo and hi bounds.
     10198cat >conftest.$ac_ext <<_ACEOF
     10199/* confdefs.h.  */
     10200_ACEOF
     10201cat confdefs.h >>conftest.$ac_ext
     10202cat >>conftest.$ac_ext <<_ACEOF
     10203/* end confdefs.h.  */
     10204$ac_includes_default
     10205int
     10206main ()
     10207{
     10208static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= 0)];
     10209test_array [0] = 0
     10210
     10211  ;
     10212  return 0;
     10213}
     10214_ACEOF
     10215rm -f conftest.$ac_objext
     10216if { (ac_try="$ac_compile"
     10217case "(($ac_try" in
     10218  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10219  *) ac_try_echo=$ac_try;;
     10220esac
     10221eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10222$as_echo "$ac_try_echo") >&5
     10223  (eval "$ac_compile") 2>conftest.er1
     10224  ac_status=$?
     10225  grep -v '^ *+' conftest.er1 >conftest.err
     10226  rm -f conftest.er1
     10227  cat conftest.err >&5
     10228  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10229  (exit $ac_status); } && {
     10230         test -z "$ac_cxx_werror_flag" ||
     10231         test ! -s conftest.err
     10232       } && test -s conftest.$ac_objext; then
     10233  ac_lo=0 ac_mid=0
     10234  while :; do
     10235    cat >conftest.$ac_ext <<_ACEOF
     10236/* confdefs.h.  */
     10237_ACEOF
     10238cat confdefs.h >>conftest.$ac_ext
     10239cat >>conftest.$ac_ext <<_ACEOF
     10240/* end confdefs.h.  */
     10241$ac_includes_default
     10242int
     10243main ()
     10244{
     10245static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     10246test_array [0] = 0
     10247
     10248  ;
     10249  return 0;
     10250}
     10251_ACEOF
     10252rm -f conftest.$ac_objext
     10253if { (ac_try="$ac_compile"
     10254case "(($ac_try" in
     10255  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10256  *) ac_try_echo=$ac_try;;
     10257esac
     10258eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10259$as_echo "$ac_try_echo") >&5
     10260  (eval "$ac_compile") 2>conftest.er1
     10261  ac_status=$?
     10262  grep -v '^ *+' conftest.er1 >conftest.err
     10263  rm -f conftest.er1
     10264  cat conftest.err >&5
     10265  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10266  (exit $ac_status); } && {
     10267         test -z "$ac_cxx_werror_flag" ||
     10268         test ! -s conftest.err
     10269       } && test -s conftest.$ac_objext; then
     10270  ac_hi=$ac_mid; break
     10271else
     10272  $as_echo "$as_me: failed program was:" >&5
     10273sed 's/^/| /' conftest.$ac_ext >&5
     10274
     10275        ac_lo=`expr $ac_mid + 1`
     10276                        if test $ac_lo -le $ac_mid; then
     10277                          ac_lo= ac_hi=
     10278                          break
     10279                        fi
     10280                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10281fi
     10282
     10283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10284  done
     10285else
     10286  $as_echo "$as_me: failed program was:" >&5
     10287sed 's/^/| /' conftest.$ac_ext >&5
     10288
     10289        cat >conftest.$ac_ext <<_ACEOF
     10290/* confdefs.h.  */
     10291_ACEOF
     10292cat confdefs.h >>conftest.$ac_ext
     10293cat >>conftest.$ac_ext <<_ACEOF
     10294/* end confdefs.h.  */
     10295$ac_includes_default
     10296int
     10297main ()
     10298{
     10299static int test_array [1 - 2 * !(((long int) (sizeof (void *))) < 0)];
     10300test_array [0] = 0
     10301
     10302  ;
     10303  return 0;
     10304}
     10305_ACEOF
     10306rm -f conftest.$ac_objext
     10307if { (ac_try="$ac_compile"
     10308case "(($ac_try" in
     10309  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10310  *) ac_try_echo=$ac_try;;
     10311esac
     10312eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10313$as_echo "$ac_try_echo") >&5
     10314  (eval "$ac_compile") 2>conftest.er1
     10315  ac_status=$?
     10316  grep -v '^ *+' conftest.er1 >conftest.err
     10317  rm -f conftest.er1
     10318  cat conftest.err >&5
     10319  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10320  (exit $ac_status); } && {
     10321         test -z "$ac_cxx_werror_flag" ||
     10322         test ! -s conftest.err
     10323       } && test -s conftest.$ac_objext; then
     10324  ac_hi=-1 ac_mid=-1
     10325  while :; do
     10326    cat >conftest.$ac_ext <<_ACEOF
     10327/* confdefs.h.  */
     10328_ACEOF
     10329cat confdefs.h >>conftest.$ac_ext
     10330cat >>conftest.$ac_ext <<_ACEOF
     10331/* end confdefs.h.  */
     10332$ac_includes_default
     10333int
     10334main ()
     10335{
     10336static int test_array [1 - 2 * !(((long int) (sizeof (void *))) >= $ac_mid)];
     10337test_array [0] = 0
     10338
     10339  ;
     10340  return 0;
     10341}
     10342_ACEOF
     10343rm -f conftest.$ac_objext
     10344if { (ac_try="$ac_compile"
     10345case "(($ac_try" in
     10346  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10347  *) ac_try_echo=$ac_try;;
     10348esac
     10349eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10350$as_echo "$ac_try_echo") >&5
     10351  (eval "$ac_compile") 2>conftest.er1
     10352  ac_status=$?
     10353  grep -v '^ *+' conftest.er1 >conftest.err
     10354  rm -f conftest.er1
     10355  cat conftest.err >&5
     10356  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10357  (exit $ac_status); } && {
     10358         test -z "$ac_cxx_werror_flag" ||
     10359         test ! -s conftest.err
     10360       } && test -s conftest.$ac_objext; then
     10361  ac_lo=$ac_mid; break
     10362else
     10363  $as_echo "$as_me: failed program was:" >&5
     10364sed 's/^/| /' conftest.$ac_ext >&5
     10365
     10366        ac_hi=`expr '(' $ac_mid ')' - 1`
     10367                        if test $ac_mid -le $ac_hi; then
     10368                          ac_lo= ac_hi=
     10369                          break
     10370                        fi
     10371                        ac_mid=`expr 2 '*' $ac_mid`
     10372fi
     10373
     10374rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10375  done
     10376else
     10377  $as_echo "$as_me: failed program was:" >&5
     10378sed 's/^/| /' conftest.$ac_ext >&5
     10379
     10380        ac_lo= ac_hi=
     10381fi
     10382
     10383rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10384fi
     10385
     10386rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10387# Binary search between lo and hi bounds.
     10388while test "x$ac_lo" != "x$ac_hi"; do
     10389  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10390  cat >conftest.$ac_ext <<_ACEOF
     10391/* confdefs.h.  */
     10392_ACEOF
     10393cat confdefs.h >>conftest.$ac_ext
     10394cat >>conftest.$ac_ext <<_ACEOF
     10395/* end confdefs.h.  */
     10396$ac_includes_default
     10397int
     10398main ()
     10399{
     10400static int test_array [1 - 2 * !(((long int) (sizeof (void *))) <= $ac_mid)];
     10401test_array [0] = 0
     10402
     10403  ;
     10404  return 0;
     10405}
     10406_ACEOF
     10407rm -f conftest.$ac_objext
     10408if { (ac_try="$ac_compile"
     10409case "(($ac_try" in
     10410  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10411  *) ac_try_echo=$ac_try;;
     10412esac
     10413eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10414$as_echo "$ac_try_echo") >&5
     10415  (eval "$ac_compile") 2>conftest.er1
     10416  ac_status=$?
     10417  grep -v '^ *+' conftest.er1 >conftest.err
     10418  rm -f conftest.er1
     10419  cat conftest.err >&5
     10420  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10421  (exit $ac_status); } && {
     10422         test -z "$ac_cxx_werror_flag" ||
     10423         test ! -s conftest.err
     10424       } && test -s conftest.$ac_objext; then
     10425  ac_hi=$ac_mid
     10426else
     10427  $as_echo "$as_me: failed program was:" >&5
     10428sed 's/^/| /' conftest.$ac_ext >&5
     10429
     10430        ac_lo=`expr '(' $ac_mid ')' + 1`
     10431fi
     10432
     10433rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10434done
     10435case $ac_lo in
     10436?*) ac_cv_sizeof_void_p=$ac_lo;;
     10437'') if test "$ac_cv_type_void_p" = yes; then
     10438     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    789510439$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7896 as_fn_error 77 "cannot compute sizeof (void *)
    7897 See \`config.log' for more details" "$LINENO" 5; }
     10440{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     10441See \`config.log' for more details." >&5
     10442$as_echo "$as_me: error: cannot compute sizeof (void *)
     10443See \`config.log' for more details." >&2;}
     10444   { (exit 77); exit 77; }; }; }
     10445   else
     10446     ac_cv_sizeof_void_p=0
     10447   fi ;;
     10448esac
     10449else
     10450  cat >conftest.$ac_ext <<_ACEOF
     10451/* confdefs.h.  */
     10452_ACEOF
     10453cat confdefs.h >>conftest.$ac_ext
     10454cat >>conftest.$ac_ext <<_ACEOF
     10455/* end confdefs.h.  */
     10456$ac_includes_default
     10457static long int longval () { return (long int) (sizeof (void *)); }
     10458static unsigned long int ulongval () { return (long int) (sizeof (void *)); }
     10459#include <stdio.h>
     10460#include <stdlib.h>
     10461int
     10462main ()
     10463{
     10464
     10465  FILE *f = fopen ("conftest.val", "w");
     10466  if (! f)
     10467    return 1;
     10468  if (((long int) (sizeof (void *))) < 0)
     10469    {
     10470      long int i = longval ();
     10471      if (i != ((long int) (sizeof (void *))))
     10472        return 1;
     10473      fprintf (f, "%ld", i);
     10474    }
     10475  else
     10476    {
     10477      unsigned long int i = ulongval ();
     10478      if (i != ((long int) (sizeof (void *))))
     10479        return 1;
     10480      fprintf (f, "%lu", i);
     10481    }
     10482  /* Do not output a trailing newline, as this causes \r\n confusion
     10483     on some platforms.  */
     10484  return ferror (f) || fclose (f) != 0;
     10485
     10486  ;
     10487  return 0;
     10488}
     10489_ACEOF
     10490rm -f conftest$ac_exeext
     10491if { (ac_try="$ac_link"
     10492case "(($ac_try" in
     10493  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10494  *) ac_try_echo=$ac_try;;
     10495esac
     10496eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10497$as_echo "$ac_try_echo") >&5
     10498  (eval "$ac_link") 2>&5
     10499  ac_status=$?
     10500  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10501  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10502  { (case "(($ac_try" in
     10503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10504  *) ac_try_echo=$ac_try;;
     10505esac
     10506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10507$as_echo "$ac_try_echo") >&5
     10508  (eval "$ac_try") 2>&5
     10509  ac_status=$?
     10510  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10511  (exit $ac_status); }; }; then
     10512  ac_cv_sizeof_void_p=`cat conftest.val`
     10513else
     10514  $as_echo "$as_me: program exited with status $ac_status" >&5
     10515$as_echo "$as_me: failed program was:" >&5
     10516sed 's/^/| /' conftest.$ac_ext >&5
     10517
     10518( exit $ac_status )
     10519if test "$ac_cv_type_void_p" = yes; then
     10520     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10521$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10522{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
     10523See \`config.log' for more details." >&5
     10524$as_echo "$as_me: error: cannot compute sizeof (void *)
     10525See \`config.log' for more details." >&2;}
     10526   { (exit 77); exit 77; }; }; }
    789810527   else
    789910528     ac_cv_sizeof_void_p=0
    790010529   fi
    790110530fi
    7902 
    7903 fi
    7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
     10531rm -rf conftest.dSYM
     10532rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10533fi
     10534rm -f conftest.val
     10535fi
     10536{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
    790510537$as_echo "$ac_cv_sizeof_void_p" >&6; }
    790610538
     
    791610548# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
    791710549# This bug is HP SR number 8606223364.
    7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of float" >&5
     10550{ $as_echo "$as_me:$LINENO: checking size of float" >&5
    791910551$as_echo_n "checking size of float... " >&6; }
    7920 if ${ac_cv_sizeof_float+:} false; then :
     10552if test "${ac_cv_sizeof_float+set}" = set; then
    792110553  $as_echo_n "(cached) " >&6
    792210554else
    7923   if ac_fn_cxx_compute_int "$LINENO" "(long int) (sizeof (float))" "ac_cv_sizeof_float"        "$ac_includes_default"; then :
    7924 
    7925 else
    7926   if test "$ac_cv_type_float" = yes; then
    7927      { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     10555  if test "$cross_compiling" = yes; then
     10556  # Depending upon the size, compute the lo and hi bounds.
     10557cat >conftest.$ac_ext <<_ACEOF
     10558/* confdefs.h.  */
     10559_ACEOF
     10560cat confdefs.h >>conftest.$ac_ext
     10561cat >>conftest.$ac_ext <<_ACEOF
     10562/* end confdefs.h.  */
     10563$ac_includes_default
     10564int
     10565main ()
     10566{
     10567static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= 0)];
     10568test_array [0] = 0
     10569
     10570  ;
     10571  return 0;
     10572}
     10573_ACEOF
     10574rm -f conftest.$ac_objext
     10575if { (ac_try="$ac_compile"
     10576case "(($ac_try" in
     10577  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10578  *) ac_try_echo=$ac_try;;
     10579esac
     10580eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10581$as_echo "$ac_try_echo") >&5
     10582  (eval "$ac_compile") 2>conftest.er1
     10583  ac_status=$?
     10584  grep -v '^ *+' conftest.er1 >conftest.err
     10585  rm -f conftest.er1
     10586  cat conftest.err >&5
     10587  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10588  (exit $ac_status); } && {
     10589         test -z "$ac_cxx_werror_flag" ||
     10590         test ! -s conftest.err
     10591       } && test -s conftest.$ac_objext; then
     10592  ac_lo=0 ac_mid=0
     10593  while :; do
     10594    cat >conftest.$ac_ext <<_ACEOF
     10595/* confdefs.h.  */
     10596_ACEOF
     10597cat confdefs.h >>conftest.$ac_ext
     10598cat >>conftest.$ac_ext <<_ACEOF
     10599/* end confdefs.h.  */
     10600$ac_includes_default
     10601int
     10602main ()
     10603{
     10604static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
     10605test_array [0] = 0
     10606
     10607  ;
     10608  return 0;
     10609}
     10610_ACEOF
     10611rm -f conftest.$ac_objext
     10612if { (ac_try="$ac_compile"
     10613case "(($ac_try" in
     10614  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10615  *) ac_try_echo=$ac_try;;
     10616esac
     10617eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10618$as_echo "$ac_try_echo") >&5
     10619  (eval "$ac_compile") 2>conftest.er1
     10620  ac_status=$?
     10621  grep -v '^ *+' conftest.er1 >conftest.err
     10622  rm -f conftest.er1
     10623  cat conftest.err >&5
     10624  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10625  (exit $ac_status); } && {
     10626         test -z "$ac_cxx_werror_flag" ||
     10627         test ! -s conftest.err
     10628       } && test -s conftest.$ac_objext; then
     10629  ac_hi=$ac_mid; break
     10630else
     10631  $as_echo "$as_me: failed program was:" >&5
     10632sed 's/^/| /' conftest.$ac_ext >&5
     10633
     10634        ac_lo=`expr $ac_mid + 1`
     10635                        if test $ac_lo -le $ac_mid; then
     10636                          ac_lo= ac_hi=
     10637                          break
     10638                        fi
     10639                        ac_mid=`expr 2 '*' $ac_mid + 1`
     10640fi
     10641
     10642rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10643  done
     10644else
     10645  $as_echo "$as_me: failed program was:" >&5
     10646sed 's/^/| /' conftest.$ac_ext >&5
     10647
     10648        cat >conftest.$ac_ext <<_ACEOF
     10649/* confdefs.h.  */
     10650_ACEOF
     10651cat confdefs.h >>conftest.$ac_ext
     10652cat >>conftest.$ac_ext <<_ACEOF
     10653/* end confdefs.h.  */
     10654$ac_includes_default
     10655int
     10656main ()
     10657{
     10658static int test_array [1 - 2 * !(((long int) (sizeof (float))) < 0)];
     10659test_array [0] = 0
     10660
     10661  ;
     10662  return 0;
     10663}
     10664_ACEOF
     10665rm -f conftest.$ac_objext
     10666if { (ac_try="$ac_compile"
     10667case "(($ac_try" in
     10668  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10669  *) ac_try_echo=$ac_try;;
     10670esac
     10671eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10672$as_echo "$ac_try_echo") >&5
     10673  (eval "$ac_compile") 2>conftest.er1
     10674  ac_status=$?
     10675  grep -v '^ *+' conftest.er1 >conftest.err
     10676  rm -f conftest.er1
     10677  cat conftest.err >&5
     10678  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10679  (exit $ac_status); } && {
     10680         test -z "$ac_cxx_werror_flag" ||
     10681         test ! -s conftest.err
     10682       } && test -s conftest.$ac_objext; then
     10683  ac_hi=-1 ac_mid=-1
     10684  while :; do
     10685    cat >conftest.$ac_ext <<_ACEOF
     10686/* confdefs.h.  */
     10687_ACEOF
     10688cat confdefs.h >>conftest.$ac_ext
     10689cat >>conftest.$ac_ext <<_ACEOF
     10690/* end confdefs.h.  */
     10691$ac_includes_default
     10692int
     10693main ()
     10694{
     10695static int test_array [1 - 2 * !(((long int) (sizeof (float))) >= $ac_mid)];
     10696test_array [0] = 0
     10697
     10698  ;
     10699  return 0;
     10700}
     10701_ACEOF
     10702rm -f conftest.$ac_objext
     10703if { (ac_try="$ac_compile"
     10704case "(($ac_try" in
     10705  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10706  *) ac_try_echo=$ac_try;;
     10707esac
     10708eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10709$as_echo "$ac_try_echo") >&5
     10710  (eval "$ac_compile") 2>conftest.er1
     10711  ac_status=$?
     10712  grep -v '^ *+' conftest.er1 >conftest.err
     10713  rm -f conftest.er1
     10714  cat conftest.err >&5
     10715  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10716  (exit $ac_status); } && {
     10717         test -z "$ac_cxx_werror_flag" ||
     10718         test ! -s conftest.err
     10719       } && test -s conftest.$ac_objext; then
     10720  ac_lo=$ac_mid; break
     10721else
     10722  $as_echo "$as_me: failed program was:" >&5
     10723sed 's/^/| /' conftest.$ac_ext >&5
     10724
     10725        ac_hi=`expr '(' $ac_mid ')' - 1`
     10726                        if test $ac_mid -le $ac_hi; then
     10727                          ac_lo= ac_hi=
     10728                          break
     10729                        fi
     10730                        ac_mid=`expr 2 '*' $ac_mid`
     10731fi
     10732
     10733rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10734  done
     10735else
     10736  $as_echo "$as_me: failed program was:" >&5
     10737sed 's/^/| /' conftest.$ac_ext >&5
     10738
     10739        ac_lo= ac_hi=
     10740fi
     10741
     10742rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10743fi
     10744
     10745rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10746# Binary search between lo and hi bounds.
     10747while test "x$ac_lo" != "x$ac_hi"; do
     10748  ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
     10749  cat >conftest.$ac_ext <<_ACEOF
     10750/* confdefs.h.  */
     10751_ACEOF
     10752cat confdefs.h >>conftest.$ac_ext
     10753cat >>conftest.$ac_ext <<_ACEOF
     10754/* end confdefs.h.  */
     10755$ac_includes_default
     10756int
     10757main ()
     10758{
     10759static int test_array [1 - 2 * !(((long int) (sizeof (float))) <= $ac_mid)];
     10760test_array [0] = 0
     10761
     10762  ;
     10763  return 0;
     10764}
     10765_ACEOF
     10766rm -f conftest.$ac_objext
     10767if { (ac_try="$ac_compile"
     10768case "(($ac_try" in
     10769  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10770  *) ac_try_echo=$ac_try;;
     10771esac
     10772eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10773$as_echo "$ac_try_echo") >&5
     10774  (eval "$ac_compile") 2>conftest.er1
     10775  ac_status=$?
     10776  grep -v '^ *+' conftest.er1 >conftest.err
     10777  rm -f conftest.er1
     10778  cat conftest.err >&5
     10779  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10780  (exit $ac_status); } && {
     10781         test -z "$ac_cxx_werror_flag" ||
     10782         test ! -s conftest.err
     10783       } && test -s conftest.$ac_objext; then
     10784  ac_hi=$ac_mid
     10785else
     10786  $as_echo "$as_me: failed program was:" >&5
     10787sed 's/^/| /' conftest.$ac_ext >&5
     10788
     10789        ac_lo=`expr '(' $ac_mid ')' + 1`
     10790fi
     10791
     10792rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     10793done
     10794case $ac_lo in
     10795?*) ac_cv_sizeof_float=$ac_lo;;
     10796'') if test "$ac_cv_type_float" = yes; then
     10797     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    792810798$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7929 as_fn_error 77 "cannot compute sizeof (float)
    7930 See \`config.log' for more details" "$LINENO" 5; }
     10799{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
     10800See \`config.log' for more details." >&5
     10801$as_echo "$as_me: error: cannot compute sizeof (float)
     10802See \`config.log' for more details." >&2;}
     10803   { (exit 77); exit 77; }; }; }
     10804   else
     10805     ac_cv_sizeof_float=0
     10806   fi ;;
     10807esac
     10808else
     10809  cat >conftest.$ac_ext <<_ACEOF
     10810/* confdefs.h.  */
     10811_ACEOF
     10812cat confdefs.h >>conftest.$ac_ext
     10813cat >>conftest.$ac_ext <<_ACEOF
     10814/* end confdefs.h.  */
     10815$ac_includes_default
     10816static long int longval () { return (long int) (sizeof (float)); }
     10817static unsigned long int ulongval () { return (long int) (sizeof (float)); }
     10818#include <stdio.h>
     10819#include <stdlib.h>
     10820int
     10821main ()
     10822{
     10823
     10824  FILE *f = fopen ("conftest.val", "w");
     10825  if (! f)
     10826    return 1;
     10827  if (((long int) (sizeof (float))) < 0)
     10828    {
     10829      long int i = longval ();
     10830      if (i != ((long int) (sizeof (float))))
     10831        return 1;
     10832      fprintf (f, "%ld", i);
     10833    }
     10834  else
     10835    {
     10836      unsigned long int i = ulongval ();
     10837      if (i != ((long int) (sizeof (float))))
     10838        return 1;
     10839      fprintf (f, "%lu", i);
     10840    }
     10841  /* Do not output a trailing newline, as this causes \r\n confusion
     10842     on some platforms.  */
     10843  return ferror (f) || fclose (f) != 0;
     10844
     10845  ;
     10846  return 0;
     10847}
     10848_ACEOF
     10849rm -f conftest$ac_exeext
     10850if { (ac_try="$ac_link"
     10851case "(($ac_try" in
     10852  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10853  *) ac_try_echo=$ac_try;;
     10854esac
     10855eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10856$as_echo "$ac_try_echo") >&5
     10857  (eval "$ac_link") 2>&5
     10858  ac_status=$?
     10859  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10860  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     10861  { (case "(($ac_try" in
     10862  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     10863  *) ac_try_echo=$ac_try;;
     10864esac
     10865eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     10866$as_echo "$ac_try_echo") >&5
     10867  (eval "$ac_try") 2>&5
     10868  ac_status=$?
     10869  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     10870  (exit $ac_status); }; }; then
     10871  ac_cv_sizeof_float=`cat conftest.val`
     10872else
     10873  $as_echo "$as_me: program exited with status $ac_status" >&5
     10874$as_echo "$as_me: failed program was:" >&5
     10875sed 's/^/| /' conftest.$ac_ext >&5
     10876
     10877( exit $ac_status )
     10878if test "$ac_cv_type_float" = yes; then
     10879     { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     10880$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     10881{ { $as_echo "$as_me:$LINENO: error: cannot compute sizeof (float)
     10882See \`config.log' for more details." >&5
     10883$as_echo "$as_me: error: cannot compute sizeof (float)
     10884See \`config.log' for more details." >&2;}
     10885   { (exit 77); exit 77; }; }; }
    793110886   else
    793210887     ac_cv_sizeof_float=0
    793310888   fi
    793410889fi
    7935 
    7936 fi
    7937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_float" >&5
     10890rm -rf conftest.dSYM
     10891rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     10892fi
     10893rm -f conftest.val
     10894fi
     10895{ $as_echo "$as_me:$LINENO: result: $ac_cv_sizeof_float" >&5
    793810896$as_echo "$ac_cv_sizeof_float" >&6; }
    793910897
     
    796210920LD_RPATH="";
    796310921
    7964 SUBDIRS="nanoscale nanovis pymolproxy"
     10922SUBDIRS="nanoscale nanovis pymolproxy vtkvis"
    796510923
    796610924
     
    801110969RP2_INCL_DIR=""
    801210970RP_DIR=""
    8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rappture" >&5
     10971{ $as_echo "$as_me:$LINENO: checking for rappture" >&5
    801410972$as_echo_n "checking for rappture... " >&6; }
    801510973if test "x$with_rappture" != "x" ; then
     
    801710975        if test -f "$with_rappture"
    801810976        then
    8019             { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10977            { $as_echo "$as_me:$LINENO: result: no" >&5
    802010978$as_echo "no" >&6; }
    8021             as_fn_error $? "please provide --with-rappture with directory" "$LINENO" 5
     10979            { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5
     10980$as_echo "$as_me: error: please provide --with-rappture with directory" >&2;}
     10981   { (exit 1); exit 1; }; }
    802210982        else
    802310983            if test -d "$with_rappture"
     
    802710987                    RP2_INCL_DIR="$with_rappture/include/rappture2"
    802810988                    RP_DIR="$with_rappture"
    8029                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     10989                    { $as_echo "$as_me:$LINENO: result: yes" >&5
    803010990$as_echo "yes" >&6; }
    803110991                else
    8032                     { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10992                    { $as_echo "$as_me:$LINENO: result: no" >&5
    803310993$as_echo "no" >&6; }
    8034                     as_fn_error $? "cannot find rappture2.h and librappture2.a, try using --with-rappture" "$LINENO" 5
     10994                    { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5
     10995$as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}
     10996   { (exit 1); exit 1; }; }
    803510997                fi
    803610998            else
    8037                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     10999                { $as_echo "$as_me:$LINENO: result: no" >&5
    803811000$as_echo "no" >&6; }
    8039                 as_fn_error $? "cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" "$LINENO" 5
     11001                { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5
     11002$as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}
     11003   { (exit 1); exit 1; }; }
    804011004            fi
    804111005        fi
     
    804311007        RP2_INCL_DIR="$prefix/include/rappture2"
    804411008        RP_DIR="$prefix"
    8045         { $as_echo "$as_me:${as_lineno-$LINENO}: result: set to prefix" >&5
     11009        { $as_echo "$as_me:$LINENO: result: set to prefix" >&5
    804611010$as_echo "set to prefix" >&6; }
    804711011    fi
    804811012else
    804911013
     11014
    805011015for ac_header in rappture.h
    8051 do :
    8052   ac_fn_cxx_check_header_mongrel "$LINENO" "rappture.h" "ac_cv_header_rappture_h" "$ac_includes_default"
    8053 if test "x$ac_cv_header_rappture_h" = xyes; then :
    8054   cat >>confdefs.h <<_ACEOF
    8055 #define HAVE_RAPPTURE_H 1
    8056 _ACEOF
    8057 
    8058 else
    8059   as_fn_error $? "cannot find rappture.h, try using --with-rappture" "$LINENO" 5
    8060 fi
    8061 
    8062 done
    8063 
    8064 
    8065 
    8066 fi
    8067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${RP_DIR}/include" >&5
    8068 $as_echo "${RP_DIR}/include" >&6; }
    8069 
    8070 
    8071 
    8072 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glui.h" "ac_cv_header_GL_glui_h" "$ac_includes_default"
    8073 if test "x$ac_cv_header_GL_glui_h" = xyes; then :
    8074 
    8075 fi
    8076 
    8077 
    8078 ac_fn_cxx_check_header_mongrel "$LINENO" "glui.h" "ac_cv_header_glui_h" "$ac_includes_default"
    8079 if test "x$ac_cv_header_glui_h" = xyes; then :
    8080 
    8081 fi
    8082 
    8083 
    8084 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glut.h" "ac_cv_header_GL_glut_h" "$ac_includes_default"
    8085 if test "x$ac_cv_header_GL_glut_h" = xyes; then :
    8086 
    8087 fi
    8088 
    8089 
    8090 ac_fn_cxx_check_header_mongrel "$LINENO" "GL/glew.h" "ac_cv_header_GL_glew_h" "$ac_includes_default"
    8091 if test "x$ac_cv_header_GL_glew_h" = xyes; then :
    8092 
    8093 fi
    8094 
    8095 
    8096 ac_fn_cxx_check_header_mongrel "$LINENO" "Cg/cgGL.h" "ac_cv_header_Cg_cgGL_h" "$ac_includes_default"
    8097 if test "x$ac_cv_header_Cg_cgGL_h" = xyes; then :
    8098 
    8099 fi
    8100 
    8101 
    8102 
    8103 for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    8104 do :
    8105   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8106 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8107 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     11016do
     11017as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     11018if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11019  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11020$as_echo_n "checking for $ac_header... " >&6; }
     11021if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11022  $as_echo_n "(cached) " >&6
     11023fi
     11024ac_res=`eval 'as_val=${'$as_ac_Header'}
     11025                 $as_echo "$as_val"'`
     11026               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11027$as_echo "$ac_res" >&6; }
     11028else
     11029  # Is the header compilable?
     11030{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     11031$as_echo_n "checking $ac_header usability... " >&6; }
     11032cat >conftest.$ac_ext <<_ACEOF
     11033/* confdefs.h.  */
     11034_ACEOF
     11035cat confdefs.h >>conftest.$ac_ext
     11036cat >>conftest.$ac_ext <<_ACEOF
     11037/* end confdefs.h.  */
     11038$ac_includes_default
     11039#include <$ac_header>
     11040_ACEOF
     11041rm -f conftest.$ac_objext
     11042if { (ac_try="$ac_compile"
     11043case "(($ac_try" in
     11044  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11045  *) ac_try_echo=$ac_try;;
     11046esac
     11047eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11048$as_echo "$ac_try_echo") >&5
     11049  (eval "$ac_compile") 2>conftest.er1
     11050  ac_status=$?
     11051  grep -v '^ *+' conftest.er1 >conftest.err
     11052  rm -f conftest.er1
     11053  cat conftest.err >&5
     11054  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11055  (exit $ac_status); } && {
     11056         test -z "$ac_cxx_werror_flag" ||
     11057         test ! -s conftest.err
     11058       } && test -s conftest.$ac_objext; then
     11059  ac_header_compiler=yes
     11060else
     11061  $as_echo "$as_me: failed program was:" >&5
     11062sed 's/^/| /' conftest.$ac_ext >&5
     11063
     11064        ac_header_compiler=no
     11065fi
     11066
     11067rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11068{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11069$as_echo "$ac_header_compiler" >&6; }
     11070
     11071# Is the header present?
     11072{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     11073$as_echo_n "checking $ac_header presence... " >&6; }
     11074cat >conftest.$ac_ext <<_ACEOF
     11075/* confdefs.h.  */
     11076_ACEOF
     11077cat confdefs.h >>conftest.$ac_ext
     11078cat >>conftest.$ac_ext <<_ACEOF
     11079/* end confdefs.h.  */
     11080#include <$ac_header>
     11081_ACEOF
     11082if { (ac_try="$ac_cpp conftest.$ac_ext"
     11083case "(($ac_try" in
     11084  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11085  *) ac_try_echo=$ac_try;;
     11086esac
     11087eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11088$as_echo "$ac_try_echo") >&5
     11089  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11090  ac_status=$?
     11091  grep -v '^ *+' conftest.er1 >conftest.err
     11092  rm -f conftest.er1
     11093  cat conftest.err >&5
     11094  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11095  (exit $ac_status); } >/dev/null && {
     11096         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11097         test ! -s conftest.err
     11098       }; then
     11099  ac_header_preproc=yes
     11100else
     11101  $as_echo "$as_me: failed program was:" >&5
     11102sed 's/^/| /' conftest.$ac_ext >&5
     11103
     11104  ac_header_preproc=no
     11105fi
     11106
     11107rm -f conftest.err conftest.$ac_ext
     11108{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11109$as_echo "$ac_header_preproc" >&6; }
     11110
     11111# So?  What about this header?
     11112case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11113  yes:no: )
     11114    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     11115$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11116    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     11117$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     11118    ac_header_preproc=yes
     11119    ;;
     11120  no:yes:* )
     11121    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     11122$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     11123    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     11124$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     11125    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     11126$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     11127    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     11128$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     11129    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     11130$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     11131    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     11132$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     11133    ( cat <<\_ASBOX
     11134## ----------------------------------- ##
     11135## Report this to rappture@nanohub.org ##
     11136## ----------------------------------- ##
     11137_ASBOX
     11138     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11139    ;;
     11140esac
     11141{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11142$as_echo_n "checking for $ac_header... " >&6; }
     11143if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11144  $as_echo_n "(cached) " >&6
     11145else
     11146  eval "$as_ac_Header=\$ac_header_preproc"
     11147fi
     11148ac_res=`eval 'as_val=${'$as_ac_Header'}
     11149                 $as_echo "$as_val"'`
     11150               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11151$as_echo "$ac_res" >&6; }
     11152
     11153fi
     11154as_val=`eval 'as_val=${'$as_ac_Header'}
     11155                 $as_echo "$as_val"'`
     11156   if test "x$as_val" = x""yes; then
    810811157  cat >>confdefs.h <<_ACEOF
    810911158#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    811011159_ACEOF
    811111160
     11161else
     11162  { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5
     11163$as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}
     11164   { (exit 1); exit 1; }; }
    811211165fi
    811311166
    811411167done
    811511168
    8116 for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    8117 do :
    8118   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8119 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8120 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     11169
     11170
     11171fi
     11172{ $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5
     11173$as_echo "${RP_DIR}/include" >&6; }
     11174
     11175
     11176
     11177if test "x$with_vtk_includes" != "x"; then
     11178   VTK_INC_SPEC=-I$with_vtk_includes
     11179fi
     11180
     11181save_CPPFLAGS=$CPPFLAGS
     11182CPPFLAGS=$VTK_INC_SPEC
     11183
     11184for ac_header in vtkSmartPointer.h
     11185do
     11186as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     11187if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11188  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11189$as_echo_n "checking for $ac_header... " >&6; }
     11190if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11191  $as_echo_n "(cached) " >&6
     11192fi
     11193ac_res=`eval 'as_val=${'$as_ac_Header'}
     11194                 $as_echo "$as_val"'`
     11195               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11196$as_echo "$ac_res" >&6; }
     11197else
     11198  # Is the header compilable?
     11199{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     11200$as_echo_n "checking $ac_header usability... " >&6; }
     11201cat >conftest.$ac_ext <<_ACEOF
     11202/* confdefs.h.  */
     11203_ACEOF
     11204cat confdefs.h >>conftest.$ac_ext
     11205cat >>conftest.$ac_ext <<_ACEOF
     11206/* end confdefs.h.  */
     11207$ac_includes_default
     11208#include <$ac_header>
     11209_ACEOF
     11210rm -f conftest.$ac_objext
     11211if { (ac_try="$ac_compile"
     11212case "(($ac_try" in
     11213  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11214  *) ac_try_echo=$ac_try;;
     11215esac
     11216eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11217$as_echo "$ac_try_echo") >&5
     11218  (eval "$ac_compile") 2>conftest.er1
     11219  ac_status=$?
     11220  grep -v '^ *+' conftest.er1 >conftest.err
     11221  rm -f conftest.er1
     11222  cat conftest.err >&5
     11223  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11224  (exit $ac_status); } && {
     11225         test -z "$ac_cxx_werror_flag" ||
     11226         test ! -s conftest.err
     11227       } && test -s conftest.$ac_objext; then
     11228  ac_header_compiler=yes
     11229else
     11230  $as_echo "$as_me: failed program was:" >&5
     11231sed 's/^/| /' conftest.$ac_ext >&5
     11232
     11233        ac_header_compiler=no
     11234fi
     11235
     11236rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11237{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11238$as_echo "$ac_header_compiler" >&6; }
     11239
     11240# Is the header present?
     11241{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     11242$as_echo_n "checking $ac_header presence... " >&6; }
     11243cat >conftest.$ac_ext <<_ACEOF
     11244/* confdefs.h.  */
     11245_ACEOF
     11246cat confdefs.h >>conftest.$ac_ext
     11247cat >>conftest.$ac_ext <<_ACEOF
     11248/* end confdefs.h.  */
     11249#include <$ac_header>
     11250_ACEOF
     11251if { (ac_try="$ac_cpp conftest.$ac_ext"
     11252case "(($ac_try" in
     11253  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11254  *) ac_try_echo=$ac_try;;
     11255esac
     11256eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11257$as_echo "$ac_try_echo") >&5
     11258  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11259  ac_status=$?
     11260  grep -v '^ *+' conftest.er1 >conftest.err
     11261  rm -f conftest.er1
     11262  cat conftest.err >&5
     11263  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11264  (exit $ac_status); } >/dev/null && {
     11265         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11266         test ! -s conftest.err
     11267       }; then
     11268  ac_header_preproc=yes
     11269else
     11270  $as_echo "$as_me: failed program was:" >&5
     11271sed 's/^/| /' conftest.$ac_ext >&5
     11272
     11273  ac_header_preproc=no
     11274fi
     11275
     11276rm -f conftest.err conftest.$ac_ext
     11277{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11278$as_echo "$ac_header_preproc" >&6; }
     11279
     11280# So?  What about this header?
     11281case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11282  yes:no: )
     11283    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     11284$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11285    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     11286$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     11287    ac_header_preproc=yes
     11288    ;;
     11289  no:yes:* )
     11290    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     11291$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     11292    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     11293$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     11294    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     11295$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     11296    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     11297$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     11298    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     11299$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     11300    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     11301$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     11302    ( cat <<\_ASBOX
     11303## ----------------------------------- ##
     11304## Report this to rappture@nanohub.org ##
     11305## ----------------------------------- ##
     11306_ASBOX
     11307     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11308    ;;
     11309esac
     11310{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     11311$as_echo_n "checking for $ac_header... " >&6; }
     11312if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     11313  $as_echo_n "(cached) " >&6
     11314else
     11315  eval "$as_ac_Header=\$ac_header_preproc"
     11316fi
     11317ac_res=`eval 'as_val=${'$as_ac_Header'}
     11318                 $as_echo "$as_val"'`
     11319               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     11320$as_echo "$ac_res" >&6; }
     11321
     11322fi
     11323as_val=`eval 'as_val=${'$as_ac_Header'}
     11324                 $as_echo "$as_val"'`
     11325   if test "x$as_val" = x""yes; then
    812111326  cat >>confdefs.h <<_ACEOF
    812211327#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    812311328_ACEOF
    812411329
     11330else
     11331  { { $as_echo "$as_me:$LINENO: error: cannot find VTK includes" >&5
     11332$as_echo "$as_me: error: cannot find VTK includes" >&2;}
     11333   { (exit 1); exit 1; }; }
    812511334fi
    812611335
    812711336done
    812811337
    8129 
    8130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenDX headers" >&5
     11338CPPFLAGS=$save_CPPFLAGS
     11339
     11340if test "x$with_vtk_libs" != "x"; then
     11341   VTK_LIB_SPEC=-L$with_vtk_libs
     11342fi
     11343
     11344
     11345
     11346
     11347if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11348  { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     11349$as_echo_n "checking for GL/glui.h... " >&6; }
     11350if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11351  $as_echo_n "(cached) " >&6
     11352fi
     11353{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     11354$as_echo "$ac_cv_header_GL_glui_h" >&6; }
     11355else
     11356  # Is the header compilable?
     11357{ $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
     11358$as_echo_n "checking GL/glui.h usability... " >&6; }
     11359cat >conftest.$ac_ext <<_ACEOF
     11360/* confdefs.h.  */
     11361_ACEOF
     11362cat confdefs.h >>conftest.$ac_ext
     11363cat >>conftest.$ac_ext <<_ACEOF
     11364/* end confdefs.h.  */
     11365$ac_includes_default
     11366#include <GL/glui.h>
     11367_ACEOF
     11368rm -f conftest.$ac_objext
     11369if { (ac_try="$ac_compile"
     11370case "(($ac_try" in
     11371  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11372  *) ac_try_echo=$ac_try;;
     11373esac
     11374eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11375$as_echo "$ac_try_echo") >&5
     11376  (eval "$ac_compile") 2>conftest.er1
     11377  ac_status=$?
     11378  grep -v '^ *+' conftest.er1 >conftest.err
     11379  rm -f conftest.er1
     11380  cat conftest.err >&5
     11381  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11382  (exit $ac_status); } && {
     11383         test -z "$ac_cxx_werror_flag" ||
     11384         test ! -s conftest.err
     11385       } && test -s conftest.$ac_objext; then
     11386  ac_header_compiler=yes
     11387else
     11388  $as_echo "$as_me: failed program was:" >&5
     11389sed 's/^/| /' conftest.$ac_ext >&5
     11390
     11391        ac_header_compiler=no
     11392fi
     11393
     11394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11395{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11396$as_echo "$ac_header_compiler" >&6; }
     11397
     11398# Is the header present?
     11399{ $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
     11400$as_echo_n "checking GL/glui.h presence... " >&6; }
     11401cat >conftest.$ac_ext <<_ACEOF
     11402/* confdefs.h.  */
     11403_ACEOF
     11404cat confdefs.h >>conftest.$ac_ext
     11405cat >>conftest.$ac_ext <<_ACEOF
     11406/* end confdefs.h.  */
     11407#include <GL/glui.h>
     11408_ACEOF
     11409if { (ac_try="$ac_cpp conftest.$ac_ext"
     11410case "(($ac_try" in
     11411  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11412  *) ac_try_echo=$ac_try;;
     11413esac
     11414eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11415$as_echo "$ac_try_echo") >&5
     11416  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11417  ac_status=$?
     11418  grep -v '^ *+' conftest.er1 >conftest.err
     11419  rm -f conftest.er1
     11420  cat conftest.err >&5
     11421  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11422  (exit $ac_status); } >/dev/null && {
     11423         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11424         test ! -s conftest.err
     11425       }; then
     11426  ac_header_preproc=yes
     11427else
     11428  $as_echo "$as_me: failed program was:" >&5
     11429sed 's/^/| /' conftest.$ac_ext >&5
     11430
     11431  ac_header_preproc=no
     11432fi
     11433
     11434rm -f conftest.err conftest.$ac_ext
     11435{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11436$as_echo "$ac_header_preproc" >&6; }
     11437
     11438# So?  What about this header?
     11439case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11440  yes:no: )
     11441    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11442$as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11443    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
     11444$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
     11445    ac_header_preproc=yes
     11446    ;;
     11447  no:yes:* )
     11448    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
     11449$as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
     11450    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
     11451$as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
     11452    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
     11453$as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
     11454    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     11455$as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11456    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
     11457$as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
     11458    { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
     11459$as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
     11460    ( cat <<\_ASBOX
     11461## ----------------------------------- ##
     11462## Report this to rappture@nanohub.org ##
     11463## ----------------------------------- ##
     11464_ASBOX
     11465     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11466    ;;
     11467esac
     11468{ $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     11469$as_echo_n "checking for GL/glui.h... " >&6; }
     11470if test "${ac_cv_header_GL_glui_h+set}" = set; then
     11471  $as_echo_n "(cached) " >&6
     11472else
     11473  ac_cv_header_GL_glui_h=$ac_header_preproc
     11474fi
     11475{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     11476$as_echo "$ac_cv_header_GL_glui_h" >&6; }
     11477
     11478fi
     11479
     11480
     11481if test "${ac_cv_header_glui_h+set}" = set; then
     11482  { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     11483$as_echo_n "checking for glui.h... " >&6; }
     11484if test "${ac_cv_header_glui_h+set}" = set; then
     11485  $as_echo_n "(cached) " >&6
     11486fi
     11487{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     11488$as_echo "$ac_cv_header_glui_h" >&6; }
     11489else
     11490  # Is the header compilable?
     11491{ $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
     11492$as_echo_n "checking glui.h usability... " >&6; }
     11493cat >conftest.$ac_ext <<_ACEOF
     11494/* confdefs.h.  */
     11495_ACEOF
     11496cat confdefs.h >>conftest.$ac_ext
     11497cat >>conftest.$ac_ext <<_ACEOF
     11498/* end confdefs.h.  */
     11499$ac_includes_default
     11500#include <glui.h>
     11501_ACEOF
     11502rm -f conftest.$ac_objext
     11503if { (ac_try="$ac_compile"
     11504case "(($ac_try" in
     11505  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11506  *) ac_try_echo=$ac_try;;
     11507esac
     11508eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11509$as_echo "$ac_try_echo") >&5
     11510  (eval "$ac_compile") 2>conftest.er1
     11511  ac_status=$?
     11512  grep -v '^ *+' conftest.er1 >conftest.err
     11513  rm -f conftest.er1
     11514  cat conftest.err >&5
     11515  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11516  (exit $ac_status); } && {
     11517         test -z "$ac_cxx_werror_flag" ||
     11518         test ! -s conftest.err
     11519       } && test -s conftest.$ac_objext; then
     11520  ac_header_compiler=yes
     11521else
     11522  $as_echo "$as_me: failed program was:" >&5
     11523sed 's/^/| /' conftest.$ac_ext >&5
     11524
     11525        ac_header_compiler=no
     11526fi
     11527
     11528rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11529{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11530$as_echo "$ac_header_compiler" >&6; }
     11531
     11532# Is the header present?
     11533{ $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
     11534$as_echo_n "checking glui.h presence... " >&6; }
     11535cat >conftest.$ac_ext <<_ACEOF
     11536/* confdefs.h.  */
     11537_ACEOF
     11538cat confdefs.h >>conftest.$ac_ext
     11539cat >>conftest.$ac_ext <<_ACEOF
     11540/* end confdefs.h.  */
     11541#include <glui.h>
     11542_ACEOF
     11543if { (ac_try="$ac_cpp conftest.$ac_ext"
     11544case "(($ac_try" in
     11545  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11546  *) ac_try_echo=$ac_try;;
     11547esac
     11548eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11549$as_echo "$ac_try_echo") >&5
     11550  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11551  ac_status=$?
     11552  grep -v '^ *+' conftest.er1 >conftest.err
     11553  rm -f conftest.er1
     11554  cat conftest.err >&5
     11555  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11556  (exit $ac_status); } >/dev/null && {
     11557         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11558         test ! -s conftest.err
     11559       }; then
     11560  ac_header_preproc=yes
     11561else
     11562  $as_echo "$as_me: failed program was:" >&5
     11563sed 's/^/| /' conftest.$ac_ext >&5
     11564
     11565  ac_header_preproc=no
     11566fi
     11567
     11568rm -f conftest.err conftest.$ac_ext
     11569{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11570$as_echo "$ac_header_preproc" >&6; }
     11571
     11572# So?  What about this header?
     11573case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11574  yes:no: )
     11575    { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11576$as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11577    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
     11578$as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
     11579    ac_header_preproc=yes
     11580    ;;
     11581  no:yes:* )
     11582    { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
     11583$as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
     11584    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
     11585$as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
     11586    { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
     11587$as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
     11588    { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     11589$as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11590    { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
     11591$as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
     11592    { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
     11593$as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
     11594    ( cat <<\_ASBOX
     11595## ----------------------------------- ##
     11596## Report this to rappture@nanohub.org ##
     11597## ----------------------------------- ##
     11598_ASBOX
     11599     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11600    ;;
     11601esac
     11602{ $as_echo "$as_me:$LINENO: checking for glui.h" >&5
     11603$as_echo_n "checking for glui.h... " >&6; }
     11604if test "${ac_cv_header_glui_h+set}" = set; then
     11605  $as_echo_n "(cached) " >&6
     11606else
     11607  ac_cv_header_glui_h=$ac_header_preproc
     11608fi
     11609{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     11610$as_echo "$ac_cv_header_glui_h" >&6; }
     11611
     11612fi
     11613
     11614
     11615if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11616  { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     11617$as_echo_n "checking for GL/glut.h... " >&6; }
     11618if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11619  $as_echo_n "(cached) " >&6
     11620fi
     11621{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     11622$as_echo "$ac_cv_header_GL_glut_h" >&6; }
     11623else
     11624  # Is the header compilable?
     11625{ $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
     11626$as_echo_n "checking GL/glut.h usability... " >&6; }
     11627cat >conftest.$ac_ext <<_ACEOF
     11628/* confdefs.h.  */
     11629_ACEOF
     11630cat confdefs.h >>conftest.$ac_ext
     11631cat >>conftest.$ac_ext <<_ACEOF
     11632/* end confdefs.h.  */
     11633$ac_includes_default
     11634#include <GL/glut.h>
     11635_ACEOF
     11636rm -f conftest.$ac_objext
     11637if { (ac_try="$ac_compile"
     11638case "(($ac_try" in
     11639  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11640  *) ac_try_echo=$ac_try;;
     11641esac
     11642eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11643$as_echo "$ac_try_echo") >&5
     11644  (eval "$ac_compile") 2>conftest.er1
     11645  ac_status=$?
     11646  grep -v '^ *+' conftest.er1 >conftest.err
     11647  rm -f conftest.er1
     11648  cat conftest.err >&5
     11649  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11650  (exit $ac_status); } && {
     11651         test -z "$ac_cxx_werror_flag" ||
     11652         test ! -s conftest.err
     11653       } && test -s conftest.$ac_objext; then
     11654  ac_header_compiler=yes
     11655else
     11656  $as_echo "$as_me: failed program was:" >&5
     11657sed 's/^/| /' conftest.$ac_ext >&5
     11658
     11659        ac_header_compiler=no
     11660fi
     11661
     11662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11663{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11664$as_echo "$ac_header_compiler" >&6; }
     11665
     11666# Is the header present?
     11667{ $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
     11668$as_echo_n "checking GL/glut.h presence... " >&6; }
     11669cat >conftest.$ac_ext <<_ACEOF
     11670/* confdefs.h.  */
     11671_ACEOF
     11672cat confdefs.h >>conftest.$ac_ext
     11673cat >>conftest.$ac_ext <<_ACEOF
     11674/* end confdefs.h.  */
     11675#include <GL/glut.h>
     11676_ACEOF
     11677if { (ac_try="$ac_cpp conftest.$ac_ext"
     11678case "(($ac_try" in
     11679  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11680  *) ac_try_echo=$ac_try;;
     11681esac
     11682eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11683$as_echo "$ac_try_echo") >&5
     11684  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11685  ac_status=$?
     11686  grep -v '^ *+' conftest.er1 >conftest.err
     11687  rm -f conftest.er1
     11688  cat conftest.err >&5
     11689  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11690  (exit $ac_status); } >/dev/null && {
     11691         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11692         test ! -s conftest.err
     11693       }; then
     11694  ac_header_preproc=yes
     11695else
     11696  $as_echo "$as_me: failed program was:" >&5
     11697sed 's/^/| /' conftest.$ac_ext >&5
     11698
     11699  ac_header_preproc=no
     11700fi
     11701
     11702rm -f conftest.err conftest.$ac_ext
     11703{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11704$as_echo "$ac_header_preproc" >&6; }
     11705
     11706# So?  What about this header?
     11707case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11708  yes:no: )
     11709    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11710$as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11711    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
     11712$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
     11713    ac_header_preproc=yes
     11714    ;;
     11715  no:yes:* )
     11716    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
     11717$as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
     11718    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
     11719$as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
     11720    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
     11721$as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
     11722    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
     11723$as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11724    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
     11725$as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
     11726    { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
     11727$as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
     11728    ( cat <<\_ASBOX
     11729## ----------------------------------- ##
     11730## Report this to rappture@nanohub.org ##
     11731## ----------------------------------- ##
     11732_ASBOX
     11733     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11734    ;;
     11735esac
     11736{ $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     11737$as_echo_n "checking for GL/glut.h... " >&6; }
     11738if test "${ac_cv_header_GL_glut_h+set}" = set; then
     11739  $as_echo_n "(cached) " >&6
     11740else
     11741  ac_cv_header_GL_glut_h=$ac_header_preproc
     11742fi
     11743{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     11744$as_echo "$ac_cv_header_GL_glut_h" >&6; }
     11745
     11746fi
     11747
     11748
     11749if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11750  { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     11751$as_echo_n "checking for GL/glew.h... " >&6; }
     11752if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11753  $as_echo_n "(cached) " >&6
     11754fi
     11755{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     11756$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     11757else
     11758  # Is the header compilable?
     11759{ $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
     11760$as_echo_n "checking GL/glew.h usability... " >&6; }
     11761cat >conftest.$ac_ext <<_ACEOF
     11762/* confdefs.h.  */
     11763_ACEOF
     11764cat confdefs.h >>conftest.$ac_ext
     11765cat >>conftest.$ac_ext <<_ACEOF
     11766/* end confdefs.h.  */
     11767$ac_includes_default
     11768#include <GL/glew.h>
     11769_ACEOF
     11770rm -f conftest.$ac_objext
     11771if { (ac_try="$ac_compile"
     11772case "(($ac_try" in
     11773  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11774  *) ac_try_echo=$ac_try;;
     11775esac
     11776eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11777$as_echo "$ac_try_echo") >&5
     11778  (eval "$ac_compile") 2>conftest.er1
     11779  ac_status=$?
     11780  grep -v '^ *+' conftest.er1 >conftest.err
     11781  rm -f conftest.er1
     11782  cat conftest.err >&5
     11783  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11784  (exit $ac_status); } && {
     11785         test -z "$ac_cxx_werror_flag" ||
     11786         test ! -s conftest.err
     11787       } && test -s conftest.$ac_objext; then
     11788  ac_header_compiler=yes
     11789else
     11790  $as_echo "$as_me: failed program was:" >&5
     11791sed 's/^/| /' conftest.$ac_ext >&5
     11792
     11793        ac_header_compiler=no
     11794fi
     11795
     11796rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11797{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11798$as_echo "$ac_header_compiler" >&6; }
     11799
     11800# Is the header present?
     11801{ $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
     11802$as_echo_n "checking GL/glew.h presence... " >&6; }
     11803cat >conftest.$ac_ext <<_ACEOF
     11804/* confdefs.h.  */
     11805_ACEOF
     11806cat confdefs.h >>conftest.$ac_ext
     11807cat >>conftest.$ac_ext <<_ACEOF
     11808/* end confdefs.h.  */
     11809#include <GL/glew.h>
     11810_ACEOF
     11811if { (ac_try="$ac_cpp conftest.$ac_ext"
     11812case "(($ac_try" in
     11813  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11814  *) ac_try_echo=$ac_try;;
     11815esac
     11816eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11817$as_echo "$ac_try_echo") >&5
     11818  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11819  ac_status=$?
     11820  grep -v '^ *+' conftest.er1 >conftest.err
     11821  rm -f conftest.er1
     11822  cat conftest.err >&5
     11823  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11824  (exit $ac_status); } >/dev/null && {
     11825         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11826         test ! -s conftest.err
     11827       }; then
     11828  ac_header_preproc=yes
     11829else
     11830  $as_echo "$as_me: failed program was:" >&5
     11831sed 's/^/| /' conftest.$ac_ext >&5
     11832
     11833  ac_header_preproc=no
     11834fi
     11835
     11836rm -f conftest.err conftest.$ac_ext
     11837{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11838$as_echo "$ac_header_preproc" >&6; }
     11839
     11840# So?  What about this header?
     11841case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11842  yes:no: )
     11843    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11844$as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11845    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
     11846$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
     11847    ac_header_preproc=yes
     11848    ;;
     11849  no:yes:* )
     11850    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
     11851$as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
     11852    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
     11853$as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
     11854    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
     11855$as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
     11856    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
     11857$as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11858    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
     11859$as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
     11860    { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
     11861$as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
     11862    ( cat <<\_ASBOX
     11863## ----------------------------------- ##
     11864## Report this to rappture@nanohub.org ##
     11865## ----------------------------------- ##
     11866_ASBOX
     11867     ) | sed "s/^/$as_me: WARNING:     /" >&2
     11868    ;;
     11869esac
     11870{ $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     11871$as_echo_n "checking for GL/glew.h... " >&6; }
     11872if test "${ac_cv_header_GL_glew_h+set}" = set; then
     11873  $as_echo_n "(cached) " >&6
     11874else
     11875  ac_cv_header_GL_glew_h=$ac_header_preproc
     11876fi
     11877{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     11878$as_echo "$ac_cv_header_GL_glew_h" >&6; }
     11879
     11880fi
     11881
     11882
     11883if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
     11884  { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     11885$as_echo_n "checking for Cg/cgGL.h... " >&6; }
     11886if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
     11887  $as_echo_n "(cached) " >&6
     11888fi
     11889{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     11890$as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
     11891else
     11892  # Is the header compilable?
     11893{ $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
     11894$as_echo_n "checking Cg/cgGL.h usability... " >&6; }
     11895cat >conftest.$ac_ext <<_ACEOF
     11896/* confdefs.h.  */
     11897_ACEOF
     11898cat confdefs.h >>conftest.$ac_ext
     11899cat >>conftest.$ac_ext <<_ACEOF
     11900/* end confdefs.h.  */
     11901$ac_includes_default
     11902#include <Cg/cgGL.h>
     11903_ACEOF
     11904rm -f conftest.$ac_objext
     11905if { (ac_try="$ac_compile"
     11906case "(($ac_try" in
     11907  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11908  *) ac_try_echo=$ac_try;;
     11909esac
     11910eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11911$as_echo "$ac_try_echo") >&5
     11912  (eval "$ac_compile") 2>conftest.er1
     11913  ac_status=$?
     11914  grep -v '^ *+' conftest.er1 >conftest.err
     11915  rm -f conftest.er1
     11916  cat conftest.err >&5
     11917  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11918  (exit $ac_status); } && {
     11919         test -z "$ac_cxx_werror_flag" ||
     11920         test ! -s conftest.err
     11921       } && test -s conftest.$ac_objext; then
     11922  ac_header_compiler=yes
     11923else
     11924  $as_echo "$as_me: failed program was:" >&5
     11925sed 's/^/| /' conftest.$ac_ext >&5
     11926
     11927        ac_header_compiler=no
     11928fi
     11929
     11930rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     11931{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     11932$as_echo "$ac_header_compiler" >&6; }
     11933
     11934# Is the header present?
     11935{ $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
     11936$as_echo_n "checking Cg/cgGL.h presence... " >&6; }
     11937cat >conftest.$ac_ext <<_ACEOF
     11938/* confdefs.h.  */
     11939_ACEOF
     11940cat confdefs.h >>conftest.$ac_ext
     11941cat >>conftest.$ac_ext <<_ACEOF
     11942/* end confdefs.h.  */
     11943#include <Cg/cgGL.h>
     11944_ACEOF
     11945if { (ac_try="$ac_cpp conftest.$ac_ext"
     11946case "(($ac_try" in
     11947  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     11948  *) ac_try_echo=$ac_try;;
     11949esac
     11950eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     11951$as_echo "$ac_try_echo") >&5
     11952  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     11953  ac_status=$?
     11954  grep -v '^ *+' conftest.er1 >conftest.err
     11955  rm -f conftest.er1
     11956  cat conftest.err >&5
     11957  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     11958  (exit $ac_status); } >/dev/null && {
     11959         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     11960         test ! -s conftest.err
     11961       }; then
     11962  ac_header_preproc=yes
     11963else
     11964  $as_echo "$as_me: failed program was:" >&5
     11965sed 's/^/| /' conftest.$ac_ext >&5
     11966
     11967  ac_header_preproc=no
     11968fi
     11969
     11970rm -f conftest.err conftest.$ac_ext
     11971{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     11972$as_echo "$ac_header_preproc" >&6; }
     11973
     11974# So?  What about this header?
     11975case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     11976  yes:no: )
     11977    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
     11978$as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     11979    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5
     11980$as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
     11981    ac_header_preproc=yes
     11982    ;;
     11983  no:yes:* )
     11984    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
     11985$as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}
     11986    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&5
     11987$as_echo "$as_me: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&2;}
     11988    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5
     11989$as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}
     11990    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&5
     11991$as_echo "$as_me: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     11992    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5
     11993$as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}
     11994    { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5
     11995$as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
     11996    ( cat <<\_ASBOX
     11997## ----------------------------------- ##
     11998## Report this to rappture@nanohub.org ##
     11999## ----------------------------------- ##
     12000_ASBOX
     12001     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12002    ;;
     12003esac
     12004{ $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     12005$as_echo_n "checking for Cg/cgGL.h... " >&6; }
     12006if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
     12007  $as_echo_n "(cached) " >&6
     12008else
     12009  ac_cv_header_Cg_cgGL_h=$ac_header_preproc
     12010fi
     12011{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     12012$as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
     12013
     12014fi
     12015
     12016
     12017
     12018
     12019
     12020
     12021
     12022
     12023for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
     12024do
     12025as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12026if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12027  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12028$as_echo_n "checking for $ac_header... " >&6; }
     12029if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12030  $as_echo_n "(cached) " >&6
     12031fi
     12032ac_res=`eval 'as_val=${'$as_ac_Header'}
     12033                 $as_echo "$as_val"'`
     12034               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12035$as_echo "$ac_res" >&6; }
     12036else
     12037  # Is the header compilable?
     12038{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12039$as_echo_n "checking $ac_header usability... " >&6; }
     12040cat >conftest.$ac_ext <<_ACEOF
     12041/* confdefs.h.  */
     12042_ACEOF
     12043cat confdefs.h >>conftest.$ac_ext
     12044cat >>conftest.$ac_ext <<_ACEOF
     12045/* end confdefs.h.  */
     12046$ac_includes_default
     12047#include <$ac_header>
     12048_ACEOF
     12049rm -f conftest.$ac_objext
     12050if { (ac_try="$ac_compile"
     12051case "(($ac_try" in
     12052  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12053  *) ac_try_echo=$ac_try;;
     12054esac
     12055eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12056$as_echo "$ac_try_echo") >&5
     12057  (eval "$ac_compile") 2>conftest.er1
     12058  ac_status=$?
     12059  grep -v '^ *+' conftest.er1 >conftest.err
     12060  rm -f conftest.er1
     12061  cat conftest.err >&5
     12062  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12063  (exit $ac_status); } && {
     12064         test -z "$ac_cxx_werror_flag" ||
     12065         test ! -s conftest.err
     12066       } && test -s conftest.$ac_objext; then
     12067  ac_header_compiler=yes
     12068else
     12069  $as_echo "$as_me: failed program was:" >&5
     12070sed 's/^/| /' conftest.$ac_ext >&5
     12071
     12072        ac_header_compiler=no
     12073fi
     12074
     12075rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12076{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12077$as_echo "$ac_header_compiler" >&6; }
     12078
     12079# Is the header present?
     12080{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12081$as_echo_n "checking $ac_header presence... " >&6; }
     12082cat >conftest.$ac_ext <<_ACEOF
     12083/* confdefs.h.  */
     12084_ACEOF
     12085cat confdefs.h >>conftest.$ac_ext
     12086cat >>conftest.$ac_ext <<_ACEOF
     12087/* end confdefs.h.  */
     12088#include <$ac_header>
     12089_ACEOF
     12090if { (ac_try="$ac_cpp conftest.$ac_ext"
     12091case "(($ac_try" in
     12092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12093  *) ac_try_echo=$ac_try;;
     12094esac
     12095eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12096$as_echo "$ac_try_echo") >&5
     12097  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12098  ac_status=$?
     12099  grep -v '^ *+' conftest.er1 >conftest.err
     12100  rm -f conftest.er1
     12101  cat conftest.err >&5
     12102  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12103  (exit $ac_status); } >/dev/null && {
     12104         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12105         test ! -s conftest.err
     12106       }; then
     12107  ac_header_preproc=yes
     12108else
     12109  $as_echo "$as_me: failed program was:" >&5
     12110sed 's/^/| /' conftest.$ac_ext >&5
     12111
     12112  ac_header_preproc=no
     12113fi
     12114
     12115rm -f conftest.err conftest.$ac_ext
     12116{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12117$as_echo "$ac_header_preproc" >&6; }
     12118
     12119# So?  What about this header?
     12120case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12121  yes:no: )
     12122    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12123$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12124    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12125$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12126    ac_header_preproc=yes
     12127    ;;
     12128  no:yes:* )
     12129    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12130$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12131    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12132$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12133    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12134$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12135    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12136$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12137    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12138$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12139    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12140$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12141    ( cat <<\_ASBOX
     12142## ----------------------------------- ##
     12143## Report this to rappture@nanohub.org ##
     12144## ----------------------------------- ##
     12145_ASBOX
     12146     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12147    ;;
     12148esac
     12149{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12150$as_echo_n "checking for $ac_header... " >&6; }
     12151if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12152  $as_echo_n "(cached) " >&6
     12153else
     12154  eval "$as_ac_Header=\$ac_header_preproc"
     12155fi
     12156ac_res=`eval 'as_val=${'$as_ac_Header'}
     12157                 $as_echo "$as_val"'`
     12158               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12159$as_echo "$ac_res" >&6; }
     12160
     12161fi
     12162as_val=`eval 'as_val=${'$as_ac_Header'}
     12163                 $as_echo "$as_val"'`
     12164   if test "x$as_val" = x""yes; then
     12165  cat >>confdefs.h <<_ACEOF
     12166#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     12167_ACEOF
     12168
     12169fi
     12170
     12171done
     12172
     12173
     12174
     12175
     12176
     12177
     12178for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
     12179do
     12180as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12181if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12182  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12183$as_echo_n "checking for $ac_header... " >&6; }
     12184if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12185  $as_echo_n "(cached) " >&6
     12186fi
     12187ac_res=`eval 'as_val=${'$as_ac_Header'}
     12188                 $as_echo "$as_val"'`
     12189               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12190$as_echo "$ac_res" >&6; }
     12191else
     12192  # Is the header compilable?
     12193{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12194$as_echo_n "checking $ac_header usability... " >&6; }
     12195cat >conftest.$ac_ext <<_ACEOF
     12196/* confdefs.h.  */
     12197_ACEOF
     12198cat confdefs.h >>conftest.$ac_ext
     12199cat >>conftest.$ac_ext <<_ACEOF
     12200/* end confdefs.h.  */
     12201$ac_includes_default
     12202#include <$ac_header>
     12203_ACEOF
     12204rm -f conftest.$ac_objext
     12205if { (ac_try="$ac_compile"
     12206case "(($ac_try" in
     12207  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12208  *) ac_try_echo=$ac_try;;
     12209esac
     12210eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12211$as_echo "$ac_try_echo") >&5
     12212  (eval "$ac_compile") 2>conftest.er1
     12213  ac_status=$?
     12214  grep -v '^ *+' conftest.er1 >conftest.err
     12215  rm -f conftest.er1
     12216  cat conftest.err >&5
     12217  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12218  (exit $ac_status); } && {
     12219         test -z "$ac_cxx_werror_flag" ||
     12220         test ! -s conftest.err
     12221       } && test -s conftest.$ac_objext; then
     12222  ac_header_compiler=yes
     12223else
     12224  $as_echo "$as_me: failed program was:" >&5
     12225sed 's/^/| /' conftest.$ac_ext >&5
     12226
     12227        ac_header_compiler=no
     12228fi
     12229
     12230rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12231{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12232$as_echo "$ac_header_compiler" >&6; }
     12233
     12234# Is the header present?
     12235{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12236$as_echo_n "checking $ac_header presence... " >&6; }
     12237cat >conftest.$ac_ext <<_ACEOF
     12238/* confdefs.h.  */
     12239_ACEOF
     12240cat confdefs.h >>conftest.$ac_ext
     12241cat >>conftest.$ac_ext <<_ACEOF
     12242/* end confdefs.h.  */
     12243#include <$ac_header>
     12244_ACEOF
     12245if { (ac_try="$ac_cpp conftest.$ac_ext"
     12246case "(($ac_try" in
     12247  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12248  *) ac_try_echo=$ac_try;;
     12249esac
     12250eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12251$as_echo "$ac_try_echo") >&5
     12252  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12253  ac_status=$?
     12254  grep -v '^ *+' conftest.er1 >conftest.err
     12255  rm -f conftest.er1
     12256  cat conftest.err >&5
     12257  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12258  (exit $ac_status); } >/dev/null && {
     12259         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12260         test ! -s conftest.err
     12261       }; then
     12262  ac_header_preproc=yes
     12263else
     12264  $as_echo "$as_me: failed program was:" >&5
     12265sed 's/^/| /' conftest.$ac_ext >&5
     12266
     12267  ac_header_preproc=no
     12268fi
     12269
     12270rm -f conftest.err conftest.$ac_ext
     12271{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12272$as_echo "$ac_header_preproc" >&6; }
     12273
     12274# So?  What about this header?
     12275case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12276  yes:no: )
     12277    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12278$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12279    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12280$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12281    ac_header_preproc=yes
     12282    ;;
     12283  no:yes:* )
     12284    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12285$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12286    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12287$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12288    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12289$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12290    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12291$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12292    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12293$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12294    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12295$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12296    ( cat <<\_ASBOX
     12297## ----------------------------------- ##
     12298## Report this to rappture@nanohub.org ##
     12299## ----------------------------------- ##
     12300_ASBOX
     12301     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12302    ;;
     12303esac
     12304{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12305$as_echo_n "checking for $ac_header... " >&6; }
     12306if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12307  $as_echo_n "(cached) " >&6
     12308else
     12309  eval "$as_ac_Header=\$ac_header_preproc"
     12310fi
     12311ac_res=`eval 'as_val=${'$as_ac_Header'}
     12312                 $as_echo "$as_val"'`
     12313               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12314$as_echo "$ac_res" >&6; }
     12315
     12316fi
     12317as_val=`eval 'as_val=${'$as_ac_Header'}
     12318                 $as_echo "$as_val"'`
     12319   if test "x$as_val" = x""yes; then
     12320  cat >>confdefs.h <<_ACEOF
     12321#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     12322_ACEOF
     12323
     12324fi
     12325
     12326done
     12327
     12328
     12329{ $as_echo "$as_me:$LINENO: checking for OpenDX headers" >&5
    813112330$as_echo_n "checking for OpenDX headers... " >&6; }
    813212331DX_INC_DIR=""
     
    814212341done
    814312342if test "x${DX_INC_DIR}" = "x" ; then
    8144   as_fn_error $? "can't find OpenDX include files" "$LINENO" 5
     12343  { { $as_echo "$as_me:$LINENO: error: can't find OpenDX include files" >&5
     12344$as_echo "$as_me: error: can't find OpenDX include files" >&2;}
     12345   { (exit 1); exit 1; }; }
    814512346fi
    814612347
     
    815112352fi
    815212353
    8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${DX_INC_DIR}" >&5
     12354{ $as_echo "$as_me:$LINENO: result: ${DX_INC_DIR}" >&5
    815412355$as_echo "${DX_INC_DIR}" >&6; }
    815512356
     
    816712368  LDFLAGS="-L$dir $LDFLAGS"
    816812369  unset ac_cv_lib_DXcallm_DXGetComponentValue
    8169   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DXGetComponentValue in -lDXcallm" >&5
     12370  { $as_echo "$as_me:$LINENO: checking for DXGetComponentValue in -lDXcallm" >&5
    817012371$as_echo_n "checking for DXGetComponentValue in -lDXcallm... " >&6; }
    8171 if ${ac_cv_lib_DXcallm_DXGetComponentValue+:} false; then :
     12372if test "${ac_cv_lib_DXcallm_DXGetComponentValue+set}" = set; then
    817212373  $as_echo_n "(cached) " >&6
    817312374else
    817412375  ac_check_lib_save_LIBS=$LIBS
    817512376LIBS="-lDXcallm -lX11 $LIBS"
    8176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12377cat >conftest.$ac_ext <<_ACEOF
     12378/* confdefs.h.  */
     12379_ACEOF
     12380cat confdefs.h >>conftest.$ac_ext
     12381cat >>conftest.$ac_ext <<_ACEOF
    817712382/* end confdefs.h.  */
    817812383
     
    819212397}
    819312398_ACEOF
    8194 if ac_fn_cxx_try_link "$LINENO"; then :
     12399rm -f conftest.$ac_objext conftest$ac_exeext
     12400if { (ac_try="$ac_link"
     12401case "(($ac_try" in
     12402  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12403  *) ac_try_echo=$ac_try;;
     12404esac
     12405eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12406$as_echo "$ac_try_echo") >&5
     12407  (eval "$ac_link") 2>conftest.er1
     12408  ac_status=$?
     12409  grep -v '^ *+' conftest.er1 >conftest.err
     12410  rm -f conftest.er1
     12411  cat conftest.err >&5
     12412  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12413  (exit $ac_status); } && {
     12414         test -z "$ac_cxx_werror_flag" ||
     12415         test ! -s conftest.err
     12416       } && test -s conftest$ac_exeext && {
     12417         test "$cross_compiling" = yes ||
     12418         $as_test_x conftest$ac_exeext
     12419       }; then
    819512420  ac_cv_lib_DXcallm_DXGetComponentValue=yes
    819612421else
    8197   ac_cv_lib_DXcallm_DXGetComponentValue=no
    8198 fi
    8199 rm -f core conftest.err conftest.$ac_objext \
    8200     conftest$ac_exeext conftest.$ac_ext
     12422  $as_echo "$as_me: failed program was:" >&5
     12423sed 's/^/| /' conftest.$ac_ext >&5
     12424
     12425        ac_cv_lib_DXcallm_DXGetComponentValue=no
     12426fi
     12427
     12428rm -rf conftest.dSYM
     12429rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12430      conftest$ac_exeext conftest.$ac_ext
    820112431LIBS=$ac_check_lib_save_LIBS
    820212432fi
    8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
     12433{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_DXcallm_DXGetComponentValue" >&5
    820412434$as_echo "$ac_cv_lib_DXcallm_DXGetComponentValue" >&6; }
    8205 if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = xyes; then :
     12435if test "x$ac_cv_lib_DXcallm_DXGetComponentValue" = x""yes; then
    820612436  found=yes
    820712437else
     
    821612446done
    821712447if test "x{$DX_LIB_DIR}" = "x" ; then
    8218   as_fn_error $? "cant find OpenDX libraries" "$LINENO" 5
    8219 fi
    8220 
    8221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libDXcallm library" >&5
     12448  { { $as_echo "$as_me:$LINENO: error: cant find OpenDX libraries" >&5
     12449$as_echo "$as_me: error: cant find OpenDX libraries" >&2;}
     12450   { (exit 1); exit 1; }; }
     12451fi
     12452
     12453{ $as_echo "$as_me:$LINENO: checking for libDXcallm library" >&5
    822212454$as_echo_n "checking for libDXcallm library... " >&6; }
    822312455if test "${DX_LIB_DIR}" = "/usr/lib" -o "${DX_LIB_DIR}" = "/usr/lib64"; then
     
    822612458  DX_LIB_SPEC="-L${DX_LIB_DIR}"
    822712459fi
    8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DX_LIB_SPEC" >&5
     12460{ $as_echo "$as_me:$LINENO: result: $DX_LIB_SPEC" >&5
    822912461$as_echo "$DX_LIB_SPEC" >&6; }
    823012462
    823112463
     12464
     12465
    823212466for ac_header in opencv/cv.h opencv/highgui.h
    8233 do :
    8234   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8235 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
    8236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     12467do
     12468as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12469if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12470  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12471$as_echo_n "checking for $ac_header... " >&6; }
     12472if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12473  $as_echo_n "(cached) " >&6
     12474fi
     12475ac_res=`eval 'as_val=${'$as_ac_Header'}
     12476                 $as_echo "$as_val"'`
     12477               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12478$as_echo "$ac_res" >&6; }
     12479else
     12480  # Is the header compilable?
     12481{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     12482$as_echo_n "checking $ac_header usability... " >&6; }
     12483cat >conftest.$ac_ext <<_ACEOF
     12484/* confdefs.h.  */
     12485_ACEOF
     12486cat confdefs.h >>conftest.$ac_ext
     12487cat >>conftest.$ac_ext <<_ACEOF
     12488/* end confdefs.h.  */
     12489$ac_includes_default
     12490#include <$ac_header>
     12491_ACEOF
     12492rm -f conftest.$ac_objext
     12493if { (ac_try="$ac_compile"
     12494case "(($ac_try" in
     12495  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12496  *) ac_try_echo=$ac_try;;
     12497esac
     12498eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12499$as_echo "$ac_try_echo") >&5
     12500  (eval "$ac_compile") 2>conftest.er1
     12501  ac_status=$?
     12502  grep -v '^ *+' conftest.er1 >conftest.err
     12503  rm -f conftest.er1
     12504  cat conftest.err >&5
     12505  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12506  (exit $ac_status); } && {
     12507         test -z "$ac_cxx_werror_flag" ||
     12508         test ! -s conftest.err
     12509       } && test -s conftest.$ac_objext; then
     12510  ac_header_compiler=yes
     12511else
     12512  $as_echo "$as_me: failed program was:" >&5
     12513sed 's/^/| /' conftest.$ac_ext >&5
     12514
     12515        ac_header_compiler=no
     12516fi
     12517
     12518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12519{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     12520$as_echo "$ac_header_compiler" >&6; }
     12521
     12522# Is the header present?
     12523{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     12524$as_echo_n "checking $ac_header presence... " >&6; }
     12525cat >conftest.$ac_ext <<_ACEOF
     12526/* confdefs.h.  */
     12527_ACEOF
     12528cat confdefs.h >>conftest.$ac_ext
     12529cat >>conftest.$ac_ext <<_ACEOF
     12530/* end confdefs.h.  */
     12531#include <$ac_header>
     12532_ACEOF
     12533if { (ac_try="$ac_cpp conftest.$ac_ext"
     12534case "(($ac_try" in
     12535  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12536  *) ac_try_echo=$ac_try;;
     12537esac
     12538eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12539$as_echo "$ac_try_echo") >&5
     12540  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     12541  ac_status=$?
     12542  grep -v '^ *+' conftest.er1 >conftest.err
     12543  rm -f conftest.er1
     12544  cat conftest.err >&5
     12545  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12546  (exit $ac_status); } >/dev/null && {
     12547         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     12548         test ! -s conftest.err
     12549       }; then
     12550  ac_header_preproc=yes
     12551else
     12552  $as_echo "$as_me: failed program was:" >&5
     12553sed 's/^/| /' conftest.$ac_ext >&5
     12554
     12555  ac_header_preproc=no
     12556fi
     12557
     12558rm -f conftest.err conftest.$ac_ext
     12559{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     12560$as_echo "$ac_header_preproc" >&6; }
     12561
     12562# So?  What about this header?
     12563case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
     12564  yes:no: )
     12565    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     12566$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     12567    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     12568$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     12569    ac_header_preproc=yes
     12570    ;;
     12571  no:yes:* )
     12572    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     12573$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     12574    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     12575$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     12576    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     12577$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     12578    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     12579$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     12580    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     12581$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     12582    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     12583$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     12584    ( cat <<\_ASBOX
     12585## ----------------------------------- ##
     12586## Report this to rappture@nanohub.org ##
     12587## ----------------------------------- ##
     12588_ASBOX
     12589     ) | sed "s/^/$as_me: WARNING:     /" >&2
     12590    ;;
     12591esac
     12592{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12593$as_echo_n "checking for $ac_header... " >&6; }
     12594if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12595  $as_echo_n "(cached) " >&6
     12596else
     12597  eval "$as_ac_Header=\$ac_header_preproc"
     12598fi
     12599ac_res=`eval 'as_val=${'$as_ac_Header'}
     12600                 $as_echo "$as_val"'`
     12601               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12602$as_echo "$ac_res" >&6; }
     12603
     12604fi
     12605as_val=`eval 'as_val=${'$as_ac_Header'}
     12606                 $as_echo "$as_val"'`
     12607   if test "x$as_val" = x""yes; then
    823712608  cat >>confdefs.h <<_ACEOF
    823812609#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    824312614done
    824412615
    8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cvLoadImage in -lcv" >&5
     12616
     12617{ $as_echo "$as_me:$LINENO: checking for cvLoadImage in -lcv" >&5
    824612618$as_echo_n "checking for cvLoadImage in -lcv... " >&6; }
    8247 if ${ac_cv_lib_cv_cvLoadImage+:} false; then :
     12619if test "${ac_cv_lib_cv_cvLoadImage+set}" = set; then
    824812620  $as_echo_n "(cached) " >&6
    824912621else
    825012622  ac_check_lib_save_LIBS=$LIBS
    825112623LIBS="-lcv  $LIBS"
    8252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12624cat >conftest.$ac_ext <<_ACEOF
     12625/* confdefs.h.  */
     12626_ACEOF
     12627cat confdefs.h >>conftest.$ac_ext
     12628cat >>conftest.$ac_ext <<_ACEOF
    825312629/* end confdefs.h.  */
    825412630
     
    826812644}
    826912645_ACEOF
    8270 if ac_fn_cxx_try_link "$LINENO"; then :
     12646rm -f conftest.$ac_objext conftest$ac_exeext
     12647if { (ac_try="$ac_link"
     12648case "(($ac_try" in
     12649  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12650  *) ac_try_echo=$ac_try;;
     12651esac
     12652eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12653$as_echo "$ac_try_echo") >&5
     12654  (eval "$ac_link") 2>conftest.er1
     12655  ac_status=$?
     12656  grep -v '^ *+' conftest.er1 >conftest.err
     12657  rm -f conftest.er1
     12658  cat conftest.err >&5
     12659  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12660  (exit $ac_status); } && {
     12661         test -z "$ac_cxx_werror_flag" ||
     12662         test ! -s conftest.err
     12663       } && test -s conftest$ac_exeext && {
     12664         test "$cross_compiling" = yes ||
     12665         $as_test_x conftest$ac_exeext
     12666       }; then
    827112667  ac_cv_lib_cv_cvLoadImage=yes
    827212668else
    8273   ac_cv_lib_cv_cvLoadImage=no
    8274 fi
    8275 rm -f core conftest.err conftest.$ac_objext \
    8276     conftest$ac_exeext conftest.$ac_ext
     12669  $as_echo "$as_me: failed program was:" >&5
     12670sed 's/^/| /' conftest.$ac_ext >&5
     12671
     12672        ac_cv_lib_cv_cvLoadImage=no
     12673fi
     12674
     12675rm -rf conftest.dSYM
     12676rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12677      conftest$ac_exeext conftest.$ac_ext
    827712678LIBS=$ac_check_lib_save_LIBS
    827812679fi
    8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cv_cvLoadImage" >&5
     12680{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cv_cvLoadImage" >&5
    828012681$as_echo "$ac_cv_lib_cv_cvLoadImage" >&6; }
    8281 if test "x$ac_cv_lib_cv_cvLoadImage" = xyes; then :
     12682if test "x$ac_cv_lib_cv_cvLoadImage" = x""yes; then
    828212683  cat >>confdefs.h <<_ACEOF
    828312684#define HAVE_LIBCV 1
     
    829712698
    829812699
     12700
     12701
     12702
     12703
     12704
     12705
    829912706for ac_header in ffmpeg/avcodec.h libavcodec/avcodec.h ffmpeg/avformat.h libavformat/avformat.h ffmpeg/avutil.h libavutil/avutil.h
    8300 do :
    8301   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    8302 ac_fn_cxx_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
     12707do
     12708as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     12709{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     12710$as_echo_n "checking for $ac_header... " >&6; }
     12711if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     12712  $as_echo_n "(cached) " >&6
     12713else
     12714  cat >conftest.$ac_ext <<_ACEOF
     12715/* confdefs.h.  */
     12716_ACEOF
     12717cat confdefs.h >>conftest.$ac_ext
     12718cat >>conftest.$ac_ext <<_ACEOF
     12719/* end confdefs.h.  */
     12720
    830312721#define SIZEOF_LONG ${ac_cv_sizeof_long}
    830412722#if SIZEOF_LONG == 8
     
    831012728#endif
    831112729
    8312 "
    8313 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     12730
     12731#include <$ac_header>
     12732_ACEOF
     12733rm -f conftest.$ac_objext
     12734if { (ac_try="$ac_compile"
     12735case "(($ac_try" in
     12736  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12737  *) ac_try_echo=$ac_try;;
     12738esac
     12739eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12740$as_echo "$ac_try_echo") >&5
     12741  (eval "$ac_compile") 2>conftest.er1
     12742  ac_status=$?
     12743  grep -v '^ *+' conftest.er1 >conftest.err
     12744  rm -f conftest.er1
     12745  cat conftest.err >&5
     12746  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12747  (exit $ac_status); } && {
     12748         test -z "$ac_cxx_werror_flag" ||
     12749         test ! -s conftest.err
     12750       } && test -s conftest.$ac_objext; then
     12751  eval "$as_ac_Header=yes"
     12752else
     12753  $as_echo "$as_me: failed program was:" >&5
     12754sed 's/^/| /' conftest.$ac_ext >&5
     12755
     12756        eval "$as_ac_Header=no"
     12757fi
     12758
     12759rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     12760fi
     12761ac_res=`eval 'as_val=${'$as_ac_Header'}
     12762                 $as_echo "$as_val"'`
     12763               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     12764$as_echo "$ac_res" >&6; }
     12765as_val=`eval 'as_val=${'$as_ac_Header'}
     12766                 $as_echo "$as_val"'`
     12767   if test "x$as_val" = x""yes; then
    831412768  cat >>confdefs.h <<_ACEOF
    831512769#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    832212776CPPFLAGS=$save_CPPFLAGS
    832312777
    8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avcodec_alloc_frame in -lavcodec" >&5
     12778
     12779{ $as_echo "$as_me:$LINENO: checking for avcodec_alloc_frame in -lavcodec" >&5
    832512780$as_echo_n "checking for avcodec_alloc_frame in -lavcodec... " >&6; }
    8326 if ${ac_cv_lib_avcodec_avcodec_alloc_frame+:} false; then :
     12781if test "${ac_cv_lib_avcodec_avcodec_alloc_frame+set}" = set; then
    832712782  $as_echo_n "(cached) " >&6
    832812783else
    832912784  ac_check_lib_save_LIBS=$LIBS
    833012785LIBS="-lavcodec  $LIBS"
    8331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12786cat >conftest.$ac_ext <<_ACEOF
     12787/* confdefs.h.  */
     12788_ACEOF
     12789cat confdefs.h >>conftest.$ac_ext
     12790cat >>conftest.$ac_ext <<_ACEOF
    833212791/* end confdefs.h.  */
    833312792
     
    834712806}
    834812807_ACEOF
    8349 if ac_fn_cxx_try_link "$LINENO"; then :
     12808rm -f conftest.$ac_objext conftest$ac_exeext
     12809if { (ac_try="$ac_link"
     12810case "(($ac_try" in
     12811  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12812  *) ac_try_echo=$ac_try;;
     12813esac
     12814eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12815$as_echo "$ac_try_echo") >&5
     12816  (eval "$ac_link") 2>conftest.er1
     12817  ac_status=$?
     12818  grep -v '^ *+' conftest.er1 >conftest.err
     12819  rm -f conftest.er1
     12820  cat conftest.err >&5
     12821  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12822  (exit $ac_status); } && {
     12823         test -z "$ac_cxx_werror_flag" ||
     12824         test ! -s conftest.err
     12825       } && test -s conftest$ac_exeext && {
     12826         test "$cross_compiling" = yes ||
     12827         $as_test_x conftest$ac_exeext
     12828       }; then
    835012829  ac_cv_lib_avcodec_avcodec_alloc_frame=yes
    835112830else
    8352   ac_cv_lib_avcodec_avcodec_alloc_frame=no
    8353 fi
    8354 rm -f core conftest.err conftest.$ac_objext \
    8355     conftest$ac_exeext conftest.$ac_ext
     12831  $as_echo "$as_me: failed program was:" >&5
     12832sed 's/^/| /' conftest.$ac_ext >&5
     12833
     12834        ac_cv_lib_avcodec_avcodec_alloc_frame=no
     12835fi
     12836
     12837rm -rf conftest.dSYM
     12838rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12839      conftest$ac_exeext conftest.$ac_ext
    835612840LIBS=$ac_check_lib_save_LIBS
    835712841fi
    8358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
     12842{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avcodec_avcodec_alloc_frame" >&5
    835912843$as_echo "$ac_cv_lib_avcodec_avcodec_alloc_frame" >&6; }
    8360 if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = xyes; then :
     12844if test "x$ac_cv_lib_avcodec_avcodec_alloc_frame" = x""yes; then
    836112845  cat >>confdefs.h <<_ACEOF
    836212846#define HAVE_LIBAVCODEC 1
     
    836712851fi
    836812852
    8369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for avformat_alloc_context in -lavformat" >&5
     12853# Fallback to deprecated av_alloc_format_context if avformat_alloc_context isn't found
     12854
     12855{ $as_echo "$as_me:$LINENO: checking for avformat_alloc_context in -lavformat" >&5
    837012856$as_echo_n "checking for avformat_alloc_context in -lavformat... " >&6; }
    8371 if ${ac_cv_lib_avformat_avformat_alloc_context+:} false; then :
     12857if test "${ac_cv_lib_avformat_avformat_alloc_context+set}" = set; then
    837212858  $as_echo_n "(cached) " >&6
    837312859else
    837412860  ac_check_lib_save_LIBS=$LIBS
    837512861LIBS="-lavformat  $LIBS"
    8376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     12862cat >conftest.$ac_ext <<_ACEOF
     12863/* confdefs.h.  */
     12864_ACEOF
     12865cat confdefs.h >>conftest.$ac_ext
     12866cat >>conftest.$ac_ext <<_ACEOF
    837712867/* end confdefs.h.  */
    837812868
     
    839212882}
    839312883_ACEOF
    8394 if ac_fn_cxx_try_link "$LINENO"; then :
     12884rm -f conftest.$ac_objext conftest$ac_exeext
     12885if { (ac_try="$ac_link"
     12886case "(($ac_try" in
     12887  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12888  *) ac_try_echo=$ac_try;;
     12889esac
     12890eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12891$as_echo "$ac_try_echo") >&5
     12892  (eval "$ac_link") 2>conftest.er1
     12893  ac_status=$?
     12894  grep -v '^ *+' conftest.er1 >conftest.err
     12895  rm -f conftest.er1
     12896  cat conftest.err >&5
     12897  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12898  (exit $ac_status); } && {
     12899         test -z "$ac_cxx_werror_flag" ||
     12900         test ! -s conftest.err
     12901       } && test -s conftest$ac_exeext && {
     12902         test "$cross_compiling" = yes ||
     12903         $as_test_x conftest$ac_exeext
     12904       }; then
    839512905  ac_cv_lib_avformat_avformat_alloc_context=yes
    839612906else
    8397   ac_cv_lib_avformat_avformat_alloc_context=no
    8398 fi
    8399 rm -f core conftest.err conftest.$ac_objext \
    8400     conftest$ac_exeext conftest.$ac_ext
     12907  $as_echo "$as_me: failed program was:" >&5
     12908sed 's/^/| /' conftest.$ac_ext >&5
     12909
     12910        ac_cv_lib_avformat_avformat_alloc_context=no
     12911fi
     12912
     12913rm -rf conftest.dSYM
     12914rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12915      conftest$ac_exeext conftest.$ac_ext
    840112916LIBS=$ac_check_lib_save_LIBS
    840212917fi
    8403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
     12918{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_avformat_alloc_context" >&5
    840412919$as_echo "$ac_cv_lib_avformat_avformat_alloc_context" >&6; }
    8405 if test "x$ac_cv_lib_avformat_avformat_alloc_context" = xyes; then :
     12920if test "x$ac_cv_lib_avformat_avformat_alloc_context" = x""yes; then
    840612921  cat >>confdefs.h <<_ACEOF
    840712922#define HAVE_LIBAVFORMAT 1
     
    841012925  LIBS="-lavformat $LIBS"
    841112926
    8412 fi
    8413 
    8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for av_free in -lavutil" >&5
     12927else
     12928
     12929{ $as_echo "$as_me:$LINENO: checking for av_alloc_format_context in -lavformat" >&5
     12930$as_echo_n "checking for av_alloc_format_context in -lavformat... " >&6; }
     12931if test "${ac_cv_lib_avformat_av_alloc_format_context+set}" = set; then
     12932  $as_echo_n "(cached) " >&6
     12933else
     12934  ac_check_lib_save_LIBS=$LIBS
     12935LIBS="-lavformat  $LIBS"
     12936cat >conftest.$ac_ext <<_ACEOF
     12937/* confdefs.h.  */
     12938_ACEOF
     12939cat confdefs.h >>conftest.$ac_ext
     12940cat >>conftest.$ac_ext <<_ACEOF
     12941/* end confdefs.h.  */
     12942
     12943/* Override any GCC internal prototype to avoid an error.
     12944   Use char because int might match the return type of a GCC
     12945   builtin and then its argument prototype would still apply.  */
     12946#ifdef __cplusplus
     12947extern "C"
     12948#endif
     12949char av_alloc_format_context ();
     12950int
     12951main ()
     12952{
     12953return av_alloc_format_context ();
     12954  ;
     12955  return 0;
     12956}
     12957_ACEOF
     12958rm -f conftest.$ac_objext conftest$ac_exeext
     12959if { (ac_try="$ac_link"
     12960case "(($ac_try" in
     12961  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     12962  *) ac_try_echo=$ac_try;;
     12963esac
     12964eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     12965$as_echo "$ac_try_echo") >&5
     12966  (eval "$ac_link") 2>conftest.er1
     12967  ac_status=$?
     12968  grep -v '^ *+' conftest.er1 >conftest.err
     12969  rm -f conftest.er1
     12970  cat conftest.err >&5
     12971  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     12972  (exit $ac_status); } && {
     12973         test -z "$ac_cxx_werror_flag" ||
     12974         test ! -s conftest.err
     12975       } && test -s conftest$ac_exeext && {
     12976         test "$cross_compiling" = yes ||
     12977         $as_test_x conftest$ac_exeext
     12978       }; then
     12979  ac_cv_lib_avformat_av_alloc_format_context=yes
     12980else
     12981  $as_echo "$as_me: failed program was:" >&5
     12982sed 's/^/| /' conftest.$ac_ext >&5
     12983
     12984        ac_cv_lib_avformat_av_alloc_format_context=no
     12985fi
     12986
     12987rm -rf conftest.dSYM
     12988rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     12989      conftest$ac_exeext conftest.$ac_ext
     12990LIBS=$ac_check_lib_save_LIBS
     12991fi
     12992{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avformat_av_alloc_format_context" >&5
     12993$as_echo "$ac_cv_lib_avformat_av_alloc_format_context" >&6; }
     12994if test "x$ac_cv_lib_avformat_av_alloc_format_context" = x""yes; then
     12995  cat >>confdefs.h <<_ACEOF
     12996#define HAVE_LIBAVFORMAT 1
     12997_ACEOF
     12998
     12999  LIBS="-lavformat $LIBS"
     13000
     13001else
     13002  { $as_echo "$as_me:$LINENO: WARNING: libavformat not usable" >&5
     13003$as_echo "$as_me: WARNING: libavformat not usable" >&2;}
     13004fi
     13005
     13006fi
     13007
     13008
     13009{ $as_echo "$as_me:$LINENO: checking for av_free in -lavutil" >&5
    841513010$as_echo_n "checking for av_free in -lavutil... " >&6; }
    8416 if ${ac_cv_lib_avutil_av_free+:} false; then :
     13011if test "${ac_cv_lib_avutil_av_free+set}" = set; then
    841713012  $as_echo_n "(cached) " >&6
    841813013else
    841913014  ac_check_lib_save_LIBS=$LIBS
    842013015LIBS="-lavutil  $LIBS"
    8421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     13016cat >conftest.$ac_ext <<_ACEOF
     13017/* confdefs.h.  */
     13018_ACEOF
     13019cat confdefs.h >>conftest.$ac_ext
     13020cat >>conftest.$ac_ext <<_ACEOF
    842213021/* end confdefs.h.  */
    842313022
     
    843713036}
    843813037_ACEOF
    8439 if ac_fn_cxx_try_link "$LINENO"; then :
     13038rm -f conftest.$ac_objext conftest$ac_exeext
     13039if { (ac_try="$ac_link"
     13040case "(($ac_try" in
     13041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13042  *) ac_try_echo=$ac_try;;
     13043esac
     13044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13045$as_echo "$ac_try_echo") >&5
     13046  (eval "$ac_link") 2>conftest.er1
     13047  ac_status=$?
     13048  grep -v '^ *+' conftest.er1 >conftest.err
     13049  rm -f conftest.er1
     13050  cat conftest.err >&5
     13051  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13052  (exit $ac_status); } && {
     13053         test -z "$ac_cxx_werror_flag" ||
     13054         test ! -s conftest.err
     13055       } && test -s conftest$ac_exeext && {
     13056         test "$cross_compiling" = yes ||
     13057         $as_test_x conftest$ac_exeext
     13058       }; then
    844013059  ac_cv_lib_avutil_av_free=yes
    844113060else
    8442   ac_cv_lib_avutil_av_free=no
    8443 fi
    8444 rm -f core conftest.err conftest.$ac_objext \
    8445     conftest$ac_exeext conftest.$ac_ext
     13061  $as_echo "$as_me: failed program was:" >&5
     13062sed 's/^/| /' conftest.$ac_ext >&5
     13063
     13064        ac_cv_lib_avutil_av_free=no
     13065fi
     13066
     13067rm -rf conftest.dSYM
     13068rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13069      conftest$ac_exeext conftest.$ac_ext
    844613070LIBS=$ac_check_lib_save_LIBS
    844713071fi
    8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_avutil_av_free" >&5
     13072{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_avutil_av_free" >&5
    844913073$as_echo "$ac_cv_lib_avutil_av_free" >&6; }
    8450 if test "x$ac_cv_lib_avutil_av_free" = xyes; then :
     13074if test "x$ac_cv_lib_avutil_av_free" = x""yes; then
    845113075  cat >>confdefs.h <<_ACEOF
    845213076#define HAVE_LIBAVUTIL 1
     
    845713081fi
    845813082
     13083
    845913084for ac_func in img_convert
    8460 do :
    8461   ac_fn_cxx_check_func "$LINENO" "img_convert" "ac_cv_func_img_convert"
    8462 if test "x$ac_cv_func_img_convert" = xyes; then :
     13085do
     13086as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     13087{ $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
     13088$as_echo_n "checking for $ac_func... " >&6; }
     13089if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
     13090  $as_echo_n "(cached) " >&6
     13091else
     13092  cat >conftest.$ac_ext <<_ACEOF
     13093/* confdefs.h.  */
     13094_ACEOF
     13095cat confdefs.h >>conftest.$ac_ext
     13096cat >>conftest.$ac_ext <<_ACEOF
     13097/* end confdefs.h.  */
     13098/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
     13099   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
     13100#define $ac_func innocuous_$ac_func
     13101
     13102/* System header to define __stub macros and hopefully few prototypes,
     13103    which can conflict with char $ac_func (); below.
     13104    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
     13105    <limits.h> exists even on freestanding compilers.  */
     13106
     13107#ifdef __STDC__
     13108# include <limits.h>
     13109#else
     13110# include <assert.h>
     13111#endif
     13112
     13113#undef $ac_func
     13114
     13115/* Override any GCC internal prototype to avoid an error.
     13116   Use char because int might match the return type of a GCC
     13117   builtin and then its argument prototype would still apply.  */
     13118#ifdef __cplusplus
     13119extern "C"
     13120#endif
     13121char $ac_func ();
     13122/* The GNU C library defines this for functions which it implements
     13123    to always fail with ENOSYS.  Some functions are actually named
     13124    something starting with __ and the normal name is an alias.  */
     13125#if defined __stub_$ac_func || defined __stub___$ac_func
     13126choke me
     13127#endif
     13128
     13129int
     13130main ()
     13131{
     13132return $ac_func ();
     13133  ;
     13134  return 0;
     13135}
     13136_ACEOF
     13137rm -f conftest.$ac_objext conftest$ac_exeext
     13138if { (ac_try="$ac_link"
     13139case "(($ac_try" in
     13140  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     13141  *) ac_try_echo=$ac_try;;
     13142esac
     13143eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     13144$as_echo "$ac_try_echo") >&5
     13145  (eval "$ac_link") 2>conftest.er1
     13146  ac_status=$?
     13147  grep -v '^ *+' conftest.er1 >conftest.err
     13148  rm -f conftest.er1
     13149  cat conftest.err >&5
     13150  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     13151  (exit $ac_status); } && {
     13152         test -z "$ac_cxx_werror_flag" ||
     13153         test ! -s conftest.err
     13154       } && test -s conftest$ac_exeext && {
     13155         test "$cross_compiling" = yes ||
     13156         $as_test_x conftest$ac_exeext
     13157       }; then
     13158  eval "$as_ac_var=yes"
     13159else
     13160  $as_echo "$as_me: failed program was:" >&5
     13161sed 's/^/| /' conftest.$ac_ext >&5
     13162
     13163        eval "$as_ac_var=no"
     13164fi
     13165
     13166rm -rf conftest.dSYM
     13167rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     13168      conftest$ac_exeext conftest.$ac_ext
     13169fi
     13170ac_res=`eval 'as_val=${'$as_ac_var'}
     13171                 $as_echo "$as_val"'`
     13172               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     13173$as_echo "$ac_res" >&6; }
     13174as_val=`eval 'as_val=${'$as_ac_var'}
     13175                 $as_echo "$as_val"'`
     13176   if test "x$as_val" = x""yes; then
    846313177  cat >>confdefs.h <<_ACEOF
    8464 #define HAVE_IMG_CONVERT 1
     13178#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    846513179_ACEOF
    846613180
     
    846913183
    847013184
    8471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nVidia Cg installation" >&5
     13185{ $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
    847213186$as_echo_n "checking for nVidia Cg installation... " >&6; }
    847313187CG_DIR=""
     
    848313197done
    848413198if test "x${CG_DIR}" = "x" ; then
    8485   as_fn_error $? "can't find nVidia Cg installation" "$LINENO" 5
     13199  { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
     13200$as_echo "$as_me: error: can't find nVidia Cg installation" >&2;}
     13201   { (exit 1); exit 1; }; }
    848613202fi
    848713203
     
    849313209
    849413210
    8495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${CG_DIR}" >&5
     13211{ $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
    849613212$as_echo "${CG_DIR}" >&6; }
    849713213
     
    849913215
    850013216
    8501 ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile start_viz.sh"
     13217ac_config_files="$ac_config_files Makefile nanoscale/Makefile nanovis/Makefile nanovis/newmat11/Makefile nanovis/R2/src/Makefile nanovis/vrutil/Makefile nanovis/vrmath/Makefile nanovis/vr3d/Makefile nanovis/imgLoaders/Makefile nanovis/transfer-function/Makefile pymolproxy/Makefile vtkvis/Makefile start_viz.sh"
    850213218
    850313219cat >confcache <<\_ACEOF
     
    852813244    *${as_nl}*)
    852913245      case $ac_var in #(
    8530       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     13246      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    853113247$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    853213248      esac
     
    853413250      _ | IFS | as_nl) ;; #(
    853513251      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    8536       *) { eval $ac_var=; unset $ac_var;} ;;
     13252      *) $as_unset $ac_var ;;
    853713253      esac ;;
    853813254    esac
     
    854213258    case $as_nl`(ac_space=' '; set) 2>&1` in #(
    854313259    *${as_nl}ac_space=\ *)
    8544       # `set' does not quote correctly, so add quotes: double-quote
    8545       # substitution turns \\\\ into \\, and sed turns \\ into \.
     13260      # `set' does not quote correctly, so add quotes (double-quote
     13261      # substitution turns \\\\ into \\, and sed turns \\ into \).
    854613262      sed -n \
    854713263        "s/'/'\\\\''/g;
     
    856513281if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
    856613282  if test -w "$cache_file"; then
    8567     if test "x$cache_file" != "x/dev/null"; then
    8568       { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
     13283    test "x$cache_file" != "x/dev/null" &&
     13284      { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
    856913285$as_echo "$as_me: updating cache $cache_file" >&6;}
    8570       if test ! -f "$cache_file" || test -h "$cache_file"; then
    8571         cat confcache >"$cache_file"
    8572       else
    8573         case $cache_file in #(
    8574         */* | ?:*)
    8575           mv -f confcache "$cache_file"$$ &&
    8576           mv -f "$cache_file"$$ "$cache_file" ;; #(
    8577         *)
    8578           mv -f confcache "$cache_file" ;;
    8579         esac
    8580       fi
    8581     fi
     13286    cat confcache >$cache_file
    858213287  else
    8583     { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
     13288    { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    858413289$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    858513290  fi
     
    859513300ac_libobjs=
    859613301ac_ltlibobjs=
    8597 U=
    859813302for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
    859913303  # 1. Remove the extension, and $U if already installed.
     
    860213306  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    860313307  #    will be set to the directory where LIBOBJS objects are built.
    8604   as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
    8605   as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
     13308  ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
     13309  ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
    860613310done
    860713311LIBOBJS=$ac_libobjs
     
    861213316
    861313317
    8614 : "${CONFIG_STATUS=./config.status}"
     13318: ${CONFIG_STATUS=./config.status}
    861513319ac_write_fail=0
    861613320ac_clean_files_save=$ac_clean_files
    861713321ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    8618 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
     13322{ $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    861913323$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    8620 as_write_fail=0
    8621 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
     13324cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    862213325#! $SHELL
    862313326# Generated by $as_me.
     
    862913332ac_cs_recheck=false
    863013333ac_cs_silent=false
    8631 
    863213334SHELL=\${CONFIG_SHELL-$SHELL}
    8633 export SHELL
    8634 _ASEOF
    8635 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
    8636 ## -------------------- ##
    8637 ## M4sh Initialization. ##
    8638 ## -------------------- ##
     13335_ACEOF
     13336
     13337cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     13338## --------------------- ##
     13339## M4sh Initialization.  ##
     13340## --------------------- ##
    863913341
    864013342# Be more Bourne compatible
    864113343DUALCASE=1; export DUALCASE # for MKS sh
    8642 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     13344if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    864313345  emulate sh
    864413346  NULLCMD=:
     
    864813350  setopt NO_GLOB_SUBST
    864913351else
    8650   case `(set -o) 2>/dev/null` in #(
    8651   *posix*) :
    8652     set -o posix ;; #(
    8653   *) :
    8654      ;;
    8655 esac
    8656 fi
    8657 
     13352  case `(set -o) 2>/dev/null` in
     13353  *posix*) set -o posix ;;
     13354esac
     13355
     13356fi
     13357
     13358
     13359
     13360
     13361# PATH needs CR
     13362# Avoid depending upon Character Ranges.
     13363as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     13364as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     13365as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     13366as_cr_digits='0123456789'
     13367as_cr_alnum=$as_cr_Letters$as_cr_digits
    865813368
    865913369as_nl='
     
    866413374as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    866513375as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    8666 # Prefer a ksh shell builtin over an external printf program on Solaris,
    8667 # but without wasting forks for bash or zsh.
    8668 if test -z "$BASH_VERSION$ZSH_VERSION" \
    8669     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    8670   as_echo='print -r --'
    8671   as_echo_n='print -rn --'
    8672 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     13376if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    867313377  as_echo='printf %s\n'
    867413378  as_echo_n='printf %s'
     
    868113385    as_echo_n_body='eval
    868213386      arg=$1;
    8683       case $arg in #(
     13387      case $arg in
    868413388      *"$as_nl"*)
    868513389        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    870413408fi
    870513409
     13410# Support unset when possible.
     13411if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     13412  as_unset=unset
     13413else
     13414  as_unset=false
     13415fi
     13416
    870613417
    870713418# IFS
     
    871313424
    871413425# Find who we are.  Look in the path if we contain no directory separator.
    8715 as_myself=
    8716 case $0 in #((
     13426case $0 in
    871713427  *[\\/]* ) as_myself=$0 ;;
    871813428  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    872113431  IFS=$as_save_IFS
    872213432  test -z "$as_dir" && as_dir=.
    8723     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    8724   done
     13433  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     13434done
    872513435IFS=$as_save_IFS
    872613436
     
    873413444if test ! -f "$as_myself"; then
    873513445  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    8736   exit 1
    8737 fi
    8738 
    8739 # Unset variables that we do not need and which cause bugs (e.g. in
    8740 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    8741 # suppresses any "Segmentation fault" message there.  '((' could
    8742 # trigger a bug in pdksh 5.2.14.
    8743 for as_var in BASH_ENV ENV MAIL MAILPATH
    8744 do eval test x\${$as_var+set} = xset \
    8745   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     13446  { (exit 1); exit 1; }
     13447fi
     13448
     13449# Work around bugs in pre-3.0 UWIN ksh.
     13450for as_var in ENV MAIL MAILPATH
     13451do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    874613452done
    874713453PS1='$ '
     
    875513461export LANGUAGE
    875613462
    8757 # CDPATH.
    8758 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    8759 
    8760 
    8761 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    8762 # ----------------------------------------
    8763 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    8764 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    8765 # script with STATUS, using 1 if that was 0.
    8766 as_fn_error ()
    8767 {
    8768   as_status=$1; test $as_status -eq 0 && as_status=1
    8769   if test "$4"; then
    8770     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    8771     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    8772   fi
    8773   $as_echo "$as_me: error: $2" >&2
    8774   as_fn_exit $as_status
    8775 } # as_fn_error
    8776 
    8777 
    8778 # as_fn_set_status STATUS
    8779 # -----------------------
    8780 # Set $? to STATUS, without forking.
    8781 as_fn_set_status ()
    8782 {
    8783   return $1
    8784 } # as_fn_set_status
    8785 
    8786 # as_fn_exit STATUS
    8787 # -----------------
    8788 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    8789 as_fn_exit ()
    8790 {
    8791   set +e
    8792   as_fn_set_status $1
    8793   exit $1
    8794 } # as_fn_exit
    8795 
    8796 # as_fn_unset VAR
    8797 # ---------------
    8798 # Portably unset VAR.
    8799 as_fn_unset ()
    8800 {
    8801   { eval $1=; unset $1;}
    8802 }
    8803 as_unset=as_fn_unset
    8804 # as_fn_append VAR VALUE
    8805 # ----------------------
    8806 # Append the text in VALUE to the end of the definition contained in VAR. Take
    8807 # advantage of any shell optimizations that allow amortized linear growth over
    8808 # repeated appends, instead of the typical quadratic growth present in naive
    8809 # implementations.
    8810 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    8811   eval 'as_fn_append ()
    8812   {
    8813     eval $1+=\$2
    8814   }'
    8815 else
    8816   as_fn_append ()
    8817   {
    8818     eval $1=\$$1\$2
    8819   }
    8820 fi # as_fn_append
    8821 
    8822 # as_fn_arith ARG...
    8823 # ------------------
    8824 # Perform arithmetic evaluation on the ARGs, and store the result in the
    8825 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    8826 # must be portable across $(()) and expr.
    8827 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    8828   eval 'as_fn_arith ()
    8829   {
    8830     as_val=$(( $* ))
    8831   }'
    8832 else
    8833   as_fn_arith ()
    8834   {
    8835     as_val=`expr "$@" || test $? -eq 1`
    8836   }
    8837 fi # as_fn_arith
    8838 
    8839 
     13463# Required to use basename.
    884013464if expr a : '\(a\)' >/dev/null 2>&1 &&
    884113465   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    885113475fi
    885213476
    8853 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    8854   as_dirname=dirname
    8855 else
    8856   as_dirname=false
    8857 fi
    8858 
     13477
     13478# Name of the executable.
    885913479as_me=`$as_basename -- "$0" ||
    886013480$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    887613496          s/.*/./; q'`
    887713497
    8878 # Avoid depending upon Character Ranges.
    8879 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    8880 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    8881 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    8882 as_cr_digits='0123456789'
    8883 as_cr_alnum=$as_cr_Letters$as_cr_digits
     13498# CDPATH.
     13499$as_unset CDPATH
     13500
     13501
     13502
     13503  as_lineno_1=$LINENO
     13504  as_lineno_2=$LINENO
     13505  test "x$as_lineno_1" != "x$as_lineno_2" &&
     13506  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     13507
     13508  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     13509  # uniformly replaced by the line number.  The first 'sed' inserts a
     13510  # line-number line after each line using $LINENO; the second 'sed'
     13511  # does the real work.  The second script uses 'N' to pair each
     13512  # line-number line with the line containing $LINENO, and appends
     13513  # trailing '-' during substitution so that $LINENO is not a special
     13514  # case at line end.
     13515  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     13516  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     13517  # E. McMahon (1931-1989) for sed's syntax.  :-)
     13518  sed -n '
     13519    p
     13520    /[$]LINENO/=
     13521  ' <$as_myself |
     13522    sed '
     13523      s/[$]LINENO.*/&-/
     13524      t lineno
     13525      b
     13526      :lineno
     13527      N
     13528      :loop
     13529      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
     13530      t loop
     13531      s/-\n.*//
     13532    ' >$as_me.lineno &&
     13533  chmod +x "$as_me.lineno" ||
     13534    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     13535   { (exit 1); exit 1; }; }
     13536
     13537  # Don't try to exec as it changes $[0], causing all sort of problems
     13538  # (the dirname of $[0] is not the place where we might find the
     13539  # original and so on.  Autoconf is especially sensitive to this).
     13540  . "./$as_me.lineno"
     13541  # Exit status is that of the last command.
     13542  exit
     13543}
     13544
     13545
     13546if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     13547  as_dirname=dirname
     13548else
     13549  as_dirname=false
     13550fi
    888413551
    888513552ECHO_C= ECHO_N= ECHO_T=
    8886 case `echo -n x` in #(((((
     13553case `echo -n x` in
    888713554-n*)
    8888   case `echo 'xy\c'` in
     13555  case `echo 'x\c'` in
    888913556  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    8890   xy)  ECHO_C='\c';;
    8891   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    8892        ECHO_T=' ';;
     13557  *)   ECHO_C='\c';;
    889313558  esac;;
    889413559*)
    889513560  ECHO_N='-n';;
    889613561esac
     13562if expr a : '\(a\)' >/dev/null 2>&1 &&
     13563   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     13564  as_expr=expr
     13565else
     13566  as_expr=false
     13567fi
    889713568
    889813569rm -f conf$$ conf$$.exe conf$$.file
     
    892313594rmdir conf$$.dir 2>/dev/null
    892413595
    8925 
    8926 # as_fn_mkdir_p
    8927 # -------------
    8928 # Create "$as_dir" as a directory, including parents if necessary.
    8929 as_fn_mkdir_p ()
    8930 {
    8931 
    8932   case $as_dir in #(
    8933   -*) as_dir=./$as_dir;;
    8934   esac
    8935   test -d "$as_dir" || eval $as_mkdir_p || {
    8936     as_dirs=
    8937     while :; do
    8938       case $as_dir in #(
    8939       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    8940       *) as_qdir=$as_dir;;
    8941       esac
    8942       as_dirs="'$as_qdir' $as_dirs"
    8943       as_dir=`$as_dirname -- "$as_dir" ||
    8944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    8945          X"$as_dir" : 'X\(//\)[^/]' \| \
    8946          X"$as_dir" : 'X\(//\)$' \| \
    8947          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    8948 $as_echo X"$as_dir" |
    8949     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    8950             s//\1/
    8951             q
    8952           }
    8953           /^X\(\/\/\)[^/].*/{
    8954             s//\1/
    8955             q
    8956           }
    8957           /^X\(\/\/\)$/{
    8958             s//\1/
    8959             q
    8960           }
    8961           /^X\(\/\).*/{
    8962             s//\1/
    8963             q
    8964           }
    8965           s/.*/./; q'`
    8966       test -d "$as_dir" && break
    8967     done
    8968     test -z "$as_dirs" || eval "mkdir $as_dirs"
    8969   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    8970 
    8971 
    8972 } # as_fn_mkdir_p
    897313596if mkdir -p . 2>/dev/null; then
    8974   as_mkdir_p='mkdir -p "$as_dir"'
     13597  as_mkdir_p=:
    897513598else
    897613599  test -d ./-p && rmdir ./-p
     
    899113614        test -d "$1/.";
    899213615      else
    8993         case $1 in #(
     13616        case $1 in
    899413617        -*)set "./$1";;
    899513618        esac;
    8996         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     13619        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    899713620        ???[sx]*):;;*)false;;esac;fi
    899813621    '\'' sh
     
    900913632
    901013633exec 6>&1
    9011 ## ----------------------------------- ##
    9012 ## Main body of $CONFIG_STATUS script. ##
    9013 ## ----------------------------------- ##
    9014 _ASEOF
    9015 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
    9016 
    9017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9018 # Save the log message, to keep $0 and so on meaningful, and to
     13634
     13635# Save the log message, to keep $[0] and so on meaningful, and to
    901913636# report actual input values of CONFIG_FILES etc. instead of their
    902013637# values after options handling.
    902113638ac_log="
    902213639This file was extended by vizservers $as_me 0.1, which was
    9023 generated by GNU Autoconf 2.68.  Invocation command line was
     13640generated by GNU Autoconf 2.63.  Invocation command line was
    902413641
    902513642  CONFIG_FILES    = $CONFIG_FILES
     
    905213669cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    905313670ac_cs_usage="\
    9054 \`$as_me' instantiates files and other configuration actions
    9055 from templates according to the current configuration.  Unless the files
    9056 and actions are specified as TAGs, all are instantiated by default.
    9057 
    9058 Usage: $0 [OPTION]... [TAG]...
     13671\`$as_me' instantiates files from templates according to the
     13672current configuration.
     13673
     13674Usage: $0 [OPTION]... [FILE]...
    905913675
    906013676  -h, --help       print this help, then exit
    906113677  -V, --version    print version number and configuration settings, then exit
    9062       --config     print configuration, then exit
    906313678  -q, --quiet, --silent
    906413679                   do not print progress messages
     
    907613691$config_headers
    907713692
    9078 Report bugs to <rappture@nanohub.org>."
     13693Report bugs to <bug-autoconf@gnu.org>."
    907913694
    908013695_ACEOF
    908113696cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    9082 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    908313697ac_cs_version="\\
    908413698vizservers config.status 0.1
    9085 configured by $0, generated by GNU Autoconf 2.68,
    9086   with options \\"\$ac_cs_config\\"
    9087 
    9088 Copyright (C) 2010 Free Software Foundation, Inc.
     13699configured by $0, generated by GNU Autoconf 2.63,
     13700  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     13701
     13702Copyright (C) 2008 Free Software Foundation, Inc.
    908913703This config.status script is free software; the Free Software Foundation
    909013704gives unlimited permission to copy, distribute and modify it."
     
    910313717do
    910413718  case $1 in
    9105   --*=?*)
     13719  --*=*)
    910613720    ac_option=`expr "X$1" : 'X\([^=]*\)='`
    910713721    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
    9108     ac_shift=:
    9109     ;;
    9110   --*=)
    9111     ac_option=`expr "X$1" : 'X\([^=]*\)='`
    9112     ac_optarg=
    911313722    ac_shift=:
    911413723    ;;
     
    912613735  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    912713736    $as_echo "$ac_cs_version"; exit ;;
    9128   --config | --confi | --conf | --con | --co | --c )
    9129     $as_echo "$ac_cs_config"; exit ;;
    913013737  --debug | --debu | --deb | --de | --d | -d )
    913113738    debug=: ;;
     
    913413741    case $ac_optarg in
    913513742    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    9136     '') as_fn_error $? "missing file argument" ;;
    913713743    esac
    9138     as_fn_append CONFIG_FILES " '$ac_optarg'"
     13744    CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
    913913745    ac_need_defaults=false;;
    914013746  --header | --heade | --head | --hea )
     
    914313749    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    914413750    esac
    9145     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
     13751    CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
    914613752    ac_need_defaults=false;;
    914713753  --he | --h)
    914813754    # Conflict between --help and --header
    9149     as_fn_error $? "ambiguous option: \`$1'
    9150 Try \`$0 --help' for more information.";;
     13755    { $as_echo "$as_me: error: ambiguous option: $1
     13756Try \`$0 --help' for more information." >&2
     13757   { (exit 1); exit 1; }; };;
    915113758  --help | --hel | -h )
    915213759    $as_echo "$ac_cs_usage"; exit ;;
     
    915613763
    915713764  # This is an error.
    9158   -*) as_fn_error $? "unrecognized option: \`$1'
    9159 Try \`$0 --help' for more information." ;;
    9160 
    9161   *) as_fn_append ac_config_targets " $1"
     13765  -*) { $as_echo "$as_me: error: unrecognized option: $1
     13766Try \`$0 --help' for more information." >&2
     13767   { (exit 1); exit 1; }; } ;;
     13768
     13769  *) ac_config_targets="$ac_config_targets $1"
    916213770     ac_need_defaults=false ;;
    916313771
     
    921813826    "nanovis/transfer-function/Makefile") CONFIG_FILES="$CONFIG_FILES nanovis/transfer-function/Makefile" ;;
    921913827    "pymolproxy/Makefile") CONFIG_FILES="$CONFIG_FILES pymolproxy/Makefile" ;;
     13828    "vtkvis/Makefile") CONFIG_FILES="$CONFIG_FILES vtkvis/Makefile" ;;
    922013829    "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;;
    922113830
    9222   *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
     13831  *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     13832$as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     13833   { (exit 1); exit 1; }; };;
    922313834  esac
    922413835done
     
    924213853$debug ||
    924313854{
    9244   tmp= ac_tmp=
     13855  tmp=
    924513856  trap 'exit_status=$?
    9246   : "${ac_tmp:=$tmp}"
    9247   { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
     13857  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
    924813858' 0
    9249   trap 'as_fn_exit 1' 1 2 13 15
     13859  trap '{ (exit 1); exit 1; }' 1 2 13 15
    925013860}
    925113861# Create a (secure) tmp directory for tmp files.
     
    925313863{
    925413864  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
    9255   test -d "$tmp"
     13865  test -n "$tmp" && test -d "$tmp"
    925613866}  ||
    925713867{
    925813868  tmp=./conf$$-$RANDOM
    925913869  (umask 077 && mkdir "$tmp")
    9260 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
    9261 ac_tmp=$tmp
     13870} ||
     13871{
     13872   $as_echo "$as_me: cannot create a temporary directory in ." >&2
     13873   { (exit 1); exit 1; }
     13874}
    926213875
    926313876# Set up the scripts for CONFIG_FILES section.
     
    926713880
    926813881
    9269 ac_cr=`echo X | tr X '\015'`
    9270 # On cygwin, bash can eat \r inside `` if the user requested igncr.
    9271 # But we know of no other shell where ac_cr would be empty at this
    9272 # point, so we can use a bashism as a fallback.
    9273 if test "x$ac_cr" = x; then
    9274   eval ac_cr=\$\'\\r\'
    9275 fi
     13882ac_cr='
     13883'
    927613884ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    927713885if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
     
    928113889fi
    928213890
    9283 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
     13891echo 'BEGIN {' >"$tmp/subs1.awk" &&
    928413892_ACEOF
    928513893
     
    929013898  echo "_ACEOF"
    929113899} >conf$$subs.sh ||
    9292   as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
    9293 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
     13900  { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     13901$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     13902   { (exit 1); exit 1; }; }
     13903ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
    929413904ac_delim='%!_!# '
    929513905for ac_last_try in false false false false false :; do
    929613906  . ./conf$$subs.sh ||
    9297     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     13907    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     13908$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     13909   { (exit 1); exit 1; }; }
    929813910
    929913911  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
     
    930113913    break
    930213914  elif $ac_last_try; then
    9303     as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
     13915    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     13916$as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     13917   { (exit 1); exit 1; }; }
    930413918  else
    930513919    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    930913923
    931013924cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    9311 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
     13925cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    931213926_ACEOF
    931313927sed -n '
     
    932313937:nl
    932413938h
    9325 s/\(.\{148\}\)..*/\1/
     13939s/\(.\{148\}\).*/\1/
    932613940t more1
    932713941s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
     
    933713951:delim
    933813952h
    9339 s/\(.\{148\}\)..*/\1/
     13953s/\(.\{148\}\).*/\1/
    934013954t more2
    934113955s/["\\]/\\&/g; s/^/"/; s/$/"/
     
    935713971cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    935813972_ACAWK
    9359 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
     13973cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    936013974  for (key in S) S_is_set[key] = 1
    936113975  FS = ""
     
    938914003else
    939014004  cat
    9391 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
    9392   || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
    9393 _ACEOF
    9394 
    9395 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
    9396 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
     14005fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
     14006  || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
     14007$as_echo "$as_me: error: could not setup config files machinery" >&2;}
     14008   { (exit 1); exit 1; }; }
     14009_ACEOF
     14010
     14011# VPATH may cause trouble with some makes, so we remove $(srcdir),
     14012# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
    939714013# trailing colons and then remove the whole line if VPATH becomes empty
    939814014# (actually we leave an empty line to preserve line numbers).
    939914015if test "x$srcdir" = x.; then
    9400   ac_vpsub='/^[  ]*VPATH[        ]*=[    ]*/{
    9401 h
    9402 s///
    9403 s/^/:/
    9404 s/[      ]*$/:/
    9405 s/:\$(srcdir):/:/g
    9406 s/:\${srcdir}:/:/g
    9407 s/:@srcdir@:/:/g
    9408 s/^:*//
     14016  ac_vpsub='/^[  ]*VPATH[        ]*=/{
     14017s/:*\$(srcdir):*/:/
     14018s/:*\${srcdir}:*/:/
     14019s/:*@srcdir@:*/:/
     14020s/^\([^=]*=[     ]*\):*/\1/
    940914021s/:*$//
    9410 x
    9411 s/\(=[   ]*\).*/\1/
    9412 G
    9413 s/\n//
    941414022s/^[^=]*=[       ]*$//
    941514023}'
     
    942314031# This happens for instance with `./config.status Makefile'.
    942414032if test -n "$CONFIG_HEADERS"; then
    9425 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
     14033cat >"$tmp/defines.awk" <<\_ACAWK ||
    942614034BEGIN {
    942714035_ACEOF
     
    943514043ac_delim='%!_!# '
    943614044for ac_last_try in false false :; do
    9437   ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
    9438   if test -z "$ac_tt"; then
     14045  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
     14046  if test -z "$ac_t"; then
    943914047    break
    944014048  elif $ac_last_try; then
    9441     as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
     14049    { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
     14050$as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
     14051   { (exit 1); exit 1; }; }
    944214052  else
    944314053    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
     
    952414134_ACEOF
    952514135cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    9526   as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
     14136  { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
     14137$as_echo "$as_me: error: could not setup config headers machinery" >&2;}
     14138   { (exit 1); exit 1; }; }
    952714139fi # test -n "$CONFIG_HEADERS"
    952814140
     
    953714149  case $ac_mode$ac_tag in
    953814150  :[FHL]*:*);;
    9539   :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
     14151  :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
     14152$as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     14153   { (exit 1); exit 1; }; };;
    954014154  :[FH]-) ac_tag=-:-;;
    954114155  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
     
    955614170    do
    955714171      case $ac_f in
    9558       -) ac_f="$ac_tmp/stdin";;
     14172      -) ac_f="$tmp/stdin";;
    955914173      *) # Look for the file first in the build tree, then in the source tree
    956014174         # (if the path is not absolute).  The absolute path cannot be DOS-style,
     
    956514179           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    956614180           esac ||
    9567            as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
     14181           { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     14182$as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     14183   { (exit 1); exit 1; }; };;
    956814184      esac
    956914185      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    9570       as_fn_append ac_file_inputs " '$ac_f'"
     14186      ac_file_inputs="$ac_file_inputs '$ac_f'"
    957114187    done
    957214188
     
    957914195    if test x"$ac_file" != x-; then
    958014196      configure_input="$ac_file.  $configure_input"
    9581       { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
     14197      { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    958214198$as_echo "$as_me: creating $ac_file" >&6;}
    958314199    fi
     
    959114207
    959214208    case $ac_tag in
    9593     *:-:* | *:-) cat >"$ac_tmp/stdin" \
    9594       || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
     14209    *:-:* | *:-) cat >"$tmp/stdin" \
     14210      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14211$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14212   { (exit 1); exit 1; }; } ;;
    959514213    esac
    959614214    ;;
     
    962014238          }
    962114239          s/.*/./; q'`
    9622   as_dir="$ac_dir"; as_fn_mkdir_p
     14240  { as_dir="$ac_dir"
     14241  case $as_dir in #(
     14242  -*) as_dir=./$as_dir;;
     14243  esac
     14244  test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
     14245    as_dirs=
     14246    while :; do
     14247      case $as_dir in #(
     14248      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     14249      *) as_qdir=$as_dir;;
     14250      esac
     14251      as_dirs="'$as_qdir' $as_dirs"
     14252      as_dir=`$as_dirname -- "$as_dir" ||
     14253$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     14254         X"$as_dir" : 'X\(//\)[^/]' \| \
     14255         X"$as_dir" : 'X\(//\)$' \| \
     14256         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
     14257$as_echo X"$as_dir" |
     14258    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
     14259            s//\1/
     14260            q
     14261          }
     14262          /^X\(\/\/\)[^/].*/{
     14263            s//\1/
     14264            q
     14265          }
     14266          /^X\(\/\/\)$/{
     14267            s//\1/
     14268            q
     14269          }
     14270          /^X\(\/\).*/{
     14271            s//\1/
     14272            q
     14273          }
     14274          s/.*/./; q'`
     14275      test -d "$as_dir" && break
     14276    done
     14277    test -z "$as_dirs" || eval "mkdir $as_dirs"
     14278  } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     14279$as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
     14280   { (exit 1); exit 1; }; }; }
    962314281  ac_builddir=.
    962414282
     
    967714335# FIXME: This hack should be removed a few years after 2.60.
    967814336ac_datarootdir_hack=; ac_datarootdir_seen=
     14337
    967914338ac_sed_dataroot='
    968014339/datarootdir/ {
     
    968614345/@infodir@/p
    968714346/@localedir@/p
    9688 /@mandir@/p'
     14347/@mandir@/p
     14348'
    968914349case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
    969014350*datarootdir*) ac_datarootdir_seen=yes;;
    969114351*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    9692   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     14352  { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    969314353$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    969414354_ACEOF
     
    970014360  s&@localedir@&$localedir&g
    970114361  s&@mandir@&$mandir&g
    9702   s&\\\${datarootdir}&$datarootdir&g' ;;
     14362    s&\\\${datarootdir}&$datarootdir&g' ;;
    970314363esac
    970414364_ACEOF
     
    972814388$ac_datarootdir_hack
    972914389"
    9730 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
    9731   >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     14390eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
     14391  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14392$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14393   { (exit 1); exit 1; }; }
    973214394
    973314395test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    9734   { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
    9735   { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
    9736       "$ac_tmp/out"`; test -z "$ac_out"; } &&
    9737   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9738 which seems to be undefined.  Please make sure it is defined" >&5
     14396  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
     14397  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
     14398  { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     14399which seems to be undefined.  Please make sure it is defined." >&5
    973914400$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    9740 which seems to be undefined.  Please make sure it is defined" >&2;}
    9741 
    9742   rm -f "$ac_tmp/stdin"
     14401which seems to be undefined.  Please make sure it is defined." >&2;}
     14402
     14403  rm -f "$tmp/stdin"
    974314404  case $ac_file in
    9744   -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
    9745   *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
     14405  -) cat "$tmp/out" && rm -f "$tmp/out";;
     14406  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    974614407  esac \
    9747   || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     14408  || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14409$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14410   { (exit 1); exit 1; }; }
    974814411 ;;
    974914412  :H)
     
    975414417    {
    975514418      $as_echo "/* $configure_input  */" \
    9756       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
    9757     } >"$ac_tmp/config.h" \
    9758       || as_fn_error $? "could not create $ac_file" "$LINENO" 5
    9759     if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
    9760       { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
     14419      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
     14420    } >"$tmp/config.h" \
     14421      || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14422$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14423   { (exit 1); exit 1; }; }
     14424    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
     14425      { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    976114426$as_echo "$as_me: $ac_file is unchanged" >&6;}
    976214427    else
    976314428      rm -f "$ac_file"
    9764       mv "$ac_tmp/config.h" "$ac_file" \
    9765         || as_fn_error $? "could not create $ac_file" "$LINENO" 5
     14429      mv "$tmp/config.h" "$ac_file" \
     14430        || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
     14431$as_echo "$as_me: error: could not create $ac_file" >&2;}
     14432   { (exit 1); exit 1; }; }
    976614433    fi
    976714434  else
    976814435    $as_echo "/* $configure_input  */" \
    9769       && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
    9770       || as_fn_error $? "could not create -" "$LINENO" 5
     14436      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
     14437      || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
     14438$as_echo "$as_me: error: could not create -" >&2;}
     14439   { (exit 1); exit 1; }; }
    977114440  fi
    977214441 ;;
     
    977814447
    977914448
    9780 as_fn_exit 0
    9781 _ACEOF
     14449{ (exit 0); exit 0; }
     14450_ACEOF
     14451chmod +x $CONFIG_STATUS
    978214452ac_clean_files=$ac_clean_files_save
    978314453
    978414454test $ac_write_fail = 0 ||
    9785   as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
     14455  { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
     14456$as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
     14457   { (exit 1); exit 1; }; }
    978614458
    978714459
     
    980414476  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
    980514477  # would make configure fail if this is the last instruction.
    9806   $ac_cs_success || as_fn_exit 1
     14478  $ac_cs_success || { (exit 1); exit 1; }
    980714479fi
    980814480if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    9809   { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
     14481  { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    981014482$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    981114483fi
  • trunk/packages/vizservers/configure.in

    r2099 r2101  
     1AC_PREREQ([2.60])
    12AC_INIT(vizservers, 0.1, rappture@nanohub.org)
    23AC_CONFIG_HEADER(nanovis/nvconf.h nanoscale/config.h)
    3 
    44
    55AC_ARG_WITH(
     
    1616    [with_rappture=$withval],
    1717    [with_rappture=/usr])
     18
     19AC_ARG_WITH(
     20    [vtk-includes],
     21    [AS_HELP_STRING([--with-vtk-includes=DIR],
     22        [VTK include files are in DIR])],
     23    [with_vtk_includes=$withval],
     24    [with_vtk_includes=/usr/include/vtk-5.6])
     25
     26AC_ARG_WITH(
     27    [vtk-libs],
     28    [AS_HELP_STRING([--with-vtk-libs=DIR],
     29        [VTK libraries are in DIR])],
     30    [with_vtk_libs=$withval],
     31    [with_vtk_libs=/usr/lib/vtk-5.6])
    1832
    1933VERSION=0.0.1
     
    7993LD_RPATH="";
    8094
    81 SUBDIRS="nanoscale nanovis pymolproxy"
     95SUBDIRS="nanoscale nanovis pymolproxy vtkvis"
    8296AC_SUBST(SUBDIRS)
    8397
     
    167181AC_SUBST(RP_DIR)
    168182
     183if test "x$with_vtk_includes" != "x"; then
     184   VTK_INC_SPEC=-I$with_vtk_includes
     185fi
     186
     187save_CPPFLAGS=$CPPFLAGS
     188CPPFLAGS=$VTK_INC_SPEC
     189AC_CHECK_HEADERS([vtkSmartPointer.h], [], [AC_MSG_ERROR([cannot find VTK includes])])
     190CPPFLAGS=$save_CPPFLAGS
     191
     192if test "x$with_vtk_libs" != "x"; then
     193   VTK_LIB_SPEC=-L$with_vtk_libs
     194fi
     195
     196AC_SUBST(VTK_INC_SPEC)
     197AC_SUBST(VTK_LIB_SPEC)
     198
    169199AC_CHECK_HEADER([GL/glui.h])
    170200AC_CHECK_HEADER([glui.h])
     
    313343            nanovis/transfer-function/Makefile \
    314344            pymolproxy/Makefile \
     345            vtkvis/Makefile \
    315346            start_viz.sh    )
  • trunk/packages/vizservers/start_viz.sh.in

    r1278 r2101  
    1515nanoscale_port=2000
    1616nanovis_port=2000
     17vtkvis_port=2010
    1718pymol_port=2020
    1819
     
    3738nanoscale="${dir}/bin/nanoscale -x ${nvideo} -b $nanoscale_port -s $broadcast"
    3839nanovis="${dir}/bin/nanovis -p ${dir}/lib/shaders:${dir}/lib/resources"
     40vtkvis="${dir}/bin/vtkvis"
    3941pymolproxy="${dir}/bin/pymolproxy ${dir}/bin/pymol -p -q -i -x -X 0 -Y 0"
    4042
     
    6062
    6163echo "$nanoscale -l $nanovis_port -c \"$nanovis\" -l $pymol_port -c \"$pymolproxy\""
    62 $nanoscale -l $nanovis_port -c "$nanovis" -l $pymol_port -c "$pymolproxy"
     64$nanoscale -l $nanovis_port -c "$nanovis" -l $vtkvis_port -c "$vtkvis" -l $pymol_port -c "$pymolproxy"
    6365
Note: See TracChangeset for help on using the changeset viewer.