Ignore:
Timestamp:
Apr 3, 2012 3:51:13 PM (10 years ago)
Author:
gah
Message:

sync back with trunk

File:
1 edited

Legend:

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

    <
    r2742 r2936  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.68 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.63 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    7 #
    87# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
    10 # Foundation, Inc.
    11 #
    12 #
     8# 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    139# This configure script is free software; the Free Software Foundation
    1410# gives unlimited permission to copy, distribute and modify it.
    15 ## -------------------- ##
    16 ## M4sh Initialization. ##
    17 ## -------------------- ##
     11## --------------------- ##
     12## M4sh Initialization.  ##
     13## --------------------- ##
    1814
    1915# Be more Bourne compatible
    2016DUALCASE=1; export DUALCASE # for MKS sh
    21 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
     17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
    2218  emulate sh
    2319  NULLCMD=:
     
    2723  setopt NO_GLOB_SUBST
    2824else
    29   case `(set -o) 2>/dev/null` in #(
    30   *posix*) :
    31     set -o posix ;; #(
    32   *) :
    33      ;;
    34 esac
    35 fi
    36 
     25  case `(set -o) 2>/dev/null` in
     26  *posix*) set -o posix ;;
     27esac
     28
     29fi
     30
     31
     32
     33
     34# PATH needs CR
     35# Avoid depending upon Character Ranges.
     36as_cr_letters='abcdefghijklmnopqrstuvwxyz'
     37as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
     38as_cr_Letters=$as_cr_letters$as_cr_LETTERS
     39as_cr_digits='0123456789'
     40as_cr_alnum=$as_cr_Letters$as_cr_digits
    3741
    3842as_nl='
     
    4347as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    4448as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    45 # Prefer a ksh shell builtin over an external printf program on Solaris,
    46 # but without wasting forks for bash or zsh.
    47 if test -z "$BASH_VERSION$ZSH_VERSION" \
    48     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
    49   as_echo='print -r --'
    50   as_echo_n='print -rn --'
    51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
     49if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    5250  as_echo='printf %s\n'
    5351  as_echo_n='printf %s'
     
    6058    as_echo_n_body='eval
    6159      arg=$1;
    62       case $arg in #(
     60      case $arg in
    6361      *"$as_nl"*)
    6462        expr "X$arg" : "X\\(.*\\)$as_nl";
     
    8381fi
    8482
     83# Support unset when possible.
     84if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
     85  as_unset=unset
     86else
     87  as_unset=false
     88fi
     89
    8590
    8691# IFS
     
    9297
    9398# Find who we are.  Look in the path if we contain no directory separator.
    94 as_myself=
    95 case $0 in #((
     99case $0 in
    96100  *[\\/]* ) as_myself=$0 ;;
    97101  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    100104  IFS=$as_save_IFS
    101105  test -z "$as_dir" && as_dir=.
    102     test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
    103   done
     106  test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
     107done
    104108IFS=$as_save_IFS
    105109
     
    113117if test ! -f "$as_myself"; then
    114118  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    115   exit 1
    116 fi
    117 
    118 # Unset variables that we do not need and which cause bugs (e.g. in
    119 # pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
    120 # suppresses any "Segmentation fault" message there.  '((' could
    121 # trigger a bug in pdksh 5.2.14.
    122 for as_var in BASH_ENV ENV MAIL MAILPATH
    123 do eval test x\${$as_var+set} = xset \
    124   && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
     119  { (exit 1); exit 1; }
     120fi
     121
     122# Work around bugs in pre-3.0 UWIN ksh.
     123for as_var in ENV MAIL MAILPATH
     124do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
    125125done
    126126PS1='$ '
     
    134134export LANGUAGE
    135135
    136 # CDPATH.
    137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
    138 
    139 if test "x$CONFIG_SHELL" = x; then
    140   as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
    141   emulate sh
    142   NULLCMD=:
    143   # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
    144   # is contrary to our usage.  Disable this feature.
    145   alias -g '\${1+\"\$@\"}'='\"\$@\"'
    146   setopt NO_GLOB_SUBST
    147 else
    148   case \`(set -o) 2>/dev/null\` in #(
    149   *posix*) :
    150     set -o posix ;; #(
    151   *) :
    152      ;;
    153 esac
    154 fi
    155 "
    156   as_required="as_fn_return () { (exit \$1); }
    157 as_fn_success () { as_fn_return 0; }
    158 as_fn_failure () { as_fn_return 1; }
    159 as_fn_ret_success () { return 0; }
    160 as_fn_ret_failure () { return 1; }
    161 
    162 exitcode=0
    163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
    164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
    165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
    166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
    167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
    168 
    169 else
    170   exitcode=1; echo positional parameters were not saved.
    171 fi
    172 test x\$exitcode = x0 || exit 1"
    173   as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
    174   as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
    175   eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
    176   test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
    177 test \$(( 1 + 1 )) = 2 || exit 1"
    178   if (eval "$as_required") 2>/dev/null; then :
    179   as_have_required=yes
    180 else
    181   as_have_required=no
    182 fi
    183   if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
    184 
    185 else
    186   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    187 as_found=false
    188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
    189 do
    190   IFS=$as_save_IFS
    191   test -z "$as_dir" && as_dir=.
    192   as_found=:
    193   case $as_dir in #(
    194          /*)
    195            for as_base in sh bash ksh sh5; do
    196              # Try only shells that exist, to save several forks.
    197              as_shell=$as_dir/$as_base
    198              if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
    199                     { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
    200   CONFIG_SHELL=$as_shell as_have_required=yes
    201                    if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
    202   break 2
    203 fi
    204 fi
    205            done;;
    206        esac
    207   as_found=false
    208 done
    209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
    210               { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
    211   CONFIG_SHELL=$SHELL as_have_required=yes
    212 fi; }
    213 IFS=$as_save_IFS
    214 
    215 
    216       if test "x$CONFIG_SHELL" != x; then :
    217   # We cannot yet assume a decent shell, so we have to provide a
    218         # neutralization value for shells without unset; and this also
    219         # works around shells that cannot unset nonexistent variables.
    220         # Preserve -v and -x to the replacement shell.
    221         BASH_ENV=/dev/null
    222         ENV=/dev/null
    223         (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
    224         export CONFIG_SHELL
    225         case $- in # ((((
    226           *v*x* | *x*v* ) as_opts=-vx ;;
    227           *v* ) as_opts=-v ;;
    228           *x* ) as_opts=-x ;;
    229           * ) as_opts= ;;
    230         esac
    231         exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
    232 fi
    233 
    234     if test x$as_have_required = xno; then :
    235   $as_echo "$0: This script requires a shell more modern than all"
    236   $as_echo "$0: the shells that I found on your system."
    237   if test x${ZSH_VERSION+set} = xset ; then
    238     $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
    239     $as_echo "$0: be upgraded to zsh 4.3.4 or later."
    240   else
    241     $as_echo "$0: Please tell bug-autoconf@gnu.org and
    242 $0: rappture@nanohub.org about your system, including any
    243 $0: error possibly output before this message. Then install
    244 $0: a modern shell, or manually run the script under such a
    245 $0: shell if you do have one."
    246   fi
    247   exit 1
    248 fi
    249 fi
    250 fi
    251 SHELL=${CONFIG_SHELL-/bin/sh}
    252 export SHELL
    253 # Unset more variables known to interfere with behavior of common tools.
    254 CLICOLOR_FORCE= GREP_OPTIONS=
    255 unset CLICOLOR_FORCE GREP_OPTIONS
    256 
    257 ## --------------------- ##
    258 ## M4sh Shell Functions. ##
    259 ## --------------------- ##
    260 # as_fn_unset VAR
    261 # ---------------
    262 # Portably unset VAR.
    263 as_fn_unset ()
    264 {
    265   { eval $1=; unset $1;}
    266 }
    267 as_unset=as_fn_unset
    268 
    269 # as_fn_set_status STATUS
    270 # -----------------------
    271 # Set $? to STATUS, without forking.
    272 as_fn_set_status ()
    273 {
    274   return $1
    275 } # as_fn_set_status
    276 
    277 # as_fn_exit STATUS
    278 # -----------------
    279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
    280 as_fn_exit ()
    281 {
    282   set +e
    283   as_fn_set_status $1
    284   exit $1
    285 } # as_fn_exit
    286 
    287 # as_fn_mkdir_p
    288 # -------------
    289 # Create "$as_dir" as a directory, including parents if necessary.
    290 as_fn_mkdir_p ()
    291 {
    292 
    293   case $as_dir in #(
    294   -*) as_dir=./$as_dir;;
    295   esac
    296   test -d "$as_dir" || eval $as_mkdir_p || {
    297     as_dirs=
    298     while :; do
    299       case $as_dir in #(
    300       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
    301       *) as_qdir=$as_dir;;
    302       esac
    303       as_dirs="'$as_qdir' $as_dirs"
    304       as_dir=`$as_dirname -- "$as_dir" ||
    305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    306          X"$as_dir" : 'X\(//\)[^/]' \| \
    307          X"$as_dir" : 'X\(//\)$' \| \
    308          X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    309 $as_echo X"$as_dir" |
    310     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    311             s//\1/
    312             q
    313           }
    314           /^X\(\/\/\)[^/].*/{
    315             s//\1/
    316             q
    317           }
    318           /^X\(\/\/\)$/{
    319             s//\1/
    320             q
    321           }
    322           /^X\(\/\).*/{
    323             s//\1/
    324             q
    325           }
    326           s/.*/./; q'`
    327       test -d "$as_dir" && break
    328     done
    329     test -z "$as_dirs" || eval "mkdir $as_dirs"
    330   } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
    331 
    332 
    333 } # as_fn_mkdir_p
    334 # as_fn_append VAR VALUE
    335 # ----------------------
    336 # Append the text in VALUE to the end of the definition contained in VAR. Take
    337 # advantage of any shell optimizations that allow amortized linear growth over
    338 # repeated appends, instead of the typical quadratic growth present in naive
    339 # implementations.
    340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
    341   eval 'as_fn_append ()
    342   {
    343     eval $1+=\$2
    344   }'
    345 else
    346   as_fn_append ()
    347   {
    348     eval $1=\$$1\$2
    349   }
    350 fi # as_fn_append
    351 
    352 # as_fn_arith ARG...
    353 # ------------------
    354 # Perform arithmetic evaluation on the ARGs, and store the result in the
    355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
    356 # must be portable across $(()) and expr.
    357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
    358   eval 'as_fn_arith ()
    359   {
    360     as_val=$(( $* ))
    361   }'
    362 else
    363   as_fn_arith ()
    364   {
    365     as_val=`expr "$@" || test $? -eq 1`
    366   }
    367 fi # as_fn_arith
    368 
    369 
    370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
    371 # ----------------------------------------
    372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
    373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
    374 # script with STATUS, using 1 if that was 0.
    375 as_fn_error ()
    376 {
    377   as_status=$1; test $as_status -eq 0 && as_status=1
    378   if test "$4"; then
    379     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    380     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
    381   fi
    382   $as_echo "$as_me: error: $2" >&2
    383   as_fn_exit $as_status
    384 } # as_fn_error
    385 
     136# Required to use basename.
    386137if expr a : '\(a\)' >/dev/null 2>&1 &&
    387138   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    397148fi
    398149
    399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
    400   as_dirname=dirname
    401 else
    402   as_dirname=false
    403 fi
    404 
     150
     151# Name of the executable.
    405152as_me=`$as_basename -- "$0" ||
    406153$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
     
    422169          s/.*/./; q'`
    423170
    424 # Avoid depending upon Character Ranges.
    425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
    426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
    427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
    428 as_cr_digits='0123456789'
    429 as_cr_alnum=$as_cr_Letters$as_cr_digits
    430 
    431 
    432   as_lineno_1=$LINENO as_lineno_1a=$LINENO
    433   as_lineno_2=$LINENO as_lineno_2a=$LINENO
    434   eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
    435   test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
    436   # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
     171# CDPATH.
     172$as_unset CDPATH
     173
     174
     175if test "x$CONFIG_SHELL" = x; then
     176  if (eval ":") 2>/dev/null; then
     177  as_have_required=yes
     178else
     179  as_have_required=no
     180fi
     181
     182  if test $as_have_required = yes &&     (eval ":
     183(as_func_return () {
     184  (exit \$1)
     185}
     186as_func_success () {
     187  as_func_return 0
     188}
     189as_func_failure () {
     190  as_func_return 1
     191}
     192as_func_ret_success () {
     193  return 0
     194}
     195as_func_ret_failure () {
     196  return 1
     197}
     198
     199exitcode=0
     200if as_func_success; then
     201  :
     202else
     203  exitcode=1
     204  echo as_func_success failed.
     205fi
     206
     207if as_func_failure; then
     208  exitcode=1
     209  echo as_func_failure succeeded.
     210fi
     211
     212if as_func_ret_success; then
     213  :
     214else
     215  exitcode=1
     216  echo as_func_ret_success failed.
     217fi
     218
     219if as_func_ret_failure; then
     220  exitcode=1
     221  echo as_func_ret_failure succeeded.
     222fi
     223
     224if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     225  :
     226else
     227  exitcode=1
     228  echo positional parameters were not saved.
     229fi
     230
     231test \$exitcode = 0) || { (exit 1); exit 1; }
     232
     233(
     234  as_lineno_1=\$LINENO
     235  as_lineno_2=\$LINENO
     236  test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
     237  test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
     238") 2> /dev/null; then
     239  :
     240else
     241  as_candidate_shells=
     242    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     243for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
     244do
     245  IFS=$as_save_IFS
     246  test -z "$as_dir" && as_dir=.
     247  case $as_dir in
     248         /*)
     249           for as_base in sh bash ksh sh5; do
     250             as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
     251           done;;
     252       esac
     253done
     254IFS=$as_save_IFS
     255
     256
     257      for as_shell in $as_candidate_shells $SHELL; do
     258         # Try only shells that exist, to save several forks.
     259         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
     260                { ("$as_shell") 2> /dev/null <<\_ASEOF
     261if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     262  emulate sh
     263  NULLCMD=:
     264  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     265  # is contrary to our usage.  Disable this feature.
     266  alias -g '${1+"$@"}'='"$@"'
     267  setopt NO_GLOB_SUBST
     268else
     269  case `(set -o) 2>/dev/null` in
     270  *posix*) set -o posix ;;
     271esac
     272
     273fi
     274
     275
     276:
     277_ASEOF
     278}; then
     279  CONFIG_SHELL=$as_shell
     280               as_have_required=yes
     281               if { "$as_shell" 2> /dev/null <<\_ASEOF
     282if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
     283  emulate sh
     284  NULLCMD=:
     285  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     286  # is contrary to our usage.  Disable this feature.
     287  alias -g '${1+"$@"}'='"$@"'
     288  setopt NO_GLOB_SUBST
     289else
     290  case `(set -o) 2>/dev/null` in
     291  *posix*) set -o posix ;;
     292esac
     293
     294fi
     295
     296
     297:
     298(as_func_return () {
     299  (exit $1)
     300}
     301as_func_success () {
     302  as_func_return 0
     303}
     304as_func_failure () {
     305  as_func_return 1
     306}
     307as_func_ret_success () {
     308  return 0
     309}
     310as_func_ret_failure () {
     311  return 1
     312}
     313
     314exitcode=0
     315if as_func_success; then
     316  :
     317else
     318  exitcode=1
     319  echo as_func_success failed.
     320fi
     321
     322if as_func_failure; then
     323  exitcode=1
     324  echo as_func_failure succeeded.
     325fi
     326
     327if as_func_ret_success; then
     328  :
     329else
     330  exitcode=1
     331  echo as_func_ret_success failed.
     332fi
     333
     334if as_func_ret_failure; then
     335  exitcode=1
     336  echo as_func_ret_failure succeeded.
     337fi
     338
     339if ( set x; as_func_ret_success y && test x = "$1" ); then
     340  :
     341else
     342  exitcode=1
     343  echo positional parameters were not saved.
     344fi
     345
     346test $exitcode = 0) || { (exit 1); exit 1; }
     347
     348(
     349  as_lineno_1=$LINENO
     350  as_lineno_2=$LINENO
     351  test "x$as_lineno_1" != "x$as_lineno_2" &&
     352  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
     353
     354_ASEOF
     355}; then
     356  break
     357fi
     358
     359fi
     360
     361      done
     362
     363      if test "x$CONFIG_SHELL" != x; then
     364  for as_var in BASH_ENV ENV
     365        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     366        done
     367        export CONFIG_SHELL
     368        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
     369fi
     370
     371
     372    if test $as_have_required = no; then
     373  echo This script requires a shell more modern than all the
     374      echo shells that I found on your system.  Please install a
     375      echo modern shell, or manually run the script under such a
     376      echo shell if you do have one.
     377      { (exit 1); exit 1; }
     378fi
     379
     380
     381fi
     382
     383fi
     384
     385
     386
     387(eval "as_func_return () {
     388  (exit \$1)
     389}
     390as_func_success () {
     391  as_func_return 0
     392}
     393as_func_failure () {
     394  as_func_return 1
     395}
     396as_func_ret_success () {
     397  return 0
     398}
     399as_func_ret_failure () {
     400  return 1
     401}
     402
     403exitcode=0
     404if as_func_success; then
     405  :
     406else
     407  exitcode=1
     408  echo as_func_success failed.
     409fi
     410
     411if as_func_failure; then
     412  exitcode=1
     413  echo as_func_failure succeeded.
     414fi
     415
     416if as_func_ret_success; then
     417  :
     418else
     419  exitcode=1
     420  echo as_func_ret_success failed.
     421fi
     422
     423if as_func_ret_failure; then
     424  exitcode=1
     425  echo as_func_ret_failure succeeded.
     426fi
     427
     428if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
     429  :
     430else
     431  exitcode=1
     432  echo positional parameters were not saved.
     433fi
     434
     435test \$exitcode = 0") || {
     436  echo No shell found that supports shell functions.
     437  echo Please tell bug-autoconf@gnu.org about your system,
     438  echo including any error possibly output before this message.
     439  echo This can help us improve future autoconf versions.
     440  echo Configuration will now proceed without shell functions.
     441}
     442
     443
     444
     445  as_lineno_1=$LINENO
     446  as_lineno_2=$LINENO
     447  test "x$as_lineno_1" != "x$as_lineno_2" &&
     448  test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
     449
     450  # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
     451  # uniformly replaced by the line number.  The first 'sed' inserts a
     452  # line-number line after each line using $LINENO; the second 'sed'
     453  # does the real work.  The second script uses 'N' to pair each
     454  # line-number line with the line containing $LINENO, and appends
     455  # trailing '-' during substitution so that $LINENO is not a special
     456  # case at line end.
     457  # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
     458  # scripts with optimization help from Paolo Bonzini.  Blame Lee
     459  # E. McMahon (1931-1989) for sed's syntax.  :-)
    437460  sed -n '
    438461    p
     
    451474    ' >$as_me.lineno &&
    452475  chmod +x "$as_me.lineno" ||
    453     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
     476    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     477   { (exit 1); exit 1; }; }
    454478
    455479  # Don't try to exec as it changes $[0], causing all sort of problems
     
    461485}
    462486
     487
     488if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
     489  as_dirname=dirname
     490else
     491  as_dirname=false
     492fi
     493
    463494ECHO_C= ECHO_N= ECHO_T=
    464 case `echo -n x` in #(((((
     495case `echo -n x` in
    465496-n*)
    466   case `echo 'xy\c'` in
     497  case `echo 'x\c'` in
    467498  *c*) ECHO_T=' ';;     # ECHO_T is single tab character.
    468   xy)  ECHO_C='\c';;
    469   *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
    470        ECHO_T=' ';;
     499  *)   ECHO_C='\c';;
    471500  esac;;
    472501*)
    473502  ECHO_N='-n';;
    474503esac
     504if expr a : '\(a\)' >/dev/null 2>&1 &&
     505   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     506  as_expr=expr
     507else
     508  as_expr=false
     509fi
    475510
    476511rm -f conf$$ conf$$.exe conf$$.file
     
    502537
    503538if mkdir -p . 2>/dev/null; then
    504   as_mkdir_p='mkdir -p "$as_dir"'
     539  as_mkdir_p=:
    505540else
    506541  test -d ./-p && rmdir ./-p
     
    521556        test -d "$1/.";
    522557      else
    523         case $1 in #(
     558        case $1 in
    524559        -*)set "./$1";;
    525560        esac;
    526         case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
     561        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
    527562        ???[sx]*):;;*)false;;esac;fi
    528563    '\'' sh
     
    538573
    539574
    540 test -n "$DJDIR" || exec 7<&0 </dev/null
    541 exec 6>&1
     575
     576exec 7<&0 </dev/null 6>&1
    542577
    543578# Name of the host.
    544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
     579# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
    545580# so uname gets run too.
    546581ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
     
    557592MFLAGS=
    558593MAKEFLAGS=
     594SHELL=${CONFIG_SHELL-/bin/sh}
    559595
    560596# Identity of this package.
     
    564600PACKAGE_STRING='vizservers 0.1'
    565601PACKAGE_BUGREPORT='rappture@nanohub.org'
    566 PACKAGE_URL=''
    567602
    568603# Factoring default headers for most tests.
     
    624659DX_LIB_SPEC
    625660DX_INC_SPEC
    626 CG_LIB_DIR
    627 CG_INC_DIR
    628 CG_DIR
     661CG_LIB_SPEC
     662CG_INC_SPEC
    629663CXXCPP
    630664ac_ct_CXX
     
    702736prefix
    703737exec_prefix
    704 PACKAGE_URL
    705738PACKAGE_BUGREPORT
    706739PACKAGE_STRING
     
    801834
    802835  case $ac_option in
    803   *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
    804   *=)   ac_optarg= ;;
    805   *)    ac_optarg=yes ;;
     836  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
     837  *)    ac_optarg=yes ;;
    806838  esac
    807839
     
    848880    # Reject names that are not valid shell variable names.
    849881    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    850       as_fn_error $? "invalid feature name: $ac_useropt"
     882      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     883   { (exit 1); exit 1; }; }
    851884    ac_useropt_orig=$ac_useropt
    852885    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    874907    # Reject names that are not valid shell variable names.
    875908    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    876       as_fn_error $? "invalid feature name: $ac_useropt"
     909      { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     910   { (exit 1); exit 1; }; }
    877911    ac_useropt_orig=$ac_useropt
    878912    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10781112    # Reject names that are not valid shell variable names.
    10791113    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1080       as_fn_error $? "invalid package name: $ac_useropt"
     1114      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1115   { (exit 1); exit 1; }; }
    10811116    ac_useropt_orig=$ac_useropt
    10821117    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    10941129    # Reject names that are not valid shell variable names.
    10951130    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1096       as_fn_error $? "invalid package name: $ac_useropt"
     1131      { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1132   { (exit 1); exit 1; }; }
    10971133    ac_useropt_orig=$ac_useropt
    10981134    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
     
    11241160    x_libraries=$ac_optarg ;;
    11251161
    1126   -*) as_fn_error $? "unrecognized option: \`$ac_option'
    1127 Try \`$0 --help' for more information"
     1162  -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1163Try \`$0 --help' for more information." >&2
     1164   { (exit 1); exit 1; }; }
    11281165    ;;
    11291166
     
    11311168    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
    11321169    # Reject names that are not valid shell variable names.
    1133     case $ac_envvar in #(
    1134       '' | [0-9]* | *[!_$as_cr_alnum]* )
    1135       as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
    1136     esac
     1170    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
     1171      { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1172   { (exit 1); exit 1; }; }
    11371173    eval $ac_envvar=\$ac_optarg
    11381174    export $ac_envvar ;;
     
    11431179    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    11441180      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    1145     : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
     1181    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    11461182    ;;
    11471183
     
    11511187if test -n "$ac_prev"; then
    11521188  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1153   as_fn_error $? "missing argument to $ac_option"
     1189  { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1190   { (exit 1); exit 1; }; }
    11541191fi
    11551192
     
    11571194  case $enable_option_checking in
    11581195    no) ;;
    1159     fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
     1196    fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
     1197   { (exit 1); exit 1; }; } ;;
    11601198    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    11611199  esac
     
    11801218    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    11811219  esac
    1182   as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
     1220  { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1221   { (exit 1); exit 1; }; }
    11831222done
    11841223
     
    11941233  if test "x$build_alias" = x; then
    11951234    cross_compiling=maybe
    1196     $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
    1197     If a cross compiler is detected then cross compile mode will be used" >&2
     1235    $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1236    If a cross compiler is detected then cross compile mode will be used." >&2
    11981237  elif test "x$build_alias" != "x$host_alias"; then
    11991238    cross_compiling=yes
     
    12101249ac_ls_di=`ls -di .` &&
    12111250ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1212   as_fn_error $? "working directory cannot be determined"
     1251  { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1252   { (exit 1); exit 1; }; }
    12131253test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1214   as_fn_error $? "pwd does not report name of working directory"
     1254  { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1255   { (exit 1); exit 1; }; }
    12151256
    12161257
     
    12511292if test ! -r "$srcdir/$ac_unique_file"; then
    12521293  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1253   as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
     1294  { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1295   { (exit 1); exit 1; }; }
    12541296fi
    12551297ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12561298ac_abs_confdir=`(
    1257         cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
     1299        cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1300   { (exit 1); exit 1; }; }
    12581301        pwd)`
    12591302# When building in place, set srcdir=.
     
    12951338      --help=recursive    display the short help of all the included packages
    12961339  -V, --version           display version information and exit
    1297   -q, --quiet, --silent   do not print \`checking ...' messages
     1340  -q, --quiet, --silent   do not print \`checking...' messages
    12981341      --cache-file=FILE   cache test results in FILE [disabled]
    12991342  -C, --config-cache      alias for \`--cache-file=config.cache'
     
    13781421              nonstandard directory <lib dir>
    13791422  LIBS        libraries to pass to the linker, e.g. -l<library>
    1380   CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
     1423  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
    13811424              you have headers in a nonstandard directory <include dir>
    13821425  CPP         C preprocessor
     
    14531496  cat <<\_ACEOF
    14541497vizservers configure 0.1
    1455 generated by GNU Autoconf 2.68
    1456 
    1457 Copyright (C) 2010 Free Software Foundation, Inc.
     1498generated by GNU Autoconf 2.63
     1499
     1500Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
     15012002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
    14581502This configure script is free software; the Free Software Foundation
    14591503gives unlimited permission to copy, distribute and modify it.
     
    14611505  exit
    14621506fi
    1463 
    1464 ## ------------------------ ##
    1465 ## Autoconf initialization. ##
    1466 ## ------------------------ ##
    1467 
    1468 # ac_fn_c_try_compile LINENO
    1469 # --------------------------
    1470 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1471 ac_fn_c_try_compile ()
    1472 {
    1473   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1474   rm -f conftest.$ac_objext
    1475   if { { ac_try="$ac_compile"
    1476 case "(($ac_try" in
    1477   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1478   *) ac_try_echo=$ac_try;;
    1479 esac
    1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1481 $as_echo "$ac_try_echo"; } >&5
    1482   (eval "$ac_compile") 2>conftest.err
    1483   ac_status=$?
    1484   if test -s conftest.err; then
    1485     grep -v '^ *+' conftest.err >conftest.er1
    1486     cat conftest.er1 >&5
    1487     mv -f conftest.er1 conftest.err
    1488   fi
    1489   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1490   test $ac_status = 0; } && {
    1491          test -z "$ac_c_werror_flag" ||
    1492          test ! -s conftest.err
    1493        } && test -s conftest.$ac_objext; then :
    1494   ac_retval=0
    1495 else
    1496   $as_echo "$as_me: failed program was:" >&5
    1497 sed 's/^/| /' conftest.$ac_ext >&5
    1498 
    1499         ac_retval=1
    1500 fi
    1501   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1502   as_fn_set_status $ac_retval
    1503 
    1504 } # ac_fn_c_try_compile
    1505 
    1506 # ac_fn_c_try_cpp LINENO
    1507 # ----------------------
    1508 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1509 ac_fn_c_try_cpp ()
    1510 {
    1511   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1512   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1513 case "(($ac_try" in
    1514   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1515   *) ac_try_echo=$ac_try;;
    1516 esac
    1517 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1518 $as_echo "$ac_try_echo"; } >&5
    1519   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1520   ac_status=$?
    1521   if test -s conftest.err; then
    1522     grep -v '^ *+' conftest.err >conftest.er1
    1523     cat conftest.er1 >&5
    1524     mv -f conftest.er1 conftest.err
    1525   fi
    1526   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1527   test $ac_status = 0; } > conftest.i && {
    1528          test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
    1529          test ! -s conftest.err
    1530        }; then :
    1531   ac_retval=0
    1532 else
    1533   $as_echo "$as_me: failed program was:" >&5
    1534 sed 's/^/| /' conftest.$ac_ext >&5
    1535 
    1536     ac_retval=1
    1537 fi
    1538   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1539   as_fn_set_status $ac_retval
    1540 
    1541 } # ac_fn_c_try_cpp
    1542 
    1543 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
    1544 # -------------------------------------------------------
    1545 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    1546 # the include files in INCLUDES and setting the cache variable VAR
    1547 # accordingly.
    1548 ac_fn_c_check_header_mongrel ()
    1549 {
    1550   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1551   if eval \${$3+:} false; then :
    1552   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1553 $as_echo_n "checking for $2... " >&6; }
    1554 if eval \${$3+:} false; then :
    1555   $as_echo_n "(cached) " >&6
    1556 fi
    1557 eval ac_res=\$$3
    1558                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1559 $as_echo "$ac_res" >&6; }
    1560 else
    1561   # Is the header compilable?
    1562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    1563 $as_echo_n "checking $2 usability... " >&6; }
    1564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1565 /* end confdefs.h.  */
    1566 $4
    1567 #include <$2>
    1568 _ACEOF
    1569 if ac_fn_c_try_compile "$LINENO"; then :
    1570   ac_header_compiler=yes
    1571 else
    1572   ac_header_compiler=no
    1573 fi
    1574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    1576 $as_echo "$ac_header_compiler" >&6; }
    1577 
    1578 # Is the header present?
    1579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    1580 $as_echo_n "checking $2 presence... " >&6; }
    1581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1582 /* end confdefs.h.  */
    1583 #include <$2>
    1584 _ACEOF
    1585 if ac_fn_c_try_cpp "$LINENO"; then :
    1586   ac_header_preproc=yes
    1587 else
    1588   ac_header_preproc=no
    1589 fi
    1590 rm -f conftest.err conftest.i conftest.$ac_ext
    1591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    1592 $as_echo "$ac_header_preproc" >&6; }
    1593 
    1594 # So?  What about this header?
    1595 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
    1596   yes:no: )
    1597     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    1598 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    1599     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1600 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1601     ;;
    1602   no:yes:* )
    1603     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    1604 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    1605     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    1606 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    1607     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    1608 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    1609     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    1610 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    1611     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    1612 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    1613 ( $as_echo "## ----------------------------------- ##
    1614 ## Report this to rappture@nanohub.org ##
    1615 ## ----------------------------------- ##"
    1616      ) | sed "s/^/$as_me: WARNING:     /" >&2
    1617     ;;
    1618 esac
    1619   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1620 $as_echo_n "checking for $2... " >&6; }
    1621 if eval \${$3+:} false; then :
    1622   $as_echo_n "(cached) " >&6
    1623 else
    1624   eval "$3=\$ac_header_compiler"
    1625 fi
    1626 eval ac_res=\$$3
    1627                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1628 $as_echo "$ac_res" >&6; }
    1629 fi
    1630   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1631 
    1632 } # ac_fn_c_check_header_mongrel
    1633 
    1634 # ac_fn_c_try_run LINENO
    1635 # ----------------------
    1636 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1637 # that executables *can* be run.
    1638 ac_fn_c_try_run ()
    1639 {
    1640   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1641   if { { ac_try="$ac_link"
    1642 case "(($ac_try" in
    1643   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1644   *) ac_try_echo=$ac_try;;
    1645 esac
    1646 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1647 $as_echo "$ac_try_echo"; } >&5
    1648   (eval "$ac_link") 2>&5
    1649   ac_status=$?
    1650   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1651   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1652   { { case "(($ac_try" in
    1653   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1654   *) ac_try_echo=$ac_try;;
    1655 esac
    1656 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1657 $as_echo "$ac_try_echo"; } >&5
    1658   (eval "$ac_try") 2>&5
    1659   ac_status=$?
    1660   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1661   test $ac_status = 0; }; }; then :
    1662   ac_retval=0
    1663 else
    1664   $as_echo "$as_me: program exited with status $ac_status" >&5
    1665        $as_echo "$as_me: failed program was:" >&5
    1666 sed 's/^/| /' conftest.$ac_ext >&5
    1667 
    1668        ac_retval=$ac_status
    1669 fi
    1670   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1671   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1672   as_fn_set_status $ac_retval
    1673 
    1674 } # ac_fn_c_try_run
    1675 
    1676 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
    1677 # -------------------------------------------------------
    1678 # Tests whether HEADER exists and can be compiled using the include files in
    1679 # INCLUDES, setting the cache variable VAR accordingly.
    1680 ac_fn_c_check_header_compile ()
    1681 {
    1682   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1683   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    1684 $as_echo_n "checking for $2... " >&6; }
    1685 if eval \${$3+:} false; then :
    1686   $as_echo_n "(cached) " >&6
    1687 else
    1688   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1689 /* end confdefs.h.  */
    1690 $4
    1691 #include <$2>
    1692 _ACEOF
    1693 if ac_fn_c_try_compile "$LINENO"; then :
    1694   eval "$3=yes"
    1695 else
    1696   eval "$3=no"
    1697 fi
    1698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1699 fi
    1700 eval ac_res=\$$3
    1701                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    1702 $as_echo "$ac_res" >&6; }
    1703   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1704 
    1705 } # ac_fn_c_check_header_compile
    1706 
    1707 # ac_fn_c_try_link LINENO
    1708 # -----------------------
    1709 # Try to link conftest.$ac_ext, and return whether this succeeded.
    1710 ac_fn_c_try_link ()
    1711 {
    1712   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1713   rm -f conftest.$ac_objext conftest$ac_exeext
    1714   if { { ac_try="$ac_link"
    1715 case "(($ac_try" in
    1716   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1717   *) ac_try_echo=$ac_try;;
    1718 esac
    1719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1720 $as_echo "$ac_try_echo"; } >&5
    1721   (eval "$ac_link") 2>conftest.err
    1722   ac_status=$?
    1723   if test -s conftest.err; then
    1724     grep -v '^ *+' conftest.err >conftest.er1
    1725     cat conftest.er1 >&5
    1726     mv -f conftest.er1 conftest.err
    1727   fi
    1728   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1729   test $ac_status = 0; } && {
    1730          test -z "$ac_c_werror_flag" ||
    1731          test ! -s conftest.err
    1732        } && test -s conftest$ac_exeext && {
    1733          test "$cross_compiling" = yes ||
    1734          $as_test_x conftest$ac_exeext
    1735        }; then :
    1736   ac_retval=0
    1737 else
    1738   $as_echo "$as_me: failed program was:" >&5
    1739 sed 's/^/| /' conftest.$ac_ext >&5
    1740 
    1741         ac_retval=1
    1742 fi
    1743   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    1744   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    1745   # interfere with the next link command; also delete a directory that is
    1746   # left behind by Apple's compiler.  We do this before executing the actions.
    1747   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1748   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1749   as_fn_set_status $ac_retval
    1750 
    1751 } # ac_fn_c_try_link
    1752 
    1753 # ac_fn_cxx_try_compile LINENO
    1754 # ----------------------------
    1755 # Try to compile conftest.$ac_ext, and return whether this succeeded.
    1756 ac_fn_cxx_try_compile ()
    1757 {
    1758   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1759   rm -f conftest.$ac_objext
    1760   if { { ac_try="$ac_compile"
    1761 case "(($ac_try" in
    1762   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1763   *) ac_try_echo=$ac_try;;
    1764 esac
    1765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1766 $as_echo "$ac_try_echo"; } >&5
    1767   (eval "$ac_compile") 2>conftest.err
    1768   ac_status=$?
    1769   if test -s conftest.err; then
    1770     grep -v '^ *+' conftest.err >conftest.er1
    1771     cat conftest.er1 >&5
    1772     mv -f conftest.er1 conftest.err
    1773   fi
    1774   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1775   test $ac_status = 0; } && {
    1776          test -z "$ac_cxx_werror_flag" ||
    1777          test ! -s conftest.err
    1778        } && test -s conftest.$ac_objext; then :
    1779   ac_retval=0
    1780 else
    1781   $as_echo "$as_me: failed program was:" >&5
    1782 sed 's/^/| /' conftest.$ac_ext >&5
    1783 
    1784         ac_retval=1
    1785 fi
    1786   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1787   as_fn_set_status $ac_retval
    1788 
    1789 } # ac_fn_cxx_try_compile
    1790 
    1791 # ac_fn_cxx_try_cpp LINENO
    1792 # ------------------------
    1793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
    1794 ac_fn_cxx_try_cpp ()
    1795 {
    1796   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1797   if { { ac_try="$ac_cpp conftest.$ac_ext"
    1798 case "(($ac_try" in
    1799   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1800   *) ac_try_echo=$ac_try;;
    1801 esac
    1802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1803 $as_echo "$ac_try_echo"; } >&5
    1804   (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
    1805   ac_status=$?
    1806   if test -s conftest.err; then
    1807     grep -v '^ *+' conftest.err >conftest.er1
    1808     cat conftest.er1 >&5
    1809     mv -f conftest.er1 conftest.err
    1810   fi
    1811   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1812   test $ac_status = 0; } > conftest.i && {
    1813          test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
    1814          test ! -s conftest.err
    1815        }; then :
    1816   ac_retval=0
    1817 else
    1818   $as_echo "$as_me: failed program was:" >&5
    1819 sed 's/^/| /' conftest.$ac_ext >&5
    1820 
    1821     ac_retval=1
    1822 fi
    1823   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1824   as_fn_set_status $ac_retval
    1825 
    1826 } # ac_fn_cxx_try_cpp
    1827 
    1828 # ac_fn_cxx_try_run LINENO
    1829 # ------------------------
    1830 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
    1831 # that executables *can* be run.
    1832 ac_fn_cxx_try_run ()
    1833 {
    1834   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1835   if { { ac_try="$ac_link"
    1836 case "(($ac_try" in
    1837   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1838   *) ac_try_echo=$ac_try;;
    1839 esac
    1840 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1841 $as_echo "$ac_try_echo"; } >&5
    1842   (eval "$ac_link") 2>&5
    1843   ac_status=$?
    1844   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1845   test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
    1846   { { case "(($ac_try" in
    1847   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    1848   *) ac_try_echo=$ac_try;;
    1849 esac
    1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    1851 $as_echo "$ac_try_echo"; } >&5
    1852   (eval "$ac_try") 2>&5
    1853   ac_status=$?
    1854   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    1855   test $ac_status = 0; }; }; then :
    1856   ac_retval=0
    1857 else
    1858   $as_echo "$as_me: program exited with status $ac_status" >&5
    1859        $as_echo "$as_me: failed program was:" >&5
    1860 sed 's/^/| /' conftest.$ac_ext >&5
    1861 
    1862        ac_retval=$ac_status
    1863 fi
    1864   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    1865   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    1866   as_fn_set_status $ac_retval
    1867 
    1868 } # ac_fn_cxx_try_run
    1869 
    1870 # ac_fn_cxx_compute_int LINENO EXPR VAR INCLUDES
    1871 # ----------------------------------------------
    1872 # Tries to find the compile-time value of EXPR in a program that includes
    1873 # INCLUDES, setting VAR accordingly. Returns whether the value could be
    1874 # computed
    1875 ac_fn_cxx_compute_int ()
    1876 {
    1877   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    1878   if test "$cross_compiling" = yes; then
    1879     # Depending upon the size, compute the lo and hi bounds.
    1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1881 /* end confdefs.h.  */
    1882 $4
    1883 int
    1884 main ()
    1885 {
    1886 static int test_array [1 - 2 * !(($2) >= 0)];
    1887 test_array [0] = 0
    1888 
    1889   ;
    1890   return 0;
    1891 }
    1892 _ACEOF
    1893 if ac_fn_cxx_try_compile "$LINENO"; then :
    1894   ac_lo=0 ac_mid=0
    1895   while :; do
    1896     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1897 /* end confdefs.h.  */
    1898 $4
    1899 int
    1900 main ()
    1901 {
    1902 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1903 test_array [0] = 0
    1904 
    1905   ;
    1906   return 0;
    1907 }
    1908 _ACEOF
    1909 if ac_fn_cxx_try_compile "$LINENO"; then :
    1910   ac_hi=$ac_mid; break
    1911 else
    1912   as_fn_arith $ac_mid + 1 && ac_lo=$as_val
    1913                         if test $ac_lo -le $ac_mid; then
    1914                           ac_lo= ac_hi=
    1915                           break
    1916                         fi
    1917                         as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
    1918 fi
    1919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1920   done
    1921 else
    1922   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1923 /* end confdefs.h.  */
    1924 $4
    1925 int
    1926 main ()
    1927 {
    1928 static int test_array [1 - 2 * !(($2) < 0)];
    1929 test_array [0] = 0
    1930 
    1931   ;
    1932   return 0;
    1933 }
    1934 _ACEOF
    1935 if ac_fn_cxx_try_compile "$LINENO"; then :
    1936   ac_hi=-1 ac_mid=-1
    1937   while :; do
    1938     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1939 /* end confdefs.h.  */
    1940 $4
    1941 int
    1942 main ()
    1943 {
    1944 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
    1945 test_array [0] = 0
    1946 
    1947   ;
    1948   return 0;
    1949 }
    1950 _ACEOF
    1951 if ac_fn_cxx_try_compile "$LINENO"; then :
    1952   ac_lo=$ac_mid; break
    1953 else
    1954   as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
    1955                         if test $ac_mid -le $ac_hi; then
    1956                           ac_lo= ac_hi=
    1957                           break
    1958                         fi
    1959                         as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
    1960 fi
    1961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1962   done
    1963 else
    1964   ac_lo= ac_hi=
    1965 fi
    1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1967 fi
    1968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1969 # Binary search between lo and hi bounds.
    1970 while test "x$ac_lo" != "x$ac_hi"; do
    1971   as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
    1972   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1973 /* end confdefs.h.  */
    1974 $4
    1975 int
    1976 main ()
    1977 {
    1978 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
    1979 test_array [0] = 0
    1980 
    1981   ;
    1982   return 0;
    1983 }
    1984 _ACEOF
    1985 if ac_fn_cxx_try_compile "$LINENO"; then :
    1986   ac_hi=$ac_mid
    1987 else
    1988   as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
    1989 fi
    1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1991 done
    1992 case $ac_lo in #((
    1993 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
    1994 '') ac_retval=1 ;;
    1995 esac
    1996   else
    1997     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1998 /* end confdefs.h.  */
    1999 $4
    2000 static long int longval () { return $2; }
    2001 static unsigned long int ulongval () { return $2; }
    2002 #include <stdio.h>
    2003 #include <stdlib.h>
    2004 int
    2005 main ()
    2006 {
    2007 
    2008   FILE *f = fopen ("conftest.val", "w");
    2009   if (! f)
    2010     return 1;
    2011   if (($2) < 0)
    2012     {
    2013       long int i = longval ();
    2014       if (i != ($2))
    2015         return 1;
    2016       fprintf (f, "%ld", i);
    2017     }
    2018   else
    2019     {
    2020       unsigned long int i = ulongval ();
    2021       if (i != ($2))
    2022         return 1;
    2023       fprintf (f, "%lu", i);
    2024     }
    2025   /* Do not output a trailing newline, as this causes \r\n confusion
    2026      on some platforms.  */
    2027   return ferror (f) || fclose (f) != 0;
    2028 
    2029   ;
    2030   return 0;
    2031 }
    2032 _ACEOF
    2033 if ac_fn_cxx_try_run "$LINENO"; then :
    2034   echo >>conftest.val; read $3 <conftest.val; ac_retval=0
    2035 else
    2036   ac_retval=1
    2037 fi
    2038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    2039   conftest.$ac_objext conftest.beam conftest.$ac_ext
    2040 rm -f conftest.val
    2041 
    2042   fi
    2043   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2044   as_fn_set_status $ac_retval
    2045 
    2046 } # ac_fn_cxx_compute_int
    2047 
    2048 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
    2049 # ---------------------------------------------------------
    2050 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
    2051 # the include files in INCLUDES and setting the cache variable VAR
    2052 # accordingly.
    2053 ac_fn_cxx_check_header_mongrel ()
    2054 {
    2055   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2056   if eval \${$3+:} false; then :
    2057   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2058 $as_echo_n "checking for $2... " >&6; }
    2059 if eval \${$3+:} false; then :
    2060   $as_echo_n "(cached) " >&6
    2061 fi
    2062 eval ac_res=\$$3
    2063                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2064 $as_echo "$ac_res" >&6; }
    2065 else
    2066   # Is the header compilable?
    2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
    2068 $as_echo_n "checking $2 usability... " >&6; }
    2069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2070 /* end confdefs.h.  */
    2071 $4
    2072 #include <$2>
    2073 _ACEOF
    2074 if ac_fn_cxx_try_compile "$LINENO"; then :
    2075   ac_header_compiler=yes
    2076 else
    2077   ac_header_compiler=no
    2078 fi
    2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
    2081 $as_echo "$ac_header_compiler" >&6; }
    2082 
    2083 # Is the header present?
    2084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
    2085 $as_echo_n "checking $2 presence... " >&6; }
    2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2087 /* end confdefs.h.  */
    2088 #include <$2>
    2089 _ACEOF
    2090 if ac_fn_cxx_try_cpp "$LINENO"; then :
    2091   ac_header_preproc=yes
    2092 else
    2093   ac_header_preproc=no
    2094 fi
    2095 rm -f conftest.err conftest.i conftest.$ac_ext
    2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
    2097 $as_echo "$ac_header_preproc" >&6; }
    2098 
    2099 # So?  What about this header?
    2100 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
    2101   yes:no: )
    2102     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
    2103 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
    2104     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2105 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2106     ;;
    2107   no:yes:* )
    2108     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
    2109 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
    2110     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
    2111 $as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
    2112     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
    2113 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
    2114     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
    2115 $as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
    2116     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
    2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
    2118 ( $as_echo "## ----------------------------------- ##
    2119 ## Report this to rappture@nanohub.org ##
    2120 ## ----------------------------------- ##"
    2121      ) | sed "s/^/$as_me: WARNING:     /" >&2
    2122     ;;
    2123 esac
    2124   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2125 $as_echo_n "checking for $2... " >&6; }
    2126 if eval \${$3+:} false; then :
    2127   $as_echo_n "(cached) " >&6
    2128 else
    2129   eval "$3=\$ac_header_compiler"
    2130 fi
    2131 eval ac_res=\$$3
    2132                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2133 $as_echo "$ac_res" >&6; }
    2134 fi
    2135   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2136 
    2137 } # ac_fn_cxx_check_header_mongrel
    2138 
    2139 # ac_fn_cxx_try_link LINENO
    2140 # -------------------------
    2141 # Try to link conftest.$ac_ext, and return whether this succeeded.
    2142 ac_fn_cxx_try_link ()
    2143 {
    2144   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2145   rm -f conftest.$ac_objext conftest$ac_exeext
    2146   if { { ac_try="$ac_link"
    2147 case "(($ac_try" in
    2148   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    2149   *) ac_try_echo=$ac_try;;
    2150 esac
    2151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    2152 $as_echo "$ac_try_echo"; } >&5
    2153   (eval "$ac_link") 2>conftest.err
    2154   ac_status=$?
    2155   if test -s conftest.err; then
    2156     grep -v '^ *+' conftest.err >conftest.er1
    2157     cat conftest.er1 >&5
    2158     mv -f conftest.er1 conftest.err
    2159   fi
    2160   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    2161   test $ac_status = 0; } && {
    2162          test -z "$ac_cxx_werror_flag" ||
    2163          test ! -s conftest.err
    2164        } && test -s conftest$ac_exeext && {
    2165          test "$cross_compiling" = yes ||
    2166          $as_test_x conftest$ac_exeext
    2167        }; then :
    2168   ac_retval=0
    2169 else
    2170   $as_echo "$as_me: failed program was:" >&5
    2171 sed 's/^/| /' conftest.$ac_ext >&5
    2172 
    2173         ac_retval=1
    2174 fi
    2175   # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
    2176   # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
    2177   # interfere with the next link command; also delete a directory that is
    2178   # left behind by Apple's compiler.  We do this before executing the actions.
    2179   rm -rf conftest.dSYM conftest_ipa8_conftest.oo
    2180   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2181   as_fn_set_status $ac_retval
    2182 
    2183 } # ac_fn_cxx_try_link
    2184 
    2185 # ac_fn_cxx_check_func LINENO FUNC VAR
    2186 # ------------------------------------
    2187 # Tests whether FUNC exists, setting the cache variable VAR accordingly
    2188 ac_fn_cxx_check_func ()
    2189 {
    2190   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2191   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2192 $as_echo_n "checking for $2... " >&6; }
    2193 if eval \${$3+:} false; then :
    2194   $as_echo_n "(cached) " >&6
    2195 else
    2196   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2197 /* end confdefs.h.  */
    2198 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
    2199    For example, HP-UX 11i <limits.h> declares gettimeofday.  */
    2200 #define $2 innocuous_$2
    2201 
    2202 /* System header to define __stub macros and hopefully few prototypes,
    2203     which can conflict with char $2 (); below.
    2204     Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
    2205     <limits.h> exists even on freestanding compilers.  */
    2206 
    2207 #ifdef __STDC__
    2208 # include <limits.h>
    2209 #else
    2210 # include <assert.h>
    2211 #endif
    2212 
    2213 #undef $2
    2214 
    2215 /* Override any GCC internal prototype to avoid an error.
    2216    Use char because int might match the return type of a GCC
    2217    builtin and then its argument prototype would still apply.  */
    2218 #ifdef __cplusplus
    2219 extern "C"
    2220 #endif
    2221 char $2 ();
    2222 /* The GNU C library defines this for functions which it implements
    2223     to always fail with ENOSYS.  Some functions are actually named
    2224     something starting with __ and the normal name is an alias.  */
    2225 #if defined __stub_$2 || defined __stub___$2
    2226 choke me
    2227 #endif
    2228 
    2229 int
    2230 main ()
    2231 {
    2232 return $2 ();
    2233   ;
    2234   return 0;
    2235 }
    2236 _ACEOF
    2237 if ac_fn_cxx_try_link "$LINENO"; then :
    2238   eval "$3=yes"
    2239 else
    2240   eval "$3=no"
    2241 fi
    2242 rm -f core conftest.err conftest.$ac_objext \
    2243     conftest$ac_exeext conftest.$ac_ext
    2244 fi
    2245 eval ac_res=\$$3
    2246                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2247 $as_echo "$ac_res" >&6; }
    2248   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2249 
    2250 } # ac_fn_cxx_check_func
    2251 
    2252 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
    2253 # ---------------------------------------------------------
    2254 # Tests whether HEADER exists and can be compiled using the include files in
    2255 # INCLUDES, setting the cache variable VAR accordingly.
    2256 ac_fn_cxx_check_header_compile ()
    2257 {
    2258   as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
    2259   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
    2260 $as_echo_n "checking for $2... " >&6; }
    2261 if eval \${$3+:} false; then :
    2262   $as_echo_n "(cached) " >&6
    2263 else
    2264   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    2265 /* end confdefs.h.  */
    2266 $4
    2267 #include <$2>
    2268 _ACEOF
    2269 if ac_fn_cxx_try_compile "$LINENO"; then :
    2270   eval "$3=yes"
    2271 else
    2272   eval "$3=no"
    2273 fi
    2274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    2275 fi
    2276 eval ac_res=\$$3
    2277                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
    2278 $as_echo "$ac_res" >&6; }
    2279   eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
    2280 
    2281 } # ac_fn_cxx_check_header_compile
    22821507cat >config.log <<_ACEOF
    22831508This file contains any messages produced by compilers while
     
    22851510
    22861511It was created by vizservers $as_me 0.1, which was
    2287 generated by GNU Autoconf 2.68.  Invocation command line was
     1512generated by GNU Autoconf 2.63.  Invocation command line was
    22881513
    22891514  $ $0 $@
     
    23211546  IFS=$as_save_IFS
    23221547  test -z "$as_dir" && as_dir=.
    2323     $as_echo "PATH: $as_dir"
    2324   done
     1548  $as_echo "PATH: $as_dir"
     1549done
    23251550IFS=$as_save_IFS
    23261551
     
    23591584    esac
    23601585    case $ac_pass in
    2361     1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
     1586    1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
    23621587    2)
    2363       as_fn_append ac_configure_args1 " '$ac_arg'"
     1588      ac_configure_args1="$ac_configure_args1 '$ac_arg'"
    23641589      if test $ac_must_keep_next = true; then
    23651590        ac_must_keep_next=false # Got value, back to normal.
     
    23771602        esac
    23781603      fi
    2379       as_fn_append ac_configure_args " '$ac_arg'"
     1604      ac_configure_args="$ac_configure_args '$ac_arg'"
    23801605      ;;
    23811606    esac
    23821607  done
    23831608done
    2384 { ac_configure_args0=; unset ac_configure_args0;}
    2385 { ac_configure_args1=; unset ac_configure_args1;}
     1609$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
     1610$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
    23861611
    23871612# When interrupted or exit'd, cleanup temporary files, and complete
     
    23951620    echo
    23961621
    2397     $as_echo "## ---------------- ##
     1622    cat <<\_ASBOX
     1623## ---------------- ##
    23981624## Cache variables. ##
    2399 ## ---------------- ##"
     1625## ---------------- ##
     1626_ASBOX
    24001627    echo
    24011628    # The following way of writing the cache mishandles newlines in values,
     
    24061633    *${as_nl}*)
    24071634      case $ac_var in #(
    2408       *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
     1635      *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    24091636$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
    24101637      esac
     
    24121639      _ | IFS | as_nl) ;; #(
    24131640      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    2414       *) { eval $ac_var=; unset $ac_var;} ;;
     1641      *) $as_unset $ac_var ;;
    24151642      esac ;;
    24161643    esac
     
    24311658    echo
    24321659
    2433     $as_echo "## ----------------- ##
     1660    cat <<\_ASBOX
     1661## ----------------- ##
    24341662## Output variables. ##
    2435 ## ----------------- ##"
     1663## ----------------- ##
     1664_ASBOX
    24361665    echo
    24371666    for ac_var in $ac_subst_vars
     
    24461675
    24471676    if test -n "$ac_subst_files"; then
    2448       $as_echo "## ------------------- ##
     1677      cat <<\_ASBOX
     1678## ------------------- ##
    24491679## File substitutions. ##
    2450 ## ------------------- ##"
     1680## ------------------- ##
     1681_ASBOX
    24511682      echo
    24521683      for ac_var in $ac_subst_files
     
    24621693
    24631694    if test -s confdefs.h; then
    2464       $as_echo "## ----------- ##
     1695      cat <<\_ASBOX
     1696## ----------- ##
    24651697## confdefs.h. ##
    2466 ## ----------- ##"
     1698## ----------- ##
     1699_ASBOX
    24671700      echo
    24681701      cat confdefs.h
     
    24781711' 0
    24791712for ac_signal in 1 2 13 15; do
    2480   trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
     1713  trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
    24811714done
    24821715ac_signal=0
     
    24851718rm -f -r conftest* confdefs.h
    24861719
    2487 $as_echo "/* confdefs.h */" > confdefs.h
    2488 
    24891720# Predefined preprocessor variables.
    24901721
     
    24931724_ACEOF
    24941725
     1726
    24951727cat >>confdefs.h <<_ACEOF
    24961728#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
    24971729_ACEOF
    24981730
     1731
    24991732cat >>confdefs.h <<_ACEOF
    25001733#define PACKAGE_VERSION "$PACKAGE_VERSION"
    25011734_ACEOF
    25021735
     1736
    25031737cat >>confdefs.h <<_ACEOF
    25041738#define PACKAGE_STRING "$PACKAGE_STRING"
    25051739_ACEOF
    25061740
     1741
    25071742cat >>confdefs.h <<_ACEOF
    25081743#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
    2509 _ACEOF
    2510 
    2511 cat >>confdefs.h <<_ACEOF
    2512 #define PACKAGE_URL "$PACKAGE_URL"
    25131744_ACEOF
    25141745
     
    25191750ac_site_file2=NONE
    25201751if test -n "$CONFIG_SITE"; then
    2521   # We do not want a PATH search for config.site.
    2522   case $CONFIG_SITE in #((
    2523     -*)  ac_site_file1=./$CONFIG_SITE;;
    2524     */*) ac_site_file1=$CONFIG_SITE;;
    2525     *)   ac_site_file1=./$CONFIG_SITE;;
    2526   esac
     1752  ac_site_file1=$CONFIG_SITE
    25271753elif test "x$prefix" != xNONE; then
    25281754  ac_site_file1=$prefix/share/config.site
     
    25351761do
    25361762  test "x$ac_site_file" = xNONE && continue
    2537   if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
    2538     { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
     1763  if test -r "$ac_site_file"; then
     1764    { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    25391765$as_echo "$as_me: loading site script $ac_site_file" >&6;}
    25401766    sed 's/^/| /' "$ac_site_file" >&5
    2541     . "$ac_site_file" \
    2542       || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    2543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2544 as_fn_error $? "failed to load site script $ac_site_file
    2545 See \`config.log' for more details" "$LINENO" 5; }
     1767    . "$ac_site_file"
    25461768  fi
    25471769done
    25481770
    25491771if test -r "$cache_file"; then
    2550   # Some versions of bash will fail to source /dev/null (special files
    2551   # actually), so we avoid doing that.  DJGPP emulates it as a regular file.
    2552   if test /dev/null != "$cache_file" && test -f "$cache_file"; then
    2553     { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
     1772  # Some versions of bash will fail to source /dev/null (special
     1773  # files actually), so we avoid doing that.
     1774  if test -f "$cache_file"; then
     1775    { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    25541776$as_echo "$as_me: loading cache $cache_file" >&6;}
    25551777    case $cache_file in
     
    25591781  fi
    25601782else
    2561   { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
     1783  { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    25621784$as_echo "$as_me: creating cache $cache_file" >&6;}
    25631785  >$cache_file
     
    25741796  case $ac_old_set,$ac_new_set in
    25751797    set,)
    2576       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1798      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    25771799$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    25781800      ac_cache_corrupted=: ;;
    25791801    ,set)
    2580       { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
     1802      { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    25811803$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    25821804      ac_cache_corrupted=: ;;
     
    25881810        ac_new_val_w=`echo x $ac_new_val`
    25891811        if test "$ac_old_val_w" != "$ac_new_val_w"; then
    2590           { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
     1812          { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    25911813$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    25921814          ac_cache_corrupted=:
    25931815        else
    2594           { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
     1816          { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    25951817$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    25961818          eval $ac_var=\$ac_old_val
    25971819        fi
    2598         { $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
     1820        { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    25991821$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    2600         { $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
     1822        { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    26011823$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
    26021824      fi;;
     
    26101832    case " $ac_configure_args " in
    26111833      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
    2612       *) as_fn_append ac_configure_args " '$ac_arg'" ;;
     1834      *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
    26131835    esac
    26141836  fi
    26151837done
    26161838if $ac_cache_corrupted; then
    2617   { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     1839  { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    26181840$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2619   { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
     1841  { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    26201842$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    2621   as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
    2622 fi
    2623 ## -------------------- ##
    2624 ## Main body of script. ##
    2625 ## -------------------- ##
     1843  { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1844$as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1845   { (exit 1); exit 1; }; }
     1846fi
     1847
     1848
     1849
     1850
     1851
     1852
     1853
     1854
     1855
     1856
     1857
     1858
     1859
     1860
     1861
     1862
     1863
     1864
     1865
     1866
     1867
     1868
     1869
     1870
    26261871
    26271872ac_ext=c
     
    26491894done
    26501895if test -z "$ac_aux_dir"; then
    2651   as_fn_error $? "cannot find install-sh, install.sh, or shtool in cf \"$srcdir\"/cf" "$LINENO" 5
     1896  { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&5
     1897$as_echo "$as_me: error: cannot find install-sh or install.sh in cf \"$srcdir\"/cf" >&2;}
     1898   { (exit 1); exit 1; }; }
    26521899fi
    26531900
     
    26661913
    26671914# Check whether --with-tcllib was given.
    2668 if test "${with_tcllib+set}" = set; then :
     1915if test "${with_tcllib+set}" = set; then
    26691916  withval=$with_tcllib; with_tcllib=$withval
    26701917else
     
    26751922
    26761923# Check whether --with-rappture was given.
    2677 if test "${with_rappture+set}" = set; then :
     1924if test "${with_rappture+set}" = set; then
    26781925  withval=$with_rappture; with_rappture=$withval
    26791926else
     
    26841931
    26851932# Check whether --with-vtk-includes was given.
    2686 if test "${with_vtk_includes+set}" = set; then :
     1933if test "${with_vtk_includes+set}" = set; then
    26871934  withval=$with_vtk_includes; with_vtk_includes=$withval
    26881935else
     
    26931940
    26941941# Check whether --with-vtk-libs was given.
    2695 if test "${with_vtk_libs+set}" = set; then :
     1942if test "${with_vtk_libs+set}" = set; then
    26961943  withval=$with_vtk_libs; with_vtk_libs=$withval
    26971944else
     
    27021949
    27031950# Check whether --with-vtk was given.
    2704 if test "${with_vtk+set}" = set; then :
     1951if test "${with_vtk+set}" = set; then
    27051952  withval=$with_vtk; with_vtk=$withval
    27061953else
     
    27171964  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    27181965set dummy ${ac_tool_prefix}gcc; ac_word=$2
    2719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     1966{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27201967$as_echo_n "checking for $ac_word... " >&6; }
    2721 if ${ac_cv_prog_CC+:} false; then :
     1968if test "${ac_cv_prog_CC+set}" = set; then
    27221969  $as_echo_n "(cached) " >&6
    27231970else
     
    27301977  IFS=$as_save_IFS
    27311978  test -z "$as_dir" && as_dir=.
    2732     for ac_exec_ext in '' $ac_executable_extensions; do
     1979  for ac_exec_ext in '' $ac_executable_extensions; do
    27331980  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27341981    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    2735     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     1982    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27361983    break 2
    27371984  fi
    27381985done
    2739   done
     1986done
    27401987IFS=$as_save_IFS
    27411988
     
    27441991CC=$ac_cv_prog_CC
    27451992if test -n "$CC"; then
    2746   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     1993  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    27471994$as_echo "$CC" >&6; }
    27481995else
    2749   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     1996  { $as_echo "$as_me:$LINENO: result: no" >&5
    27501997$as_echo "no" >&6; }
    27511998fi
     
    27572004  # Extract the first word of "gcc", so it can be a program name with args.
    27582005set dummy gcc; ac_word=$2
    2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2006{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    27602007$as_echo_n "checking for $ac_word... " >&6; }
    2761 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2008if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    27622009  $as_echo_n "(cached) " >&6
    27632010else
     
    27702017  IFS=$as_save_IFS
    27712018  test -z "$as_dir" && as_dir=.
    2772     for ac_exec_ext in '' $ac_executable_extensions; do
     2019  for ac_exec_ext in '' $ac_executable_extensions; do
    27732020  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    27742021    ac_cv_prog_ac_ct_CC="gcc"
    2775     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2022    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    27762023    break 2
    27772024  fi
    27782025done
    2779   done
     2026done
    27802027IFS=$as_save_IFS
    27812028
     
    27842031ac_ct_CC=$ac_cv_prog_ac_ct_CC
    27852032if test -n "$ac_ct_CC"; then
    2786   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2033  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    27872034$as_echo "$ac_ct_CC" >&6; }
    27882035else
    2789   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2036  { $as_echo "$as_me:$LINENO: result: no" >&5
    27902037$as_echo "no" >&6; }
    27912038fi
     
    27962043    case $cross_compiling:$ac_tool_warned in
    27972044yes:)
    2798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2045{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    27992046$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    28002047ac_tool_warned=yes ;;
     
    28102057    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    28112058set dummy ${ac_tool_prefix}cc; ac_word=$2
    2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2059{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28132060$as_echo_n "checking for $ac_word... " >&6; }
    2814 if ${ac_cv_prog_CC+:} false; then :
     2061if test "${ac_cv_prog_CC+set}" = set; then
    28152062  $as_echo_n "(cached) " >&6
    28162063else
     
    28232070  IFS=$as_save_IFS
    28242071  test -z "$as_dir" && as_dir=.
    2825     for ac_exec_ext in '' $ac_executable_extensions; do
     2072  for ac_exec_ext in '' $ac_executable_extensions; do
    28262073  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28272074    ac_cv_prog_CC="${ac_tool_prefix}cc"
    2828     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2075    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28292076    break 2
    28302077  fi
    28312078done
    2832   done
     2079done
    28332080IFS=$as_save_IFS
    28342081
     
    28372084CC=$ac_cv_prog_CC
    28382085if test -n "$CC"; then
    2839   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2086  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28402087$as_echo "$CC" >&6; }
    28412088else
    2842   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2089  { $as_echo "$as_me:$LINENO: result: no" >&5
    28432090$as_echo "no" >&6; }
    28442091fi
     
    28502097  # Extract the first word of "cc", so it can be a program name with args.
    28512098set dummy cc; ac_word=$2
    2852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2099{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    28532100$as_echo_n "checking for $ac_word... " >&6; }
    2854 if ${ac_cv_prog_CC+:} false; then :
     2101if test "${ac_cv_prog_CC+set}" = set; then
    28552102  $as_echo_n "(cached) " >&6
    28562103else
     
    28642111  IFS=$as_save_IFS
    28652112  test -z "$as_dir" && as_dir=.
    2866     for ac_exec_ext in '' $ac_executable_extensions; do
     2113  for ac_exec_ext in '' $ac_executable_extensions; do
    28672114  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28682115    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
     
    28712118     fi
    28722119    ac_cv_prog_CC="cc"
    2873     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2120    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28742121    break 2
    28752122  fi
    28762123done
    2877   done
     2124done
    28782125IFS=$as_save_IFS
    28792126
     
    28942141CC=$ac_cv_prog_CC
    28952142if test -n "$CC"; then
    2896   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2143  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    28972144$as_echo "$CC" >&6; }
    28982145else
    2899   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2146  { $as_echo "$as_me:$LINENO: result: no" >&5
    29002147$as_echo "no" >&6; }
    29012148fi
     
    29092156    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    29102157set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2158{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29122159$as_echo_n "checking for $ac_word... " >&6; }
    2913 if ${ac_cv_prog_CC+:} false; then :
     2160if test "${ac_cv_prog_CC+set}" = set; then
    29142161  $as_echo_n "(cached) " >&6
    29152162else
     
    29222169  IFS=$as_save_IFS
    29232170  test -z "$as_dir" && as_dir=.
    2924     for ac_exec_ext in '' $ac_executable_extensions; do
     2171  for ac_exec_ext in '' $ac_executable_extensions; do
    29252172  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29262173    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2927     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2174    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29282175    break 2
    29292176  fi
    29302177done
    2931   done
     2178done
    29322179IFS=$as_save_IFS
    29332180
     
    29362183CC=$ac_cv_prog_CC
    29372184if test -n "$CC"; then
    2938   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
     2185  { $as_echo "$as_me:$LINENO: result: $CC" >&5
    29392186$as_echo "$CC" >&6; }
    29402187else
    2941   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2188  { $as_echo "$as_me:$LINENO: result: no" >&5
    29422189$as_echo "no" >&6; }
    29432190fi
     
    29532200  # Extract the first word of "$ac_prog", so it can be a program name with args.
    29542201set dummy $ac_prog; ac_word=$2
    2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     2202{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    29562203$as_echo_n "checking for $ac_word... " >&6; }
    2957 if ${ac_cv_prog_ac_ct_CC+:} false; then :
     2204if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    29582205  $as_echo_n "(cached) " >&6
    29592206else
     
    29662213  IFS=$as_save_IFS
    29672214  test -z "$as_dir" && as_dir=.
    2968     for ac_exec_ext in '' $ac_executable_extensions; do
     2215  for ac_exec_ext in '' $ac_executable_extensions; do
    29692216  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    29702217    ac_cv_prog_ac_ct_CC="$ac_prog"
    2971     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     2218    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    29722219    break 2
    29732220  fi
    29742221done
    2975   done
     2222done
    29762223IFS=$as_save_IFS
    29772224
     
    29802227ac_ct_CC=$ac_cv_prog_ac_ct_CC
    29812228if test -n "$ac_ct_CC"; then
    2982   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
     2229  { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    29832230$as_echo "$ac_ct_CC" >&6; }
    29842231else
    2985   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     2232  { $as_echo "$as_me:$LINENO: result: no" >&5
    29862233$as_echo "no" >&6; }
    29872234fi
     
    29962243    case $cross_compiling:$ac_tool_warned in
    29972244yes:)
    2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     2245{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    29992246$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    30002247ac_tool_warned=yes ;;
     
    30072254
    30082255
    3009 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2256test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    30102257$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3011 as_fn_error $? "no acceptable C compiler found in \$PATH
    3012 See \`config.log' for more details" "$LINENO" 5; }
     2258{ { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2259See \`config.log' for more details." >&5
     2260$as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2261See \`config.log' for more details." >&2;}
     2262   { (exit 1); exit 1; }; }; }
    30132263
    30142264# Provide some information about the compiler.
    3015 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
     2265$as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    30162266set X $ac_compile
    30172267ac_compiler=$2
    3018 for ac_option in --version -v -V -qversion; do
    3019   { { ac_try="$ac_compiler $ac_option >&5"
     2268{ (ac_try="$ac_compiler --version >&5"
    30202269case "(($ac_try" in
    30212270  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30222271  *) ac_try_echo=$ac_try;;
    30232272esac
    3024 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3025 $as_echo "$ac_try_echo"; } >&5
    3026   (eval "$ac_compiler $ac_option >&5") 2>conftest.err
     2273eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2274$as_echo "$ac_try_echo") >&5
     2275  (eval "$ac_compiler --version >&5") 2>&5
    30272276  ac_status=$?
    3028   if test -s conftest.err; then
    3029     sed '10a\
    3030 ... rest of stderr output deleted ...
    3031          10q' conftest.err >conftest.er1
    3032     cat conftest.er1 >&5
    3033   fi
    3034   rm -f conftest.er1 conftest.err
    3035   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3036   test $ac_status = 0; }
    3037 done
    3038 
    3039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2277  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2278  (exit $ac_status); }
     2279{ (ac_try="$ac_compiler -v >&5"
     2280case "(($ac_try" in
     2281  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2282  *) ac_try_echo=$ac_try;;
     2283esac
     2284eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2285$as_echo "$ac_try_echo") >&5
     2286  (eval "$ac_compiler -v >&5") 2>&5
     2287  ac_status=$?
     2288  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2289  (exit $ac_status); }
     2290{ (ac_try="$ac_compiler -V >&5"
     2291case "(($ac_try" in
     2292  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2293  *) ac_try_echo=$ac_try;;
     2294esac
     2295eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2296$as_echo "$ac_try_echo") >&5
     2297  (eval "$ac_compiler -V >&5") 2>&5
     2298  ac_status=$?
     2299  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2300  (exit $ac_status); }
     2301
     2302cat >conftest.$ac_ext <<_ACEOF
     2303/* confdefs.h.  */
     2304_ACEOF
     2305cat confdefs.h >>conftest.$ac_ext
     2306cat >>conftest.$ac_ext <<_ACEOF
    30402307/* end confdefs.h.  */
    30412308
     
    30532320# It will help us diagnose broken compilers, and finding out an intuition
    30542321# of exeext.
    3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
    3056 $as_echo_n "checking whether the C compiler works... " >&6; }
     2322{ $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2323$as_echo_n "checking for C compiler default output file name... " >&6; }
    30572324ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    30582325
     
    30702337rm -f $ac_rmfiles
    30712338
    3072 if { { ac_try="$ac_link_default"
     2339if { (ac_try="$ac_link_default"
    30732340case "(($ac_try" in
    30742341  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    30752342  *) ac_try_echo=$ac_try;;
    30762343esac
    3077 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3078 $as_echo "$ac_try_echo"; } >&5
     2344eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2345$as_echo "$ac_try_echo") >&5
    30792346  (eval "$ac_link_default") 2>&5
    30802347  ac_status=$?
    3081   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3082   test $ac_status = 0; }; then :
     2348  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2349  (exit $ac_status); }; then
    30832350  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
    30842351# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
     
    30972364        break;;
    30982365    *.* )
    3099         if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
     2366        if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
    31002367        then :; else
    31012368           ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
     
    31162383  ac_file=''
    31172384fi
    3118 if test -z "$ac_file"; then :
    3119   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
    3120 $as_echo "no" >&6; }
    3121 $as_echo "$as_me: failed program was:" >&5
     2385
     2386{ $as_echo "$as_me:$LINENO: result: $ac_file" >&5
     2387$as_echo "$ac_file" >&6; }
     2388if test -z "$ac_file"; then
     2389  $as_echo "$as_me: failed program was:" >&5
    31222390sed 's/^/| /' conftest.$ac_ext >&5
    31232391
    3124 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2392{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31252393$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3126 as_fn_error 77 "C compiler cannot create executables
    3127 See \`config.log' for more details" "$LINENO" 5; }
    3128 else
    3129   { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     2394{ { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2395See \`config.log' for more details." >&5
     2396$as_echo "$as_me: error: C compiler cannot create executables
     2397See \`config.log' for more details." >&2;}
     2398   { (exit 77); exit 77; }; }; }
     2399fi
     2400
     2401ac_exeext=$ac_cv_exeext
     2402
     2403# Check that the compiler produces executables we can run.  If not, either
     2404# the compiler is broken, or we cross compile.
     2405{ $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2406$as_echo_n "checking whether the C compiler works... " >&6; }
     2407# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
     2408# If not cross compiling, check that we can run a simple program.
     2409if test "$cross_compiling" != yes; then
     2410  if { ac_try='./$ac_file'
     2411  { (case "(($ac_try" in
     2412  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2413  *) ac_try_echo=$ac_try;;
     2414esac
     2415eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2416$as_echo "$ac_try_echo") >&5
     2417  (eval "$ac_try") 2>&5
     2418  ac_status=$?
     2419  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2420  (exit $ac_status); }; }; then
     2421    cross_compiling=no
     2422  else
     2423    if test "$cross_compiling" = maybe; then
     2424        cross_compiling=yes
     2425    else
     2426        { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
     2427$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
     2428{ { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2429If you meant to cross compile, use \`--host'.
     2430See \`config.log' for more details." >&5
     2431$as_echo "$as_me: error: cannot run C compiled programs.
     2432If you meant to cross compile, use \`--host'.
     2433See \`config.log' for more details." >&2;}
     2434   { (exit 1); exit 1; }; }; }
     2435    fi
     2436  fi
     2437fi
     2438{ $as_echo "$as_me:$LINENO: result: yes" >&5
    31302439$as_echo "yes" >&6; }
    3131 fi
    3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
    3133 $as_echo_n "checking for C compiler default output file name... " >&6; }
    3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
    3135 $as_echo "$ac_file" >&6; }
    3136 ac_exeext=$ac_cv_exeext
    31372440
    31382441rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
    31392442ac_clean_files=$ac_clean_files_save
    3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
     2443# Check that the compiler produces executables we can run.  If not, either
     2444# the compiler is broken, or we cross compile.
     2445{ $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2446$as_echo_n "checking whether we are cross compiling... " >&6; }
     2447{ $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2448$as_echo "$cross_compiling" >&6; }
     2449
     2450{ $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    31412451$as_echo_n "checking for suffix of executables... " >&6; }
    3142 if { { ac_try="$ac_link"
     2452if { (ac_try="$ac_link"
    31432453case "(($ac_try" in
    31442454  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    31452455  *) ac_try_echo=$ac_try;;
    31462456esac
    3147 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3148 $as_echo "$ac_try_echo"; } >&5
     2457eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2458$as_echo "$ac_try_echo") >&5
    31492459  (eval "$ac_link") 2>&5
    31502460  ac_status=$?
    3151   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3152   test $ac_status = 0; }; then :
     2461  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2462  (exit $ac_status); }; then
    31532463  # If both `conftest.exe' and `conftest' are `present' (well, observable)
    31542464# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
     
    31652475done
    31662476else
    3167   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2477  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    31682478$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3169 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
    3170 See \`config.log' for more details" "$LINENO" 5; }
    3171 fi
    3172 rm -f conftest conftest$ac_cv_exeext
    3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
     2479{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2480See \`config.log' for more details." >&5
     2481$as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2482See \`config.log' for more details." >&2;}
     2483   { (exit 1); exit 1; }; }; }
     2484fi
     2485
     2486rm -f conftest$ac_cv_exeext
     2487{ $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    31742488$as_echo "$ac_cv_exeext" >&6; }
    31752489
     
    31772491EXEEXT=$ac_cv_exeext
    31782492ac_exeext=$EXEEXT
    3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2493{ $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2494$as_echo_n "checking for suffix of object files... " >&6; }
     2495if test "${ac_cv_objext+set}" = set; then
     2496  $as_echo_n "(cached) " >&6
     2497else
     2498  cat >conftest.$ac_ext <<_ACEOF
     2499/* confdefs.h.  */
     2500_ACEOF
     2501cat confdefs.h >>conftest.$ac_ext
     2502cat >>conftest.$ac_ext <<_ACEOF
    31802503/* end confdefs.h.  */
    3181 #include <stdio.h>
     2504
    31822505int
    31832506main ()
    31842507{
    3185 FILE *f = fopen ("conftest.out", "w");
    3186  return ferror (f) || fclose (f) != 0;
    31872508
    31882509  ;
     
    31902511}
    31912512_ACEOF
    3192 ac_clean_files="$ac_clean_files conftest.out"
    3193 # Check that the compiler produces executables we can run.  If not, either
    3194 # the compiler is broken, or we cross compile.
    3195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
    3196 $as_echo_n "checking whether we are cross compiling... " >&6; }
    3197 if test "$cross_compiling" != yes; then
    3198   { { ac_try="$ac_link"
     2513rm -f conftest.o conftest.obj
     2514if { (ac_try="$ac_compile"
    31992515case "(($ac_try" in
    32002516  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    32012517  *) ac_try_echo=$ac_try;;
    32022518esac
    3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3204 $as_echo "$ac_try_echo"; } >&5
    3205   (eval "$ac_link") 2>&5
    3206   ac_status=$?
    3207   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3208   test $ac_status = 0; }
    3209   if { ac_try='./conftest$ac_cv_exeext'
    3210   { { case "(($ac_try" in
    3211   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3212   *) ac_try_echo=$ac_try;;
    3213 esac
    3214 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3215 $as_echo "$ac_try_echo"; } >&5
    3216   (eval "$ac_try") 2>&5
    3217   ac_status=$?
    3218   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3219   test $ac_status = 0; }; }; then
    3220     cross_compiling=no
    3221   else
    3222     if test "$cross_compiling" = maybe; then
    3223         cross_compiling=yes
    3224     else
    3225         { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
    3226 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3227 as_fn_error $? "cannot run C compiled programs.
    3228 If you meant to cross compile, use \`--host'.
    3229 See \`config.log' for more details" "$LINENO" 5; }
    3230     fi
    3231   fi
    3232 fi
    3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
    3234 $as_echo "$cross_compiling" >&6; }
    3235 
    3236 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
    3237 ac_clean_files=$ac_clean_files_save
    3238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
    3239 $as_echo_n "checking for suffix of object files... " >&6; }
    3240 if ${ac_cv_objext+:} false; then :
    3241   $as_echo_n "(cached) " >&6
    3242 else
    3243   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    3244 /* end confdefs.h.  */
    3245 
    3246 int
    3247 main ()
    3248 {
    3249 
    3250   ;
    3251   return 0;
    3252 }
    3253 _ACEOF
    3254 rm -f conftest.o conftest.obj
    3255 if { { ac_try="$ac_compile"
    3256 case "(($ac_try" in
    3257   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    3258   *) ac_try_echo=$ac_try;;
    3259 esac
    3260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
    3261 $as_echo "$ac_try_echo"; } >&5
     2519eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2520$as_echo "$ac_try_echo") >&5
    32622521  (eval "$ac_compile") 2>&5
    32632522  ac_status=$?
    3264   $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
    3265   test $ac_status = 0; }; then :
     2523  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2524  (exit $ac_status); }; then
    32662525  for ac_file in conftest.o conftest.obj conftest.*; do
    32672526  test -f "$ac_file" || continue;
     
    32762535sed 's/^/| /' conftest.$ac_ext >&5
    32772536
    3278 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     2537{ { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    32792538$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3280 as_fn_error $? "cannot compute suffix of object files: cannot compile
    3281 See \`config.log' for more details" "$LINENO" 5; }
    3282 fi
     2539{ { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2540See \`config.log' for more details." >&5
     2541$as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2542See \`config.log' for more details." >&2;}
     2543   { (exit 1); exit 1; }; }; }
     2544fi
     2545
    32832546rm -f conftest.$ac_cv_objext conftest.$ac_ext
    32842547fi
    3285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
     2548{ $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    32862549$as_echo "$ac_cv_objext" >&6; }
    32872550OBJEXT=$ac_cv_objext
    32882551ac_objext=$OBJEXT
    3289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
     2552{ $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    32902553$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
    3291 if ${ac_cv_c_compiler_gnu+:} false; then :
     2554if test "${ac_cv_c_compiler_gnu+set}" = set; then
    32922555  $as_echo_n "(cached) " >&6
    32932556else
    3294   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2557  cat >conftest.$ac_ext <<_ACEOF
     2558/* confdefs.h.  */
     2559_ACEOF
     2560cat confdefs.h >>conftest.$ac_ext
     2561cat >>conftest.$ac_ext <<_ACEOF
    32952562/* end confdefs.h.  */
    32962563
     
    33062573}
    33072574_ACEOF
    3308 if ac_fn_c_try_compile "$LINENO"; then :
     2575rm -f conftest.$ac_objext
     2576if { (ac_try="$ac_compile"
     2577case "(($ac_try" in
     2578  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2579  *) ac_try_echo=$ac_try;;
     2580esac
     2581eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2582$as_echo "$ac_try_echo") >&5
     2583  (eval "$ac_compile") 2>conftest.er1
     2584  ac_status=$?
     2585  grep -v '^ *+' conftest.er1 >conftest.err
     2586  rm -f conftest.er1
     2587  cat conftest.err >&5
     2588  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2589  (exit $ac_status); } && {
     2590         test -z "$ac_c_werror_flag" ||
     2591         test ! -s conftest.err
     2592       } && test -s conftest.$ac_objext; then
    33092593  ac_compiler_gnu=yes
    33102594else
    3311   ac_compiler_gnu=no
    3312 fi
     2595  $as_echo "$as_me: failed program was:" >&5
     2596sed 's/^/| /' conftest.$ac_ext >&5
     2597
     2598        ac_compiler_gnu=no
     2599fi
     2600
    33132601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33142602ac_cv_c_compiler_gnu=$ac_compiler_gnu
    33152603
    33162604fi
    3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
     2605{ $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    33182606$as_echo "$ac_cv_c_compiler_gnu" >&6; }
    33192607if test $ac_compiler_gnu = yes; then
     
    33242612ac_test_CFLAGS=${CFLAGS+set}
    33252613ac_save_CFLAGS=$CFLAGS
    3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
     2614{ $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    33272615$as_echo_n "checking whether $CC accepts -g... " >&6; }
    3328 if ${ac_cv_prog_cc_g+:} false; then :
     2616if test "${ac_cv_prog_cc_g+set}" = set; then
    33292617  $as_echo_n "(cached) " >&6
    33302618else
     
    33332621   ac_cv_prog_cc_g=no
    33342622   CFLAGS="-g"
    3335    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2623   cat >conftest.$ac_ext <<_ACEOF
     2624/* confdefs.h.  */
     2625_ACEOF
     2626cat confdefs.h >>conftest.$ac_ext
     2627cat >>conftest.$ac_ext <<_ACEOF
    33362628/* end confdefs.h.  */
    33372629
     
    33442636}
    33452637_ACEOF
    3346 if ac_fn_c_try_compile "$LINENO"; then :
     2638rm -f conftest.$ac_objext
     2639if { (ac_try="$ac_compile"
     2640case "(($ac_try" in
     2641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2642  *) ac_try_echo=$ac_try;;
     2643esac
     2644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2645$as_echo "$ac_try_echo") >&5
     2646  (eval "$ac_compile") 2>conftest.er1
     2647  ac_status=$?
     2648  grep -v '^ *+' conftest.er1 >conftest.err
     2649  rm -f conftest.er1
     2650  cat conftest.err >&5
     2651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2652  (exit $ac_status); } && {
     2653         test -z "$ac_c_werror_flag" ||
     2654         test ! -s conftest.err
     2655       } && test -s conftest.$ac_objext; then
    33472656  ac_cv_prog_cc_g=yes
    33482657else
    3349   CFLAGS=""
    3350       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2658  $as_echo "$as_me: failed program was:" >&5
     2659sed 's/^/| /' conftest.$ac_ext >&5
     2660
     2661        CFLAGS=""
     2662      cat >conftest.$ac_ext <<_ACEOF
     2663/* confdefs.h.  */
     2664_ACEOF
     2665cat confdefs.h >>conftest.$ac_ext
     2666cat >>conftest.$ac_ext <<_ACEOF
    33512667/* end confdefs.h.  */
    33522668
     
    33592675}
    33602676_ACEOF
    3361 if ac_fn_c_try_compile "$LINENO"; then :
    3362 
    3363 else
    3364   ac_c_werror_flag=$ac_save_c_werror_flag
     2677rm -f conftest.$ac_objext
     2678if { (ac_try="$ac_compile"
     2679case "(($ac_try" in
     2680  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2681  *) ac_try_echo=$ac_try;;
     2682esac
     2683eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2684$as_echo "$ac_try_echo") >&5
     2685  (eval "$ac_compile") 2>conftest.er1
     2686  ac_status=$?
     2687  grep -v '^ *+' conftest.er1 >conftest.err
     2688  rm -f conftest.er1
     2689  cat conftest.err >&5
     2690  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2691  (exit $ac_status); } && {
     2692         test -z "$ac_c_werror_flag" ||
     2693         test ! -s conftest.err
     2694       } && test -s conftest.$ac_objext; then
     2695  :
     2696else
     2697  $as_echo "$as_me: failed program was:" >&5
     2698sed 's/^/| /' conftest.$ac_ext >&5
     2699
     2700        ac_c_werror_flag=$ac_save_c_werror_flag
    33652701         CFLAGS="-g"
    3366          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2702         cat >conftest.$ac_ext <<_ACEOF
     2703/* confdefs.h.  */
     2704_ACEOF
     2705cat confdefs.h >>conftest.$ac_ext
     2706cat >>conftest.$ac_ext <<_ACEOF
    33672707/* end confdefs.h.  */
    33682708
     
    33752715}
    33762716_ACEOF
    3377 if ac_fn_c_try_compile "$LINENO"; then :
     2717rm -f conftest.$ac_objext
     2718if { (ac_try="$ac_compile"
     2719case "(($ac_try" in
     2720  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2721  *) ac_try_echo=$ac_try;;
     2722esac
     2723eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2724$as_echo "$ac_try_echo") >&5
     2725  (eval "$ac_compile") 2>conftest.er1
     2726  ac_status=$?
     2727  grep -v '^ *+' conftest.er1 >conftest.err
     2728  rm -f conftest.er1
     2729  cat conftest.err >&5
     2730  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2731  (exit $ac_status); } && {
     2732         test -z "$ac_c_werror_flag" ||
     2733         test ! -s conftest.err
     2734       } && test -s conftest.$ac_objext; then
    33782735  ac_cv_prog_cc_g=yes
    3379 fi
     2736else
     2737  $as_echo "$as_me: failed program was:" >&5
     2738sed 's/^/| /' conftest.$ac_ext >&5
     2739
     2740
     2741fi
     2742
    33802743rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33812744fi
     2745
    33822746rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33832747fi
     2748
    33842749rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    33852750   ac_c_werror_flag=$ac_save_c_werror_flag
    33862751fi
    3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
     2752{ $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    33882753$as_echo "$ac_cv_prog_cc_g" >&6; }
    33892754if test "$ac_test_CFLAGS" = set; then
     
    34022767  fi
    34032768fi
    3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
     2769{ $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    34052770$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
    3406 if ${ac_cv_prog_cc_c89+:} false; then :
     2771if test "${ac_cv_prog_cc_c89+set}" = set; then
    34072772  $as_echo_n "(cached) " >&6
    34082773else
    34092774  ac_cv_prog_cc_c89=no
    34102775ac_save_CC=$CC
    3411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2776cat >conftest.$ac_ext <<_ACEOF
     2777/* confdefs.h.  */
     2778_ACEOF
     2779cat confdefs.h >>conftest.$ac_ext
     2780cat >>conftest.$ac_ext <<_ACEOF
    34122781/* end confdefs.h.  */
    34132782#include <stdarg.h>
     
    34662835do
    34672836  CC="$ac_save_CC $ac_arg"
    3468   if ac_fn_c_try_compile "$LINENO"; then :
     2837  rm -f conftest.$ac_objext
     2838if { (ac_try="$ac_compile"
     2839case "(($ac_try" in
     2840  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2841  *) ac_try_echo=$ac_try;;
     2842esac
     2843eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2844$as_echo "$ac_try_echo") >&5
     2845  (eval "$ac_compile") 2>conftest.er1
     2846  ac_status=$?
     2847  grep -v '^ *+' conftest.er1 >conftest.err
     2848  rm -f conftest.er1
     2849  cat conftest.err >&5
     2850  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2851  (exit $ac_status); } && {
     2852         test -z "$ac_c_werror_flag" ||
     2853         test ! -s conftest.err
     2854       } && test -s conftest.$ac_objext; then
    34692855  ac_cv_prog_cc_c89=$ac_arg
    3470 fi
     2856else
     2857  $as_echo "$as_me: failed program was:" >&5
     2858sed 's/^/| /' conftest.$ac_ext >&5
     2859
     2860
     2861fi
     2862
    34712863rm -f core conftest.err conftest.$ac_objext
    34722864  test "x$ac_cv_prog_cc_c89" != "xno" && break
     
    34792871case "x$ac_cv_prog_cc_c89" in
    34802872  x)
    3481     { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
     2873    { $as_echo "$as_me:$LINENO: result: none needed" >&5
    34822874$as_echo "none needed" >&6; } ;;
    34832875  xno)
    3484     { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
     2876    { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    34852877$as_echo "unsupported" >&6; } ;;
    34862878  *)
    34872879    CC="$CC $ac_cv_prog_cc_c89"
    3488     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
     2880    { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    34892881$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
    34902882esac
    3491 if test "x$ac_cv_prog_cc_c89" != xno; then :
    3492 
    3493 fi
     2883
    34942884
    34952885ac_ext=c
     
    35052895ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    35062896ac_compiler_gnu=$ac_cv_c_compiler_gnu
    3507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
     2897{ $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    35082898$as_echo_n "checking how to run the C preprocessor... " >&6; }
    35092899# On Suns, sometimes $CPP names a directory.
     
    35122902fi
    35132903if test -z "$CPP"; then
    3514   if ${ac_cv_prog_CPP+:} false; then :
     2904  if test "${ac_cv_prog_CPP+set}" = set; then
    35152905  $as_echo_n "(cached) " >&6
    35162906else
     
    35272917  # On the NeXT, cc -E runs the code through the compiler's parser,
    35282918  # not just through cpp. "Syntax error" is here to catch this case.
    3529   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2919  cat >conftest.$ac_ext <<_ACEOF
     2920/* confdefs.h.  */
     2921_ACEOF
     2922cat confdefs.h >>conftest.$ac_ext
     2923cat >>conftest.$ac_ext <<_ACEOF
    35302924/* end confdefs.h.  */
    35312925#ifdef __STDC__
     
    35362930                     Syntax error
    35372931_ACEOF
    3538 if ac_fn_c_try_cpp "$LINENO"; then :
    3539 
    3540 else
     2932if { (ac_try="$ac_cpp conftest.$ac_ext"
     2933case "(($ac_try" in
     2934  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2935  *) ac_try_echo=$ac_try;;
     2936esac
     2937eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2938$as_echo "$ac_try_echo") >&5
     2939  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2940  ac_status=$?
     2941  grep -v '^ *+' conftest.er1 >conftest.err
     2942  rm -f conftest.er1
     2943  cat conftest.err >&5
     2944  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2945  (exit $ac_status); } >/dev/null && {
     2946         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2947         test ! -s conftest.err
     2948       }; then
     2949  :
     2950else
     2951  $as_echo "$as_me: failed program was:" >&5
     2952sed 's/^/| /' conftest.$ac_ext >&5
     2953
    35412954  # Broken: fails on valid input.
    35422955continue
    35432956fi
    3544 rm -f conftest.err conftest.i conftest.$ac_ext
     2957
     2958rm -f conftest.err conftest.$ac_ext
    35452959
    35462960  # OK, works on sane cases.  Now check whether nonexistent headers
    35472961  # can be detected and how.
    3548   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     2962  cat >conftest.$ac_ext <<_ACEOF
     2963/* confdefs.h.  */
     2964_ACEOF
     2965cat confdefs.h >>conftest.$ac_ext
     2966cat >>conftest.$ac_ext <<_ACEOF
    35492967/* end confdefs.h.  */
    35502968#include <ac_nonexistent.h>
    35512969_ACEOF
    3552 if ac_fn_c_try_cpp "$LINENO"; then :
     2970if { (ac_try="$ac_cpp conftest.$ac_ext"
     2971case "(($ac_try" in
     2972  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     2973  *) ac_try_echo=$ac_try;;
     2974esac
     2975eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     2976$as_echo "$ac_try_echo") >&5
     2977  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     2978  ac_status=$?
     2979  grep -v '^ *+' conftest.er1 >conftest.err
     2980  rm -f conftest.er1
     2981  cat conftest.err >&5
     2982  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2983  (exit $ac_status); } >/dev/null && {
     2984         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     2985         test ! -s conftest.err
     2986       }; then
    35532987  # Broken: success on invalid input.
    35542988continue
    35552989else
     2990  $as_echo "$as_me: failed program was:" >&5
     2991sed 's/^/| /' conftest.$ac_ext >&5
     2992
    35562993  # Passes both tests.
    35572994ac_preproc_ok=:
    35582995break
    35592996fi
    3560 rm -f conftest.err conftest.i conftest.$ac_ext
     2997
     2998rm -f conftest.err conftest.$ac_ext
    35612999
    35623000done
    35633001# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3564 rm -f conftest.i conftest.err conftest.$ac_ext
    3565 if $ac_preproc_ok; then :
     3002rm -f conftest.err conftest.$ac_ext
     3003if $ac_preproc_ok; then
    35663004  break
    35673005fi
     
    35753013  ac_cv_prog_CPP=$CPP
    35763014fi
    3577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
     3015{ $as_echo "$as_me:$LINENO: result: $CPP" >&5
    35783016$as_echo "$CPP" >&6; }
    35793017ac_preproc_ok=false
     
    35863024  # On the NeXT, cc -E runs the code through the compiler's parser,
    35873025  # not just through cpp. "Syntax error" is here to catch this case.
    3588   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3026  cat >conftest.$ac_ext <<_ACEOF
     3027/* confdefs.h.  */
     3028_ACEOF
     3029cat confdefs.h >>conftest.$ac_ext
     3030cat >>conftest.$ac_ext <<_ACEOF
    35893031/* end confdefs.h.  */
    35903032#ifdef __STDC__
     
    35953037                     Syntax error
    35963038_ACEOF
    3597 if ac_fn_c_try_cpp "$LINENO"; then :
    3598 
    3599 else
     3039if { (ac_try="$ac_cpp conftest.$ac_ext"
     3040case "(($ac_try" in
     3041  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3042  *) ac_try_echo=$ac_try;;
     3043esac
     3044eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3045$as_echo "$ac_try_echo") >&5
     3046  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3047  ac_status=$?
     3048  grep -v '^ *+' conftest.er1 >conftest.err
     3049  rm -f conftest.er1
     3050  cat conftest.err >&5
     3051  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3052  (exit $ac_status); } >/dev/null && {
     3053         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3054         test ! -s conftest.err
     3055       }; then
     3056  :
     3057else
     3058  $as_echo "$as_me: failed program was:" >&5
     3059sed 's/^/| /' conftest.$ac_ext >&5
     3060
    36003061  # Broken: fails on valid input.
    36013062continue
    36023063fi
    3603 rm -f conftest.err conftest.i conftest.$ac_ext
     3064
     3065rm -f conftest.err conftest.$ac_ext
    36043066
    36053067  # OK, works on sane cases.  Now check whether nonexistent headers
    36063068  # can be detected and how.
    3607   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3069  cat >conftest.$ac_ext <<_ACEOF
     3070/* confdefs.h.  */
     3071_ACEOF
     3072cat confdefs.h >>conftest.$ac_ext
     3073cat >>conftest.$ac_ext <<_ACEOF
    36083074/* end confdefs.h.  */
    36093075#include <ac_nonexistent.h>
    36103076_ACEOF
    3611 if ac_fn_c_try_cpp "$LINENO"; then :
     3077if { (ac_try="$ac_cpp conftest.$ac_ext"
     3078case "(($ac_try" in
     3079  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3080  *) ac_try_echo=$ac_try;;
     3081esac
     3082eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3083$as_echo "$ac_try_echo") >&5
     3084  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3085  ac_status=$?
     3086  grep -v '^ *+' conftest.er1 >conftest.err
     3087  rm -f conftest.er1
     3088  cat conftest.err >&5
     3089  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3090  (exit $ac_status); } >/dev/null && {
     3091         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3092         test ! -s conftest.err
     3093       }; then
    36123094  # Broken: success on invalid input.
    36133095continue
    36143096else
     3097  $as_echo "$as_me: failed program was:" >&5
     3098sed 's/^/| /' conftest.$ac_ext >&5
     3099
    36153100  # Passes both tests.
    36163101ac_preproc_ok=:
    36173102break
    36183103fi
    3619 rm -f conftest.err conftest.i conftest.$ac_ext
     3104
     3105rm -f conftest.err conftest.$ac_ext
    36203106
    36213107done
    36223108# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
    3623 rm -f conftest.i conftest.err conftest.$ac_ext
    3624 if $ac_preproc_ok; then :
    3625 
    3626 else
    3627   { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
     3109rm -f conftest.err conftest.$ac_ext
     3110if $ac_preproc_ok; then
     3111  :
     3112else
     3113  { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    36283114$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3629 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
    3630 See \`config.log' for more details" "$LINENO" 5; }
     3115{ { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3116See \`config.log' for more details." >&5
     3117$as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3118See \`config.log' for more details." >&2;}
     3119   { (exit 1); exit 1; }; }; }
    36313120fi
    36323121
     
    36383127
    36393128
    3640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
     3129{ $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    36413130$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
    3642 if ${ac_cv_path_GREP+:} false; then :
     3131if test "${ac_cv_path_GREP+set}" = set; then
    36433132  $as_echo_n "(cached) " >&6
    36443133else
     
    36513140  IFS=$as_save_IFS
    36523141  test -z "$as_dir" && as_dir=.
    3653     for ac_prog in grep ggrep; do
     3142  for ac_prog in grep ggrep; do
    36543143    for ac_exec_ext in '' $ac_executable_extensions; do
    36553144      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     
    36713160    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    36723161    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3673     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3162    ac_count=`expr $ac_count + 1`
    36743163    if test $ac_count -gt ${ac_path_GREP_max-0}; then
    36753164      # Best one so far, save it but keep looking for a better one
     
    36863175    done
    36873176  done
    3688   done
     3177done
    36893178IFS=$as_save_IFS
    36903179  if test -z "$ac_cv_path_GREP"; then
    3691     as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3180    { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3181$as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3182   { (exit 1); exit 1; }; }
    36923183  fi
    36933184else
     
    36963187
    36973188fi
    3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
     3189{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    36993190$as_echo "$ac_cv_path_GREP" >&6; }
    37003191 GREP="$ac_cv_path_GREP"
    37013192
    37023193
    3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
     3194{ $as_echo "$as_me:$LINENO: checking for egrep" >&5
    37043195$as_echo_n "checking for egrep... " >&6; }
    3705 if ${ac_cv_path_EGREP+:} false; then :
     3196if test "${ac_cv_path_EGREP+set}" = set; then
    37063197  $as_echo_n "(cached) " >&6
    37073198else
     
    37173208  IFS=$as_save_IFS
    37183209  test -z "$as_dir" && as_dir=.
    3719     for ac_prog in egrep; do
     3210  for ac_prog in egrep; do
    37203211    for ac_exec_ext in '' $ac_executable_extensions; do
    37213212      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     
    37373228    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    37383229    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
    3739     as_fn_arith $ac_count + 1 && ac_count=$as_val
     3230    ac_count=`expr $ac_count + 1`
    37403231    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
    37413232      # Best one so far, save it but keep looking for a better one
     
    37523243    done
    37533244  done
    3754   done
     3245done
    37553246IFS=$as_save_IFS
    37563247  if test -z "$ac_cv_path_EGREP"; then
    3757     as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
     3248    { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3249$as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3250   { (exit 1); exit 1; }; }
    37583251  fi
    37593252else
     
    37633256   fi
    37643257fi
    3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
     3258{ $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    37663259$as_echo "$ac_cv_path_EGREP" >&6; }
    37673260 EGREP="$ac_cv_path_EGREP"
    37683261
    37693262
    3770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
     3263{ $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    37713264$as_echo_n "checking for ANSI C header files... " >&6; }
    3772 if ${ac_cv_header_stdc+:} false; then :
     3265if test "${ac_cv_header_stdc+set}" = set; then
    37733266  $as_echo_n "(cached) " >&6
    37743267else
    3775   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3268  cat >conftest.$ac_ext <<_ACEOF
     3269/* confdefs.h.  */
     3270_ACEOF
     3271cat confdefs.h >>conftest.$ac_ext
     3272cat >>conftest.$ac_ext <<_ACEOF
    37763273/* end confdefs.h.  */
    37773274#include <stdlib.h>
     
    37883285}
    37893286_ACEOF
    3790 if ac_fn_c_try_compile "$LINENO"; then :
     3287rm -f conftest.$ac_objext
     3288if { (ac_try="$ac_compile"
     3289case "(($ac_try" in
     3290  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3291  *) ac_try_echo=$ac_try;;
     3292esac
     3293eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3294$as_echo "$ac_try_echo") >&5
     3295  (eval "$ac_compile") 2>conftest.er1
     3296  ac_status=$?
     3297  grep -v '^ *+' conftest.er1 >conftest.err
     3298  rm -f conftest.er1
     3299  cat conftest.err >&5
     3300  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3301  (exit $ac_status); } && {
     3302         test -z "$ac_c_werror_flag" ||
     3303         test ! -s conftest.err
     3304       } && test -s conftest.$ac_objext; then
    37913305  ac_cv_header_stdc=yes
    37923306else
    3793   ac_cv_header_stdc=no
    3794 fi
     3307  $as_echo "$as_me: failed program was:" >&5
     3308sed 's/^/| /' conftest.$ac_ext >&5
     3309
     3310        ac_cv_header_stdc=no
     3311fi
     3312
    37953313rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    37963314
    37973315if test $ac_cv_header_stdc = yes; then
    37983316  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
    3799   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3317  cat >conftest.$ac_ext <<_ACEOF
     3318/* confdefs.h.  */
     3319_ACEOF
     3320cat confdefs.h >>conftest.$ac_ext
     3321cat >>conftest.$ac_ext <<_ACEOF
    38003322/* end confdefs.h.  */
    38013323#include <string.h>
     
    38033325_ACEOF
    38043326if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3805   $EGREP "memchr" >/dev/null 2>&1; then :
    3806 
     3327  $EGREP "memchr" >/dev/null 2>&1; then
     3328  :
    38073329else
    38083330  ac_cv_header_stdc=no
     
    38143336if test $ac_cv_header_stdc = yes; then
    38153337  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
    3816   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3338  cat >conftest.$ac_ext <<_ACEOF
     3339/* confdefs.h.  */
     3340_ACEOF
     3341cat confdefs.h >>conftest.$ac_ext
     3342cat >>conftest.$ac_ext <<_ACEOF
    38173343/* end confdefs.h.  */
    38183344#include <stdlib.h>
     
    38203346_ACEOF
    38213347if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    3822   $EGREP "free" >/dev/null 2>&1; then :
    3823 
     3348  $EGREP "free" >/dev/null 2>&1; then
     3349  :
    38243350else
    38253351  ac_cv_header_stdc=no
     
    38313357if test $ac_cv_header_stdc = yes; then
    38323358  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
    3833   if test "$cross_compiling" = yes; then :
     3359  if test "$cross_compiling" = yes; then
    38343360  :
    38353361else
    3836   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     3362  cat >conftest.$ac_ext <<_ACEOF
     3363/* confdefs.h.  */
     3364_ACEOF
     3365cat confdefs.h >>conftest.$ac_ext
     3366cat >>conftest.$ac_ext <<_ACEOF
    38373367/* end confdefs.h.  */
    38383368#include <ctype.h>
     
    38613391}
    38623392_ACEOF
    3863 if ac_fn_c_try_run "$LINENO"; then :
    3864 
    3865 else
    3866   ac_cv_header_stdc=no
    3867 fi
    3868 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
    3869   conftest.$ac_objext conftest.beam conftest.$ac_ext
    3870 fi
    3871 
    3872 fi
    3873 fi
    3874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
     3393rm -f conftest$ac_exeext
     3394if { (ac_try="$ac_link"
     3395case "(($ac_try" in
     3396  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3397  *) ac_try_echo=$ac_try;;
     3398esac
     3399eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3400$as_echo "$ac_try_echo") >&5
     3401  (eval "$ac_link") 2>&5
     3402  ac_status=$?
     3403  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3404  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
     3405  { (case "(($ac_try" in
     3406  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3407  *) ac_try_echo=$ac_try;;
     3408esac
     3409eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3410$as_echo "$ac_try_echo") >&5
     3411  (eval "$ac_try") 2>&5
     3412  ac_status=$?
     3413  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3414  (exit $ac_status); }; }; then
     3415  :
     3416else
     3417  $as_echo "$as_me: program exited with status $ac_status" >&5
     3418$as_echo "$as_me: failed program was:" >&5
     3419sed 's/^/| /' conftest.$ac_ext >&5
     3420
     3421( exit $ac_status )
     3422ac_cv_header_stdc=no
     3423fi
     3424rm -rf conftest.dSYM
     3425rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
     3426fi
     3427
     3428
     3429fi
     3430fi
     3431{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    38753432$as_echo "$ac_cv_header_stdc" >&6; }
    38763433if test $ac_cv_header_stdc = yes; then
    38773434
    3878 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
     3435cat >>confdefs.h <<\_ACEOF
     3436#define STDC_HEADERS 1
     3437_ACEOF
    38793438
    38803439fi
    38813440
    38823441# On IRIX 5.3, sys/types and inttypes.h are conflicting.
     3442
     3443
     3444
     3445
     3446
     3447
     3448
     3449
     3450
    38833451for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
    38843452                  inttypes.h stdint.h unistd.h
    3885 do :
    3886   as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3887 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
    3888 "
    3889 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
     3453do
     3454as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3455{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3456$as_echo_n "checking for $ac_header... " >&6; }
     3457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3458  $as_echo_n "(cached) " >&6
     3459else
     3460  cat >conftest.$ac_ext <<_ACEOF
     3461/* confdefs.h.  */
     3462_ACEOF
     3463cat confdefs.h >>conftest.$ac_ext
     3464cat >>conftest.$ac_ext <<_ACEOF
     3465/* end confdefs.h.  */
     3466$ac_includes_default
     3467
     3468#include <$ac_header>
     3469_ACEOF
     3470rm -f conftest.$ac_objext
     3471if { (ac_try="$ac_compile"
     3472case "(($ac_try" in
     3473  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3474  *) ac_try_echo=$ac_try;;
     3475esac
     3476eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3477$as_echo "$ac_try_echo") >&5
     3478  (eval "$ac_compile") 2>conftest.er1
     3479  ac_status=$?
     3480  grep -v '^ *+' conftest.er1 >conftest.err
     3481  rm -f conftest.er1
     3482  cat conftest.err >&5
     3483  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3484  (exit $ac_status); } && {
     3485         test -z "$ac_c_werror_flag" ||
     3486         test ! -s conftest.err
     3487       } && test -s conftest.$ac_objext; then
     3488  eval "$as_ac_Header=yes"
     3489else
     3490  $as_echo "$as_me: failed program was:" >&5
     3491sed 's/^/| /' conftest.$ac_ext >&5
     3492
     3493        eval "$as_ac_Header=no"
     3494fi
     3495
     3496rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3497fi
     3498ac_res=`eval 'as_val=${'$as_ac_Header'}
     3499                 $as_echo "$as_val"'`
     3500               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3501$as_echo "$ac_res" >&6; }
     3502as_val=`eval 'as_val=${'$as_ac_Header'}
     3503                 $as_echo "$as_val"'`
     3504   if test "x$as_val" = x""yes; then
    38903505  cat >>confdefs.h <<_ACEOF
    38913506#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     
    39123527
    39133528# Check whether --with-python was given.
    3914 if test "${with_python+set}" = set; then :
     3529if test "${with_python+set}" = set; then
    39153530  withval=$with_python;
    39163531else
     
    39233538    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
    39243539set dummy python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
    3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3540{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39263541$as_echo_n "checking for $ac_word... " >&6; }
    3927 if ${ac_cv_path_PYTHON+:} false; then :
     3542if test "${ac_cv_path_PYTHON+set}" = set; then
    39283543  $as_echo_n "(cached) " >&6
    39293544else
     
    39383553  IFS=$as_save_IFS
    39393554  test -z "$as_dir" && as_dir=.
    3940     for ac_exec_ext in '' $ac_executable_extensions; do
     3555  for ac_exec_ext in '' $ac_executable_extensions; do
    39413556  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39423557    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3943     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3558    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39443559    break 2
    39453560  fi
    39463561done
    3947   done
     3562done
    39483563IFS=$as_save_IFS
    39493564
     
    39533568PYTHON=$ac_cv_path_PYTHON
    39543569if test -n "$PYTHON"; then
    3955   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3570  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    39563571$as_echo "$PYTHON" >&6; }
    39573572else
    3958   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3573  { $as_echo "$as_me:$LINENO: result: no" >&5
    39593574$as_echo "no" >&6; }
    39603575fi
     
    39643579    # Extract the first word of "python", so it can be a program name with args.
    39653580set dummy python; ac_word=$2
    3966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3581{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    39673582$as_echo_n "checking for $ac_word... " >&6; }
    3968 if ${ac_cv_path_PYTHON+:} false; then :
     3583if test "${ac_cv_path_PYTHON+set}" = set; then
    39693584  $as_echo_n "(cached) " >&6
    39703585else
     
    39803595  IFS=$as_save_IFS
    39813596  test -z "$as_dir" && as_dir=.
    3982     for ac_exec_ext in '' $ac_executable_extensions; do
     3597  for ac_exec_ext in '' $ac_executable_extensions; do
    39833598  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    39843599    ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
    3985     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3600    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    39863601    break 2
    39873602  fi
    39883603done
    3989   done
     3604done
    39903605IFS=$as_save_IFS
    39913606
     
    39953610PYTHON=$ac_cv_path_PYTHON
    39963611if test -n "$PYTHON"; then
    3997   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
     3612  { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
    39983613$as_echo "$PYTHON" >&6; }
    39993614else
    4000   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3615  { $as_echo "$as_me:$LINENO: result: no" >&5
    40013616$as_echo "no" >&6; }
    40023617fi
     
    40043619
    40053620  fi
    4006   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python version" >&5
     3621  { $as_echo "$as_me:$LINENO: checking for Python version" >&5
    40073622$as_echo_n "checking for Python version... " >&6; }
    40083623  if test "x${PYTHON}" != "x"; then
    40093624    PYTHON_VERSION=`${PYTHON} -c "import sys; print sys.version[0:3]"`
    40103625  fi
    4011   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_VERSION" >&5
     3626  { $as_echo "$as_me:$LINENO: result: $PYTHON_VERSION" >&5
    40123627$as_echo "$PYTHON_VERSION" >&6; }
    40133628fi
     
    40153630if test "x${PYTHON_VERSION}" != "x"; then
    40163631  PYTHON_INCLUDES=$incdir
    4017   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python distutils" >&5
     3632  { $as_echo "$as_me:$LINENO: checking for Python distutils" >&5
    40183633$as_echo_n "checking for Python distutils... " >&6; }
    40193634  PYTHON_DISTUTILS=""
     
    40233638    PYTHON_DISTUTILS="yes"
    40243639  fi
    4025   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_DISTUTILS" >&5
     3640  { $as_echo "$as_me:$LINENO: result: $PYTHON_DISTUTILS" >&5
    40263641$as_echo "$PYTHON_DISTUTILS" >&6; }
    40273642  if test "${PYTHON_DISTUTILS}" = "yes" ; then
     
    40303645    # Check for Python include path
    40313646    #
    4032     { $as_echo "$as_me:${as_lineno-$LINENO}: checking path to Python headers" >&5
     3647    { $as_echo "$as_me:$LINENO: checking path to Python headers" >&5
    40333648$as_echo_n "checking path to Python headers... " >&6; }
    40343649    PYTHON_INCDIR=`${PYTHON} -c "import distutils.sysconfig; \
    40353650     print distutils.sysconfig.get_python_inc();"`
    4036     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON_INCDIR" >&5
     3651    { $as_echo "$as_me:$LINENO: result: $PYTHON_INCDIR" >&5
    40373652$as_echo "$PYTHON_INCDIR" >&6; }
    40383653    #
     
    40473662    save_CPPFLAGS=$CPPFLAGS
    40483663    CPPFLAGS="$CPPFLAGS -I${PYTHON_INCDIR}"
    4049     for ac_header in Python.h
    4050 do :
    4051   ac_fn_c_check_header_mongrel "$LINENO" "Python.h" "ac_cv_header_Python_h" "$ac_includes_default"
    4052 if test "x$ac_cv_header_Python_h" = xyes; then :
     3664
     3665for ac_header in Python.h
     3666do
     3667as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3668if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3669  { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3670$as_echo_n "checking for $ac_header... " >&6; }
     3671if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3672  $as_echo_n "(cached) " >&6
     3673fi
     3674ac_res=`eval 'as_val=${'$as_ac_Header'}
     3675                 $as_echo "$as_val"'`
     3676               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3677$as_echo "$ac_res" >&6; }
     3678else
     3679  # Is the header compilable?
     3680{ $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
     3681$as_echo_n "checking $ac_header usability... " >&6; }
     3682cat >conftest.$ac_ext <<_ACEOF
     3683/* confdefs.h.  */
     3684_ACEOF
     3685cat confdefs.h >>conftest.$ac_ext
     3686cat >>conftest.$ac_ext <<_ACEOF
     3687/* end confdefs.h.  */
     3688$ac_includes_default
     3689#include <$ac_header>
     3690_ACEOF
     3691rm -f conftest.$ac_objext
     3692if { (ac_try="$ac_compile"
     3693case "(($ac_try" in
     3694  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3695  *) ac_try_echo=$ac_try;;
     3696esac
     3697eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3698$as_echo "$ac_try_echo") >&5
     3699  (eval "$ac_compile") 2>conftest.er1
     3700  ac_status=$?
     3701  grep -v '^ *+' conftest.er1 >conftest.err
     3702  rm -f conftest.er1
     3703  cat conftest.err >&5
     3704  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3705  (exit $ac_status); } && {
     3706         test -z "$ac_c_werror_flag" ||
     3707         test ! -s conftest.err
     3708       } && test -s conftest.$ac_objext; then
     3709  ac_header_compiler=yes
     3710else
     3711  $as_echo "$as_me: failed program was:" >&5
     3712sed 's/^/| /' conftest.$ac_ext >&5
     3713
     3714        ac_header_compiler=no
     3715fi
     3716
     3717rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     3718{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     3719$as_echo "$ac_header_compiler" >&6; }
     3720
     3721# Is the header present?
     3722{ $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
     3723$as_echo_n "checking $ac_header presence... " >&6; }
     3724cat >conftest.$ac_ext <<_ACEOF
     3725/* confdefs.h.  */
     3726_ACEOF
     3727cat confdefs.h >>conftest.$ac_ext
     3728cat >>conftest.$ac_ext <<_ACEOF
     3729/* end confdefs.h.  */
     3730#include <$ac_header>
     3731_ACEOF
     3732if { (ac_try="$ac_cpp conftest.$ac_ext"
     3733case "(($ac_try" in
     3734  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     3735  *) ac_try_echo=$ac_try;;
     3736esac
     3737eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     3738$as_echo "$ac_try_echo") >&5
     3739  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     3740  ac_status=$?
     3741  grep -v '^ *+' conftest.er1 >conftest.err
     3742  rm -f conftest.er1
     3743  cat conftest.err >&5
     3744  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3745  (exit $ac_status); } >/dev/null && {
     3746         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     3747         test ! -s conftest.err
     3748       }; then
     3749  ac_header_preproc=yes
     3750else
     3751  $as_echo "$as_me: failed program was:" >&5
     3752sed 's/^/| /' conftest.$ac_ext >&5
     3753
     3754  ac_header_preproc=no
     3755fi
     3756
     3757rm -f conftest.err conftest.$ac_ext
     3758{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     3759$as_echo "$ac_header_preproc" >&6; }
     3760
     3761# So?  What about this header?
     3762case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     3763  yes:no: )
     3764    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     3765$as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     3766    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     3767$as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     3768    ac_header_preproc=yes
     3769    ;;
     3770  no:yes:* )
     3771    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     3772$as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     3773    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     3774$as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     3775    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     3776$as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     3777    { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     3778$as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     3779    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     3780$as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     3781    { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     3782$as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     3783    ( cat <<\_ASBOX
     3784## ----------------------------------- ##
     3785## Report this to rappture@nanohub.org ##
     3786## ----------------------------------- ##
     3787_ASBOX
     3788     ) | sed "s/^/$as_me: WARNING:     /" >&2
     3789    ;;
     3790esac
     3791{ $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
     3792$as_echo_n "checking for $ac_header... " >&6; }
     3793if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
     3794  $as_echo_n "(cached) " >&6
     3795else
     3796  eval "$as_ac_Header=\$ac_header_preproc"
     3797fi
     3798ac_res=`eval 'as_val=${'$as_ac_Header'}
     3799                 $as_echo "$as_val"'`
     3800               { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
     3801$as_echo "$ac_res" >&6; }
     3802
     3803fi
     3804as_val=`eval 'as_val=${'$as_ac_Header'}
     3805                 $as_echo "$as_val"'`
     3806   if test "x$as_val" = x""yes; then
    40533807  cat >>confdefs.h <<_ACEOF
    4054 #define HAVE_PYTHON_H 1
     3808#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    40553809_ACEOF
    40563810 found=yes
     
    40963850  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    40973851set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3852{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    40993853$as_echo_n "checking for $ac_word... " >&6; }
    4100 if ${ac_cv_prog_RANLIB+:} false; then :
     3854if test "${ac_cv_prog_RANLIB+set}" = set; then
    41013855  $as_echo_n "(cached) " >&6
    41023856else
     
    41093863  IFS=$as_save_IFS
    41103864  test -z "$as_dir" && as_dir=.
    4111     for ac_exec_ext in '' $ac_executable_extensions; do
     3865  for ac_exec_ext in '' $ac_executable_extensions; do
    41123866  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41133867    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    4114     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3868    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41153869    break 2
    41163870  fi
    41173871done
    4118   done
     3872done
    41193873IFS=$as_save_IFS
    41203874
     
    41233877RANLIB=$ac_cv_prog_RANLIB
    41243878if test -n "$RANLIB"; then
    4125   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
     3879  { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    41263880$as_echo "$RANLIB" >&6; }
    41273881else
    4128   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3882  { $as_echo "$as_me:$LINENO: result: no" >&5
    41293883$as_echo "no" >&6; }
    41303884fi
     
    41363890  # Extract the first word of "ranlib", so it can be a program name with args.
    41373891set dummy ranlib; ac_word=$2
    4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     3892{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    41393893$as_echo_n "checking for $ac_word... " >&6; }
    4140 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
     3894if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    41413895  $as_echo_n "(cached) " >&6
    41423896else
     
    41493903  IFS=$as_save_IFS
    41503904  test -z "$as_dir" && as_dir=.
    4151     for ac_exec_ext in '' $ac_executable_extensions; do
     3905  for ac_exec_ext in '' $ac_executable_extensions; do
    41523906  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    41533907    ac_cv_prog_ac_ct_RANLIB="ranlib"
    4154     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     3908    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    41553909    break 2
    41563910  fi
    41573911done
    4158   done
     3912done
    41593913IFS=$as_save_IFS
    41603914
     
    41633917ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    41643918if test -n "$ac_ct_RANLIB"; then
    4165   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
     3919  { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    41663920$as_echo "$ac_ct_RANLIB" >&6; }
    41673921else
    4168   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3922  { $as_echo "$as_me:$LINENO: result: no" >&5
    41693923$as_echo "no" >&6; }
    41703924fi
     
    41753929    case $cross_compiling:$ac_tool_warned in
    41763930yes:)
    4177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
     3931{ $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    41783932$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
    41793933ac_tool_warned=yes ;;
     
    41893943    # Step 0.a: Enable 64 bit support?
    41903944
    4191     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit support is requested" >&5
     3945    { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    41923946$as_echo_n "checking if 64bit support is requested... " >&6; }
    41933947    # Check whether --enable-64bit was given.
    4194 if test "${enable_64bit+set}" = set; then :
     3948if test "${enable_64bit+set}" = set; then
    41953949  enableval=$enable_64bit; do64bit=$enableval
    41963950else
     
    41983952fi
    41993953
    4200     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bit" >&5
     3954    { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    42013955$as_echo "$do64bit" >&6; }
    42023956
    42033957    # Step 0.b: Enable Solaris 64 bit VIS support?
    42043958
    4205     { $as_echo "$as_me:${as_lineno-$LINENO}: checking if 64bit Sparc VIS support is requested" >&5
     3959    { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    42063960$as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
    42073961    # Check whether --enable-64bit-vis was given.
    4208 if test "${enable_64bit_vis+set}" = set; then :
     3962if test "${enable_64bit_vis+set}" = set; then
    42093963  enableval=$enable_64bit_vis; do64bitVIS=$enableval
    42103964else
     
    42123966fi
    42133967
    4214     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $do64bitVIS" >&5
     3968    { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    42153969$as_echo "$do64bitVIS" >&6; }
    42163970
     
    42243978
    42253979
    4226     { $as_echo "$as_me:${as_lineno-$LINENO}: checking system version" >&5
     3980    { $as_echo "$as_me:$LINENO: checking system version" >&5
    42273981$as_echo_n "checking system version... " >&6; }
    4228 if ${tcl_cv_sys_version+:} false; then :
     3982if test "${tcl_cv_sys_version+set}" = set; then
    42293983  $as_echo_n "(cached) " >&6
    42303984else
     
    42353989            tcl_cv_sys_version=`uname -s`-`uname -r`
    42363990            if test "$?" -ne 0 ; then
    4237                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: can't find uname command" >&5
     3991                { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    42383992$as_echo "$as_me: WARNING: can't find uname command" >&2;}
    42393993                tcl_cv_sys_version=unknown
     
    42524006
    42534007fi
    4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sys_version" >&5
     4008{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    42554009$as_echo "$tcl_cv_sys_version" >&6; }
    42564010    system=$tcl_cv_sys_version
     
    42604014    # Linux can use either -ldl or -ldld for dynamic loading.
    42614015
    4262     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
     4016    { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    42634017$as_echo_n "checking for dlopen in -ldl... " >&6; }
    4264 if ${ac_cv_lib_dl_dlopen+:} false; then :
     4018if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    42654019  $as_echo_n "(cached) " >&6
    42664020else
    42674021  ac_check_lib_save_LIBS=$LIBS
    42684022LIBS="-ldl  $LIBS"
    4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4023cat >conftest.$ac_ext <<_ACEOF
     4024/* confdefs.h.  */
     4025_ACEOF
     4026cat confdefs.h >>conftest.$ac_ext
     4027cat >>conftest.$ac_ext <<_ACEOF
    42704028/* end confdefs.h.  */
    42714029
     
    42854043}
    42864044_ACEOF
    4287 if ac_fn_c_try_link "$LINENO"; then :
     4045rm -f conftest.$ac_objext conftest$ac_exeext
     4046if { (ac_try="$ac_link"
     4047case "(($ac_try" in
     4048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4049  *) ac_try_echo=$ac_try;;
     4050esac
     4051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4052$as_echo "$ac_try_echo") >&5
     4053  (eval "$ac_link") 2>conftest.er1
     4054  ac_status=$?
     4055  grep -v '^ *+' conftest.er1 >conftest.err
     4056  rm -f conftest.er1
     4057  cat conftest.err >&5
     4058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4059  (exit $ac_status); } && {
     4060         test -z "$ac_c_werror_flag" ||
     4061         test ! -s conftest.err
     4062       } && test -s conftest$ac_exeext && {
     4063         test "$cross_compiling" = yes ||
     4064         $as_test_x conftest$ac_exeext
     4065       }; then
    42884066  ac_cv_lib_dl_dlopen=yes
    42894067else
    4290   ac_cv_lib_dl_dlopen=no
    4291 fi
    4292 rm -f core conftest.err conftest.$ac_objext \
    4293     conftest$ac_exeext conftest.$ac_ext
     4068  $as_echo "$as_me: failed program was:" >&5
     4069sed 's/^/| /' conftest.$ac_ext >&5
     4070
     4071        ac_cv_lib_dl_dlopen=no
     4072fi
     4073
     4074rm -rf conftest.dSYM
     4075rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4076      conftest$ac_exeext conftest.$ac_ext
    42944077LIBS=$ac_check_lib_save_LIBS
    42954078fi
    4296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
     4079{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    42974080$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    4298 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
     4081if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
    42994082  have_dl=yes
    43004083else
     
    43284111    # Extract the first word of "ar", so it can be a program name with args.
    43294112set dummy ar; ac_word=$2
    4330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
     4113{ $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    43314114$as_echo_n "checking for $ac_word... " >&6; }
    4332 if ${ac_cv_prog_AR+:} false; then :
     4115if test "${ac_cv_prog_AR+set}" = set; then
    43334116  $as_echo_n "(cached) " >&6
    43344117else
     
    43414124  IFS=$as_save_IFS
    43424125  test -z "$as_dir" && as_dir=.
    4343     for ac_exec_ext in '' $ac_executable_extensions; do
     4126  for ac_exec_ext in '' $ac_executable_extensions; do
    43444127  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    43454128    ac_cv_prog_AR="ar"
    4346     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
     4129    $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    43474130    break 2
    43484131  fi
    43494132done
    4350   done
     4133done
    43514134IFS=$as_save_IFS
    43524135
     
    43554138AR=$ac_cv_prog_AR
    43564139if test -n "$AR"; then
    4357   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
     4140  { $as_echo "$as_me:$LINENO: result: $AR" >&5
    43584141$as_echo "$AR" >&6; }
    43594142else
    4360   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     4143  { $as_echo "$as_me:$LINENO: result: no" >&5
    43614144$as_echo "no" >&6; }
    43624145fi
     
    43644147
    43654148    if test "${AR}" = "" ; then
    4366         as_fn_error $? "Required archive tool 'ar' not found on PATH." "$LINENO" 5
     4149        { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     4150$as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     4151   { (exit 1); exit 1; }; }
    43674152    fi
    43684153    STLIB_LD='${AR} cr'
     
    43824167                        ;;
    43834168                esac
    4384                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: Using $CC for compiling with threads" >&5
     4169                { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    43854170$as_echo "Using $CC for compiling with threads" >&6; }
    43864171            fi
     
    43984183            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    43994184                if test "$GCC" = "yes" ; then
    4400                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4185                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    44014186$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    44024187                else
     
    44534238            # known GMT value.
    44544239
    4455             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday in -lbsd" >&5
     4240            { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    44564241$as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
    4457 if ${ac_cv_lib_bsd_gettimeofday+:} false; then :
     4242if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    44584243  $as_echo_n "(cached) " >&6
    44594244else
    44604245  ac_check_lib_save_LIBS=$LIBS
    44614246LIBS="-lbsd  $LIBS"
    4462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4247cat >conftest.$ac_ext <<_ACEOF
     4248/* confdefs.h.  */
     4249_ACEOF
     4250cat confdefs.h >>conftest.$ac_ext
     4251cat >>conftest.$ac_ext <<_ACEOF
    44634252/* end confdefs.h.  */
    44644253
     
    44784267}
    44794268_ACEOF
    4480 if ac_fn_c_try_link "$LINENO"; then :
     4269rm -f conftest.$ac_objext conftest$ac_exeext
     4270if { (ac_try="$ac_link"
     4271case "(($ac_try" in
     4272  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4273  *) ac_try_echo=$ac_try;;
     4274esac
     4275eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4276$as_echo "$ac_try_echo") >&5
     4277  (eval "$ac_link") 2>conftest.er1
     4278  ac_status=$?
     4279  grep -v '^ *+' conftest.er1 >conftest.err
     4280  rm -f conftest.er1
     4281  cat conftest.err >&5
     4282  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4283  (exit $ac_status); } && {
     4284         test -z "$ac_c_werror_flag" ||
     4285         test ! -s conftest.err
     4286       } && test -s conftest$ac_exeext && {
     4287         test "$cross_compiling" = yes ||
     4288         $as_test_x conftest$ac_exeext
     4289       }; then
    44814290  ac_cv_lib_bsd_gettimeofday=yes
    44824291else
    4483   ac_cv_lib_bsd_gettimeofday=no
    4484 fi
    4485 rm -f core conftest.err conftest.$ac_objext \
    4486     conftest$ac_exeext conftest.$ac_ext
     4292  $as_echo "$as_me: failed program was:" >&5
     4293sed 's/^/| /' conftest.$ac_ext >&5
     4294
     4295        ac_cv_lib_bsd_gettimeofday=no
     4296fi
     4297
     4298rm -rf conftest.dSYM
     4299rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4300      conftest$ac_exeext conftest.$ac_ext
    44874301LIBS=$ac_check_lib_save_LIBS
    44884302fi
    4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gettimeofday" >&5
     4303{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    44904304$as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    4491 if test "x$ac_cv_lib_bsd_gettimeofday" = xyes; then :
     4305if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
    44924306  libbsd=yes
    44934307else
     
    44974311            if test $libbsd = yes; then
    44984312                MATH_LIBS="$MATH_LIBS -lbsd"
    4499                 $as_echo "#define USE_DELTA_FOR_TZ 1" >>confdefs.h
     4313                cat >>confdefs.h <<\_ACEOF
     4314#define USE_DELTA_FOR_TZ 1
     4315_ACEOF
    45004316
    45014317            fi
     
    45144330            # is always linked to, for compatibility.
    45154331            #-----------------------------------------------------------
    4516             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lbind" >&5
     4332            { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    45174333$as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
    4518 if ${ac_cv_lib_bind_inet_ntoa+:} false; then :
     4334if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    45194335  $as_echo_n "(cached) " >&6
    45204336else
    45214337  ac_check_lib_save_LIBS=$LIBS
    45224338LIBS="-lbind  $LIBS"
    4523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4339cat >conftest.$ac_ext <<_ACEOF
     4340/* confdefs.h.  */
     4341_ACEOF
     4342cat confdefs.h >>conftest.$ac_ext
     4343cat >>conftest.$ac_ext <<_ACEOF
    45244344/* end confdefs.h.  */
    45254345
     
    45394359}
    45404360_ACEOF
    4541 if ac_fn_c_try_link "$LINENO"; then :
     4361rm -f conftest.$ac_objext conftest$ac_exeext
     4362if { (ac_try="$ac_link"
     4363case "(($ac_try" in
     4364  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4365  *) ac_try_echo=$ac_try;;
     4366esac
     4367eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4368$as_echo "$ac_try_echo") >&5
     4369  (eval "$ac_link") 2>conftest.er1
     4370  ac_status=$?
     4371  grep -v '^ *+' conftest.er1 >conftest.err
     4372  rm -f conftest.er1
     4373  cat conftest.err >&5
     4374  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4375  (exit $ac_status); } && {
     4376         test -z "$ac_c_werror_flag" ||
     4377         test ! -s conftest.err
     4378       } && test -s conftest$ac_exeext && {
     4379         test "$cross_compiling" = yes ||
     4380         $as_test_x conftest$ac_exeext
     4381       }; then
    45424382  ac_cv_lib_bind_inet_ntoa=yes
    45434383else
    4544   ac_cv_lib_bind_inet_ntoa=no
    4545 fi
    4546 rm -f core conftest.err conftest.$ac_objext \
    4547     conftest$ac_exeext conftest.$ac_ext
     4384  $as_echo "$as_me: failed program was:" >&5
     4385sed 's/^/| /' conftest.$ac_ext >&5
     4386
     4387        ac_cv_lib_bind_inet_ntoa=no
     4388fi
     4389
     4390rm -rf conftest.dSYM
     4391rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4392      conftest$ac_exeext conftest.$ac_ext
    45484393LIBS=$ac_check_lib_save_LIBS
    45494394fi
    4550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bind_inet_ntoa" >&5
     4395{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    45514396$as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    4552 if test "x$ac_cv_lib_bind_inet_ntoa" = xyes; then :
     4397if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
    45534398  LIBS="$LIBS -lbind -lsocket"
    45544399fi
     
    45884433        HP-UX-*.11.*)
    45894434            # Use updated header definitions where possible
    4590             $as_echo "#define _XOPEN_SOURCE 1" >>confdefs.h
     4435            cat >>confdefs.h <<\_ACEOF
     4436#define _XOPEN_SOURCE 1
     4437_ACEOF
    45914438          # Use the XOPEN network library
    4592             $as_echo "#define _XOPEN_SOURCE_EXTENDED 1" >>confdefs.h
     4439            cat >>confdefs.h <<\_ACEOF
     4440#define _XOPEN_SOURCE_EXTENDED 1
     4441_ACEOF
    45934442 # Use the XOPEN network library
    45944443            LIBS="$LIBS -lxnet"               # Use the XOPEN network library
     
    45994448                SHLIB_SUFFIX=".sl"
    46004449            fi
    4601             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4450            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    46024451$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4603 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4452if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    46044453  $as_echo_n "(cached) " >&6
    46054454else
    46064455  ac_check_lib_save_LIBS=$LIBS
    46074456LIBS="-ldld  $LIBS"
    4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4457cat >conftest.$ac_ext <<_ACEOF
     4458/* confdefs.h.  */
     4459_ACEOF
     4460cat confdefs.h >>conftest.$ac_ext
     4461cat >>conftest.$ac_ext <<_ACEOF
    46094462/* end confdefs.h.  */
    46104463
     
    46244477}
    46254478_ACEOF
    4626 if ac_fn_c_try_link "$LINENO"; then :
     4479rm -f conftest.$ac_objext conftest$ac_exeext
     4480if { (ac_try="$ac_link"
     4481case "(($ac_try" in
     4482  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4483  *) ac_try_echo=$ac_try;;
     4484esac
     4485eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4486$as_echo "$ac_try_echo") >&5
     4487  (eval "$ac_link") 2>conftest.er1
     4488  ac_status=$?
     4489  grep -v '^ *+' conftest.er1 >conftest.err
     4490  rm -f conftest.er1
     4491  cat conftest.err >&5
     4492  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4493  (exit $ac_status); } && {
     4494         test -z "$ac_c_werror_flag" ||
     4495         test ! -s conftest.err
     4496       } && test -s conftest$ac_exeext && {
     4497         test "$cross_compiling" = yes ||
     4498         $as_test_x conftest$ac_exeext
     4499       }; then
    46274500  ac_cv_lib_dld_shl_load=yes
    46284501else
    4629   ac_cv_lib_dld_shl_load=no
    4630 fi
    4631 rm -f core conftest.err conftest.$ac_objext \
    4632     conftest$ac_exeext conftest.$ac_ext
     4502  $as_echo "$as_me: failed program was:" >&5
     4503sed 's/^/| /' conftest.$ac_ext >&5
     4504
     4505        ac_cv_lib_dld_shl_load=no
     4506fi
     4507
     4508rm -rf conftest.dSYM
     4509rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4510      conftest$ac_exeext conftest.$ac_ext
    46334511LIBS=$ac_check_lib_save_LIBS
    46344512fi
    4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4513{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    46364514$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4637 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4515if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    46384516  tcl_ok=yes
    46394517else
     
    46754553                            ;;
    46764554                        *)
    4677                             { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     4555                            { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    46784556$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    46794557                            ;;
     
    46884566        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    46894567            SHLIB_SUFFIX=".sl"
    4690             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
     4568            { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    46914569$as_echo_n "checking for shl_load in -ldld... " >&6; }
    4692 if ${ac_cv_lib_dld_shl_load+:} false; then :
     4570if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    46934571  $as_echo_n "(cached) " >&6
    46944572else
    46954573  ac_check_lib_save_LIBS=$LIBS
    46964574LIBS="-ldld  $LIBS"
    4697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4575cat >conftest.$ac_ext <<_ACEOF
     4576/* confdefs.h.  */
     4577_ACEOF
     4578cat confdefs.h >>conftest.$ac_ext
     4579cat >>conftest.$ac_ext <<_ACEOF
    46984580/* end confdefs.h.  */
    46994581
     
    47134595}
    47144596_ACEOF
    4715 if ac_fn_c_try_link "$LINENO"; then :
     4597rm -f conftest.$ac_objext conftest$ac_exeext
     4598if { (ac_try="$ac_link"
     4599case "(($ac_try" in
     4600  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4601  *) ac_try_echo=$ac_try;;
     4602esac
     4603eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4604$as_echo "$ac_try_echo") >&5
     4605  (eval "$ac_link") 2>conftest.er1
     4606  ac_status=$?
     4607  grep -v '^ *+' conftest.er1 >conftest.err
     4608  rm -f conftest.er1
     4609  cat conftest.err >&5
     4610  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4611  (exit $ac_status); } && {
     4612         test -z "$ac_c_werror_flag" ||
     4613         test ! -s conftest.err
     4614       } && test -s conftest$ac_exeext && {
     4615         test "$cross_compiling" = yes ||
     4616         $as_test_x conftest$ac_exeext
     4617       }; then
    47164618  ac_cv_lib_dld_shl_load=yes
    47174619else
    4718   ac_cv_lib_dld_shl_load=no
    4719 fi
    4720 rm -f core conftest.err conftest.$ac_objext \
    4721     conftest$ac_exeext conftest.$ac_ext
     4620  $as_echo "$as_me: failed program was:" >&5
     4621sed 's/^/| /' conftest.$ac_ext >&5
     4622
     4623        ac_cv_lib_dld_shl_load=no
     4624fi
     4625
     4626rm -rf conftest.dSYM
     4627rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4628      conftest$ac_exeext conftest.$ac_ext
    47224629LIBS=$ac_check_lib_save_LIBS
    47234630fi
    4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
     4631{ $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    47254632$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4726 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
     4633if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
    47274634  tcl_ok=yes
    47284635else
     
    48034710            if test "$do64bit" = "yes" ; then
    48044711                if test "$GCC" = "yes" ; then
    4805                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported by gcc" >&5
     4712                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    48064713$as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    48074714                else
     
    48324739                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    48334740            else
    4834                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4835 if test "x$ac_cv_header_dld_h" = xyes; then :
     4741                if test "${ac_cv_header_dld_h+set}" = set; then
     4742  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4743$as_echo_n "checking for dld.h... " >&6; }
     4744if test "${ac_cv_header_dld_h+set}" = set; then
     4745  $as_echo_n "(cached) " >&6
     4746fi
     4747{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4748$as_echo "$ac_cv_header_dld_h" >&6; }
     4749else
     4750  # Is the header compilable?
     4751{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4752$as_echo_n "checking dld.h usability... " >&6; }
     4753cat >conftest.$ac_ext <<_ACEOF
     4754/* confdefs.h.  */
     4755_ACEOF
     4756cat confdefs.h >>conftest.$ac_ext
     4757cat >>conftest.$ac_ext <<_ACEOF
     4758/* end confdefs.h.  */
     4759$ac_includes_default
     4760#include <dld.h>
     4761_ACEOF
     4762rm -f conftest.$ac_objext
     4763if { (ac_try="$ac_compile"
     4764case "(($ac_try" in
     4765  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4766  *) ac_try_echo=$ac_try;;
     4767esac
     4768eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4769$as_echo "$ac_try_echo") >&5
     4770  (eval "$ac_compile") 2>conftest.er1
     4771  ac_status=$?
     4772  grep -v '^ *+' conftest.er1 >conftest.err
     4773  rm -f conftest.er1
     4774  cat conftest.err >&5
     4775  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4776  (exit $ac_status); } && {
     4777         test -z "$ac_c_werror_flag" ||
     4778         test ! -s conftest.err
     4779       } && test -s conftest.$ac_objext; then
     4780  ac_header_compiler=yes
     4781else
     4782  $as_echo "$as_me: failed program was:" >&5
     4783sed 's/^/| /' conftest.$ac_ext >&5
     4784
     4785        ac_header_compiler=no
     4786fi
     4787
     4788rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     4789{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4790$as_echo "$ac_header_compiler" >&6; }
     4791
     4792# Is the header present?
     4793{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     4794$as_echo_n "checking dld.h presence... " >&6; }
     4795cat >conftest.$ac_ext <<_ACEOF
     4796/* confdefs.h.  */
     4797_ACEOF
     4798cat confdefs.h >>conftest.$ac_ext
     4799cat >>conftest.$ac_ext <<_ACEOF
     4800/* end confdefs.h.  */
     4801#include <dld.h>
     4802_ACEOF
     4803if { (ac_try="$ac_cpp conftest.$ac_ext"
     4804case "(($ac_try" in
     4805  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4806  *) ac_try_echo=$ac_try;;
     4807esac
     4808eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4809$as_echo "$ac_try_echo") >&5
     4810  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     4811  ac_status=$?
     4812  grep -v '^ *+' conftest.er1 >conftest.err
     4813  rm -f conftest.er1
     4814  cat conftest.err >&5
     4815  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4816  (exit $ac_status); } >/dev/null && {
     4817         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     4818         test ! -s conftest.err
     4819       }; then
     4820  ac_header_preproc=yes
     4821else
     4822  $as_echo "$as_me: failed program was:" >&5
     4823sed 's/^/| /' conftest.$ac_ext >&5
     4824
     4825  ac_header_preproc=no
     4826fi
     4827
     4828rm -f conftest.err conftest.$ac_ext
     4829{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4830$as_echo "$ac_header_preproc" >&6; }
     4831
     4832# So?  What about this header?
     4833case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     4834  yes:no: )
     4835    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4836$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4837    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4838$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4839    ac_header_preproc=yes
     4840    ;;
     4841  no:yes:* )
     4842    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4843$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4844    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4845$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4846    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4847$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4848    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4849$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4850    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4851$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4852    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4853$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4854    ( cat <<\_ASBOX
     4855## ----------------------------------- ##
     4856## Report this to rappture@nanohub.org ##
     4857## ----------------------------------- ##
     4858_ASBOX
     4859     ) | sed "s/^/$as_me: WARNING:     /" >&2
     4860    ;;
     4861esac
     4862{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4863$as_echo_n "checking for dld.h... " >&6; }
     4864if test "${ac_cv_header_dld_h+set}" = set; then
     4865  $as_echo_n "(cached) " >&6
     4866else
     4867  ac_cv_header_dld_h=$ac_header_preproc
     4868fi
     4869{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4870$as_echo "$ac_cv_header_dld_h" >&6; }
     4871
     4872fi
     4873if test "x$ac_cv_header_dld_h" = x""yes; then
    48364874
    48374875                    SHLIB_LD="ld -shared"
     
    48484886            fi
    48494887            if test $do64bit = yes; then
    4850                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -m64 flag" >&5
     4888                { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    48514889$as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
    4852 if ${tcl_cv_cc_m64+:} false; then :
     4890if test "${tcl_cv_cc_m64+set}" = set; then
    48534891  $as_echo_n "(cached) " >&6
    48544892else
     
    48564894                    hold_cflags=$CFLAGS
    48574895                    CFLAGS="$CFLAGS -m64"
    4858                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     4896                    cat >conftest.$ac_ext <<_ACEOF
     4897/* confdefs.h.  */
     4898_ACEOF
     4899cat confdefs.h >>conftest.$ac_ext
     4900cat >>conftest.$ac_ext <<_ACEOF
    48594901/* end confdefs.h.  */
    48604902
     
    48674909}
    48684910_ACEOF
    4869 if ac_fn_c_try_link "$LINENO"; then :
     4911rm -f conftest.$ac_objext conftest$ac_exeext
     4912if { (ac_try="$ac_link"
     4913case "(($ac_try" in
     4914  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     4915  *) ac_try_echo=$ac_try;;
     4916esac
     4917eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     4918$as_echo "$ac_try_echo") >&5
     4919  (eval "$ac_link") 2>conftest.er1
     4920  ac_status=$?
     4921  grep -v '^ *+' conftest.er1 >conftest.err
     4922  rm -f conftest.er1
     4923  cat conftest.err >&5
     4924  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4925  (exit $ac_status); } && {
     4926         test -z "$ac_c_werror_flag" ||
     4927         test ! -s conftest.err
     4928       } && test -s conftest$ac_exeext && {
     4929         test "$cross_compiling" = yes ||
     4930         $as_test_x conftest$ac_exeext
     4931       }; then
    48704932  tcl_cv_cc_m64=yes
    48714933else
    4872   tcl_cv_cc_m64=no
    4873 fi
    4874 rm -f core conftest.err conftest.$ac_objext \
    4875     conftest$ac_exeext conftest.$ac_ext
     4934  $as_echo "$as_me: failed program was:" >&5
     4935sed 's/^/| /' conftest.$ac_ext >&5
     4936
     4937        tcl_cv_cc_m64=no
     4938fi
     4939
     4940rm -rf conftest.dSYM
     4941rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     4942      conftest$ac_exeext conftest.$ac_ext
    48764943                    CFLAGS=$hold_cflags
    48774944fi
    4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_m64" >&5
     4945{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    48794946$as_echo "$tcl_cv_cc_m64" >&6; }
    48804947                if test $tcl_cv_cc_m64 = yes; then
     
    48964963
    48974964            # XIM peeking works under XFree86.
    4898             $as_echo "#define PEEK_XCLOSEIM 1" >>confdefs.h
     4965            cat >>confdefs.h <<\_ACEOF
     4966#define PEEK_XCLOSEIM 1
     4967_ACEOF
    48994968
    49004969
     
    49134982                LD_SEARCH_FLAGS=""
    49144983            else
    4915                 ac_fn_c_check_header_mongrel "$LINENO" "dld.h" "ac_cv_header_dld_h" "$ac_includes_default"
    4916 if test "x$ac_cv_header_dld_h" = xyes; then :
     4984                if test "${ac_cv_header_dld_h+set}" = set; then
     4985  { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     4986$as_echo_n "checking for dld.h... " >&6; }
     4987if test "${ac_cv_header_dld_h+set}" = set; then
     4988  $as_echo_n "(cached) " >&6
     4989fi
     4990{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4991$as_echo "$ac_cv_header_dld_h" >&6; }
     4992else
     4993  # Is the header compilable?
     4994{ $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
     4995$as_echo_n "checking dld.h usability... " >&6; }
     4996cat >conftest.$ac_ext <<_ACEOF
     4997/* confdefs.h.  */
     4998_ACEOF
     4999cat confdefs.h >>conftest.$ac_ext
     5000cat >>conftest.$ac_ext <<_ACEOF
     5001/* end confdefs.h.  */
     5002$ac_includes_default
     5003#include <dld.h>
     5004_ACEOF
     5005rm -f conftest.$ac_objext
     5006if { (ac_try="$ac_compile"
     5007case "(($ac_try" in
     5008  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5009  *) ac_try_echo=$ac_try;;
     5010esac
     5011eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5012$as_echo "$ac_try_echo") >&5
     5013  (eval "$ac_compile") 2>conftest.er1
     5014  ac_status=$?
     5015  grep -v '^ *+' conftest.er1 >conftest.err
     5016  rm -f conftest.er1
     5017  cat conftest.err >&5
     5018  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5019  (exit $ac_status); } && {
     5020         test -z "$ac_c_werror_flag" ||
     5021         test ! -s conftest.err
     5022       } && test -s conftest.$ac_objext; then
     5023  ac_header_compiler=yes
     5024else
     5025  $as_echo "$as_me: failed program was:" >&5
     5026sed 's/^/| /' conftest.$ac_ext >&5
     5027
     5028        ac_header_compiler=no
     5029fi
     5030
     5031rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5032{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5033$as_echo "$ac_header_compiler" >&6; }
     5034
     5035# Is the header present?
     5036{ $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
     5037$as_echo_n "checking dld.h presence... " >&6; }
     5038cat >conftest.$ac_ext <<_ACEOF
     5039/* confdefs.h.  */
     5040_ACEOF
     5041cat confdefs.h >>conftest.$ac_ext
     5042cat >>conftest.$ac_ext <<_ACEOF
     5043/* end confdefs.h.  */
     5044#include <dld.h>
     5045_ACEOF
     5046if { (ac_try="$ac_cpp conftest.$ac_ext"
     5047case "(($ac_try" in
     5048  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5049  *) ac_try_echo=$ac_try;;
     5050esac
     5051eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5052$as_echo "$ac_try_echo") >&5
     5053  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5054  ac_status=$?
     5055  grep -v '^ *+' conftest.er1 >conftest.err
     5056  rm -f conftest.er1
     5057  cat conftest.err >&5
     5058  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5059  (exit $ac_status); } >/dev/null && {
     5060         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5061         test ! -s conftest.err
     5062       }; then
     5063  ac_header_preproc=yes
     5064else
     5065  $as_echo "$as_me: failed program was:" >&5
     5066sed 's/^/| /' conftest.$ac_ext >&5
     5067
     5068  ac_header_preproc=no
     5069fi
     5070
     5071rm -f conftest.err conftest.$ac_ext
     5072{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5073$as_echo "$ac_header_preproc" >&6; }
     5074
     5075# So?  What about this header?
     5076case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5077  yes:no: )
     5078    { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5079$as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5080    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     5081$as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     5082    ac_header_preproc=yes
     5083    ;;
     5084  no:yes:* )
     5085    { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     5086$as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     5087    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     5088$as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     5089    { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     5090$as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     5091    { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     5092$as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5093    { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     5094$as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     5095    { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     5096$as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     5097    ( cat <<\_ASBOX
     5098## ----------------------------------- ##
     5099## Report this to rappture@nanohub.org ##
     5100## ----------------------------------- ##
     5101_ASBOX
     5102     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5103    ;;
     5104esac
     5105{ $as_echo "$as_me:$LINENO: checking for dld.h" >&5
     5106$as_echo_n "checking for dld.h... " >&6; }
     5107if test "${ac_cv_header_dld_h+set}" = set; then
     5108  $as_echo_n "(cached) " >&6
     5109else
     5110  ac_cv_header_dld_h=$ac_header_preproc
     5111fi
     5112{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     5113$as_echo "$ac_cv_header_dld_h" >&6; }
     5114
     5115fi
     5116if test "x$ac_cv_header_dld_h" = x""yes; then
    49175117
    49185118                    SHLIB_LD="ld -shared"
     
    49645164        NetBSD-*|FreeBSD-[1-2].*)
    49655165            # Not available on all versions:  check for include file.
    4966             ac_fn_c_check_header_mongrel "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default"
    4967 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
     5166            if test "${ac_cv_header_dlfcn_h+set}" = set; then
     5167  { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     5168$as_echo_n "checking for dlfcn.h... " >&6; }
     5169if test "${ac_cv_header_dlfcn_h+set}" = set; then
     5170  $as_echo_n "(cached) " >&6
     5171fi
     5172{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     5173$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     5174else
     5175  # Is the header compilable?
     5176{ $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
     5177$as_echo_n "checking dlfcn.h usability... " >&6; }
     5178cat >conftest.$ac_ext <<_ACEOF
     5179/* confdefs.h.  */
     5180_ACEOF
     5181cat confdefs.h >>conftest.$ac_ext
     5182cat >>conftest.$ac_ext <<_ACEOF
     5183/* end confdefs.h.  */
     5184$ac_includes_default
     5185#include <dlfcn.h>
     5186_ACEOF
     5187rm -f conftest.$ac_objext
     5188if { (ac_try="$ac_compile"
     5189case "(($ac_try" in
     5190  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5191  *) ac_try_echo=$ac_try;;
     5192esac
     5193eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5194$as_echo "$ac_try_echo") >&5
     5195  (eval "$ac_compile") 2>conftest.er1
     5196  ac_status=$?
     5197  grep -v '^ *+' conftest.er1 >conftest.err
     5198  rm -f conftest.er1
     5199  cat conftest.err >&5
     5200  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5201  (exit $ac_status); } && {
     5202         test -z "$ac_c_werror_flag" ||
     5203         test ! -s conftest.err
     5204       } && test -s conftest.$ac_objext; then
     5205  ac_header_compiler=yes
     5206else
     5207  $as_echo "$as_me: failed program was:" >&5
     5208sed 's/^/| /' conftest.$ac_ext >&5
     5209
     5210        ac_header_compiler=no
     5211fi
     5212
     5213rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     5214{ $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     5215$as_echo "$ac_header_compiler" >&6; }
     5216
     5217# Is the header present?
     5218{ $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
     5219$as_echo_n "checking dlfcn.h presence... " >&6; }
     5220cat >conftest.$ac_ext <<_ACEOF
     5221/* confdefs.h.  */
     5222_ACEOF
     5223cat confdefs.h >>conftest.$ac_ext
     5224cat >>conftest.$ac_ext <<_ACEOF
     5225/* end confdefs.h.  */
     5226#include <dlfcn.h>
     5227_ACEOF
     5228if { (ac_try="$ac_cpp conftest.$ac_ext"
     5229case "(($ac_try" in
     5230  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5231  *) ac_try_echo=$ac_try;;
     5232esac
     5233eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5234$as_echo "$ac_try_echo") >&5
     5235  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
     5236  ac_status=$?
     5237  grep -v '^ *+' conftest.er1 >conftest.err
     5238  rm -f conftest.er1
     5239  cat conftest.err >&5
     5240  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5241  (exit $ac_status); } >/dev/null && {
     5242         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     5243         test ! -s conftest.err
     5244       }; then
     5245  ac_header_preproc=yes
     5246else
     5247  $as_echo "$as_me: failed program was:" >&5
     5248sed 's/^/| /' conftest.$ac_ext >&5
     5249
     5250  ac_header_preproc=no
     5251fi
     5252
     5253rm -f conftest.err conftest.$ac_ext
     5254{ $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     5255$as_echo "$ac_header_preproc" >&6; }
     5256
     5257# So?  What about this header?
     5258case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
     5259  yes:no: )
     5260    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
     5261$as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     5262    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
     5263$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
     5264    ac_header_preproc=yes
     5265    ;;
     5266  no:yes:* )
     5267    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
     5268$as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
     5269    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
     5270$as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
     5271    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
     5272$as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
     5273    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
     5274$as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     5275    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
     5276$as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
     5277    { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
     5278$as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
     5279    ( cat <<\_ASBOX
     5280## ----------------------------------- ##
     5281## Report this to rappture@nanohub.org ##
     5282## ----------------------------------- ##
     5283_ASBOX
     5284     ) | sed "s/^/$as_me: WARNING:     /" >&2
     5285    ;;
     5286esac
     5287{ $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     5288$as_echo_n "checking for dlfcn.h... " >&6; }
     5289if test "${ac_cv_header_dlfcn_h+set}" = set; then
     5290  $as_echo_n "(cached) " >&6
     5291else
     5292  ac_cv_header_dlfcn_h=$ac_header_preproc
     5293fi
     5294{ $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     5295$as_echo "$ac_cv_header_dlfcn_h" >&6; }
     5296
     5297fi
     5298if test "x$ac_cv_header_dlfcn_h" = x""yes; then
    49685299
    49695300                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    49765307                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    49775308                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4978                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     5309                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    49795310$as_echo_n "checking for ELF... " >&6; }
    4980 if ${tcl_cv_ld_elf+:} false; then :
     5311if test "${tcl_cv_ld_elf+set}" = set; then
    49815312  $as_echo_n "(cached) " >&6
    49825313else
    49835314
    4984                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5315                    cat >conftest.$ac_ext <<_ACEOF
     5316/* confdefs.h.  */
     5317_ACEOF
     5318cat confdefs.h >>conftest.$ac_ext
     5319cat >>conftest.$ac_ext <<_ACEOF
    49855320/* end confdefs.h.  */
    49865321
     
    49915326_ACEOF
    49925327if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    4993   $EGREP "yes" >/dev/null 2>&1; then :
     5328  $EGREP "yes" >/dev/null 2>&1; then
    49945329  tcl_cv_ld_elf=yes
    49955330else
     
    49995334
    50005335fi
    5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     5336{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    50025337$as_echo "$tcl_cv_ld_elf" >&6; }
    50035338                if test $tcl_cv_ld_elf = yes; then
     
    50585393                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    50595394                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    5060                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ELF" >&5
     5395                { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    50615396$as_echo_n "checking for ELF... " >&6; }
    5062 if ${tcl_cv_ld_elf+:} false; then :
     5397if test "${tcl_cv_ld_elf+set}" = set; then
    50635398  $as_echo_n "(cached) " >&6
    50645399else
    50655400
    5066                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5401                    cat >conftest.$ac_ext <<_ACEOF
     5402/* confdefs.h.  */
     5403_ACEOF
     5404cat confdefs.h >>conftest.$ac_ext
     5405cat >>conftest.$ac_ext <<_ACEOF
    50675406/* end confdefs.h.  */
    50685407
     
    50735412_ACEOF
    50745413if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
    5075   $EGREP "yes" >/dev/null 2>&1; then :
     5414  $EGREP "yes" >/dev/null 2>&1; then
    50765415  tcl_cv_ld_elf=yes
    50775416else
     
    50815420
    50825421fi
    5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_elf" >&5
     5422{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    50845423$as_echo "$tcl_cv_ld_elf" >&6; }
    50855424                if test $tcl_cv_ld_elf = yes; then
     
    51365475                case `arch` in
    51375476                    ppc)
    5138                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch ppc64 flag" >&5
     5477                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    51395478$as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
    5140 if ${tcl_cv_cc_arch_ppc64+:} false; then :
     5479if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    51415480  $as_echo_n "(cached) " >&6
    51425481else
     
    51445483                            hold_cflags=$CFLAGS
    51455484                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
    5146                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5485                            cat >conftest.$ac_ext <<_ACEOF
     5486/* confdefs.h.  */
     5487_ACEOF
     5488cat confdefs.h >>conftest.$ac_ext
     5489cat >>conftest.$ac_ext <<_ACEOF
    51475490/* end confdefs.h.  */
    51485491
     
    51555498}
    51565499_ACEOF
    5157 if ac_fn_c_try_link "$LINENO"; then :
     5500rm -f conftest.$ac_objext conftest$ac_exeext
     5501if { (ac_try="$ac_link"
     5502case "(($ac_try" in
     5503  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5504  *) ac_try_echo=$ac_try;;
     5505esac
     5506eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5507$as_echo "$ac_try_echo") >&5
     5508  (eval "$ac_link") 2>conftest.er1
     5509  ac_status=$?
     5510  grep -v '^ *+' conftest.er1 >conftest.err
     5511  rm -f conftest.er1
     5512  cat conftest.err >&5
     5513  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5514  (exit $ac_status); } && {
     5515         test -z "$ac_c_werror_flag" ||
     5516         test ! -s conftest.err
     5517       } && test -s conftest$ac_exeext && {
     5518         test "$cross_compiling" = yes ||
     5519         $as_test_x conftest$ac_exeext
     5520       }; then
    51585521  tcl_cv_cc_arch_ppc64=yes
    51595522else
    5160   tcl_cv_cc_arch_ppc64=no
    5161 fi
    5162 rm -f core conftest.err conftest.$ac_objext \
    5163     conftest$ac_exeext conftest.$ac_ext
     5523  $as_echo "$as_me: failed program was:" >&5
     5524sed 's/^/| /' conftest.$ac_ext >&5
     5525
     5526        tcl_cv_cc_arch_ppc64=no
     5527fi
     5528
     5529rm -rf conftest.dSYM
     5530rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5531      conftest$ac_exeext conftest.$ac_ext
    51645532                            CFLAGS=$hold_cflags
    51655533fi
    5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_ppc64" >&5
     5534{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    51675535$as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
    51685536                        if test $tcl_cv_cc_arch_ppc64 = yes; then
     
    51715539                        fi;;
    51725540                    i386)
    5173                         { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler accepts -arch x86_64 flag" >&5
     5541                        { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    51745542$as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
    5175 if ${tcl_cv_cc_arch_x86_64+:} false; then :
     5543if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    51765544  $as_echo_n "(cached) " >&6
    51775545else
     
    51795547                            hold_cflags=$CFLAGS
    51805548                            CFLAGS="$CFLAGS -arch x86_64"
    5181                             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5549                            cat >conftest.$ac_ext <<_ACEOF
     5550/* confdefs.h.  */
     5551_ACEOF
     5552cat confdefs.h >>conftest.$ac_ext
     5553cat >>conftest.$ac_ext <<_ACEOF
    51825554/* end confdefs.h.  */
    51835555
     
    51905562}
    51915563_ACEOF
    5192 if ac_fn_c_try_link "$LINENO"; then :
     5564rm -f conftest.$ac_objext conftest$ac_exeext
     5565if { (ac_try="$ac_link"
     5566case "(($ac_try" in
     5567  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5568  *) ac_try_echo=$ac_try;;
     5569esac
     5570eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5571$as_echo "$ac_try_echo") >&5
     5572  (eval "$ac_link") 2>conftest.er1
     5573  ac_status=$?
     5574  grep -v '^ *+' conftest.er1 >conftest.err
     5575  rm -f conftest.er1
     5576  cat conftest.err >&5
     5577  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5578  (exit $ac_status); } && {
     5579         test -z "$ac_c_werror_flag" ||
     5580         test ! -s conftest.err
     5581       } && test -s conftest$ac_exeext && {
     5582         test "$cross_compiling" = yes ||
     5583         $as_test_x conftest$ac_exeext
     5584       }; then
    51935585  tcl_cv_cc_arch_x86_64=yes
    51945586else
    5195   tcl_cv_cc_arch_x86_64=no
    5196 fi
    5197 rm -f core conftest.err conftest.$ac_objext \
    5198     conftest$ac_exeext conftest.$ac_ext
     5587  $as_echo "$as_me: failed program was:" >&5
     5588sed 's/^/| /' conftest.$ac_ext >&5
     5589
     5590        tcl_cv_cc_arch_x86_64=no
     5591fi
     5592
     5593rm -rf conftest.dSYM
     5594rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5595      conftest$ac_exeext conftest.$ac_ext
    51995596                            CFLAGS=$hold_cflags
    52005597fi
    5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_cc_arch_x86_64" >&5
     5598{ $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    52025599$as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
    52035600                        if test $tcl_cv_cc_arch_x86_64 = yes; then
     
    52065603                        fi;;
    52075604                    *)
    5208                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5605                        { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    52095606$as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    52105607                esac
     
    52165613            fi
    52175614            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5218             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -single_module flag" >&5
     5615            { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    52195616$as_echo_n "checking if ld accepts -single_module flag... " >&6; }
    5220 if ${tcl_cv_ld_single_module+:} false; then :
     5617if test "${tcl_cv_ld_single_module+set}" = set; then
    52215618  $as_echo_n "(cached) " >&6
    52225619else
     
    52245621                hold_ldflags=$LDFLAGS
    52255622                LDFLAGS="$LDFLAGS -dynamiclib -Wl,-single_module"
    5226                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5623                cat >conftest.$ac_ext <<_ACEOF
     5624/* confdefs.h.  */
     5625_ACEOF
     5626cat confdefs.h >>conftest.$ac_ext
     5627cat >>conftest.$ac_ext <<_ACEOF
    52275628/* end confdefs.h.  */
    52285629
     
    52355636}
    52365637_ACEOF
    5237 if ac_fn_c_try_link "$LINENO"; then :
     5638rm -f conftest.$ac_objext conftest$ac_exeext
     5639if { (ac_try="$ac_link"
     5640case "(($ac_try" in
     5641  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5642  *) ac_try_echo=$ac_try;;
     5643esac
     5644eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5645$as_echo "$ac_try_echo") >&5
     5646  (eval "$ac_link") 2>conftest.er1
     5647  ac_status=$?
     5648  grep -v '^ *+' conftest.er1 >conftest.err
     5649  rm -f conftest.er1
     5650  cat conftest.err >&5
     5651  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5652  (exit $ac_status); } && {
     5653         test -z "$ac_c_werror_flag" ||
     5654         test ! -s conftest.err
     5655       } && test -s conftest$ac_exeext && {
     5656         test "$cross_compiling" = yes ||
     5657         $as_test_x conftest$ac_exeext
     5658       }; then
    52385659  tcl_cv_ld_single_module=yes
    52395660else
    5240   tcl_cv_ld_single_module=no
    5241 fi
    5242 rm -f core conftest.err conftest.$ac_objext \
    5243     conftest$ac_exeext conftest.$ac_ext
     5661  $as_echo "$as_me: failed program was:" >&5
     5662sed 's/^/| /' conftest.$ac_ext >&5
     5663
     5664        tcl_cv_ld_single_module=no
     5665fi
     5666
     5667rm -rf conftest.dSYM
     5668rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5669      conftest$ac_exeext conftest.$ac_ext
    52445670                LDFLAGS=$hold_ldflags
    52455671fi
    5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_single_module" >&5
     5672{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    52475673$as_echo "$tcl_cv_ld_single_module" >&6; }
    52485674            if test $tcl_cv_ld_single_module = yes; then
     
    52585684                LDFLAGS="$LDFLAGS -prebind"
    52595685            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5260             { $as_echo "$as_me:${as_lineno-$LINENO}: checking if ld accepts -search_paths_first flag" >&5
     5686            { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    52615687$as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
    5262 if ${tcl_cv_ld_search_paths_first+:} false; then :
     5688if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    52635689  $as_echo_n "(cached) " >&6
    52645690else
     
    52665692                hold_ldflags=$LDFLAGS
    52675693                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
    5268                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5694                cat >conftest.$ac_ext <<_ACEOF
     5695/* confdefs.h.  */
     5696_ACEOF
     5697cat confdefs.h >>conftest.$ac_ext
     5698cat >>conftest.$ac_ext <<_ACEOF
    52695699/* end confdefs.h.  */
    52705700
     
    52775707}
    52785708_ACEOF
    5279 if ac_fn_c_try_link "$LINENO"; then :
     5709rm -f conftest.$ac_objext conftest$ac_exeext
     5710if { (ac_try="$ac_link"
     5711case "(($ac_try" in
     5712  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5713  *) ac_try_echo=$ac_try;;
     5714esac
     5715eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5716$as_echo "$ac_try_echo") >&5
     5717  (eval "$ac_link") 2>conftest.er1
     5718  ac_status=$?
     5719  grep -v '^ *+' conftest.er1 >conftest.err
     5720  rm -f conftest.er1
     5721  cat conftest.err >&5
     5722  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5723  (exit $ac_status); } && {
     5724         test -z "$ac_c_werror_flag" ||
     5725         test ! -s conftest.err
     5726       } && test -s conftest$ac_exeext && {
     5727         test "$cross_compiling" = yes ||
     5728         $as_test_x conftest$ac_exeext
     5729       }; then
    52805730  tcl_cv_ld_search_paths_first=yes
    52815731else
    5282   tcl_cv_ld_search_paths_first=no
    5283 fi
    5284 rm -f core conftest.err conftest.$ac_objext \
    5285     conftest$ac_exeext conftest.$ac_ext
     5732  $as_echo "$as_me: failed program was:" >&5
     5733sed 's/^/| /' conftest.$ac_ext >&5
     5734
     5735        tcl_cv_ld_search_paths_first=no
     5736fi
     5737
     5738rm -rf conftest.dSYM
     5739rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5740      conftest$ac_exeext conftest.$ac_ext
    52865741                LDFLAGS=$hold_ldflags
    52875742fi
    5288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_search_paths_first" >&5
     5743{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    52895744$as_echo "$tcl_cv_ld_search_paths_first" >&6; }
    52905745            if test $tcl_cv_ld_search_paths_first = yes; then
     
    52965751            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    52975752            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5298             { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use CoreFoundation" >&5
     5753            { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    52995754$as_echo_n "checking whether to use CoreFoundation... " >&6; }
    53005755            # Check whether --enable-corefoundation was given.
    5301 if test "${enable_corefoundation+set}" = set; then :
     5756if test "${enable_corefoundation+set}" = set; then
    53025757  enableval=$enable_corefoundation; tcl_corefoundation=$enableval
    53035758else
     
    53055760fi
    53065761
    5307             { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_corefoundation" >&5
     5762            { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    53085763$as_echo "$tcl_corefoundation" >&6; }
    53095764            if test $tcl_corefoundation = yes; then
    5310                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CoreFoundation.framework" >&5
     5765                { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    53115766$as_echo_n "checking for CoreFoundation.framework... " >&6; }
    5312 if ${tcl_cv_lib_corefoundation+:} false; then :
     5767if test "${tcl_cv_lib_corefoundation+set}" = set; then
    53135768  $as_echo_n "(cached) " >&6
    53145769else
     
    53225777                    done; fi
    53235778                    LIBS="$LIBS -framework CoreFoundation"
    5324                     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5779                    cat >conftest.$ac_ext <<_ACEOF
     5780/* confdefs.h.  */
     5781_ACEOF
     5782cat confdefs.h >>conftest.$ac_ext
     5783cat >>conftest.$ac_ext <<_ACEOF
    53255784/* end confdefs.h.  */
    53265785#include <CoreFoundation/CoreFoundation.h>
     
    53335792}
    53345793_ACEOF
    5335 if ac_fn_c_try_link "$LINENO"; then :
     5794rm -f conftest.$ac_objext conftest$ac_exeext
     5795if { (ac_try="$ac_link"
     5796case "(($ac_try" in
     5797  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5798  *) ac_try_echo=$ac_try;;
     5799esac
     5800eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5801$as_echo "$ac_try_echo") >&5
     5802  (eval "$ac_link") 2>conftest.er1
     5803  ac_status=$?
     5804  grep -v '^ *+' conftest.er1 >conftest.err
     5805  rm -f conftest.er1
     5806  cat conftest.err >&5
     5807  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5808  (exit $ac_status); } && {
     5809         test -z "$ac_c_werror_flag" ||
     5810         test ! -s conftest.err
     5811       } && test -s conftest$ac_exeext && {
     5812         test "$cross_compiling" = yes ||
     5813         $as_test_x conftest$ac_exeext
     5814       }; then
    53365815  tcl_cv_lib_corefoundation=yes
    53375816else
    5338   tcl_cv_lib_corefoundation=no
    5339 fi
    5340 rm -f core conftest.err conftest.$ac_objext \
    5341     conftest$ac_exeext conftest.$ac_ext
     5817  $as_echo "$as_me: failed program was:" >&5
     5818sed 's/^/| /' conftest.$ac_ext >&5
     5819
     5820        tcl_cv_lib_corefoundation=no
     5821fi
     5822
     5823rm -rf conftest.dSYM
     5824rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5825      conftest$ac_exeext conftest.$ac_ext
    53425826                    if test "$fat_32_64" = yes; then for v in CFLAGS CPPFLAGS LDFLAGS; do
    53435827                        eval $v'="$hold_'$v'"'
    53445828                    done; fi; LIBS=$hold_libs
    53455829fi
    5346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation" >&5
     5830{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    53475831$as_echo "$tcl_cv_lib_corefoundation" >&6; }
    53485832                if test $tcl_cv_lib_corefoundation = yes; then
    53495833                    LIBS="$LIBS -framework CoreFoundation"
    5350                     $as_echo "#define HAVE_COREFOUNDATION 1" >>confdefs.h
     5834                    cat >>confdefs.h <<\_ACEOF
     5835#define HAVE_COREFOUNDATION 1
     5836_ACEOF
    53515837
    53525838                else
     
    53545840                fi
    53555841                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5356                     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit CoreFoundation" >&5
     5842                    { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    53575843$as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
    5358 if ${tcl_cv_lib_corefoundation_64+:} false; then :
     5844if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    53595845  $as_echo_n "(cached) " >&6
    53605846else
     
    53635849                            eval 'hold_'$v'="$'$v'";'$v'="`echo "$'$v' "|sed -e "s/-arch ppc / /g" -e "s/-arch i386 / /g"`"'
    53645850                        done
    5365                         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     5851                        cat >conftest.$ac_ext <<_ACEOF
     5852/* confdefs.h.  */
     5853_ACEOF
     5854cat confdefs.h >>conftest.$ac_ext
     5855cat >>conftest.$ac_ext <<_ACEOF
    53665856/* end confdefs.h.  */
    53675857#include <CoreFoundation/CoreFoundation.h>
     
    53745864}
    53755865_ACEOF
    5376 if ac_fn_c_try_link "$LINENO"; then :
     5866rm -f conftest.$ac_objext conftest$ac_exeext
     5867if { (ac_try="$ac_link"
     5868case "(($ac_try" in
     5869  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     5870  *) ac_try_echo=$ac_try;;
     5871esac
     5872eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     5873$as_echo "$ac_try_echo") >&5
     5874  (eval "$ac_link") 2>conftest.er1
     5875  ac_status=$?
     5876  grep -v '^ *+' conftest.er1 >conftest.err
     5877  rm -f conftest.er1
     5878  cat conftest.err >&5
     5879  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5880  (exit $ac_status); } && {
     5881         test -z "$ac_c_werror_flag" ||
     5882         test ! -s conftest.err
     5883       } && test -s conftest$ac_exeext && {
     5884         test "$cross_compiling" = yes ||
     5885         $as_test_x conftest$ac_exeext
     5886       }; then
    53775887  tcl_cv_lib_corefoundation_64=yes
    53785888else
    5379   tcl_cv_lib_corefoundation_64=no
    5380 fi
    5381 rm -f core conftest.err conftest.$ac_objext \
    5382     conftest$ac_exeext conftest.$ac_ext
     5889  $as_echo "$as_me: failed program was:" >&5
     5890sed 's/^/| /' conftest.$ac_ext >&5
     5891
     5892        tcl_cv_lib_corefoundation_64=no
     5893fi
     5894
     5895rm -rf conftest.dSYM
     5896rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     5897      conftest$ac_exeext conftest.$ac_ext
    53835898                        for v in CFLAGS CPPFLAGS LDFLAGS; do
    53845899                            eval $v'="$hold_'$v'"'
    53855900                        done
    53865901fi
    5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_lib_corefoundation_64" >&5
     5902{ $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    53885903$as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
    53895904                    if test $tcl_cv_lib_corefoundation_64 = no; then
    5390                         $as_echo "#define NO_COREFOUNDATION_64 1" >>confdefs.h
     5905                        cat >>confdefs.h <<\_ACEOF
     5906#define NO_COREFOUNDATION_64 1
     5907_ACEOF
    53915908
    53925909                    fi
    53935910                fi
    53945911            fi
    5395             $as_echo "#define MAC_OSX_TCL 1" >>confdefs.h
     5912            cat >>confdefs.h <<\_ACEOF
     5913#define MAC_OSX_TCL 1
     5914_ACEOF
    53965915
    53975916            ;;
     
    54085927        OS/390-*)
    54095928            CFLAGS_OPTIMIZE=""          # Optimizer is buggy
    5410             $as_echo "#define _OE_SOCKETS 1" >>confdefs.h
     5929            cat >>confdefs.h <<\_ACEOF
     5930#define _OE_SOCKETS 1
     5931_ACEOF
    54115932        # needed in sys/socket.h
    54125933            ;;
     
    55496070            # won't define thread-safe library routines.
    55506071
    5551             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5552 
    5553             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     6072            cat >>confdefs.h <<\_ACEOF
     6073#define _REENTRANT 1
     6074_ACEOF
     6075
     6076            cat >>confdefs.h <<\_ACEOF
     6077#define _POSIX_PTHREAD_SEMANTICS 1
     6078_ACEOF
    55546079
    55556080
     
    55776102            # won't define thread-safe library routines.
    55786103
    5579             $as_echo "#define _REENTRANT 1" >>confdefs.h
    5580 
    5581             $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
     6104            cat >>confdefs.h <<\_ACEOF
     6105#define _REENTRANT 1
     6106_ACEOF
     6107
     6108            cat >>confdefs.h <<\_ACEOF
     6109#define _POSIX_PTHREAD_SEMANTICS 1
     6110_ACEOF
    55826111
    55836112
     
    55906119                        if test "$GCC" = "yes" ; then
    55916120                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5592                                 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     6121                                { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    55936122$as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    55946123                            else
     
    56126141                elif test "$arch" = "amd64 i386" ; then
    56136142                    if test "$GCC" = "yes" ; then
    5614                         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported with GCC on $system" >&5
     6143                        { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    56156144$as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    56166145                    else
     
    56206149                    fi
    56216150                else
    5622                     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit mode not supported for $arch" >&5
     6151                    { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    56236152$as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    56246153                fi
     
    56796208            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    56806209            # that don't grok the -Bexport option.  Test that it does.
    5681             { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld accepts -Bexport flag" >&5
     6210            { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    56826211$as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
    5683 if ${tcl_cv_ld_Bexport+:} false; then :
     6212if test "${tcl_cv_ld_Bexport+set}" = set; then
    56846213  $as_echo_n "(cached) " >&6
    56856214else
     
    56876216                hold_ldflags=$LDFLAGS
    56886217                LDFLAGS="$LDFLAGS -Wl,-Bexport"
    5689                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6218                cat >conftest.$ac_ext <<_ACEOF
     6219/* confdefs.h.  */
     6220_ACEOF
     6221cat confdefs.h >>conftest.$ac_ext
     6222cat >>conftest.$ac_ext <<_ACEOF
    56906223/* end confdefs.h.  */
    56916224
     
    56986231}
    56996232_ACEOF
    5700 if ac_fn_c_try_link "$LINENO"; then :
     6233rm -f conftest.$ac_objext conftest$ac_exeext
     6234if { (ac_try="$ac_link"
     6235case "(($ac_try" in
     6236  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6237  *) ac_try_echo=$ac_try;;
     6238esac
     6239eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6240$as_echo "$ac_try_echo") >&5
     6241  (eval "$ac_link") 2>conftest.er1
     6242  ac_status=$?
     6243  grep -v '^ *+' conftest.er1 >conftest.err
     6244  rm -f conftest.er1
     6245  cat conftest.err >&5
     6246  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6247  (exit $ac_status); } && {
     6248         test -z "$ac_c_werror_flag" ||
     6249         test ! -s conftest.err
     6250       } && test -s conftest$ac_exeext && {
     6251         test "$cross_compiling" = yes ||
     6252         $as_test_x conftest$ac_exeext
     6253       }; then
    57016254  tcl_cv_ld_Bexport=yes
    57026255else
    5703   tcl_cv_ld_Bexport=no
    5704 fi
    5705 rm -f core conftest.err conftest.$ac_objext \
    5706     conftest$ac_exeext conftest.$ac_ext
     6256  $as_echo "$as_me: failed program was:" >&5
     6257sed 's/^/| /' conftest.$ac_ext >&5
     6258
     6259        tcl_cv_ld_Bexport=no
     6260fi
     6261
     6262rm -rf conftest.dSYM
     6263rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
     6264      conftest$ac_exeext conftest.$ac_ext
    57076265                LDFLAGS=$hold_ldflags
    57086266fi
    5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_ld_Bexport" >&5
     6267{ $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    57106268$as_echo "$tcl_cv_ld_Bexport" >&6; }
    57116269            if test $tcl_cv_ld_Bexport = yes; then
     
    57186276
    57196277    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5720         { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     6278        { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    57216279$as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    57226280    fi
     
    57456303
    57466304    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5747         { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec.h" >&5
     6305        { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
    57486306$as_echo_n "checking sys/exec.h... " >&6; }
    5749 if ${tcl_cv_sysexec_h+:} false; then :
     6307if test "${tcl_cv_sysexec_h+set}" = set; then
    57506308  $as_echo_n "(cached) " >&6
    57516309else
    57526310
    5753         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6311        cat >conftest.$ac_ext <<_ACEOF
     6312/* confdefs.h.  */
     6313_ACEOF
     6314cat confdefs.h >>conftest.$ac_ext
     6315cat >>conftest.$ac_ext <<_ACEOF
    57546316/* end confdefs.h.  */
    57556317#include <sys/exec.h>
     
    57736335}
    57746336_ACEOF
    5775 if ac_fn_c_try_compile "$LINENO"; then :
     6337rm -f conftest.$ac_objext
     6338if { (ac_try="$ac_compile"
     6339case "(($ac_try" in
     6340  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6341  *) ac_try_echo=$ac_try;;
     6342esac
     6343eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6344$as_echo "$ac_try_echo") >&5
     6345  (eval "$ac_compile") 2>conftest.er1
     6346  ac_status=$?
     6347  grep -v '^ *+' conftest.er1 >conftest.err
     6348  rm -f conftest.er1
     6349  cat conftest.err >&5
     6350  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6351  (exit $ac_status); } && {
     6352         test -z "$ac_c_werror_flag" ||
     6353         test ! -s conftest.err
     6354       } && test -s conftest.$ac_objext; then
    57766355  tcl_cv_sysexec_h=usable
    57776356else
    5778   tcl_cv_sysexec_h=unusable
    5779 fi
     6357  $as_echo "$as_me: failed program was:" >&5
     6358sed 's/^/| /' conftest.$ac_ext >&5
     6359
     6360        tcl_cv_sysexec_h=unusable
     6361fi
     6362
    57806363rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    57816364fi
    5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexec_h" >&5
     6365{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    57836366$as_echo "$tcl_cv_sysexec_h" >&6; }
    57846367        if test $tcl_cv_sysexec_h = usable; then
    5785             $as_echo "#define USE_SYS_EXEC_H 1" >>confdefs.h
     6368            cat >>confdefs.h <<\_ACEOF
     6369#define USE_SYS_EXEC_H 1
     6370_ACEOF
    57866371
    57876372        else
    5788             { $as_echo "$as_me:${as_lineno-$LINENO}: checking a.out.h" >&5
     6373            { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
    57896374$as_echo_n "checking a.out.h... " >&6; }
    5790 if ${tcl_cv_aout_h+:} false; then :
     6375if test "${tcl_cv_aout_h+set}" = set; then
    57916376  $as_echo_n "(cached) " >&6
    57926377else
    57936378
    5794             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6379            cat >conftest.$ac_ext <<_ACEOF
     6380/* confdefs.h.  */
     6381_ACEOF
     6382cat confdefs.h >>conftest.$ac_ext
     6383cat >>conftest.$ac_ext <<_ACEOF
    57956384/* end confdefs.h.  */
    57966385#include <a.out.h>
     
    58146403}
    58156404_ACEOF
    5816 if ac_fn_c_try_compile "$LINENO"; then :
     6405rm -f conftest.$ac_objext
     6406if { (ac_try="$ac_compile"
     6407case "(($ac_try" in
     6408  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6409  *) ac_try_echo=$ac_try;;
     6410esac
     6411eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6412$as_echo "$ac_try_echo") >&5
     6413  (eval "$ac_compile") 2>conftest.er1
     6414  ac_status=$?
     6415  grep -v '^ *+' conftest.er1 >conftest.err
     6416  rm -f conftest.er1
     6417  cat conftest.err >&5
     6418  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6419  (exit $ac_status); } && {
     6420         test -z "$ac_c_werror_flag" ||
     6421         test ! -s conftest.err
     6422       } && test -s conftest.$ac_objext; then
    58176423  tcl_cv_aout_h=usable
    58186424else
    5819   tcl_cv_aout_h=unusable
    5820 fi
     6425  $as_echo "$as_me: failed program was:" >&5
     6426sed 's/^/| /' conftest.$ac_ext >&5
     6427
     6428        tcl_cv_aout_h=unusable
     6429fi
     6430
    58216431rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    58226432fi
    5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_aout_h" >&5
     6433{ $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    58246434$as_echo "$tcl_cv_aout_h" >&6; }
    58256435            if test $tcl_cv_aout_h = usable; then
    5826                 $as_echo "#define USE_A_OUT_H 1" >>confdefs.h
     6436                cat >>confdefs.h <<\_ACEOF
     6437#define USE_A_OUT_H 1
     6438_ACEOF
    58276439
    58286440            else
    5829                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sys/exec_aout.h" >&5
     6441                { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    58306442$as_echo_n "checking sys/exec_aout.h... " >&6; }
    5831 if ${tcl_cv_sysexecaout_h+:} false; then :
     6443if test "${tcl_cv_sysexecaout_h+set}" = set; then
    58326444  $as_echo_n "(cached) " >&6
    58336445else
    58346446
    5835                 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     6447                cat >conftest.$ac_ext <<_ACEOF
     6448/* confdefs.h.  */
     6449_ACEOF
     6450cat confdefs.h >>conftest.$ac_ext
     6451cat >>conftest.$ac_ext <<_ACEOF
    58366452/* end confdefs.h.  */
    58376453#include <sys/exec_aout.h>
     
    58556471}
    58566472_ACEOF
    5857 if ac_fn_c_try_compile "$LINENO"; then :
     6473rm -f conftest.$ac_objext
     6474if { (ac_try="$ac_compile"
     6475case "(($ac_try" in
     6476  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
     6477  *) ac_try_echo=$ac_try;;
     6478esac
     6479eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
     6480$as_echo "$ac_try_echo") >&5
     6481  (eval "$ac_compile") 2>conftest.er1
     6482  ac_status=$?
     6483  grep -v '^ *+' conftest.er1 >conftest.err
     6484  rm -f conftest.er1
     6485  cat conftest.err >&5
     6486  $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6487  (exit $ac_status); } && {
     6488         test -z "$ac_c_werror_flag" ||
     6489         test ! -s conftest.err
     6490       } && test -s conftest.$ac_objext; then
    58586491  tcl_cv_sysexecaout_h=usable
    58596492else
    5860   tcl_cv_sysexecaout_h=unusable
    5861 fi
     6493  $as_echo "$as_me: failed program was:" >&5
     6494sed 's/^/| /' conftest.$ac_ext >&5
     6495
     6496        tcl_cv_sysexecaout_h=unusable
     6497fi
     6498
    58626499rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    58636500fi
    5864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $tcl_cv_sysexecaout_h" >&5
     6501{ $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    58656502$as_echo "$tcl_cv_sysexecaout_h" >&6; }
    58666503                if test $tcl_cv_sysexecaout_h = usable; then
    5867                     $as_echo "#define USE_SYS_EXEC_AOUT_H 1" >>confdefs.h
     6504                    cat >>confdefs.h <<\_ACEOF
     6505#define USE_SYS_EXEC_AOUT_H 1
     6506_ACEOF
    58686507
    58696508                else
     
    58776516
    58786517    # Check whether --enable-load was given.
    5879 if test "${enable_load+set}" = set; then :
     6518if test "${enable_load+set}" = set; then
    58806519  enableval=$enable_load; tcl_ok=$enableval
    58816520else
     
    60006639
    60016640
    6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
     6641{ $as_echo "$as_me:$LINENO: checking for X" >&5
    60036642$as_echo_n "checking for X... " >&6; }
    60046643
    60056644
    60066645# Check whether --with-x was given.
    6007 if test "${with_x+set}" = set; then :
     6646if test "${with_x+set}" = set; then
    60086647  withval=$with_x;
    60096648fi
     
    60156654else
    60166655  case $x_includes,$x_libraries in #(
    6017     *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
    6018     *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
     6656    *\'*) { { $as_echo "$as_me:$LINENO: error: cannot use X directory names containing '" >&5
     6657$as_echo "$as_me: error: cannot use X directory names containing '" >&2;}
     6658   { (exit 1); exit 1; }; };; #(
     6659    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
    60196660  $as_echo_n "(cached) " >&6
    60206661else
     
    60336674_ACEOF
    60346675  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
    6035     # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
     6676    # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
    60366677    for ac_var in incroot usrlibdir libdir; do
    60376678      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
     
    60646705ac_x_header_dirs='
    60656706/usr/X11/include
    6066 /usr/X11R7/include
    60676707/usr/X11R6/include
    60686708/usr/X11R5/include
     
    60706710
    60716711/usr/include/X11
    6072 /usr/include/X11R7
    60736712/usr/include/X11R6
    60746713/usr/include/X11R5
     
    60766715
    60776716/usr/local/X11/include
    6078 /usr/local/X11R7/include
    60796717/usr/local/X11R6/include
    60806718/usr/local/X11R5/include
     
    60826720
    60836721/usr/local/include/X11
    6084 /usr/local/include/X11R7
    60856722/usr/local/include/X11R6
    60866723/usr/local/include/X11R5