Ignore:
Timestamp:
Mar 2, 2009, 10:30:04 PM (16 years ago)
Author:
dkearney
Message:

adding jwire test script
adding Rappture AVTranslate object as a way to turn a series of rgb data into an mpeg movie
i hate tabs in code
added AVTranslate object to flow capture command
updated flow commands to use Rappture::CmdSpec? for parsing commands

Location:
trunk/packages/vizservers
Files:
4 added
5 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/configure

    r1278 r1282  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.63 for vizservers 0.1.
     3# Generated by GNU Autoconf 2.61 for vizservers 0.1.
    44#
    55# Report bugs to <rappture@nanohub.org>.
    66#
    77# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     8# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    99# This configure script is free software; the Free Software Foundation
    1010# gives unlimited permission to copy, distribute and modify it.
     
    1818  emulate sh
    1919  NULLCMD=:
    20   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     20  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    2121  # is contrary to our usage.  Disable this feature.
    2222  alias -g '${1+"$@"}'='"$@"'
     
    4040as_cr_alnum=$as_cr_Letters$as_cr_digits
    4141
    42 as_nl='
    43 '
    44 export as_nl
    45 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    46 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    47 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    48 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    49 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    50   as_echo='printf %s\n'
    51   as_echo_n='printf %s'
    52 else
    53   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    54     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    55     as_echo_n='/usr/ucb/echo -n'
    56   else
    57     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    58     as_echo_n_body='eval
    59       arg=$1;
    60       case $arg in
    61       *"$as_nl"*)
    62         expr "X$arg" : "X\\(.*\\)$as_nl";
    63         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    64       esac;
    65       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    66     '
    67     export as_echo_n_body
    68     as_echo_n='sh -c $as_echo_n_body as_echo'
    69   fi
    70   export as_echo_body
    71   as_echo='sh -c $as_echo_body as_echo'
    72 fi
    73 
    7442# The user is always right.
    7543if test "${PATH_SEPARATOR+set}" != set; then
    76   PATH_SEPARATOR=:
    77   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    79       PATH_SEPARATOR=';'
    80   }
     44  echo "#! /bin/sh" >conf$$.sh
     45  echo  "exit 0"   >>conf$$.sh
     46  chmod +x conf$$.sh
     47  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     48    PATH_SEPARATOR=';'
     49  else
     50    PATH_SEPARATOR=:
     51  fi
     52  rm -f conf$$.sh
    8153fi
    8254
     
    9466# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    9567# splitting by setting IFS to empty value.)
     68as_nl='
     69'
    9670IFS=" ""        $as_nl"
    9771
     
    11690fi
    11791if test ! -f "$as_myself"; then
    118   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     92  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    11993  { (exit 1); exit 1; }
    12094fi
     
    129103
    130104# NLS nuisances.
    131 LC_ALL=C
    132 export LC_ALL
    133 LANGUAGE=C
    134 export LANGUAGE
     105for as_var in \
     106  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     107  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     108  LC_TELEPHONE LC_TIME
     109do
     110  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     111    eval $as_var=C; export $as_var
     112  else
     113    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     114  fi
     115done
    135116
    136117# Required to use basename.
     
    154135         X"$0" : 'X\(//\)$' \| \
    155136         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    156 $as_echo X/"$0" |
     137echo X/"$0" |
    157138    sed '/^.*\/\([^/][^/]*\)\/*$/{
    158139            s//\1/
     
    180161fi
    181162
    182   if test $as_have_required = yes &&     (eval ":
     163  if test $as_have_required = yes &&     (eval ":
    183164(as_func_return () {
    184165  (exit \$1)
     
    262243  emulate sh
    263244  NULLCMD=:
    264   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     245  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    265246  # is contrary to our usage.  Disable this feature.
    266247  alias -g '${1+"$@"}'='"$@"'
     
    283264  emulate sh
    284265  NULLCMD=:
    285   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     266  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    286267  # is contrary to our usage.  Disable this feature.
    287268  alias -g '${1+"$@"}'='"$@"'
     
    363344      if test "x$CONFIG_SHELL" != x; then
    364345  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+"$@"}
     346        do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     347        done
     348        export CONFIG_SHELL
     349        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
    369350fi
    370351
     
    435416test \$exitcode = 0") || {
    436417  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.
     418  echo Please tell autoconf@gnu.org about your system,
     419  echo including any error possibly output before this
     420  echo message
    441421}
    442422
     
    474454    ' >$as_me.lineno &&
    475455  chmod +x "$as_me.lineno" ||
    476     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     456    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    477457   { (exit 1); exit 1; }; }
    478458
     
    502482  ECHO_N='-n';;
    503483esac
     484
    504485if expr a : '\(a\)' >/dev/null 2>&1 &&
    505486   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    514495else
    515496  rm -f conf$$.dir
    516   mkdir conf$$.dir 2>/dev/null
    517 fi
    518 if (echo >conf$$.file) 2>/dev/null; then
    519   if ln -s conf$$.file conf$$ 2>/dev/null; then
    520     as_ln_s='ln -s'
    521     # ... but there are two gotchas:
    522     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    523     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    524     # In both cases, we have to default to `cp -p'.
    525     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    526       as_ln_s='cp -p'
    527   elif ln conf$$.file conf$$ 2>/dev/null; then
    528     as_ln_s=ln
    529   else
     497  mkdir conf$$.dir
     498fi
     499echo >conf$$.file
     500if ln -s conf$$.file conf$$ 2>/dev/null; then
     501  as_ln_s='ln -s'
     502  # ... but there are two gotchas:
     503  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     504  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     505  # In both cases, we have to default to `cp -p'.
     506  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    530507    as_ln_s='cp -p'
    531   fi
     508elif ln conf$$.file conf$$ 2>/dev/null; then
     509  as_ln_s=ln
    532510else
    533511  as_ln_s='cp -p'
     
    554532    eval sh -c '\''
    555533      if test -d "$1"; then
    556         test -d "$1/.";
     534        test -d "$1/.";
    557535      else
    558536        case $1 in
    559         -*)set "./$1";;
     537        -*)set "./$1";;
    560538        esac;
    561539        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     
    637615#endif"
    638616
    639 ac_subst_vars='LTLIBOBJS
     617ac_subst_vars='SHELL
     618PATH_SEPARATOR
     619PACKAGE_NAME
     620PACKAGE_TARNAME
     621PACKAGE_VERSION
     622PACKAGE_STRING
     623PACKAGE_BUGREPORT
     624exec_prefix
     625prefix
     626program_transform_name
     627bindir
     628sbindir
     629libexecdir
     630datarootdir
     631datadir
     632sysconfdir
     633sharedstatedir
     634localstatedir
     635includedir
     636oldincludedir
     637docdir
     638infodir
     639htmldir
     640dvidir
     641pdfdir
     642psdir
     643libdir
     644localedir
     645mandir
     646DEFS
     647ECHO_C
     648ECHO_N
     649ECHO_T
     650LIBS
     651build_alias
     652host_alias
     653target_alias
     654VERSION
     655CC
     656CFLAGS
     657LDFLAGS
     658CPPFLAGS
     659ac_ct_CC
     660EXEEXT
     661OBJEXT
     662RANLIB
     663AR
     664CPP
     665GREP
     666EGREP
     667DL_LIBS
     668DL_OBJS
     669PLAT_OBJS
     670PLAT_SRCS
     671CFLAGS_DEBUG
     672CFLAGS_OPTIMIZE
     673CFLAGS_WARNING
     674LDFLAGS_DEBUG
     675LDFLAGS_OPTIMIZE
     676CC_SEARCH_FLAGS
     677LD_SEARCH_FLAGS
     678STLIB_LD
     679SHLIB_LD
     680TCL_SHLIB_LD_EXTRAS
     681TK_SHLIB_LD_EXTRAS
     682SHLIB_LD_LIBS
     683SHLIB_CFLAGS
     684SHLIB_SUFFIX
     685MAKE_LIB
     686MAKE_STUB_LIB
     687INSTALL_LIB
     688INSTALL_STUB_LIB
     689SHLIB_LDFLAGS
     690INSTALL_PROGRAM
     691INSTALL_SCRIPT
     692INSTALL_DATA
     693LN_S
     694CXX
     695CXXFLAGS
     696ac_ct_CXX
     697CXXCPP
     698SUBDIRS
     699TCL_VERSION
     700TCL_INC_SPEC
     701TCL_LIB_SPEC
     702RP2_INCL_DIR
     703RP_DIR
     704DX_DIR
     705FFMPEG_DIR
     706CG_DIR
     707LD_RPATH
    640708LIBOBJS
    641 LD_RPATH
    642 CG_DIR
    643 DX_DIR
    644 RP_DIR
    645 RP2_INCL_DIR
    646 TCL_LIB_SPEC
    647 TCL_INC_SPEC
    648 TCL_VERSION
    649 SUBDIRS
    650 CXXCPP
    651 ac_ct_CXX
    652 CXXFLAGS
    653 CXX
    654 MKDIR_P
    655 LN_S
    656 INSTALL_DATA
    657 INSTALL_SCRIPT
    658 INSTALL_PROGRAM
    659 SHLIB_LDFLAGS
    660 INSTALL_STUB_LIB
    661 INSTALL_LIB
    662 MAKE_STUB_LIB
    663 MAKE_LIB
    664 SHLIB_SUFFIX
    665 SHLIB_CFLAGS
    666 SHLIB_LD_LIBS
    667 TK_SHLIB_LD_EXTRAS
    668 TCL_SHLIB_LD_EXTRAS
    669 SHLIB_LD
    670 STLIB_LD
    671 LD_SEARCH_FLAGS
    672 CC_SEARCH_FLAGS
    673 LDFLAGS_OPTIMIZE
    674 LDFLAGS_DEBUG
    675 CFLAGS_WARNING
    676 CFLAGS_OPTIMIZE
    677 CFLAGS_DEBUG
    678 PLAT_SRCS
    679 PLAT_OBJS
    680 DL_OBJS
    681 DL_LIBS
    682 EGREP
    683 GREP
    684 CPP
    685 AR
    686 RANLIB
    687 OBJEXT
    688 EXEEXT
    689 ac_ct_CC
    690 CPPFLAGS
    691 LDFLAGS
    692 CFLAGS
    693 CC
    694 VERSION
    695 target_alias
    696 host_alias
    697 build_alias
    698 LIBS
    699 ECHO_T
    700 ECHO_N
    701 ECHO_C
    702 DEFS
    703 mandir
    704 localedir
    705 libdir
    706 psdir
    707 pdfdir
    708 dvidir
    709 htmldir
    710 infodir
    711 docdir
    712 oldincludedir
    713 includedir
    714 localstatedir
    715 sharedstatedir
    716 sysconfdir
    717 datadir
    718 datarootdir
    719 libexecdir
    720 sbindir
    721 bindir
    722 program_transform_name
    723 prefix
    724 exec_prefix
    725 PACKAGE_BUGREPORT
    726 PACKAGE_STRING
    727 PACKAGE_VERSION
    728 PACKAGE_TARNAME
    729 PACKAGE_NAME
    730 PATH_SEPARATOR
    731 SHELL'
     709LTLIBOBJS'
    732710ac_subst_files=''
    733 ac_user_opts='
    734 enable_option_checking
    735 enable_64bit
    736 enable_64bit_vis
    737 enable_corefoundation
    738 enable_load
    739 with_tcllib
    740 with_rappture
    741 '
    742711      ac_precious_vars='build_alias
    743712host_alias
     
    758727ac_init_help=
    759728ac_init_version=false
    760 ac_unrecognized_opts=
    761 ac_unrecognized_sep=
    762729# The variables have the same names as the options, with
    763730# dashes changed to underlines.
     
    858825
    859826  -disable-* | --disable-*)
    860     ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
     827    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
    861828    # Reject names that are not valid shell variable names.
    862     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    863       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     829    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     830      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    864831   { (exit 1); exit 1; }; }
    865     ac_useropt_orig=$ac_useropt
    866     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    867     case $ac_user_opts in
    868       *"
    869 "enable_$ac_useropt"
    870 "*) ;;
    871       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
    872          ac_unrecognized_sep=', ';;
    873     esac
    874     eval enable_$ac_useropt=no ;;
     832    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     833    eval enable_$ac_feature=no ;;
    875834
    876835  -docdir | --docdir | --docdi | --doc | --do)
     
    885844
    886845  -enable-* | --enable-*)
    887     ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
     846    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
    888847    # Reject names that are not valid shell variable names.
    889     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    890       { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
     848    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     849      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
    891850   { (exit 1); exit 1; }; }
    892     ac_useropt_orig=$ac_useropt
    893     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    894     case $ac_user_opts in
    895       *"
    896 "enable_$ac_useropt"
    897 "*) ;;
    898       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
    899          ac_unrecognized_sep=', ';;
    900     esac
    901     eval enable_$ac_useropt=\$ac_optarg ;;
     851    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
     852    eval enable_$ac_feature=\$ac_optarg ;;
    902853
    903854  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
     
    10901041
    10911042  -with-* | --with-*)
    1092     ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
     1043    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
    10931044    # Reject names that are not valid shell variable names.
    1094     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1095       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1045    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     1046      { echo "$as_me: error: invalid package name: $ac_package" >&2
    10961047   { (exit 1); exit 1; }; }
    1097     ac_useropt_orig=$ac_useropt
    1098     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1099     case $ac_user_opts in
    1100       *"
    1101 "with_$ac_useropt"
    1102 "*) ;;
    1103       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
    1104          ac_unrecognized_sep=', ';;
    1105     esac
    1106     eval with_$ac_useropt=\$ac_optarg ;;
     1048    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1049    eval with_$ac_package=\$ac_optarg ;;
    11071050
    11081051  -without-* | --without-*)
    1109     ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
     1052    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
    11101053    # Reject names that are not valid shell variable names.
    1111     expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
    1112       { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
     1054    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
     1055      { echo "$as_me: error: invalid package name: $ac_package" >&2
    11131056   { (exit 1); exit 1; }; }
    1114     ac_useropt_orig=$ac_useropt
    1115     ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
    1116     case $ac_user_opts in
    1117       *"
    1118 "with_$ac_useropt"
    1119 "*) ;;
    1120       *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
    1121          ac_unrecognized_sep=', ';;
    1122     esac
    1123     eval with_$ac_useropt=no ;;
     1057    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
     1058    eval with_$ac_package=no ;;
    11241059
    11251060  --x)
     
    11411076    x_libraries=$ac_optarg ;;
    11421077
    1143   -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
     1078  -*) { echo "$as_me: error: unrecognized option: $ac_option
    11441079Try \`$0 --help' for more information." >&2
    11451080   { (exit 1); exit 1; }; }
     
    11501085    # Reject names that are not valid shell variable names.
    11511086    expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
    1152       { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
     1087      { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
    11531088   { (exit 1); exit 1; }; }
    11541089    eval $ac_envvar=\$ac_optarg
     
    11571092  *)
    11581093    # FIXME: should be removed in autoconf 3.0.
    1159     $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
     1094    echo "$as_me: WARNING: you should use --build, --host, --target" >&2
    11601095    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
    1161       $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
     1096      echo "$as_me: WARNING: invalid host type: $ac_option" >&2
    11621097    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
    11631098    ;;
     
    11681103if test -n "$ac_prev"; then
    11691104  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
    1170   { $as_echo "$as_me: error: missing argument to $ac_option" >&2
     1105  { echo "$as_me: error: missing argument to $ac_option" >&2
    11711106   { (exit 1); exit 1; }; }
    11721107fi
    11731108
    1174 if test -n "$ac_unrecognized_opts"; then
    1175   case $enable_option_checking in
    1176     no) ;;
    1177     fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
    1178    { (exit 1); exit 1; }; } ;;
    1179     *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
    1180   esac
    1181 fi
    1182 
    1183 # Check all directory arguments for consistency.
     1109# Be sure to have absolute directory names.
    11841110for ac_var in   exec_prefix prefix bindir sbindir libexecdir datarootdir \
    11851111                datadir sysconfdir sharedstatedir localstatedir includedir \
     
    11881114do
    11891115  eval ac_val=\$$ac_var
    1190   # Remove trailing slashes.
    1191   case $ac_val in
    1192     */ )
    1193       ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
    1194       eval $ac_var=\$ac_val;;
    1195   esac
    1196   # Be sure to have absolute directory names.
    11971116  case $ac_val in
    11981117    [\\/$]* | ?:[\\/]* )  continue;;
    11991118    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
    12001119  esac
    1201   { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
     1120  { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
    12021121   { (exit 1); exit 1; }; }
    12031122done
     
    12141133  if test "x$build_alias" = x; then
    12151134    cross_compiling=maybe
    1216     $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
     1135    echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
    12171136    If a cross compiler is detected then cross compile mode will be used." >&2
    12181137  elif test "x$build_alias" != "x$host_alias"; then
     
    12301149ac_ls_di=`ls -di .` &&
    12311150ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
    1232   { $as_echo "$as_me: error: working directory cannot be determined" >&2
     1151  { echo "$as_me: error: Working directory cannot be determined" >&2
    12331152   { (exit 1); exit 1; }; }
    12341153test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
    1235   { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
     1154  { echo "$as_me: error: pwd does not report name of working directory" >&2
    12361155   { (exit 1); exit 1; }; }
    12371156
     
    12411160  ac_srcdir_defaulted=yes
    12421161  # Try the directory containing this script, then the parent directory.
    1243   ac_confdir=`$as_dirname -- "$as_myself" ||
    1244 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
    1245          X"$as_myself" : 'X\(//\)[^/]' \| \
    1246          X"$as_myself" : 'X\(//\)$' \| \
    1247          X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
    1248 $as_echo X"$as_myself" |
     1162  ac_confdir=`$as_dirname -- "$0" ||
     1163$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
     1164         X"$0" : 'X\(//\)[^/]' \| \
     1165         X"$0" : 'X\(//\)$' \| \
     1166         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
     1167echo X"$0" |
    12491168    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    12501169            s//\1/
     
    12731192if test ! -r "$srcdir/$ac_unique_file"; then
    12741193  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
    1275   { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
     1194  { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
    12761195   { (exit 1); exit 1; }; }
    12771196fi
    12781197ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
    12791198ac_abs_confdir=`(
    1280         cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
     1199        cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
    12811200   { (exit 1); exit 1; }; }
    12821201        pwd)`
     
    13271246Installation directories:
    13281247  --prefix=PREFIX         install architecture-independent files in PREFIX
    1329                           [$ac_default_prefix]
     1248                          [$ac_default_prefix]
    13301249  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
    1331                           [PREFIX]
     1250                          [PREFIX]
    13321251
    13331252By default, \`make install' will install all the files in
     
    13391258
    13401259Fine tuning of the installation directories:
    1341   --bindir=DIR            user executables [EPREFIX/bin]
    1342   --sbindir=DIR           system admin executables [EPREFIX/sbin]
    1343   --libexecdir=DIR        program executables [EPREFIX/libexec]
    1344   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
    1345   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
    1346   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
    1347   --libdir=DIR            object code libraries [EPREFIX/lib]
    1348   --includedir=DIR        C header files [PREFIX/include]
    1349   --oldincludedir=DIR     C header files for non-gcc [/usr/include]
    1350   --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
    1351   --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
    1352   --infodir=DIR           info documentation [DATAROOTDIR/info]
    1353   --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
    1354   --mandir=DIR            man documentation [DATAROOTDIR/man]
    1355   --docdir=DIR            documentation root [DATAROOTDIR/doc/vizservers]
    1356   --htmldir=DIR           html documentation [DOCDIR]
    1357   --dvidir=DIR            dvi documentation [DOCDIR]
    1358   --pdfdir=DIR            pdf documentation [DOCDIR]
    1359   --psdir=DIR             ps documentation [DOCDIR]
     1260  --bindir=DIR           user executables [EPREFIX/bin]
     1261  --sbindir=DIR          system admin executables [EPREFIX/sbin]
     1262  --libexecdir=DIR       program executables [EPREFIX/libexec]
     1263  --sysconfdir=DIR       read-only single-machine data [PREFIX/etc]
     1264  --sharedstatedir=DIR   modifiable architecture-independent data [PREFIX/com]
     1265  --localstatedir=DIR    modifiable single-machine data [PREFIX/var]
     1266  --libdir=DIR           object code libraries [EPREFIX/lib]
     1267  --includedir=DIR       C header files [PREFIX/include]
     1268  --oldincludedir=DIR    C header files for non-gcc [/usr/include]
     1269  --datarootdir=DIR      read-only arch.-independent data root [PREFIX/share]
     1270  --datadir=DIR          read-only architecture-independent data [DATAROOTDIR]
     1271  --infodir=DIR          info documentation [DATAROOTDIR/info]
     1272  --localedir=DIR        locale-dependent data [DATAROOTDIR/locale]
     1273  --mandir=DIR           man documentation [DATAROOTDIR/man]
     1274  --docdir=DIR           documentation root [DATAROOTDIR/doc/vizservers]
     1275  --htmldir=DIR          html documentation [DOCDIR]
     1276  --dvidir=DIR           dvi documentation [DOCDIR]
     1277  --pdfdir=DIR           pdf documentation [DOCDIR]
     1278  --psdir=DIR            ps documentation [DOCDIR]
    13601279_ACEOF
    13611280
     
    13711290
    13721291Optional Features:
    1373   --disable-option-checking  ignore unrecognized --enable/--with options
    13741292  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
    13751293  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
     
    14111329  # If there are subdirs, report their specific --help.
    14121330  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
    1413     test -d "$ac_dir" ||
    1414       { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
    1415       continue
     1331    test -d "$ac_dir" || continue
    14161332    ac_builddir=.
    14171333
     
    14191335.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    14201336*)
    1421   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     1337  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    14221338  # A ".." for each directory in $ac_dir_suffix.
    1423   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     1339  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    14241340  case $ac_top_builddir_sub in
    14251341  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    14571373      $SHELL "$ac_srcdir/configure" --help=recursive
    14581374    else
    1459       $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
     1375      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
    14601376    fi || ac_status=$?
    14611377    cd "$ac_pwd" || { ac_status=$?; break; }
     
    14671383  cat <<\_ACEOF
    14681384vizservers configure 0.1
    1469 generated by GNU Autoconf 2.63
     1385generated by GNU Autoconf 2.61
    14701386
    14711387Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
    1472 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
     13882002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
    14731389This configure script is free software; the Free Software Foundation
    14741390gives unlimited permission to copy, distribute and modify it.
     
    14811397
    14821398It was created by vizservers $as_me 0.1, which was
    1483 generated by GNU Autoconf 2.63.  Invocation command line was
     1399generated by GNU Autoconf 2.61.  Invocation command line was
    14841400
    14851401  $ $0 $@
     
    15171433  IFS=$as_save_IFS
    15181434  test -z "$as_dir" && as_dir=.
    1519   $as_echo "PATH: $as_dir"
     1435  echo "PATH: $as_dir"
    15201436done
    15211437IFS=$as_save_IFS
     
    15521468      continue ;;
    15531469    *\'*)
    1554       ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
     1470      ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
    15551471    esac
    15561472    case $ac_pass in
     
    16041520    *${as_nl}*)
    16051521      case $ac_var in #(
    1606       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    1607 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     1522      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     1523echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    16081524      esac
    16091525      case $ac_var in #(
    16101526      _ | IFS | as_nl) ;; #(
    1611       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    16121527      *) $as_unset $ac_var ;;
    16131528      esac ;;
     
    16391554      eval ac_val=\$$ac_var
    16401555      case $ac_val in
    1641       *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1556      *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16421557      esac
    1643       $as_echo "$ac_var='\''$ac_val'\''"
     1558      echo "$ac_var='\''$ac_val'\''"
    16441559    done | sort
    16451560    echo
     
    16561571        eval ac_val=\$$ac_var
    16571572        case $ac_val in
    1658         *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
     1573        *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
    16591574        esac
    1660         $as_echo "$ac_var='\''$ac_val'\''"
     1575        echo "$ac_var='\''$ac_val'\''"
    16611576      done | sort
    16621577      echo
     
    16741589    fi
    16751590    test "$ac_signal" != 0 &&
    1676       $as_echo "$as_me: caught signal $ac_signal"
    1677     $as_echo "$as_me: exit $exit_status"
     1591      echo "$as_me: caught signal $ac_signal"
     1592    echo "$as_me: exit $exit_status"
    16781593  } >&5
    16791594  rm -f core *.core core.conftest.* &&
     
    17171632
    17181633# Let the site file select an alternate cache file if it wants to.
    1719 # Prefer an explicitly selected file to automatically selected ones.
    1720 ac_site_file1=NONE
    1721 ac_site_file2=NONE
     1634# Prefer explicitly selected file to automatically selected ones.
    17221635if test -n "$CONFIG_SITE"; then
    1723   ac_site_file1=$CONFIG_SITE
     1636  set x "$CONFIG_SITE"
    17241637elif test "x$prefix" != xNONE; then
    1725   ac_site_file1=$prefix/share/config.site
    1726   ac_site_file2=$prefix/etc/config.site
    1727 else
    1728   ac_site_file1=$ac_default_prefix/share/config.site
    1729   ac_site_file2=$ac_default_prefix/etc/config.site
    1730 fi
    1731 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
     1638  set x "$prefix/share/config.site" "$prefix/etc/config.site"
     1639else
     1640  set x "$ac_default_prefix/share/config.site" \
     1641        "$ac_default_prefix/etc/config.site"
     1642fi
     1643shift
     1644for ac_site_file
    17321645do
    1733   test "x$ac_site_file" = xNONE && continue
    17341646  if test -r "$ac_site_file"; then
    1735     { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
    1736 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
     1647    { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
     1648echo "$as_me: loading site script $ac_site_file" >&6;}
    17371649    sed 's/^/| /' "$ac_site_file" >&5
    17381650    . "$ac_site_file"
     
    17441656  # files actually), so we avoid doing that.
    17451657  if test -f "$cache_file"; then
    1746     { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
    1747 $as_echo "$as_me: loading cache $cache_file" >&6;}
     1658    { echo "$as_me:$LINENO: loading cache $cache_file" >&5
     1659echo "$as_me: loading cache $cache_file" >&6;}
    17481660    case $cache_file in
    17491661      [\\/]* | ?:[\\/]* ) . "$cache_file";;
     
    17521664  fi
    17531665else
    1754   { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
    1755 $as_echo "$as_me: creating cache $cache_file" >&6;}
     1666  { echo "$as_me:$LINENO: creating cache $cache_file" >&5
     1667echo "$as_me: creating cache $cache_file" >&6;}
    17561668  >$cache_file
    17571669fi
     
    17671679  case $ac_old_set,$ac_new_set in
    17681680    set,)
    1769       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
    1770 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
     1681      { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
     1682echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
    17711683      ac_cache_corrupted=: ;;
    17721684    ,set)
    1773       { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
    1774 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
     1685      { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
     1686echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
    17751687      ac_cache_corrupted=: ;;
    17761688    ,);;
    17771689    *)
    17781690      if test "x$ac_old_val" != "x$ac_new_val"; then
    1779         # differences in whitespace do not lead to failure.
    1780         ac_old_val_w=`echo x $ac_old_val`
    1781         ac_new_val_w=`echo x $ac_new_val`
    1782         if test "$ac_old_val_w" != "$ac_new_val_w"; then
    1783           { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
    1784 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
    1785           ac_cache_corrupted=:
    1786         else
    1787           { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
    1788 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
    1789           eval $ac_var=\$ac_old_val
    1790         fi
    1791         { $as_echo "$as_me:$LINENO:   former value:  \`$ac_old_val'" >&5
    1792 $as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
    1793         { $as_echo "$as_me:$LINENO:   current value: \`$ac_new_val'" >&5
    1794 $as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
     1691        { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
     1692echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
     1693        { echo "$as_me:$LINENO:   former value:  $ac_old_val" >&5
     1694echo "$as_me:   former value:  $ac_old_val" >&2;}
     1695        { echo "$as_me:$LINENO:   current value: $ac_new_val" >&5
     1696echo "$as_me:   current value: $ac_new_val" >&2;}
     1697        ac_cache_corrupted=:
    17951698      fi;;
    17961699  esac
     
    17981701  if test "$ac_new_set" = set; then
    17991702    case $ac_new_val in
    1800     *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
     1703    *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
    18011704    *) ac_arg=$ac_var=$ac_new_val ;;
    18021705    esac
     
    18081711done
    18091712if $ac_cache_corrupted; then
    1810   { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    1811 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    1812   { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
    1813 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
    1814   { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
    1815 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
     1713  { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
     1714echo "$as_me: error: changes in the environment can compromise the build" >&2;}
     1715  { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
     1716echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
    18161717   { (exit 1); exit 1; }; }
    18171718fi
     
    18791780  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    18801781set dummy ${ac_tool_prefix}gcc; ac_word=$2
    1881 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    1882 $as_echo_n "checking for $ac_word... " >&6; }
     1782{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1783echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    18831784if test "${ac_cv_prog_CC+set}" = set; then
    1884   $as_echo_n "(cached) " >&6
     1785  echo $ECHO_N "(cached) $ECHO_C" >&6
    18851786else
    18861787  if test -n "$CC"; then
     
    18951796  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    18961797    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    1897     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1798    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    18981799    break 2
    18991800  fi
     
    19061807CC=$ac_cv_prog_CC
    19071808if test -n "$CC"; then
    1908   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    1909 $as_echo "$CC" >&6; }
    1910 else
    1911   { $as_echo "$as_me:$LINENO: result: no" >&5
    1912 $as_echo "no" >&6; }
     1809  { echo "$as_me:$LINENO: result: $CC" >&5
     1810echo "${ECHO_T}$CC" >&6; }
     1811else
     1812  { echo "$as_me:$LINENO: result: no" >&5
     1813echo "${ECHO_T}no" >&6; }
    19131814fi
    19141815
     
    19191820  # Extract the first word of "gcc", so it can be a program name with args.
    19201821set dummy gcc; ac_word=$2
    1921 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    1922 $as_echo_n "checking for $ac_word... " >&6; }
     1822{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1823echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    19231824if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    1924   $as_echo_n "(cached) " >&6
     1825  echo $ECHO_N "(cached) $ECHO_C" >&6
    19251826else
    19261827  if test -n "$ac_ct_CC"; then
     
    19351836  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19361837    ac_cv_prog_ac_ct_CC="gcc"
    1937     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1838    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19381839    break 2
    19391840  fi
     
    19461847ac_ct_CC=$ac_cv_prog_ac_ct_CC
    19471848if test -n "$ac_ct_CC"; then
    1948   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    1949 $as_echo "$ac_ct_CC" >&6; }
    1950 else
    1951   { $as_echo "$as_me:$LINENO: result: no" >&5
    1952 $as_echo "no" >&6; }
     1849  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     1850echo "${ECHO_T}$ac_ct_CC" >&6; }
     1851else
     1852  { echo "$as_me:$LINENO: result: no" >&5
     1853echo "${ECHO_T}no" >&6; }
    19531854fi
    19541855
     
    19581859    case $cross_compiling:$ac_tool_warned in
    19591860yes:)
    1960 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    1961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     1861{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     1862whose name does not start with the host triplet.  If you think this
     1863configuration is useful to you, please write to autoconf@gnu.org." >&5
     1864echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     1865whose name does not start with the host triplet.  If you think this
     1866configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    19621867ac_tool_warned=yes ;;
    19631868esac
     
    19721877    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    19731878set dummy ${ac_tool_prefix}cc; ac_word=$2
    1974 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    1975 $as_echo_n "checking for $ac_word... " >&6; }
     1879{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1880echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    19761881if test "${ac_cv_prog_CC+set}" = set; then
    1977   $as_echo_n "(cached) " >&6
     1882  echo $ECHO_N "(cached) $ECHO_C" >&6
    19781883else
    19791884  if test -n "$CC"; then
     
    19881893  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    19891894    ac_cv_prog_CC="${ac_tool_prefix}cc"
    1990     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1895    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    19911896    break 2
    19921897  fi
     
    19991904CC=$ac_cv_prog_CC
    20001905if test -n "$CC"; then
    2001   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2002 $as_echo "$CC" >&6; }
    2003 else
    2004   { $as_echo "$as_me:$LINENO: result: no" >&5
    2005 $as_echo "no" >&6; }
     1906  { echo "$as_me:$LINENO: result: $CC" >&5
     1907echo "${ECHO_T}$CC" >&6; }
     1908else
     1909  { echo "$as_me:$LINENO: result: no" >&5
     1910echo "${ECHO_T}no" >&6; }
    20061911fi
    20071912
     
    20121917  # Extract the first word of "cc", so it can be a program name with args.
    20131918set dummy cc; ac_word=$2
    2014 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2015 $as_echo_n "checking for $ac_word... " >&6; }
     1919{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1920echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    20161921if test "${ac_cv_prog_CC+set}" = set; then
    2017   $as_echo_n "(cached) " >&6
     1922  echo $ECHO_N "(cached) $ECHO_C" >&6
    20181923else
    20191924  if test -n "$CC"; then
     
    20331938     fi
    20341939    ac_cv_prog_CC="cc"
    2035     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1940    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    20361941    break 2
    20371942  fi
     
    20561961CC=$ac_cv_prog_CC
    20571962if test -n "$CC"; then
    2058   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2059 $as_echo "$CC" >&6; }
    2060 else
    2061   { $as_echo "$as_me:$LINENO: result: no" >&5
    2062 $as_echo "no" >&6; }
     1963  { echo "$as_me:$LINENO: result: $CC" >&5
     1964echo "${ECHO_T}$CC" >&6; }
     1965else
     1966  { echo "$as_me:$LINENO: result: no" >&5
     1967echo "${ECHO_T}no" >&6; }
    20631968fi
    20641969
     
    20711976    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    20721977set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    2073 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2074 $as_echo_n "checking for $ac_word... " >&6; }
     1978{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     1979echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    20751980if test "${ac_cv_prog_CC+set}" = set; then
    2076   $as_echo_n "(cached) " >&6
     1981  echo $ECHO_N "(cached) $ECHO_C" >&6
    20771982else
    20781983  if test -n "$CC"; then
     
    20871992  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    20881993    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    2089     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     1994    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    20901995    break 2
    20911996  fi
     
    20982003CC=$ac_cv_prog_CC
    20992004if test -n "$CC"; then
    2100   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    2101 $as_echo "$CC" >&6; }
    2102 else
    2103   { $as_echo "$as_me:$LINENO: result: no" >&5
    2104 $as_echo "no" >&6; }
     2005  { echo "$as_me:$LINENO: result: $CC" >&5
     2006echo "${ECHO_T}$CC" >&6; }
     2007else
     2008  { echo "$as_me:$LINENO: result: no" >&5
     2009echo "${ECHO_T}no" >&6; }
    21052010fi
    21062011
     
    21152020  # Extract the first word of "$ac_prog", so it can be a program name with args.
    21162021set dummy $ac_prog; ac_word=$2
    2117 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2118 $as_echo_n "checking for $ac_word... " >&6; }
     2022{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2023echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    21192024if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    2120   $as_echo_n "(cached) " >&6
     2025  echo $ECHO_N "(cached) $ECHO_C" >&6
    21212026else
    21222027  if test -n "$ac_ct_CC"; then
     
    21312036  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    21322037    ac_cv_prog_ac_ct_CC="$ac_prog"
    2133     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2038    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    21342039    break 2
    21352040  fi
     
    21422047ac_ct_CC=$ac_cv_prog_ac_ct_CC
    21432048if test -n "$ac_ct_CC"; then
    2144   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    2145 $as_echo "$ac_ct_CC" >&6; }
    2146 else
    2147   { $as_echo "$as_me:$LINENO: result: no" >&5
    2148 $as_echo "no" >&6; }
     2049  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     2050echo "${ECHO_T}$ac_ct_CC" >&6; }
     2051else
     2052  { echo "$as_me:$LINENO: result: no" >&5
     2053echo "${ECHO_T}no" >&6; }
    21492054fi
    21502055
     
    21582063    case $cross_compiling:$ac_tool_warned in
    21592064yes:)
    2160 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    2161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2065{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2066whose name does not start with the host triplet.  If you think this
     2067configuration is useful to you, please write to autoconf@gnu.org." >&5
     2068echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2069whose name does not start with the host triplet.  If you think this
     2070configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    21622071ac_tool_warned=yes ;;
    21632072esac
     
    21692078
    21702079
    2171 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2173 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     2080test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    21742081See \`config.log' for more details." >&5
    2175 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     2082echo "$as_me: error: no acceptable C compiler found in \$PATH
    21762083See \`config.log' for more details." >&2;}
    2177    { (exit 1); exit 1; }; }; }
     2084   { (exit 1); exit 1; }; }
    21782085
    21792086# Provide some information about the compiler.
    2180 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    2181 set X $ac_compile
    2182 ac_compiler=$2
     2087echo "$as_me:$LINENO: checking for C compiler version" >&5
     2088ac_compiler=`set X $ac_compile; echo $2`
    21832089{ (ac_try="$ac_compiler --version >&5"
    21842090case "(($ac_try" in
     
    21862092  *) ac_try_echo=$ac_try;;
    21872093esac
    2188 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2189 $as_echo "$ac_try_echo") >&5
     2094eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    21902095  (eval "$ac_compiler --version >&5") 2>&5
    21912096  ac_status=$?
    2192   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    21932098  (exit $ac_status); }
    21942099{ (ac_try="$ac_compiler -v >&5"
     
    21972102  *) ac_try_echo=$ac_try;;
    21982103esac
    2199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2200 $as_echo "$ac_try_echo") >&5
     2104eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    22012105  (eval "$ac_compiler -v >&5") 2>&5
    22022106  ac_status=$?
    2203   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2107  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22042108  (exit $ac_status); }
    22052109{ (ac_try="$ac_compiler -V >&5"
     
    22082112  *) ac_try_echo=$ac_try;;
    22092113esac
    2210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2211 $as_echo "$ac_try_echo") >&5
     2114eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    22122115  (eval "$ac_compiler -V >&5") 2>&5
    22132116  ac_status=$?
    2214   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2117  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22152118  (exit $ac_status); }
    22162119
     
    22312134_ACEOF
    22322135ac_clean_files_save=$ac_clean_files
    2233 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
     2136ac_clean_files="$ac_clean_files a.out a.exe b.out"
    22342137# Try to create an executable without -o first, disregard a.out.
    22352138# It will help us diagnose broken compilers, and finding out an intuition
    22362139# of exeext.
    2237 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
    2238 $as_echo_n "checking for C compiler default output file name... " >&6; }
    2239 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
    2240 
    2241 # The possible output files:
    2242 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
    2243 
     2140{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
     2141echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
     2142ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
     2143#
     2144# List of possible output files, starting from the most likely.
     2145# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
     2146# only as a last resort.  b.out is created by i960 compilers.
     2147ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
     2148#
     2149# The IRIX 6 linker writes into existing files which may not be
     2150# executable, retaining their permissions.  Remove them first so a
     2151# subsequent execution test works.
    22442152ac_rmfiles=
    22452153for ac_file in $ac_files
    22462154do
    22472155  case $ac_file in
    2248     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2156    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    22492157    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
    22502158  esac
     
    22572165  *) ac_try_echo=$ac_try;;
    22582166esac
    2259 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2260 $as_echo "$ac_try_echo") >&5
     2167eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    22612168  (eval "$ac_link_default") 2>&5
    22622169  ac_status=$?
    2263   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2170  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    22642171  (exit $ac_status); }; then
    22652172  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
     
    22722179  test -f "$ac_file" || continue
    22732180  case $ac_file in
    2274     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
     2181    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
    22752182        ;;
    22762183    [ab].out )
     
    22992206fi
    23002207
    2301 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
    2302 $as_echo "$ac_file" >&6; }
     2208{ echo "$as_me:$LINENO: result: $ac_file" >&5
     2209echo "${ECHO_T}$ac_file" >&6; }
    23032210if test -z "$ac_file"; then
    2304   $as_echo "$as_me: failed program was:" >&5
     2211  echo "$as_me: failed program was:" >&5
    23052212sed 's/^/| /' conftest.$ac_ext >&5
    23062213
    2307 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2308 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2309 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
     2214{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
    23102215See \`config.log' for more details." >&5
    2311 $as_echo "$as_me: error: C compiler cannot create executables
     2216echo "$as_me: error: C compiler cannot create executables
    23122217See \`config.log' for more details." >&2;}
    2313    { (exit 77); exit 77; }; }; }
     2218   { (exit 77); exit 77; }; }
    23142219fi
    23152220
     
    23182223# Check that the compiler produces executables we can run.  If not, either
    23192224# the compiler is broken, or we cross compile.
    2320 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
    2321 $as_echo_n "checking whether the C compiler works... " >&6; }
     2225{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5
     2226echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
    23222227# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
    23232228# If not cross compiling, check that we can run a simple program.
     
    23282233  *) ac_try_echo=$ac_try;;
    23292234esac
    2330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2331 $as_echo "$ac_try_echo") >&5
     2235eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    23322236  (eval "$ac_try") 2>&5
    23332237  ac_status=$?
    2334   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2238  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23352239  (exit $ac_status); }; }; then
    23362240    cross_compiling=no
     
    23392243        cross_compiling=yes
    23402244    else
    2341         { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2342 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2343 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
     2245        { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
    23442246If you meant to cross compile, use \`--host'.
    23452247See \`config.log' for more details." >&5
    2346 $as_echo "$as_me: error: cannot run C compiled programs.
     2248echo "$as_me: error: cannot run C compiled programs.
    23472249If you meant to cross compile, use \`--host'.
    23482250See \`config.log' for more details." >&2;}
    2349    { (exit 1); exit 1; }; }; }
     2251   { (exit 1); exit 1; }; }
    23502252    fi
    23512253  fi
    23522254fi
    2353 { $as_echo "$as_me:$LINENO: result: yes" >&5
    2354 $as_echo "yes" >&6; }
    2355 
    2356 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
     2255{ echo "$as_me:$LINENO: result: yes" >&5
     2256echo "${ECHO_T}yes" >&6; }
     2257
     2258rm -f a.out a.exe conftest$ac_cv_exeext b.out
    23572259ac_clean_files=$ac_clean_files_save
    23582260# Check that the compiler produces executables we can run.  If not, either
    23592261# the compiler is broken, or we cross compile.
    2360 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
    2361 $as_echo_n "checking whether we are cross compiling... " >&6; }
    2362 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
    2363 $as_echo "$cross_compiling" >&6; }
    2364 
    2365 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
    2366 $as_echo_n "checking for suffix of executables... " >&6; }
     2262{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
     2263echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
     2264{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
     2265echo "${ECHO_T}$cross_compiling" >&6; }
     2266
     2267{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
     2268echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
    23672269if { (ac_try="$ac_link"
    23682270case "(($ac_try" in
     
    23702272  *) ac_try_echo=$ac_try;;
    23712273esac
    2372 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2373 $as_echo "$ac_try_echo") >&5
     2274eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    23742275  (eval "$ac_link") 2>&5
    23752276  ac_status=$?
    2376   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2277  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    23772278  (exit $ac_status); }; then
    23782279  # If both `conftest.exe' and `conftest' are `present' (well, observable)
     
    23832284  test -f "$ac_file" || continue
    23842285  case $ac_file in
    2385     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
     2286    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
    23862287    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
    23872288          break;;
     
    23902291done
    23912292else
    2392   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2394 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
     2293  { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
    23952294See \`config.log' for more details." >&5
    2396 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
     2295echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
    23972296See \`config.log' for more details." >&2;}
    2398    { (exit 1); exit 1; }; }; }
     2297   { (exit 1); exit 1; }; }
    23992298fi
    24002299
    24012300rm -f conftest$ac_cv_exeext
    2402 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
    2403 $as_echo "$ac_cv_exeext" >&6; }
     2301{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
     2302echo "${ECHO_T}$ac_cv_exeext" >&6; }
    24042303
    24052304rm -f conftest.$ac_ext
    24062305EXEEXT=$ac_cv_exeext
    24072306ac_exeext=$EXEEXT
    2408 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
    2409 $as_echo_n "checking for suffix of object files... " >&6; }
     2307{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
     2308echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
    24102309if test "${ac_cv_objext+set}" = set; then
    2411   $as_echo_n "(cached) " >&6
     2310  echo $ECHO_N "(cached) $ECHO_C" >&6
    24122311else
    24132312  cat >conftest.$ac_ext <<_ACEOF
     
    24322331  *) ac_try_echo=$ac_try;;
    24332332esac
    2434 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2435 $as_echo "$ac_try_echo") >&5
     2333eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    24362334  (eval "$ac_compile") 2>&5
    24372335  ac_status=$?
    2438   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2336  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    24392337  (exit $ac_status); }; then
    24402338  for ac_file in conftest.o conftest.obj conftest.*; do
    24412339  test -f "$ac_file" || continue;
    24422340  case $ac_file in
    2443     *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
     2341    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
    24442342    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
    24452343       break;;
     
    24472345done
    24482346else
    2449   $as_echo "$as_me: failed program was:" >&5
     2347  echo "$as_me: failed program was:" >&5
    24502348sed 's/^/| /' conftest.$ac_ext >&5
    24512349
    2452 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    2453 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    2454 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
     2350{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
    24552351See \`config.log' for more details." >&5
    2456 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
     2352echo "$as_me: error: cannot compute suffix of object files: cannot compile
    24572353See \`config.log' for more details." >&2;}
    2458    { (exit 1); exit 1; }; }; }
     2354   { (exit 1); exit 1; }; }
    24592355fi
    24602356
    24612357rm -f conftest.$ac_cv_objext conftest.$ac_ext
    24622358fi
    2463 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
    2464 $as_echo "$ac_cv_objext" >&6; }
     2359{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
     2360echo "${ECHO_T}$ac_cv_objext" >&6; }
    24652361OBJEXT=$ac_cv_objext
    24662362ac_objext=$OBJEXT
    2467 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    2468 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     2363{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     2364echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    24692365if test "${ac_cv_c_compiler_gnu+set}" = set; then
    2470   $as_echo_n "(cached) " >&6
     2366  echo $ECHO_N "(cached) $ECHO_C" >&6
    24712367else
    24722368  cat >conftest.$ac_ext <<_ACEOF
     
    24942390  *) ac_try_echo=$ac_try;;
    24952391esac
    2496 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2497 $as_echo "$ac_try_echo") >&5
     2392eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    24982393  (eval "$ac_compile") 2>conftest.er1
    24992394  ac_status=$?
     
    25012396  rm -f conftest.er1
    25022397  cat conftest.err >&5
    2503   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25042399  (exit $ac_status); } && {
    25052400         test -z "$ac_c_werror_flag" ||
     
    25082403  ac_compiler_gnu=yes
    25092404else
    2510   $as_echo "$as_me: failed program was:" >&5
     2405  echo "$as_me: failed program was:" >&5
    25112406sed 's/^/| /' conftest.$ac_ext >&5
    25122407
     
    25182413
    25192414fi
    2520 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    2521 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    2522 if test $ac_compiler_gnu = yes; then
    2523   GCC=yes
    2524 else
    2525   GCC=
    2526 fi
     2415{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     2416echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     2417GCC=`test $ac_compiler_gnu = yes && echo yes`
    25272418ac_test_CFLAGS=${CFLAGS+set}
    25282419ac_save_CFLAGS=$CFLAGS
    2529 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    2530 $as_echo_n "checking whether $CC accepts -g... " >&6; }
     2420{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     2421echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    25312422if test "${ac_cv_prog_cc_g+set}" = set; then
    2532   $as_echo_n "(cached) " >&6
     2423  echo $ECHO_N "(cached) $ECHO_C" >&6
    25332424else
    25342425  ac_save_c_werror_flag=$ac_c_werror_flag
     
    25572448  *) ac_try_echo=$ac_try;;
    25582449esac
    2559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2560 $as_echo "$ac_try_echo") >&5
     2450eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    25612451  (eval "$ac_compile") 2>conftest.er1
    25622452  ac_status=$?
     
    25642454  rm -f conftest.er1
    25652455  cat conftest.err >&5
    2566   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2456  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    25672457  (exit $ac_status); } && {
    25682458         test -z "$ac_c_werror_flag" ||
     
    25712461  ac_cv_prog_cc_g=yes
    25722462else
    2573   $as_echo "$as_me: failed program was:" >&5
     2463  echo "$as_me: failed program was:" >&5
    25742464sed 's/^/| /' conftest.$ac_ext >&5
    25752465
     
    25962486  *) ac_try_echo=$ac_try;;
    25972487esac
    2598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2599 $as_echo "$ac_try_echo") >&5
     2488eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    26002489  (eval "$ac_compile") 2>conftest.er1
    26012490  ac_status=$?
     
    26032492  rm -f conftest.er1
    26042493  cat conftest.err >&5
    2605   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2494  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26062495  (exit $ac_status); } && {
    26072496         test -z "$ac_c_werror_flag" ||
     
    26102499  :
    26112500else
    2612   $as_echo "$as_me: failed program was:" >&5
     2501  echo "$as_me: failed program was:" >&5
    26132502sed 's/^/| /' conftest.$ac_ext >&5
    26142503
     
    26362525  *) ac_try_echo=$ac_try;;
    26372526esac
    2638 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2639 $as_echo "$ac_try_echo") >&5
     2527eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    26402528  (eval "$ac_compile") 2>conftest.er1
    26412529  ac_status=$?
     
    26432531  rm -f conftest.er1
    26442532  cat conftest.err >&5
    2645   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2533  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    26462534  (exit $ac_status); } && {
    26472535         test -z "$ac_c_werror_flag" ||
     
    26502538  ac_cv_prog_cc_g=yes
    26512539else
    2652   $as_echo "$as_me: failed program was:" >&5
     2540  echo "$as_me: failed program was:" >&5
    26532541sed 's/^/| /' conftest.$ac_ext >&5
    26542542
     
    26652553   ac_c_werror_flag=$ac_save_c_werror_flag
    26662554fi
    2667 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    2668 $as_echo "$ac_cv_prog_cc_g" >&6; }
     2555{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     2556echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    26692557if test "$ac_test_CFLAGS" = set; then
    26702558  CFLAGS=$ac_save_CFLAGS
     
    26822570  fi
    26832571fi
    2684 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    2685 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     2572{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     2573echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    26862574if test "${ac_cv_prog_cc_c89+set}" = set; then
    2687   $as_echo_n "(cached) " >&6
     2575  echo $ECHO_N "(cached) $ECHO_C" >&6
    26882576else
    26892577  ac_cv_prog_cc_c89=no
     
    27562644  *) ac_try_echo=$ac_try;;
    27572645esac
    2758 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2759 $as_echo "$ac_try_echo") >&5
     2646eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    27602647  (eval "$ac_compile") 2>conftest.er1
    27612648  ac_status=$?
     
    27632650  rm -f conftest.er1
    27642651  cat conftest.err >&5
    2765   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2652  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    27662653  (exit $ac_status); } && {
    27672654         test -z "$ac_c_werror_flag" ||
     
    27702657  ac_cv_prog_cc_c89=$ac_arg
    27712658else
    2772   $as_echo "$as_me: failed program was:" >&5
     2659  echo "$as_me: failed program was:" >&5
    27732660sed 's/^/| /' conftest.$ac_ext >&5
    27742661
     
    27862673case "x$ac_cv_prog_cc_c89" in
    27872674  x)
    2788     { $as_echo "$as_me:$LINENO: result: none needed" >&5
    2789 $as_echo "none needed" >&6; } ;;
     2675    { echo "$as_me:$LINENO: result: none needed" >&5
     2676echo "${ECHO_T}none needed" >&6; } ;;
    27902677  xno)
    2791     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    2792 $as_echo "unsupported" >&6; } ;;
     2678    { echo "$as_me:$LINENO: result: unsupported" >&5
     2679echo "${ECHO_T}unsupported" >&6; } ;;
    27932680  *)
    27942681    CC="$CC $ac_cv_prog_cc_c89"
    2795     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    2796 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     2682    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     2683echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
    27972684esac
    27982685
     
    28082695  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    28092696set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    2810 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2811 $as_echo_n "checking for $ac_word... " >&6; }
     2697{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2698echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    28122699if test "${ac_cv_prog_RANLIB+set}" = set; then
    2813   $as_echo_n "(cached) " >&6
     2700  echo $ECHO_N "(cached) $ECHO_C" >&6
    28142701else
    28152702  if test -n "$RANLIB"; then
     
    28242711  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28252712    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    2826     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2713    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28272714    break 2
    28282715  fi
     
    28352722RANLIB=$ac_cv_prog_RANLIB
    28362723if test -n "$RANLIB"; then
    2837   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    2838 $as_echo "$RANLIB" >&6; }
    2839 else
    2840   { $as_echo "$as_me:$LINENO: result: no" >&5
    2841 $as_echo "no" >&6; }
     2724  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     2725echo "${ECHO_T}$RANLIB" >&6; }
     2726else
     2727  { echo "$as_me:$LINENO: result: no" >&5
     2728echo "${ECHO_T}no" >&6; }
    28422729fi
    28432730
     
    28482735  # Extract the first word of "ranlib", so it can be a program name with args.
    28492736set dummy ranlib; ac_word=$2
    2850 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    2851 $as_echo_n "checking for $ac_word... " >&6; }
     2737{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     2738echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    28522739if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    2853   $as_echo_n "(cached) " >&6
     2740  echo $ECHO_N "(cached) $ECHO_C" >&6
    28542741else
    28552742  if test -n "$ac_ct_RANLIB"; then
     
    28642751  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    28652752    ac_cv_prog_ac_ct_RANLIB="ranlib"
    2866     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     2753    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    28672754    break 2
    28682755  fi
     
    28752762ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    28762763if test -n "$ac_ct_RANLIB"; then
    2877   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    2878 $as_echo "$ac_ct_RANLIB" >&6; }
    2879 else
    2880   { $as_echo "$as_me:$LINENO: result: no" >&5
    2881 $as_echo "no" >&6; }
     2764  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     2765echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     2766else
     2767  { echo "$as_me:$LINENO: result: no" >&5
     2768echo "${ECHO_T}no" >&6; }
    28822769fi
    28832770
     
    28872774    case $cross_compiling:$ac_tool_warned in
    28882775yes:)
    2889 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    2890 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     2776{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     2777whose name does not start with the host triplet.  If you think this
     2778configuration is useful to you, please write to autoconf@gnu.org." >&5
     2779echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     2780whose name does not start with the host triplet.  If you think this
     2781configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    28912782ac_tool_warned=yes ;;
    28922783esac
     
    29022793ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    29032794ac_compiler_gnu=$ac_cv_c_compiler_gnu
    2904 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    2905 $as_echo_n "checking how to run the C preprocessor... " >&6; }
     2795{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     2796echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    29062797# On Suns, sometimes $CPP names a directory.
    29072798if test -n "$CPP" && test -d "$CPP"; then
     
    29102801if test -z "$CPP"; then
    29112802  if test "${ac_cv_prog_CPP+set}" = set; then
    2912   $as_echo_n "(cached) " >&6
     2803  echo $ECHO_N "(cached) $ECHO_C" >&6
    29132804else
    29142805      # Double quotes because CPP needs to be expanded
     
    29422833  *) ac_try_echo=$ac_try;;
    29432834esac
    2944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2945 $as_echo "$ac_try_echo") >&5
     2835eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    29462836  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    29472837  ac_status=$?
     
    29492839  rm -f conftest.er1
    29502840  cat conftest.err >&5
    2951   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2841  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29522842  (exit $ac_status); } >/dev/null && {
    29532843         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    29562846  :
    29572847else
    2958   $as_echo "$as_me: failed program was:" >&5
     2848  echo "$as_me: failed program was:" >&5
    29592849sed 's/^/| /' conftest.$ac_ext >&5
    29602850
     
    29802870  *) ac_try_echo=$ac_try;;
    29812871esac
    2982 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    2983 $as_echo "$ac_try_echo") >&5
     2872eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    29842873  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    29852874  ac_status=$?
     
    29872876  rm -f conftest.er1
    29882877  cat conftest.err >&5
    2989   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2878  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    29902879  (exit $ac_status); } >/dev/null && {
    29912880         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    29952884continue
    29962885else
    2997   $as_echo "$as_me: failed program was:" >&5
     2886  echo "$as_me: failed program was:" >&5
    29982887sed 's/^/| /' conftest.$ac_ext >&5
    29992888
     
    30202909  ac_cv_prog_CPP=$CPP
    30212910fi
    3022 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
    3023 $as_echo "$CPP" >&6; }
     2911{ echo "$as_me:$LINENO: result: $CPP" >&5
     2912echo "${ECHO_T}$CPP" >&6; }
    30242913ac_preproc_ok=false
    30252914for ac_c_preproc_warn_flag in '' yes
     
    30492938  *) ac_try_echo=$ac_try;;
    30502939esac
    3051 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3052 $as_echo "$ac_try_echo") >&5
     2940eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    30532941  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    30542942  ac_status=$?
     
    30562944  rm -f conftest.er1
    30572945  cat conftest.err >&5
    3058   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2946  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30592947  (exit $ac_status); } >/dev/null && {
    30602948         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    30632951  :
    30642952else
    3065   $as_echo "$as_me: failed program was:" >&5
     2953  echo "$as_me: failed program was:" >&5
    30662954sed 's/^/| /' conftest.$ac_ext >&5
    30672955
     
    30872975  *) ac_try_echo=$ac_try;;
    30882976esac
    3089 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3090 $as_echo "$ac_try_echo") >&5
     2977eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    30912978  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    30922979  ac_status=$?
     
    30942981  rm -f conftest.er1
    30952982  cat conftest.err >&5
    3096   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     2983  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    30972984  (exit $ac_status); } >/dev/null && {
    30982985         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    31022989continue
    31032990else
    3104   $as_echo "$as_me: failed program was:" >&5
     2991  echo "$as_me: failed program was:" >&5
    31052992sed 's/^/| /' conftest.$ac_ext >&5
    31062993
     
    31183005  :
    31193006else
    3120   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    3122 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     3007  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    31233008See \`config.log' for more details." >&5
    3124 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     3009echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    31253010See \`config.log' for more details." >&2;}
    3126    { (exit 1); exit 1; }; }; }
     3011   { (exit 1); exit 1; }; }
    31273012fi
    31283013
     
    31343019
    31353020
    3136 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
    3137 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
     3021{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
     3022echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
    31383023if test "${ac_cv_path_GREP+set}" = set; then
    3139   $as_echo_n "(cached) " >&6
    3140 else
    3141   if test -z "$GREP"; then
     3024  echo $ECHO_N "(cached) $ECHO_C" >&6
     3025else
     3026  # Extract the first word of "grep ggrep" to use in msg output
     3027if test -z "$GREP"; then
     3028set dummy grep ggrep; ac_prog_name=$2
     3029if test "${ac_cv_path_GREP+set}" = set; then
     3030  echo $ECHO_N "(cached) $ECHO_C" >&6
     3031else
    31423032  ac_path_GREP_found=false
    3143   # Loop through the user's path and test for each of PROGNAME-LIST
    3144   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3033# Loop through the user's path and test for each of PROGNAME-LIST
     3034as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    31453035for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    31463036do
     
    31483038  test -z "$as_dir" && as_dir=.
    31493039  for ac_prog in grep ggrep; do
    3150     for ac_exec_ext in '' $ac_executable_extensions; do
    3151       ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
    3152       { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
    3153 # Check for GNU ac_path_GREP and select it if it is found.
     3040  for ac_exec_ext in '' $ac_executable_extensions; do
     3041    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
     3042    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
     3043    # Check for GNU ac_path_GREP and select it if it is found.
    31543044  # Check for GNU $ac_path_GREP
    31553045case `"$ac_path_GREP" --version 2>&1` in
     
    31583048*)
    31593049  ac_count=0
    3160   $as_echo_n 0123456789 >"conftest.in"
     3050  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    31613051  while :
    31623052  do
     
    31643054    mv "conftest.tmp" "conftest.in"
    31653055    cp "conftest.in" "conftest.nl"
    3166     $as_echo 'GREP' >> "conftest.nl"
     3056    echo 'GREP' >> "conftest.nl"
    31673057    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    31683058    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     
    31793069esac
    31803070
    3181       $ac_path_GREP_found && break 3
    3182     done
     3071
     3072    $ac_path_GREP_found && break 3
    31833073  done
    31843074done
     3075
     3076done
    31853077IFS=$as_save_IFS
    3186   if test -z "$ac_cv_path_GREP"; then
    3187     { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3188 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3078
     3079
     3080fi
     3081
     3082GREP="$ac_cv_path_GREP"
     3083if test -z "$GREP"; then
     3084  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3085echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    31893086   { (exit 1); exit 1; }; }
    3190   fi
     3087fi
     3088
    31913089else
    31923090  ac_cv_path_GREP=$GREP
    31933091fi
    31943092
    3195 fi
    3196 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
    3197 $as_echo "$ac_cv_path_GREP" >&6; }
     3093
     3094fi
     3095{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
     3096echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
    31983097 GREP="$ac_cv_path_GREP"
    31993098
    32003099
    3201 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
    3202 $as_echo_n "checking for egrep... " >&6; }
     3100{ echo "$as_me:$LINENO: checking for egrep" >&5
     3101echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
    32033102if test "${ac_cv_path_EGREP+set}" = set; then
    3204   $as_echo_n "(cached) " >&6
     3103  echo $ECHO_N "(cached) $ECHO_C" >&6
    32053104else
    32063105  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
    32073106   then ac_cv_path_EGREP="$GREP -E"
    32083107   else
    3209      if test -z "$EGREP"; then
     3108     # Extract the first word of "egrep" to use in msg output
     3109if test -z "$EGREP"; then
     3110set dummy egrep; ac_prog_name=$2
     3111if test "${ac_cv_path_EGREP+set}" = set; then
     3112  echo $ECHO_N "(cached) $ECHO_C" >&6
     3113else
    32103114  ac_path_EGREP_found=false
    3211   # Loop through the user's path and test for each of PROGNAME-LIST
    3212   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     3115# Loop through the user's path and test for each of PROGNAME-LIST
     3116as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    32133117for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
    32143118do
     
    32163120  test -z "$as_dir" && as_dir=.
    32173121  for ac_prog in egrep; do
    3218     for ac_exec_ext in '' $ac_executable_extensions; do
    3219       ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
    3220       { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
    3221 # Check for GNU ac_path_EGREP and select it if it is found.
     3122  for ac_exec_ext in '' $ac_executable_extensions; do
     3123    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
     3124    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
     3125    # Check for GNU ac_path_EGREP and select it if it is found.
    32223126  # Check for GNU $ac_path_EGREP
    32233127case `"$ac_path_EGREP" --version 2>&1` in
     
    32263130*)
    32273131  ac_count=0
    3228   $as_echo_n 0123456789 >"conftest.in"
     3132  echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
    32293133  while :
    32303134  do
     
    32323136    mv "conftest.tmp" "conftest.in"
    32333137    cp "conftest.in" "conftest.nl"
    3234     $as_echo 'EGREP' >> "conftest.nl"
     3138    echo 'EGREP' >> "conftest.nl"
    32353139    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
    32363140    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
     
    32473151esac
    32483152
    3249       $ac_path_EGREP_found && break 3
    3250     done
     3153
     3154    $ac_path_EGREP_found && break 3
    32513155  done
    32523156done
     3157
     3158done
    32533159IFS=$as_save_IFS
    3254   if test -z "$ac_cv_path_EGREP"; then
    3255     { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
    3256 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
     3160
     3161
     3162fi
     3163
     3164EGREP="$ac_cv_path_EGREP"
     3165if test -z "$EGREP"; then
     3166  { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
     3167echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
    32573168   { (exit 1); exit 1; }; }
    3258   fi
     3169fi
     3170
    32593171else
    32603172  ac_cv_path_EGREP=$EGREP
    32613173fi
    32623174
     3175
    32633176   fi
    32643177fi
    3265 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
    3266 $as_echo "$ac_cv_path_EGREP" >&6; }
     3178{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
     3179echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
    32673180 EGREP="$ac_cv_path_EGREP"
    32683181
    32693182
    3270 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
    3271 $as_echo_n "checking for ANSI C header files... " >&6; }
     3183{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
     3184echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
    32723185if test "${ac_cv_header_stdc+set}" = set; then
    3273   $as_echo_n "(cached) " >&6
     3186  echo $ECHO_N "(cached) $ECHO_C" >&6
    32743187else
    32753188  cat >conftest.$ac_ext <<_ACEOF
     
    32983211  *) ac_try_echo=$ac_try;;
    32993212esac
    3300 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3301 $as_echo "$ac_try_echo") >&5
     3213eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    33023214  (eval "$ac_compile") 2>conftest.er1
    33033215  ac_status=$?
     
    33053217  rm -f conftest.er1
    33063218  cat conftest.err >&5
    3307   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3219  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    33083220  (exit $ac_status); } && {
    33093221         test -z "$ac_c_werror_flag" ||
     
    33123224  ac_cv_header_stdc=yes
    33133225else
    3314   $as_echo "$as_me: failed program was:" >&5
     3226  echo "$as_me: failed program was:" >&5
    33153227sed 's/^/| /' conftest.$ac_ext >&5
    33163228
     
    34043316  *) ac_try_echo=$ac_try;;
    34053317esac
    3406 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3407 $as_echo "$ac_try_echo") >&5
     3318eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    34083319  (eval "$ac_link") 2>&5
    34093320  ac_status=$?
    3410   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3321  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34113322  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    34123323  { (case "(($ac_try" in
     
    34143325  *) ac_try_echo=$ac_try;;
    34153326esac
    3416 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3417 $as_echo "$ac_try_echo") >&5
     3327eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    34183328  (eval "$ac_try") 2>&5
    34193329  ac_status=$?
    3420   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3330  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34213331  (exit $ac_status); }; }; then
    34223332  :
    34233333else
    3424   $as_echo "$as_me: program exited with status $ac_status" >&5
    3425 $as_echo "$as_me: failed program was:" >&5
     3334  echo "$as_me: program exited with status $ac_status" >&5
     3335echo "$as_me: failed program was:" >&5
    34263336sed 's/^/| /' conftest.$ac_ext >&5
    34273337
     
    34293339ac_cv_header_stdc=no
    34303340fi
    3431 rm -rf conftest.dSYM
    34323341rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    34333342fi
     
    34363345fi
    34373346fi
    3438 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
    3439 $as_echo "$ac_cv_header_stdc" >&6; }
     3347{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
     3348echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
    34403349if test $ac_cv_header_stdc = yes; then
    34413350
     
    34593368                  inttypes.h stdint.h unistd.h
    34603369do
    3461 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
    3462 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    3463 $as_echo_n "checking for $ac_header... " >&6; }
     3370as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
     3371{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     3372echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    34643373if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    3465   $as_echo_n "(cached) " >&6
     3374  echo $ECHO_N "(cached) $ECHO_C" >&6
    34663375else
    34673376  cat >conftest.$ac_ext <<_ACEOF
     
    34813390  *) ac_try_echo=$ac_try;;
    34823391esac
    3483 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3484 $as_echo "$ac_try_echo") >&5
     3392eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    34853393  (eval "$ac_compile") 2>conftest.er1
    34863394  ac_status=$?
     
    34883396  rm -f conftest.er1
    34893397  cat conftest.err >&5
    3490   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3398  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    34913399  (exit $ac_status); } && {
    34923400         test -z "$ac_c_werror_flag" ||
     
    34953403  eval "$as_ac_Header=yes"
    34963404else
    3497   $as_echo "$as_me: failed program was:" >&5
     3405  echo "$as_me: failed program was:" >&5
    34983406sed 's/^/| /' conftest.$ac_ext >&5
    34993407
     
    35033411rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    35043412fi
    3505 ac_res=`eval 'as_val=${'$as_ac_Header'}
    3506                  $as_echo "$as_val"'`
    3507                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    3508 $as_echo "$ac_res" >&6; }
    3509 as_val=`eval 'as_val=${'$as_ac_Header'}
    3510                  $as_echo "$as_val"'`
    3511    if test "x$as_val" = x""yes; then
     3413ac_res=`eval echo '${'$as_ac_Header'}'`
     3414               { echo "$as_me:$LINENO: result: $ac_res" >&5
     3415echo "${ECHO_T}$ac_res" >&6; }
     3416if test `eval echo '${'$as_ac_Header'}'` = yes; then
    35123417  cat >>confdefs.h <<_ACEOF
    3513 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     3418#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    35143419_ACEOF
    35153420
     
    35233428    # Step 0.a: Enable 64 bit support?
    35243429
    3525     { $as_echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
    3526 $as_echo_n "checking if 64bit support is requested... " >&6; }
     3430    { echo "$as_me:$LINENO: checking if 64bit support is requested" >&5
     3431echo $ECHO_N "checking if 64bit support is requested... $ECHO_C" >&6; }
    35273432    # Check whether --enable-64bit was given.
    35283433if test "${enable_64bit+set}" = set; then
     
    35323437fi
    35333438
    3534     { $as_echo "$as_me:$LINENO: result: $do64bit" >&5
    3535 $as_echo "$do64bit" >&6; }
     3439    { echo "$as_me:$LINENO: result: $do64bit" >&5
     3440echo "${ECHO_T}$do64bit" >&6; }
    35363441
    35373442    # Step 0.b: Enable Solaris 64 bit VIS support?
    35383443
    3539     { $as_echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
    3540 $as_echo_n "checking if 64bit Sparc VIS support is requested... " >&6; }
     3444    { echo "$as_me:$LINENO: checking if 64bit Sparc VIS support is requested" >&5
     3445echo $ECHO_N "checking if 64bit Sparc VIS support is requested... $ECHO_C" >&6; }
    35413446    # Check whether --enable-64bit-vis was given.
    35423447if test "${enable_64bit_vis+set}" = set; then
     
    35463451fi
    35473452
    3548     { $as_echo "$as_me:$LINENO: result: $do64bitVIS" >&5
    3549 $as_echo "$do64bitVIS" >&6; }
     3453    { echo "$as_me:$LINENO: result: $do64bitVIS" >&5
     3454echo "${ECHO_T}$do64bitVIS" >&6; }
    35503455
    35513456    if test "$do64bitVIS" = "yes"; then
     
    35583463
    35593464
    3560     { $as_echo "$as_me:$LINENO: checking system version" >&5
    3561 $as_echo_n "checking system version... " >&6; }
     3465    { echo "$as_me:$LINENO: checking system version" >&5
     3466echo $ECHO_N "checking system version... $ECHO_C" >&6; }
    35623467if test "${tcl_cv_sys_version+set}" = set; then
    3563   $as_echo_n "(cached) " >&6
     3468  echo $ECHO_N "(cached) $ECHO_C" >&6
    35643469else
    35653470
     
    35693474            tcl_cv_sys_version=`uname -s`-`uname -r`
    35703475            if test "$?" -ne 0 ; then
    3571                 { $as_echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
    3572 $as_echo "$as_me: WARNING: can't find uname command" >&2;}
     3476                { echo "$as_me:$LINENO: WARNING: can't find uname command" >&5
     3477echo "$as_me: WARNING: can't find uname command" >&2;}
    35733478                tcl_cv_sys_version=unknown
    35743479            else
     
    35863491
    35873492fi
    3588 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
    3589 $as_echo "$tcl_cv_sys_version" >&6; }
     3493{ echo "$as_me:$LINENO: result: $tcl_cv_sys_version" >&5
     3494echo "${ECHO_T}$tcl_cv_sys_version" >&6; }
    35903495    system=$tcl_cv_sys_version
    35913496
     
    35943499    # Linux can use either -ldl or -ldld for dynamic loading.
    35953500
    3596     { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
    3597 $as_echo_n "checking for dlopen in -ldl... " >&6; }
     3501    { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
     3502echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
    35983503if test "${ac_cv_lib_dl_dlopen+set}" = set; then
    3599   $as_echo_n "(cached) " >&6
     3504  echo $ECHO_N "(cached) $ECHO_C" >&6
    36003505else
    36013506  ac_check_lib_save_LIBS=$LIBS
     
    36293534  *) ac_try_echo=$ac_try;;
    36303535esac
    3631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3632 $as_echo "$ac_try_echo") >&5
     3536eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    36333537  (eval "$ac_link") 2>conftest.er1
    36343538  ac_status=$?
     
    36363540  rm -f conftest.er1
    36373541  cat conftest.err >&5
    3638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3542  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    36393543  (exit $ac_status); } && {
    36403544         test -z "$ac_c_werror_flag" ||
    36413545         test ! -s conftest.err
    3642        } && test -s conftest$ac_exeext && {
    3643          test "$cross_compiling" = yes ||
    3644          $as_test_x conftest$ac_exeext
    3645        }; then
     3546       } && test -s conftest$ac_exeext &&
     3547       $as_test_x conftest$ac_exeext; then
    36463548  ac_cv_lib_dl_dlopen=yes
    36473549else
    3648   $as_echo "$as_me: failed program was:" >&5
     3550  echo "$as_me: failed program was:" >&5
    36493551sed 's/^/| /' conftest.$ac_ext >&5
    36503552
     
    36523554fi
    36533555
    3654 rm -rf conftest.dSYM
    36553556rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    36563557      conftest$ac_exeext conftest.$ac_ext
    36573558LIBS=$ac_check_lib_save_LIBS
    36583559fi
    3659 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
    3660 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
    3661 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
     3560{ echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
     3561echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
     3562if test $ac_cv_lib_dl_dlopen = yes; then
    36623563  have_dl=yes
    36633564else
     
    36913592    # Extract the first word of "ar", so it can be a program name with args.
    36923593set dummy ar; ac_word=$2
    3693 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    3694 $as_echo_n "checking for $ac_word... " >&6; }
     3594{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     3595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    36953596if test "${ac_cv_prog_AR+set}" = set; then
    3696   $as_echo_n "(cached) " >&6
     3597  echo $ECHO_N "(cached) $ECHO_C" >&6
    36973598else
    36983599  if test -n "$AR"; then
     
    37073608  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    37083609    ac_cv_prog_AR="ar"
    3709     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     3610    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    37103611    break 2
    37113612  fi
     
    37183619AR=$ac_cv_prog_AR
    37193620if test -n "$AR"; then
    3720   { $as_echo "$as_me:$LINENO: result: $AR" >&5
    3721 $as_echo "$AR" >&6; }
    3722 else
    3723   { $as_echo "$as_me:$LINENO: result: no" >&5
    3724 $as_echo "no" >&6; }
     3621  { echo "$as_me:$LINENO: result: $AR" >&5
     3622echo "${ECHO_T}$AR" >&6; }
     3623else
     3624  { echo "$as_me:$LINENO: result: no" >&5
     3625echo "${ECHO_T}no" >&6; }
    37253626fi
    37263627
    37273628
    37283629    if test "${AR}" = "" ; then
    3729         { { $as_echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
    3730 $as_echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
     3630        { { echo "$as_me:$LINENO: error: Required archive tool 'ar' not found on PATH." >&5
     3631echo "$as_me: error: Required archive tool 'ar' not found on PATH." >&2;}
    37313632   { (exit 1); exit 1; }; }
    37323633    fi
     
    37473648                        ;;
    37483649                esac
    3749                 { $as_echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
    3750 $as_echo "Using $CC for compiling with threads" >&6; }
     3650                { echo "$as_me:$LINENO: result: Using $CC for compiling with threads" >&5
     3651echo "${ECHO_T}Using $CC for compiling with threads" >&6; }
    37513652            fi
    37523653            LIBS="$LIBS -lc"
     
    37633664            if test "$do64bit" = "yes" -a "`uname -v`" -gt "3" ; then
    37643665                if test "$GCC" = "yes" ; then
    3765                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    3766 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
     3666                    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     3667echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    37673668                else
    37683669                    do64bit_ok=yes
     
    38183719            # known GMT value.
    38193720
    3820             { $as_echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
    3821 $as_echo_n "checking for gettimeofday in -lbsd... " >&6; }
     3721            { echo "$as_me:$LINENO: checking for gettimeofday in -lbsd" >&5
     3722echo $ECHO_N "checking for gettimeofday in -lbsd... $ECHO_C" >&6; }
    38223723if test "${ac_cv_lib_bsd_gettimeofday+set}" = set; then
    3823   $as_echo_n "(cached) " >&6
     3724  echo $ECHO_N "(cached) $ECHO_C" >&6
    38243725else
    38253726  ac_check_lib_save_LIBS=$LIBS
     
    38533754  *) ac_try_echo=$ac_try;;
    38543755esac
    3855 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3856 $as_echo "$ac_try_echo") >&5
     3756eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    38573757  (eval "$ac_link") 2>conftest.er1
    38583758  ac_status=$?
     
    38603760  rm -f conftest.er1
    38613761  cat conftest.err >&5
    3862   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3762  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    38633763  (exit $ac_status); } && {
    38643764         test -z "$ac_c_werror_flag" ||
    38653765         test ! -s conftest.err
    3866        } && test -s conftest$ac_exeext && {
    3867          test "$cross_compiling" = yes ||
    3868          $as_test_x conftest$ac_exeext
    3869        }; then
     3766       } && test -s conftest$ac_exeext &&
     3767       $as_test_x conftest$ac_exeext; then
    38703768  ac_cv_lib_bsd_gettimeofday=yes
    38713769else
    3872   $as_echo "$as_me: failed program was:" >&5
     3770  echo "$as_me: failed program was:" >&5
    38733771sed 's/^/| /' conftest.$ac_ext >&5
    38743772
     
    38763774fi
    38773775
    3878 rm -rf conftest.dSYM
    38793776rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    38803777      conftest$ac_exeext conftest.$ac_ext
    38813778LIBS=$ac_check_lib_save_LIBS
    38823779fi
    3883 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
    3884 $as_echo "$ac_cv_lib_bsd_gettimeofday" >&6; }
    3885 if test "x$ac_cv_lib_bsd_gettimeofday" = x""yes; then
     3780{ echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gettimeofday" >&5
     3781echo "${ECHO_T}$ac_cv_lib_bsd_gettimeofday" >&6; }
     3782if test $ac_cv_lib_bsd_gettimeofday = yes; then
    38863783  libbsd=yes
    38873784else
     
    39103807            # is always linked to, for compatibility.
    39113808            #-----------------------------------------------------------
    3912             { $as_echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
    3913 $as_echo_n "checking for inet_ntoa in -lbind... " >&6; }
     3809            { echo "$as_me:$LINENO: checking for inet_ntoa in -lbind" >&5
     3810echo $ECHO_N "checking for inet_ntoa in -lbind... $ECHO_C" >&6; }
    39143811if test "${ac_cv_lib_bind_inet_ntoa+set}" = set; then
    3915   $as_echo_n "(cached) " >&6
     3812  echo $ECHO_N "(cached) $ECHO_C" >&6
    39163813else
    39173814  ac_check_lib_save_LIBS=$LIBS
     
    39453842  *) ac_try_echo=$ac_try;;
    39463843esac
    3947 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    3948 $as_echo "$ac_try_echo") >&5
     3844eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    39493845  (eval "$ac_link") 2>conftest.er1
    39503846  ac_status=$?
     
    39523848  rm -f conftest.er1
    39533849  cat conftest.err >&5
    3954   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3850  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    39553851  (exit $ac_status); } && {
    39563852         test -z "$ac_c_werror_flag" ||
    39573853         test ! -s conftest.err
    3958        } && test -s conftest$ac_exeext && {
    3959          test "$cross_compiling" = yes ||
    3960          $as_test_x conftest$ac_exeext
    3961        }; then
     3854       } && test -s conftest$ac_exeext &&
     3855       $as_test_x conftest$ac_exeext; then
    39623856  ac_cv_lib_bind_inet_ntoa=yes
    39633857else
    3964   $as_echo "$as_me: failed program was:" >&5
     3858  echo "$as_me: failed program was:" >&5
    39653859sed 's/^/| /' conftest.$ac_ext >&5
    39663860
     
    39683862fi
    39693863
    3970 rm -rf conftest.dSYM
    39713864rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    39723865      conftest$ac_exeext conftest.$ac_ext
    39733866LIBS=$ac_check_lib_save_LIBS
    39743867fi
    3975 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
    3976 $as_echo "$ac_cv_lib_bind_inet_ntoa" >&6; }
    3977 if test "x$ac_cv_lib_bind_inet_ntoa" = x""yes; then
     3868{ echo "$as_me:$LINENO: result: $ac_cv_lib_bind_inet_ntoa" >&5
     3869echo "${ECHO_T}$ac_cv_lib_bind_inet_ntoa" >&6; }
     3870if test $ac_cv_lib_bind_inet_ntoa = yes; then
    39783871  LIBS="$LIBS -lbind -lsocket"
    39793872fi
     
    40283921                SHLIB_SUFFIX=".sl"
    40293922            fi
    4030             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    4031 $as_echo_n "checking for shl_load in -ldld... " >&6; }
     3923            { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     3924echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
    40323925if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    4033   $as_echo_n "(cached) " >&6
     3926  echo $ECHO_N "(cached) $ECHO_C" >&6
    40343927else
    40353928  ac_check_lib_save_LIBS=$LIBS
     
    40633956  *) ac_try_echo=$ac_try;;
    40643957esac
    4065 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4066 $as_echo "$ac_try_echo") >&5
     3958eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    40673959  (eval "$ac_link") 2>conftest.er1
    40683960  ac_status=$?
     
    40703962  rm -f conftest.er1
    40713963  cat conftest.err >&5
    4072   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     3964  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    40733965  (exit $ac_status); } && {
    40743966         test -z "$ac_c_werror_flag" ||
    40753967         test ! -s conftest.err
    4076        } && test -s conftest$ac_exeext && {
    4077          test "$cross_compiling" = yes ||
    4078          $as_test_x conftest$ac_exeext
    4079        }; then
     3968       } && test -s conftest$ac_exeext &&
     3969       $as_test_x conftest$ac_exeext; then
    40803970  ac_cv_lib_dld_shl_load=yes
    40813971else
    4082   $as_echo "$as_me: failed program was:" >&5
     3972  echo "$as_me: failed program was:" >&5
    40833973sed 's/^/| /' conftest.$ac_ext >&5
    40843974
     
    40863976fi
    40873977
    4088 rm -rf conftest.dSYM
    40893978rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    40903979      conftest$ac_exeext conftest.$ac_ext
    40913980LIBS=$ac_check_lib_save_LIBS
    40923981fi
    4093 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    4094 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4095 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     3982{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     3983echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
     3984if test $ac_cv_lib_dld_shl_load = yes; then
    40963985  tcl_ok=yes
    40973986else
     
    41334022                            ;;
    41344023                        *)
    4135                             { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    4136 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
     4024                            { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     4025echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    41374026                            ;;
    41384027                    esac
     
    41464035        HP-UX-*.08.*|HP-UX-*.09.*|HP-UX-*.10.*)
    41474036            SHLIB_SUFFIX=".sl"
    4148             { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
    4149 $as_echo_n "checking for shl_load in -ldld... " >&6; }
     4037            { echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
     4038echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6; }
    41504039if test "${ac_cv_lib_dld_shl_load+set}" = set; then
    4151   $as_echo_n "(cached) " >&6
     4040  echo $ECHO_N "(cached) $ECHO_C" >&6
    41524041else
    41534042  ac_check_lib_save_LIBS=$LIBS
     
    41814070  *) ac_try_echo=$ac_try;;
    41824071esac
    4183 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4184 $as_echo "$ac_try_echo") >&5
     4072eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    41854073  (eval "$ac_link") 2>conftest.er1
    41864074  ac_status=$?
     
    41884076  rm -f conftest.er1
    41894077  cat conftest.err >&5
    4190   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4078  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    41914079  (exit $ac_status); } && {
    41924080         test -z "$ac_c_werror_flag" ||
    41934081         test ! -s conftest.err
    4194        } && test -s conftest$ac_exeext && {
    4195          test "$cross_compiling" = yes ||
    4196          $as_test_x conftest$ac_exeext
    4197        }; then
     4082       } && test -s conftest$ac_exeext &&
     4083       $as_test_x conftest$ac_exeext; then
    41984084  ac_cv_lib_dld_shl_load=yes
    41994085else
    4200   $as_echo "$as_me: failed program was:" >&5
     4086  echo "$as_me: failed program was:" >&5
    42014087sed 's/^/| /' conftest.$ac_ext >&5
    42024088
     
    42044090fi
    42054091
    4206 rm -rf conftest.dSYM
    42074092rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    42084093      conftest$ac_exeext conftest.$ac_ext
    42094094LIBS=$ac_check_lib_save_LIBS
    42104095fi
    4211 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
    4212 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
    4213 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
     4096{ echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
     4097echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6; }
     4098if test $ac_cv_lib_dld_shl_load = yes; then
    42144099  tcl_ok=yes
    42154100else
     
    42904175            if test "$do64bit" = "yes" ; then
    42914176                if test "$GCC" = "yes" ; then
    4292                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
    4293 $as_echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
     4177                    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported by gcc" >&5
     4178echo "$as_me: WARNING: 64bit mode not supported by gcc" >&2;}
    42944179                else
    42954180                    do64bit_ok=yes
     
    43204205            else
    43214206                if test "${ac_cv_header_dld_h+set}" = set; then
    4322   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4323 $as_echo_n "checking for dld.h... " >&6; }
     4207  { echo "$as_me:$LINENO: checking for dld.h" >&5
     4208echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    43244209if test "${ac_cv_header_dld_h+set}" = set; then
    4325   $as_echo_n "(cached) " >&6
    4326 fi
    4327 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4328 $as_echo "$ac_cv_header_dld_h" >&6; }
     4210  echo $ECHO_N "(cached) $ECHO_C" >&6
     4211fi
     4212{ echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4213echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    43294214else
    43304215  # Is the header compilable?
    4331 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4332 $as_echo_n "checking dld.h usability... " >&6; }
     4216{ echo "$as_me:$LINENO: checking dld.h usability" >&5
     4217echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; }
    43334218cat >conftest.$ac_ext <<_ACEOF
    43344219/* confdefs.h.  */
     
    43464231  *) ac_try_echo=$ac_try;;
    43474232esac
    4348 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4349 $as_echo "$ac_try_echo") >&5
     4233eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    43504234  (eval "$ac_compile") 2>conftest.er1
    43514235  ac_status=$?
     
    43534237  rm -f conftest.er1
    43544238  cat conftest.err >&5
    4355   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4239  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43564240  (exit $ac_status); } && {
    43574241         test -z "$ac_c_werror_flag" ||
     
    43604244  ac_header_compiler=yes
    43614245else
    4362   $as_echo "$as_me: failed program was:" >&5
     4246  echo "$as_me: failed program was:" >&5
    43634247sed 's/^/| /' conftest.$ac_ext >&5
    43644248
     
    43674251
    43684252rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4369 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4370 $as_echo "$ac_header_compiler" >&6; }
     4253{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4254echo "${ECHO_T}$ac_header_compiler" >&6; }
    43714255
    43724256# Is the header present?
    4373 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4374 $as_echo_n "checking dld.h presence... " >&6; }
     4257{ echo "$as_me:$LINENO: checking dld.h presence" >&5
     4258echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; }
    43754259cat >conftest.$ac_ext <<_ACEOF
    43764260/* confdefs.h.  */
     
    43864270  *) ac_try_echo=$ac_try;;
    43874271esac
    4388 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4389 $as_echo "$ac_try_echo") >&5
     4272eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    43904273  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    43914274  ac_status=$?
     
    43934276  rm -f conftest.er1
    43944277  cat conftest.err >&5
    4395   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    43964279  (exit $ac_status); } >/dev/null && {
    43974280         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    44004283  ac_header_preproc=yes
    44014284else
    4402   $as_echo "$as_me: failed program was:" >&5
     4285  echo "$as_me: failed program was:" >&5
    44034286sed 's/^/| /' conftest.$ac_ext >&5
    44044287
     
    44074290
    44084291rm -f conftest.err conftest.$ac_ext
    4409 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4410 $as_echo "$ac_header_preproc" >&6; }
     4292{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4293echo "${ECHO_T}$ac_header_preproc" >&6; }
    44114294
    44124295# So?  What about this header?
    44134296case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    44144297  yes:no: )
    4415     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4416 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4417     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4418 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4298    { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4299echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4300    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4301echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    44194302    ac_header_preproc=yes
    44204303    ;;
    44214304  no:yes:* )
    4422     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4423 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4424     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4425 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4426     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4427 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4428     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4429 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4430     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4431 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4432     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4433 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4305    { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4306echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4307    { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4308echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4309    { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4310echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4311    { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4312echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4313    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4314echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4315    { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4316echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    44344317    ( cat <<\_ASBOX
    44354318## ----------------------------------- ##
     
    44404323    ;;
    44414324esac
    4442 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4443 $as_echo_n "checking for dld.h... " >&6; }
     4325{ echo "$as_me:$LINENO: checking for dld.h" >&5
     4326echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    44444327if test "${ac_cv_header_dld_h+set}" = set; then
    4445   $as_echo_n "(cached) " >&6
     4328  echo $ECHO_N "(cached) $ECHO_C" >&6
    44464329else
    44474330  ac_cv_header_dld_h=$ac_header_preproc
    44484331fi
    4449 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4450 $as_echo "$ac_cv_header_dld_h" >&6; }
    4451 
    4452 fi
    4453 if test "x$ac_cv_header_dld_h" = x""yes; then
     4332{ echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4333echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
     4334
     4335fi
     4336if test $ac_cv_header_dld_h = yes; then
    44544337
    44554338                    SHLIB_LD="ld -shared"
     
    44664349            fi
    44674350            if test $do64bit = yes; then
    4468                 { $as_echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
    4469 $as_echo_n "checking if compiler accepts -m64 flag... " >&6; }
     4351                { echo "$as_me:$LINENO: checking if compiler accepts -m64 flag" >&5
     4352echo $ECHO_N "checking if compiler accepts -m64 flag... $ECHO_C" >&6; }
    44704353if test "${tcl_cv_cc_m64+set}" = set; then
    4471   $as_echo_n "(cached) " >&6
     4354  echo $ECHO_N "(cached) $ECHO_C" >&6
    44724355else
    44734356
     
    44954378  *) ac_try_echo=$ac_try;;
    44964379esac
    4497 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4498 $as_echo "$ac_try_echo") >&5
     4380eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    44994381  (eval "$ac_link") 2>conftest.er1
    45004382  ac_status=$?
     
    45024384  rm -f conftest.er1
    45034385  cat conftest.err >&5
    4504   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4386  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45054387  (exit $ac_status); } && {
    45064388         test -z "$ac_c_werror_flag" ||
    45074389         test ! -s conftest.err
    4508        } && test -s conftest$ac_exeext && {
    4509          test "$cross_compiling" = yes ||
    4510          $as_test_x conftest$ac_exeext
    4511        }; then
     4390       } && test -s conftest$ac_exeext &&
     4391       $as_test_x conftest$ac_exeext; then
    45124392  tcl_cv_cc_m64=yes
    45134393else
    4514   $as_echo "$as_me: failed program was:" >&5
     4394  echo "$as_me: failed program was:" >&5
    45154395sed 's/^/| /' conftest.$ac_ext >&5
    45164396
     
    45184398fi
    45194399
    4520 rm -rf conftest.dSYM
    45214400rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    45224401      conftest$ac_exeext conftest.$ac_ext
    45234402                    CFLAGS=$hold_cflags
    45244403fi
    4525 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
    4526 $as_echo "$tcl_cv_cc_m64" >&6; }
     4404{ echo "$as_me:$LINENO: result: $tcl_cv_cc_m64" >&5
     4405echo "${ECHO_T}$tcl_cv_cc_m64" >&6; }
    45274406                if test $tcl_cv_cc_m64 = yes; then
    45284407                    CFLAGS="$CFLAGS -m64"
     
    45634442            else
    45644443                if test "${ac_cv_header_dld_h+set}" = set; then
    4565   { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4566 $as_echo_n "checking for dld.h... " >&6; }
     4444  { echo "$as_me:$LINENO: checking for dld.h" >&5
     4445echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    45674446if test "${ac_cv_header_dld_h+set}" = set; then
    4568   $as_echo_n "(cached) " >&6
    4569 fi
    4570 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4571 $as_echo "$ac_cv_header_dld_h" >&6; }
     4447  echo $ECHO_N "(cached) $ECHO_C" >&6
     4448fi
     4449{ echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4450echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
    45724451else
    45734452  # Is the header compilable?
    4574 { $as_echo "$as_me:$LINENO: checking dld.h usability" >&5
    4575 $as_echo_n "checking dld.h usability... " >&6; }
     4453{ echo "$as_me:$LINENO: checking dld.h usability" >&5
     4454echo $ECHO_N "checking dld.h usability... $ECHO_C" >&6; }
    45764455cat >conftest.$ac_ext <<_ACEOF
    45774456/* confdefs.h.  */
     
    45894468  *) ac_try_echo=$ac_try;;
    45904469esac
    4591 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4592 $as_echo "$ac_try_echo") >&5
     4470eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    45934471  (eval "$ac_compile") 2>conftest.er1
    45944472  ac_status=$?
     
    45964474  rm -f conftest.er1
    45974475  cat conftest.err >&5
    4598   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4476  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    45994477  (exit $ac_status); } && {
    46004478         test -z "$ac_c_werror_flag" ||
     
    46034481  ac_header_compiler=yes
    46044482else
    4605   $as_echo "$as_me: failed program was:" >&5
     4483  echo "$as_me: failed program was:" >&5
    46064484sed 's/^/| /' conftest.$ac_ext >&5
    46074485
     
    46104488
    46114489rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4612 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4613 $as_echo "$ac_header_compiler" >&6; }
     4490{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4491echo "${ECHO_T}$ac_header_compiler" >&6; }
    46144492
    46154493# Is the header present?
    4616 { $as_echo "$as_me:$LINENO: checking dld.h presence" >&5
    4617 $as_echo_n "checking dld.h presence... " >&6; }
     4494{ echo "$as_me:$LINENO: checking dld.h presence" >&5
     4495echo $ECHO_N "checking dld.h presence... $ECHO_C" >&6; }
    46184496cat >conftest.$ac_ext <<_ACEOF
    46194497/* confdefs.h.  */
     
    46294507  *) ac_try_echo=$ac_try;;
    46304508esac
    4631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4632 $as_echo "$ac_try_echo") >&5
     4509eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    46334510  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    46344511  ac_status=$?
     
    46364513  rm -f conftest.er1
    46374514  cat conftest.err >&5
    4638   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4515  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    46394516  (exit $ac_status); } >/dev/null && {
    46404517         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    46434520  ac_header_preproc=yes
    46444521else
    4645   $as_echo "$as_me: failed program was:" >&5
     4522  echo "$as_me: failed program was:" >&5
    46464523sed 's/^/| /' conftest.$ac_ext >&5
    46474524
     
    46504527
    46514528rm -f conftest.err conftest.$ac_ext
    4652 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4653 $as_echo "$ac_header_preproc" >&6; }
     4529{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4530echo "${ECHO_T}$ac_header_preproc" >&6; }
    46544531
    46554532# So?  What about this header?
    46564533case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    46574534  yes:no: )
    4658     { $as_echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4659 $as_echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4660     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
    4661 $as_echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
     4535    { echo "$as_me:$LINENO: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4536echo "$as_me: WARNING: dld.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4537    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the compiler's result" >&5
     4538echo "$as_me: WARNING: dld.h: proceeding with the compiler's result" >&2;}
    46624539    ac_header_preproc=yes
    46634540    ;;
    46644541  no:yes:* )
    4665     { $as_echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
    4666 $as_echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
    4667     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
    4668 $as_echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
    4669     { $as_echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
    4670 $as_echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
    4671     { $as_echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
    4672 $as_echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4673     { $as_echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
    4674 $as_echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
    4675     { $as_echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
    4676 $as_echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
     4542    { echo "$as_me:$LINENO: WARNING: dld.h: present but cannot be compiled" >&5
     4543echo "$as_me: WARNING: dld.h: present but cannot be compiled" >&2;}
     4544    { echo "$as_me:$LINENO: WARNING: dld.h:     check for missing prerequisite headers?" >&5
     4545echo "$as_me: WARNING: dld.h:     check for missing prerequisite headers?" >&2;}
     4546    { echo "$as_me:$LINENO: WARNING: dld.h: see the Autoconf documentation" >&5
     4547echo "$as_me: WARNING: dld.h: see the Autoconf documentation" >&2;}
     4548    { echo "$as_me:$LINENO: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&5
     4549echo "$as_me: WARNING: dld.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4550    { echo "$as_me:$LINENO: WARNING: dld.h: proceeding with the preprocessor's result" >&5
     4551echo "$as_me: WARNING: dld.h: proceeding with the preprocessor's result" >&2;}
     4552    { echo "$as_me:$LINENO: WARNING: dld.h: in the future, the compiler will take precedence" >&5
     4553echo "$as_me: WARNING: dld.h: in the future, the compiler will take precedence" >&2;}
    46774554    ( cat <<\_ASBOX
    46784555## ----------------------------------- ##
     
    46834560    ;;
    46844561esac
    4685 { $as_echo "$as_me:$LINENO: checking for dld.h" >&5
    4686 $as_echo_n "checking for dld.h... " >&6; }
     4562{ echo "$as_me:$LINENO: checking for dld.h" >&5
     4563echo $ECHO_N "checking for dld.h... $ECHO_C" >&6; }
    46874564if test "${ac_cv_header_dld_h+set}" = set; then
    4688   $as_echo_n "(cached) " >&6
     4565  echo $ECHO_N "(cached) $ECHO_C" >&6
    46894566else
    46904567  ac_cv_header_dld_h=$ac_header_preproc
    46914568fi
    4692 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
    4693 $as_echo "$ac_cv_header_dld_h" >&6; }
    4694 
    4695 fi
    4696 if test "x$ac_cv_header_dld_h" = x""yes; then
     4569{ echo "$as_me:$LINENO: result: $ac_cv_header_dld_h" >&5
     4570echo "${ECHO_T}$ac_cv_header_dld_h" >&6; }
     4571
     4572fi
     4573if test $ac_cv_header_dld_h = yes; then
    46974574
    46984575                    SHLIB_LD="ld -shared"
     
    47454622            # Not available on all versions:  check for include file.
    47464623            if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4747   { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4748 $as_echo_n "checking for dlfcn.h... " >&6; }
     4624  { echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     4625echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
    47494626if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4750   $as_echo_n "(cached) " >&6
    4751 fi
    4752 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4753 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
     4627  echo $ECHO_N "(cached) $ECHO_C" >&6
     4628fi
     4629{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     4630echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
    47544631else
    47554632  # Is the header compilable?
    4756 { $as_echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
    4757 $as_echo_n "checking dlfcn.h usability... " >&6; }
     4633{ echo "$as_me:$LINENO: checking dlfcn.h usability" >&5
     4634echo $ECHO_N "checking dlfcn.h usability... $ECHO_C" >&6; }
    47584635cat >conftest.$ac_ext <<_ACEOF
    47594636/* confdefs.h.  */
     
    47714648  *) ac_try_echo=$ac_try;;
    47724649esac
    4773 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4774 $as_echo "$ac_try_echo") >&5
     4650eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    47754651  (eval "$ac_compile") 2>conftest.er1
    47764652  ac_status=$?
     
    47784654  rm -f conftest.er1
    47794655  cat conftest.err >&5
    4780   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    47814657  (exit $ac_status); } && {
    47824658         test -z "$ac_c_werror_flag" ||
     
    47854661  ac_header_compiler=yes
    47864662else
    4787   $as_echo "$as_me: failed program was:" >&5
     4663  echo "$as_me: failed program was:" >&5
    47884664sed 's/^/| /' conftest.$ac_ext >&5
    47894665
     
    47924668
    47934669rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    4794 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    4795 $as_echo "$ac_header_compiler" >&6; }
     4670{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     4671echo "${ECHO_T}$ac_header_compiler" >&6; }
    47964672
    47974673# Is the header present?
    4798 { $as_echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
    4799 $as_echo_n "checking dlfcn.h presence... " >&6; }
     4674{ echo "$as_me:$LINENO: checking dlfcn.h presence" >&5
     4675echo $ECHO_N "checking dlfcn.h presence... $ECHO_C" >&6; }
    48004676cat >conftest.$ac_ext <<_ACEOF
    48014677/* confdefs.h.  */
     
    48114687  *) ac_try_echo=$ac_try;;
    48124688esac
    4813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    4814 $as_echo "$ac_try_echo") >&5
     4689eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    48154690  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    48164691  ac_status=$?
     
    48184693  rm -f conftest.er1
    48194694  cat conftest.err >&5
    4820   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4695  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    48214696  (exit $ac_status); } >/dev/null && {
    48224697         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    48254700  ac_header_preproc=yes
    48264701else
    4827   $as_echo "$as_me: failed program was:" >&5
     4702  echo "$as_me: failed program was:" >&5
    48284703sed 's/^/| /' conftest.$ac_ext >&5
    48294704
     
    48324707
    48334708rm -f conftest.err conftest.$ac_ext
    4834 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    4835 $as_echo "$ac_header_preproc" >&6; }
     4709{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     4710echo "${ECHO_T}$ac_header_preproc" >&6; }
    48364711
    48374712# So?  What about this header?
    48384713case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
    48394714  yes:no: )
    4840     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
    4841 $as_echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    4842     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
    4843 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
     4715    { echo "$as_me:$LINENO: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&5
     4716echo "$as_me: WARNING: dlfcn.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     4717    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the compiler's result" >&5
     4718echo "$as_me: WARNING: dlfcn.h: proceeding with the compiler's result" >&2;}
    48444719    ac_header_preproc=yes
    48454720    ;;
    48464721  no:yes:* )
    4847     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
    4848 $as_echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
    4849     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
    4850 $as_echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
    4851     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
    4852 $as_echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
    4853     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
    4854 $as_echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    4855     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
    4856 $as_echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
    4857     { $as_echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
    4858 $as_echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
     4722    { echo "$as_me:$LINENO: WARNING: dlfcn.h: present but cannot be compiled" >&5
     4723echo "$as_me: WARNING: dlfcn.h: present but cannot be compiled" >&2;}
     4724    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&5
     4725echo "$as_me: WARNING: dlfcn.h:     check for missing prerequisite headers?" >&2;}
     4726    { echo "$as_me:$LINENO: WARNING: dlfcn.h: see the Autoconf documentation" >&5
     4727echo "$as_me: WARNING: dlfcn.h: see the Autoconf documentation" >&2;}
     4728    { echo "$as_me:$LINENO: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&5
     4729echo "$as_me: WARNING: dlfcn.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     4730    { echo "$as_me:$LINENO: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&5
     4731echo "$as_me: WARNING: dlfcn.h: proceeding with the preprocessor's result" >&2;}
     4732    { echo "$as_me:$LINENO: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&5
     4733echo "$as_me: WARNING: dlfcn.h: in the future, the compiler will take precedence" >&2;}
    48594734    ( cat <<\_ASBOX
    48604735## ----------------------------------- ##
     
    48654740    ;;
    48664741esac
    4867 { $as_echo "$as_me:$LINENO: checking for dlfcn.h" >&5
    4868 $as_echo_n "checking for dlfcn.h... " >&6; }
     4742{ echo "$as_me:$LINENO: checking for dlfcn.h" >&5
     4743echo $ECHO_N "checking for dlfcn.h... $ECHO_C" >&6; }
    48694744if test "${ac_cv_header_dlfcn_h+set}" = set; then
    4870   $as_echo_n "(cached) " >&6
     4745  echo $ECHO_N "(cached) $ECHO_C" >&6
    48714746else
    48724747  ac_cv_header_dlfcn_h=$ac_header_preproc
    48734748fi
    4874 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
    4875 $as_echo "$ac_cv_header_dlfcn_h" >&6; }
    4876 
    4877 fi
    4878 if test "x$ac_cv_header_dlfcn_h" = x""yes; then
     4749{ echo "$as_me:$LINENO: result: $ac_cv_header_dlfcn_h" >&5
     4750echo "${ECHO_T}$ac_cv_header_dlfcn_h" >&6; }
     4751
     4752fi
     4753if test $ac_cv_header_dlfcn_h = yes; then
    48794754
    48804755                # NetBSD/SPARC needs -fPIC, -fpic will not do.
     
    48874762                CC_SEARCH_FLAGS='-Wl,-rpath,${LIB_RUNTIME_DIR}'
    48884763                LD_SEARCH_FLAGS='-rpath ${LIB_RUNTIME_DIR}'
    4889                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    4890 $as_echo_n "checking for ELF... " >&6; }
     4764                { echo "$as_me:$LINENO: checking for ELF" >&5
     4765echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
    48914766if test "${tcl_cv_ld_elf+set}" = set; then
    4892   $as_echo_n "(cached) " >&6
     4767  echo $ECHO_N "(cached) $ECHO_C" >&6
    48934768else
    48944769
     
    49144789
    49154790fi
    4916 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    4917 $as_echo "$tcl_cv_ld_elf" >&6; }
     4791{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     4792echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
    49184793                if test $tcl_cv_ld_elf = yes; then
    49194794                    SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so'
     
    49734848                LD_SEARCH_FLAGS=${CC_SEARCH_FLAGS}
    49744849                SHARED_LIB_SUFFIX='${TCL_TRIM_DOTS}\$\{DBGX\}.so.1.0'
    4975                 { $as_echo "$as_me:$LINENO: checking for ELF" >&5
    4976 $as_echo_n "checking for ELF... " >&6; }
     4850                { echo "$as_me:$LINENO: checking for ELF" >&5
     4851echo $ECHO_N "checking for ELF... $ECHO_C" >&6; }
    49774852if test "${tcl_cv_ld_elf+set}" = set; then
    4978   $as_echo_n "(cached) " >&6
     4853  echo $ECHO_N "(cached) $ECHO_C" >&6
    49794854else
    49804855
     
    50004875
    50014876fi
    5002 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
    5003 $as_echo "$tcl_cv_ld_elf" >&6; }
     4877{ echo "$as_me:$LINENO: result: $tcl_cv_ld_elf" >&5
     4878echo "${ECHO_T}$tcl_cv_ld_elf" >&6; }
    50044879                if test $tcl_cv_ld_elf = yes; then
    50054880                    LDFLAGS=-Wl,-export-dynamic
     
    50554930                case `arch` in
    50564931                    ppc)
    5057                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
    5058 $as_echo_n "checking if compiler accepts -arch ppc64 flag... " >&6; }
     4932                        { echo "$as_me:$LINENO: checking if compiler accepts -arch ppc64 flag" >&5
     4933echo $ECHO_N "checking if compiler accepts -arch ppc64 flag... $ECHO_C" >&6; }
    50594934if test "${tcl_cv_cc_arch_ppc64+set}" = set; then
    5060   $as_echo_n "(cached) " >&6
     4935  echo $ECHO_N "(cached) $ECHO_C" >&6
    50614936else
    50624937
     
    50844959  *) ac_try_echo=$ac_try;;
    50854960esac
    5086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5087 $as_echo "$ac_try_echo") >&5
     4961eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    50884962  (eval "$ac_link") 2>conftest.er1
    50894963  ac_status=$?
     
    50914965  rm -f conftest.er1
    50924966  cat conftest.err >&5
    5093   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     4967  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    50944968  (exit $ac_status); } && {
    50954969         test -z "$ac_c_werror_flag" ||
    50964970         test ! -s conftest.err
    5097        } && test -s conftest$ac_exeext && {
    5098          test "$cross_compiling" = yes ||
    5099          $as_test_x conftest$ac_exeext
    5100        }; then
     4971       } && test -s conftest$ac_exeext &&
     4972       $as_test_x conftest$ac_exeext; then
    51014973  tcl_cv_cc_arch_ppc64=yes
    51024974else
    5103   $as_echo "$as_me: failed program was:" >&5
     4975  echo "$as_me: failed program was:" >&5
    51044976sed 's/^/| /' conftest.$ac_ext >&5
    51054977
     
    51074979fi
    51084980
    5109 rm -rf conftest.dSYM
    51104981rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    51114982      conftest$ac_exeext conftest.$ac_ext
    51124983                            CFLAGS=$hold_cflags
    51134984fi
    5114 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
    5115 $as_echo "$tcl_cv_cc_arch_ppc64" >&6; }
     4985{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_ppc64" >&5
     4986echo "${ECHO_T}$tcl_cv_cc_arch_ppc64" >&6; }
    51164987                        if test $tcl_cv_cc_arch_ppc64 = yes; then
    51174988                            CFLAGS="$CFLAGS -arch ppc64 -mpowerpc64 -mcpu=G5"
     
    51194990                        fi;;
    51204991                    i386)
    5121                         { $as_echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
    5122 $as_echo_n "checking if compiler accepts -arch x86_64 flag... " >&6; }
     4992                        { echo "$as_me:$LINENO: checking if compiler accepts -arch x86_64 flag" >&5
     4993echo $ECHO_N "checking if compiler accepts -arch x86_64 flag... $ECHO_C" >&6; }
    51234994if test "${tcl_cv_cc_arch_x86_64+set}" = set; then
    5124   $as_echo_n "(cached) " >&6
     4995  echo $ECHO_N "(cached) $ECHO_C" >&6
    51254996else
    51264997
     
    51485019  *) ac_try_echo=$ac_try;;
    51495020esac
    5150 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5151 $as_echo "$ac_try_echo") >&5
     5021eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    51525022  (eval "$ac_link") 2>conftest.er1
    51535023  ac_status=$?
     
    51555025  rm -f conftest.er1
    51565026  cat conftest.err >&5
    5157   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5027  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    51585028  (exit $ac_status); } && {
    51595029         test -z "$ac_c_werror_flag" ||
    51605030         test ! -s conftest.err
    5161        } && test -s conftest$ac_exeext && {
    5162          test "$cross_compiling" = yes ||
    5163          $as_test_x conftest$ac_exeext
    5164        }; then
     5031       } && test -s conftest$ac_exeext &&
     5032       $as_test_x conftest$ac_exeext; then
    51655033  tcl_cv_cc_arch_x86_64=yes
    51665034else
    5167   $as_echo "$as_me: failed program was:" >&5
     5035  echo "$as_me: failed program was:" >&5
    51685036sed 's/^/| /' conftest.$ac_ext >&5
    51695037
     
    51715039fi
    51725040
    5173 rm -rf conftest.dSYM
    51745041rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    51755042      conftest$ac_exeext conftest.$ac_ext
    51765043                            CFLAGS=$hold_cflags
    51775044fi
    5178 { $as_echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
    5179 $as_echo "$tcl_cv_cc_arch_x86_64" >&6; }
     5045{ echo "$as_me:$LINENO: result: $tcl_cv_cc_arch_x86_64" >&5
     5046echo "${ECHO_T}$tcl_cv_cc_arch_x86_64" >&6; }
    51805047                        if test $tcl_cv_cc_arch_x86_64 = yes; then
    51815048                            CFLAGS="$CFLAGS -arch x86_64"
     
    51835050                        fi;;
    51845051                    *)
    5185                         { $as_echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
    5186 $as_echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
     5052                        { echo "$as_me:$LINENO: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&5
     5053echo "$as_me: WARNING: Don't know how enable 64-bit on architecture \`arch\`" >&2;};;
    51875054                esac
    51885055            else
     
    51935060            fi
    51945061            SHLIB_LD='${CC} -dynamiclib ${CFLAGS} ${LDFLAGS}'
    5195             { $as_echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
    5196 $as_echo_n "checking if ld accepts -single_module flag... " >&6; }
     5062            { echo "$as_me:$LINENO: checking if ld accepts -single_module flag" >&5
     5063echo $ECHO_N "checking if ld accepts -single_module flag... $ECHO_C" >&6; }
    51975064if test "${tcl_cv_ld_single_module+set}" = set; then
    5198   $as_echo_n "(cached) " >&6
     5065  echo $ECHO_N "(cached) $ECHO_C" >&6
    51995066else
    52005067
     
    52225089  *) ac_try_echo=$ac_try;;
    52235090esac
    5224 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5225 $as_echo "$ac_try_echo") >&5
     5091eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    52265092  (eval "$ac_link") 2>conftest.er1
    52275093  ac_status=$?
     
    52295095  rm -f conftest.er1
    52305096  cat conftest.err >&5
    5231   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    52325098  (exit $ac_status); } && {
    52335099         test -z "$ac_c_werror_flag" ||
    52345100         test ! -s conftest.err
    5235        } && test -s conftest$ac_exeext && {
    5236          test "$cross_compiling" = yes ||
    5237          $as_test_x conftest$ac_exeext
    5238        }; then
     5101       } && test -s conftest$ac_exeext &&
     5102       $as_test_x conftest$ac_exeext; then
    52395103  tcl_cv_ld_single_module=yes
    52405104else
    5241   $as_echo "$as_me: failed program was:" >&5
     5105  echo "$as_me: failed program was:" >&5
    52425106sed 's/^/| /' conftest.$ac_ext >&5
    52435107
     
    52455109fi
    52465110
    5247 rm -rf conftest.dSYM
    52485111rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    52495112      conftest$ac_exeext conftest.$ac_ext
    52505113                LDFLAGS=$hold_ldflags
    52515114fi
    5252 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
    5253 $as_echo "$tcl_cv_ld_single_module" >&6; }
     5115{ echo "$as_me:$LINENO: result: $tcl_cv_ld_single_module" >&5
     5116echo "${ECHO_T}$tcl_cv_ld_single_module" >&6; }
    52545117            if test $tcl_cv_ld_single_module = yes; then
    52555118                SHLIB_LD="${SHLIB_LD} -Wl,-single_module"
     
    52645127                LDFLAGS="$LDFLAGS -prebind"
    52655128            LDFLAGS="$LDFLAGS -headerpad_max_install_names"
    5266             { $as_echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
    5267 $as_echo_n "checking if ld accepts -search_paths_first flag... " >&6; }
     5129            { echo "$as_me:$LINENO: checking if ld accepts -search_paths_first flag" >&5
     5130echo $ECHO_N "checking if ld accepts -search_paths_first flag... $ECHO_C" >&6; }
    52685131if test "${tcl_cv_ld_search_paths_first+set}" = set; then
    5269   $as_echo_n "(cached) " >&6
     5132  echo $ECHO_N "(cached) $ECHO_C" >&6
    52705133else
    52715134
     
    52935156  *) ac_try_echo=$ac_try;;
    52945157esac
    5295 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5296 $as_echo "$ac_try_echo") >&5
     5158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    52975159  (eval "$ac_link") 2>conftest.er1
    52985160  ac_status=$?
     
    53005162  rm -f conftest.er1
    53015163  cat conftest.err >&5
    5302   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5164  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    53035165  (exit $ac_status); } && {
    53045166         test -z "$ac_c_werror_flag" ||
    53055167         test ! -s conftest.err
    5306        } && test -s conftest$ac_exeext && {
    5307          test "$cross_compiling" = yes ||
    5308          $as_test_x conftest$ac_exeext
    5309        }; then
     5168       } && test -s conftest$ac_exeext &&
     5169       $as_test_x conftest$ac_exeext; then
    53105170  tcl_cv_ld_search_paths_first=yes
    53115171else
    5312   $as_echo "$as_me: failed program was:" >&5
     5172  echo "$as_me: failed program was:" >&5
    53135173sed 's/^/| /' conftest.$ac_ext >&5
    53145174
     
    53165176fi
    53175177
    5318 rm -rf conftest.dSYM
    53195178rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    53205179      conftest$ac_exeext conftest.$ac_ext
    53215180                LDFLAGS=$hold_ldflags
    53225181fi
    5323 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
    5324 $as_echo "$tcl_cv_ld_search_paths_first" >&6; }
     5182{ echo "$as_me:$LINENO: result: $tcl_cv_ld_search_paths_first" >&5
     5183echo "${ECHO_T}$tcl_cv_ld_search_paths_first" >&6; }
    53255184            if test $tcl_cv_ld_search_paths_first = yes; then
    53265185                LDFLAGS="$LDFLAGS -Wl,-search_paths_first"
     
    53315190            PLAT_OBJS=\$\(MAC\_OSX_OBJS\)
    53325191            PLAT_SRCS=\$\(MAC\_OSX_SRCS\)
    5333             { $as_echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
    5334 $as_echo_n "checking whether to use CoreFoundation... " >&6; }
     5192            { echo "$as_me:$LINENO: checking whether to use CoreFoundation" >&5
     5193echo $ECHO_N "checking whether to use CoreFoundation... $ECHO_C" >&6; }
    53355194            # Check whether --enable-corefoundation was given.
    53365195if test "${enable_corefoundation+set}" = set; then
     
    53405199fi
    53415200
    5342             { $as_echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
    5343 $as_echo "$tcl_corefoundation" >&6; }
     5201            { echo "$as_me:$LINENO: result: $tcl_corefoundation" >&5
     5202echo "${ECHO_T}$tcl_corefoundation" >&6; }
    53445203            if test $tcl_corefoundation = yes; then
    5345                 { $as_echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
    5346 $as_echo_n "checking for CoreFoundation.framework... " >&6; }
     5204                { echo "$as_me:$LINENO: checking for CoreFoundation.framework" >&5
     5205echo $ECHO_N "checking for CoreFoundation.framework... $ECHO_C" >&6; }
    53475206if test "${tcl_cv_lib_corefoundation+set}" = set; then
    5348   $as_echo_n "(cached) " >&6
     5207  echo $ECHO_N "(cached) $ECHO_C" >&6
    53495208else
    53505209
     
    53785237  *) ac_try_echo=$ac_try;;
    53795238esac
    5380 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5381 $as_echo "$ac_try_echo") >&5
     5239eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    53825240  (eval "$ac_link") 2>conftest.er1
    53835241  ac_status=$?
     
    53855243  rm -f conftest.er1
    53865244  cat conftest.err >&5
    5387   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5245  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    53885246  (exit $ac_status); } && {
    53895247         test -z "$ac_c_werror_flag" ||
    53905248         test ! -s conftest.err
    5391        } && test -s conftest$ac_exeext && {
    5392          test "$cross_compiling" = yes ||
    5393          $as_test_x conftest$ac_exeext
    5394        }; then
     5249       } && test -s conftest$ac_exeext &&
     5250       $as_test_x conftest$ac_exeext; then
    53955251  tcl_cv_lib_corefoundation=yes
    53965252else
    5397   $as_echo "$as_me: failed program was:" >&5
     5253  echo "$as_me: failed program was:" >&5
    53985254sed 's/^/| /' conftest.$ac_ext >&5
    53995255
     
    54015257fi
    54025258
    5403 rm -rf conftest.dSYM
    54045259rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    54055260      conftest$ac_exeext conftest.$ac_ext
     
    54085263                    done; fi; LIBS=$hold_libs
    54095264fi
    5410 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
    5411 $as_echo "$tcl_cv_lib_corefoundation" >&6; }
     5265{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation" >&5
     5266echo "${ECHO_T}$tcl_cv_lib_corefoundation" >&6; }
    54125267                if test $tcl_cv_lib_corefoundation = yes; then
    54135268                    LIBS="$LIBS -framework CoreFoundation"
     
    54205275                fi
    54215276                if test "$fat_32_64" = yes -a $tcl_corefoundation = yes; then
    5422                     { $as_echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
    5423 $as_echo_n "checking for 64-bit CoreFoundation... " >&6; }
     5277                    { echo "$as_me:$LINENO: checking for 64-bit CoreFoundation" >&5
     5278echo $ECHO_N "checking for 64-bit CoreFoundation... $ECHO_C" >&6; }
    54245279if test "${tcl_cv_lib_corefoundation_64+set}" = set; then
    5425   $as_echo_n "(cached) " >&6
     5280  echo $ECHO_N "(cached) $ECHO_C" >&6
    54265281else
    54275282
     
    54505305  *) ac_try_echo=$ac_try;;
    54515306esac
    5452 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5453 $as_echo "$ac_try_echo") >&5
     5307eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    54545308  (eval "$ac_link") 2>conftest.er1
    54555309  ac_status=$?
     
    54575311  rm -f conftest.er1
    54585312  cat conftest.err >&5
    5459   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5313  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    54605314  (exit $ac_status); } && {
    54615315         test -z "$ac_c_werror_flag" ||
    54625316         test ! -s conftest.err
    5463        } && test -s conftest$ac_exeext && {
    5464          test "$cross_compiling" = yes ||
    5465          $as_test_x conftest$ac_exeext
    5466        }; then
     5317       } && test -s conftest$ac_exeext &&
     5318       $as_test_x conftest$ac_exeext; then
    54675319  tcl_cv_lib_corefoundation_64=yes
    54685320else
    5469   $as_echo "$as_me: failed program was:" >&5
     5321  echo "$as_me: failed program was:" >&5
    54705322sed 's/^/| /' conftest.$ac_ext >&5
    54715323
     
    54735325fi
    54745326
    5475 rm -rf conftest.dSYM
    54765327rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    54775328      conftest$ac_exeext conftest.$ac_ext
     
    54805331                        done
    54815332fi
    5482 { $as_echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
    5483 $as_echo "$tcl_cv_lib_corefoundation_64" >&6; }
     5333{ echo "$as_me:$LINENO: result: $tcl_cv_lib_corefoundation_64" >&5
     5334echo "${ECHO_T}$tcl_cv_lib_corefoundation_64" >&6; }
    54845335                    if test $tcl_cv_lib_corefoundation_64 = no; then
    54855336                        cat >>confdefs.h <<\_ACEOF
     
    56995550                        if test "$GCC" = "yes" ; then
    57005551                            if test "`gcc -dumpversion | awk -F. '{print $1}'`" -lt "3" ; then
    5701                                 { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
    5702 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
     5552                                { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&5
     5553echo "$as_me: WARNING: 64bit mode not supported with GCC < 3.2 on $system" >&2;}
    57035554                            else
    57045555                                do64bit_ok=yes
     
    57215572                elif test "$arch" = "amd64 i386" ; then
    57225573                    if test "$GCC" = "yes" ; then
    5723                         { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
    5724 $as_echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
     5574                        { echo "$as_me:$LINENO: WARNING: 64bit mode not supported with GCC on $system" >&5
     5575echo "$as_me: WARNING: 64bit mode not supported with GCC on $system" >&2;}
    57255576                    else
    57265577                        do64bit_ok=yes
     
    57295580                    fi
    57305581                else
    5731                     { $as_echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
    5732 $as_echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
     5582                    { echo "$as_me:$LINENO: WARNING: 64bit mode not supported for $arch" >&5
     5583echo "$as_me: WARNING: 64bit mode not supported for $arch" >&2;}
    57335584                fi
    57345585            fi
     
    57885639            # Some UNIX_SV* systems (unixware 1.1.2 for example) have linkers
    57895640            # that don't grok the -Bexport option.  Test that it does.
    5790             { $as_echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
    5791 $as_echo_n "checking for ld accepts -Bexport flag... " >&6; }
     5641            { echo "$as_me:$LINENO: checking for ld accepts -Bexport flag" >&5
     5642echo $ECHO_N "checking for ld accepts -Bexport flag... $ECHO_C" >&6; }
    57925643if test "${tcl_cv_ld_Bexport+set}" = set; then
    5793   $as_echo_n "(cached) " >&6
     5644  echo $ECHO_N "(cached) $ECHO_C" >&6
    57945645else
    57955646
     
    58175668  *) ac_try_echo=$ac_try;;
    58185669esac
    5819 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5820 $as_echo "$ac_try_echo") >&5
     5670eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    58215671  (eval "$ac_link") 2>conftest.er1
    58225672  ac_status=$?
     
    58245674  rm -f conftest.er1
    58255675  cat conftest.err >&5
    5826   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    58275677  (exit $ac_status); } && {
    58285678         test -z "$ac_c_werror_flag" ||
    58295679         test ! -s conftest.err
    5830        } && test -s conftest$ac_exeext && {
    5831          test "$cross_compiling" = yes ||
    5832          $as_test_x conftest$ac_exeext
    5833        }; then
     5680       } && test -s conftest$ac_exeext &&
     5681       $as_test_x conftest$ac_exeext; then
    58345682  tcl_cv_ld_Bexport=yes
    58355683else
    5836   $as_echo "$as_me: failed program was:" >&5
     5684  echo "$as_me: failed program was:" >&5
    58375685sed 's/^/| /' conftest.$ac_ext >&5
    58385686
     
    58405688fi
    58415689
    5842 rm -rf conftest.dSYM
    58435690rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
    58445691      conftest$ac_exeext conftest.$ac_ext
    58455692                LDFLAGS=$hold_ldflags
    58465693fi
    5847 { $as_echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
    5848 $as_echo "$tcl_cv_ld_Bexport" >&6; }
     5694{ echo "$as_me:$LINENO: result: $tcl_cv_ld_Bexport" >&5
     5695echo "${ECHO_T}$tcl_cv_ld_Bexport" >&6; }
    58495696            if test $tcl_cv_ld_Bexport = yes; then
    58505697                LDFLAGS="$LDFLAGS -Wl,-Bexport"
     
    58565703
    58575704    if test "$do64bit" = "yes" -a "$do64bit_ok" = "no" ; then
    5858         { $as_echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
    5859 $as_echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
     5705        { echo "$as_me:$LINENO: WARNING: 64bit support being disabled -- don't know magic for this platform" >&5
     5706echo "$as_me: WARNING: 64bit support being disabled -- don't know magic for this platform" >&2;}
    58605707    fi
    58615708
     
    58835730
    58845731    if test "x$DL_OBJS" = "xtclLoadAout.o" ; then
    5885         { $as_echo "$as_me:$LINENO: checking sys/exec.h" >&5
    5886 $as_echo_n "checking sys/exec.h... " >&6; }
     5732        { echo "$as_me:$LINENO: checking sys/exec.h" >&5
     5733echo $ECHO_N "checking sys/exec.h... $ECHO_C" >&6; }
    58875734if test "${tcl_cv_sysexec_h+set}" = set; then
    5888   $as_echo_n "(cached) " >&6
     5735  echo $ECHO_N "(cached) $ECHO_C" >&6
    58895736else
    58905737
     
    59215768  *) ac_try_echo=$ac_try;;
    59225769esac
    5923 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5924 $as_echo "$ac_try_echo") >&5
     5770eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    59255771  (eval "$ac_compile") 2>conftest.er1
    59265772  ac_status=$?
     
    59285774  rm -f conftest.er1
    59295775  cat conftest.err >&5
    5930   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5776  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    59315777  (exit $ac_status); } && {
    59325778         test -z "$ac_c_werror_flag" ||
     
    59355781  tcl_cv_sysexec_h=usable
    59365782else
    5937   $as_echo "$as_me: failed program was:" >&5
     5783  echo "$as_me: failed program was:" >&5
    59385784sed 's/^/| /' conftest.$ac_ext >&5
    59395785
     
    59435789rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    59445790fi
    5945 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
    5946 $as_echo "$tcl_cv_sysexec_h" >&6; }
     5791{ echo "$as_me:$LINENO: result: $tcl_cv_sysexec_h" >&5
     5792echo "${ECHO_T}$tcl_cv_sysexec_h" >&6; }
    59475793        if test $tcl_cv_sysexec_h = usable; then
    59485794            cat >>confdefs.h <<\_ACEOF
     
    59515797
    59525798        else
    5953             { $as_echo "$as_me:$LINENO: checking a.out.h" >&5
    5954 $as_echo_n "checking a.out.h... " >&6; }
     5799            { echo "$as_me:$LINENO: checking a.out.h" >&5
     5800echo $ECHO_N "checking a.out.h... $ECHO_C" >&6; }
    59555801if test "${tcl_cv_aout_h+set}" = set; then
    5956   $as_echo_n "(cached) " >&6
     5802  echo $ECHO_N "(cached) $ECHO_C" >&6
    59575803else
    59585804
     
    59895835  *) ac_try_echo=$ac_try;;
    59905836esac
    5991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    5992 $as_echo "$ac_try_echo") >&5
     5837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    59935838  (eval "$ac_compile") 2>conftest.er1
    59945839  ac_status=$?
     
    59965841  rm -f conftest.er1
    59975842  cat conftest.err >&5
    5998   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5843  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    59995844  (exit $ac_status); } && {
    60005845         test -z "$ac_c_werror_flag" ||
     
    60035848  tcl_cv_aout_h=usable
    60045849else
    6005   $as_echo "$as_me: failed program was:" >&5
     5850  echo "$as_me: failed program was:" >&5
    60065851sed 's/^/| /' conftest.$ac_ext >&5
    60075852
     
    60115856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60125857fi
    6013 { $as_echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
    6014 $as_echo "$tcl_cv_aout_h" >&6; }
     5858{ echo "$as_me:$LINENO: result: $tcl_cv_aout_h" >&5
     5859echo "${ECHO_T}$tcl_cv_aout_h" >&6; }
    60155860            if test $tcl_cv_aout_h = usable; then
    60165861                cat >>confdefs.h <<\_ACEOF
     
    60195864
    60205865            else
    6021                 { $as_echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
    6022 $as_echo_n "checking sys/exec_aout.h... " >&6; }
     5866                { echo "$as_me:$LINENO: checking sys/exec_aout.h" >&5
     5867echo $ECHO_N "checking sys/exec_aout.h... $ECHO_C" >&6; }
    60235868if test "${tcl_cv_sysexecaout_h+set}" = set; then
    6024   $as_echo_n "(cached) " >&6
     5869  echo $ECHO_N "(cached) $ECHO_C" >&6
    60255870else
    60265871
     
    60575902  *) ac_try_echo=$ac_try;;
    60585903esac
    6059 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6060 $as_echo "$ac_try_echo") >&5
     5904eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    60615905  (eval "$ac_compile") 2>conftest.er1
    60625906  ac_status=$?
     
    60645908  rm -f conftest.er1
    60655909  cat conftest.err >&5
    6066   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     5910  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    60675911  (exit $ac_status); } && {
    60685912         test -z "$ac_c_werror_flag" ||
     
    60715915  tcl_cv_sysexecaout_h=usable
    60725916else
    6073   $as_echo "$as_me: failed program was:" >&5
     5917  echo "$as_me: failed program was:" >&5
    60745918sed 's/^/| /' conftest.$ac_ext >&5
    60755919
     
    60795923rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    60805924fi
    6081 { $as_echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
    6082 $as_echo "$tcl_cv_sysexecaout_h" >&6; }
     5925{ echo "$as_me:$LINENO: result: $tcl_cv_sysexecaout_h" >&5
     5926echo "${ECHO_T}$tcl_cv_sysexecaout_h" >&6; }
    60835927                if test $tcl_cv_sysexecaout_h = usable; then
    60845928                    cat >>confdefs.h <<\_ACEOF
     
    62436087done
    62446088if test -z "$ac_aux_dir"; then
    6245   { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
    6246 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
     6089  { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
     6090echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
    62476091   { (exit 1); exit 1; }; }
    62486092fi
     
    62706114# OS/2's system install, which has a completely different semantic
    62716115# ./install, which can be erroneously created by make from ./install.sh.
    6272 # Reject install programs that cannot install multiple files.
    6273 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
    6274 $as_echo_n "checking for a BSD-compatible install... " >&6; }
     6116{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
     6117echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
    62756118if test -z "$INSTALL"; then
    62766119if test "${ac_cv_path_install+set}" = set; then
    6277   $as_echo_n "(cached) " >&6
     6120  echo $ECHO_N "(cached) $ECHO_C" >&6
    62786121else
    62796122  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    63046147            :
    63056148          else
    6306             rm -rf conftest.one conftest.two conftest.dir
    6307             echo one > conftest.one
    6308             echo two > conftest.two
    6309             mkdir conftest.dir
    6310             if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
    6311               test -s conftest.one && test -s conftest.two &&
    6312               test -s conftest.dir/conftest.one &&
    6313               test -s conftest.dir/conftest.two
    6314             then
    6315               ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
    6316               break 3
    6317             fi
     6149            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
     6150            break 3
    63186151          fi
    63196152        fi
     
    63226155    ;;
    63236156esac
    6324 
    63256157done
    63266158IFS=$as_save_IFS
    63276159
    6328 rm -rf conftest.one conftest.two conftest.dir
    63296160
    63306161fi
     
    63396170  fi
    63406171fi
    6341 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
    6342 $as_echo "$INSTALL" >&6; }
     6172{ echo "$as_me:$LINENO: result: $INSTALL" >&5
     6173echo "${ECHO_T}$INSTALL" >&6; }
    63436174
    63446175# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
     
    63536184  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
    63546185set dummy ${ac_tool_prefix}ranlib; ac_word=$2
    6355 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6356 $as_echo_n "checking for $ac_word... " >&6; }
     6186{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6187echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    63576188if test "${ac_cv_prog_RANLIB+set}" = set; then
    6358   $as_echo_n "(cached) " >&6
     6189  echo $ECHO_N "(cached) $ECHO_C" >&6
    63596190else
    63606191  if test -n "$RANLIB"; then
     
    63696200  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    63706201    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
    6371     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6202    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    63726203    break 2
    63736204  fi
     
    63806211RANLIB=$ac_cv_prog_RANLIB
    63816212if test -n "$RANLIB"; then
    6382   { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
    6383 $as_echo "$RANLIB" >&6; }
    6384 else
    6385   { $as_echo "$as_me:$LINENO: result: no" >&5
    6386 $as_echo "no" >&6; }
     6213  { echo "$as_me:$LINENO: result: $RANLIB" >&5
     6214echo "${ECHO_T}$RANLIB" >&6; }
     6215else
     6216  { echo "$as_me:$LINENO: result: no" >&5
     6217echo "${ECHO_T}no" >&6; }
    63876218fi
    63886219
     
    63936224  # Extract the first word of "ranlib", so it can be a program name with args.
    63946225set dummy ranlib; ac_word=$2
    6395 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6396 $as_echo_n "checking for $ac_word... " >&6; }
     6226{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6227echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    63976228if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
    6398   $as_echo_n "(cached) " >&6
     6229  echo $ECHO_N "(cached) $ECHO_C" >&6
    63996230else
    64006231  if test -n "$ac_ct_RANLIB"; then
     
    64096240  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    64106241    ac_cv_prog_ac_ct_RANLIB="ranlib"
    6411     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6242    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    64126243    break 2
    64136244  fi
     
    64206251ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
    64216252if test -n "$ac_ct_RANLIB"; then
    6422   { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
    6423 $as_echo "$ac_ct_RANLIB" >&6; }
    6424 else
    6425   { $as_echo "$as_me:$LINENO: result: no" >&5
    6426 $as_echo "no" >&6; }
     6253  { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
     6254echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
     6255else
     6256  { echo "$as_me:$LINENO: result: no" >&5
     6257echo "${ECHO_T}no" >&6; }
    64276258fi
    64286259
     
    64326263    case $cross_compiling:$ac_tool_warned in
    64336264yes:)
    6434 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    6435 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6265{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     6266whose name does not start with the host triplet.  If you think this
     6267configuration is useful to you, please write to autoconf@gnu.org." >&5
     6268echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     6269whose name does not start with the host triplet.  If you think this
     6270configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    64366271ac_tool_warned=yes ;;
    64376272esac
     
    64426277fi
    64436278
    6444 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
    6445 $as_echo_n "checking whether ln -s works... " >&6; }
     6279{ echo "$as_me:$LINENO: checking whether ln -s works" >&5
     6280echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
    64466281LN_S=$as_ln_s
    64476282if test "$LN_S" = "ln -s"; then
    6448   { $as_echo "$as_me:$LINENO: result: yes" >&5
    6449 $as_echo "yes" >&6; }
    6450 else
    6451   { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
    6452 $as_echo "no, using $LN_S" >&6; }
    6453 fi
    6454 
    6455 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
    6456 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
     6283  { echo "$as_me:$LINENO: result: yes" >&5
     6284echo "${ECHO_T}yes" >&6; }
     6285else
     6286  { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
     6287echo "${ECHO_T}no, using $LN_S" >&6; }
     6288fi
     6289
     6290{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
     6291echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
    64576292if test -z "$MKDIR_P"; then
    64586293  if test "${ac_cv_path_mkdir+set}" = set; then
    6459   $as_echo_n "(cached) " >&6
     6294  echo $ECHO_N "(cached) $ECHO_C" >&6
    64606295else
    64616296  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
     
    64926327  fi
    64936328fi
    6494 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
    6495 $as_echo "$MKDIR_P" >&6; }
     6329{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
     6330echo "${ECHO_T}$MKDIR_P" >&6; }
    64966331
    64976332
     
    65046339  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
    65056340set dummy ${ac_tool_prefix}gcc; ac_word=$2
    6506 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6507 $as_echo_n "checking for $ac_word... " >&6; }
     6341{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6342echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    65086343if test "${ac_cv_prog_CC+set}" = set; then
    6509   $as_echo_n "(cached) " >&6
     6344  echo $ECHO_N "(cached) $ECHO_C" >&6
    65106345else
    65116346  if test -n "$CC"; then
     
    65206355  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65216356    ac_cv_prog_CC="${ac_tool_prefix}gcc"
    6522     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6357    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65236358    break 2
    65246359  fi
     
    65316366CC=$ac_cv_prog_CC
    65326367if test -n "$CC"; then
    6533   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    6534 $as_echo "$CC" >&6; }
    6535 else
    6536   { $as_echo "$as_me:$LINENO: result: no" >&5
    6537 $as_echo "no" >&6; }
     6368  { echo "$as_me:$LINENO: result: $CC" >&5
     6369echo "${ECHO_T}$CC" >&6; }
     6370else
     6371  { echo "$as_me:$LINENO: result: no" >&5
     6372echo "${ECHO_T}no" >&6; }
    65386373fi
    65396374
     
    65446379  # Extract the first word of "gcc", so it can be a program name with args.
    65456380set dummy gcc; ac_word=$2
    6546 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6547 $as_echo_n "checking for $ac_word... " >&6; }
     6381{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6382echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    65486383if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    6549   $as_echo_n "(cached) " >&6
     6384  echo $ECHO_N "(cached) $ECHO_C" >&6
    65506385else
    65516386  if test -n "$ac_ct_CC"; then
     
    65606395  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    65616396    ac_cv_prog_ac_ct_CC="gcc"
    6562     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6397    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    65636398    break 2
    65646399  fi
     
    65716406ac_ct_CC=$ac_cv_prog_ac_ct_CC
    65726407if test -n "$ac_ct_CC"; then
    6573   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    6574 $as_echo "$ac_ct_CC" >&6; }
    6575 else
    6576   { $as_echo "$as_me:$LINENO: result: no" >&5
    6577 $as_echo "no" >&6; }
     6408  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6409echo "${ECHO_T}$ac_ct_CC" >&6; }
     6410else
     6411  { echo "$as_me:$LINENO: result: no" >&5
     6412echo "${ECHO_T}no" >&6; }
    65786413fi
    65796414
     
    65836418    case $cross_compiling:$ac_tool_warned in
    65846419yes:)
    6585 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    6586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6420{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     6421whose name does not start with the host triplet.  If you think this
     6422configuration is useful to you, please write to autoconf@gnu.org." >&5
     6423echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     6424whose name does not start with the host triplet.  If you think this
     6425configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    65876426ac_tool_warned=yes ;;
    65886427esac
     
    65976436    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
    65986437set dummy ${ac_tool_prefix}cc; ac_word=$2
    6599 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6600 $as_echo_n "checking for $ac_word... " >&6; }
     6438{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6439echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    66016440if test "${ac_cv_prog_CC+set}" = set; then
    6602   $as_echo_n "(cached) " >&6
     6441  echo $ECHO_N "(cached) $ECHO_C" >&6
    66036442else
    66046443  if test -n "$CC"; then
     
    66136452  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    66146453    ac_cv_prog_CC="${ac_tool_prefix}cc"
    6615     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6454    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    66166455    break 2
    66176456  fi
     
    66246463CC=$ac_cv_prog_CC
    66256464if test -n "$CC"; then
    6626   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    6627 $as_echo "$CC" >&6; }
    6628 else
    6629   { $as_echo "$as_me:$LINENO: result: no" >&5
    6630 $as_echo "no" >&6; }
     6465  { echo "$as_me:$LINENO: result: $CC" >&5
     6466echo "${ECHO_T}$CC" >&6; }
     6467else
     6468  { echo "$as_me:$LINENO: result: no" >&5
     6469echo "${ECHO_T}no" >&6; }
    66316470fi
    66326471
     
    66376476  # Extract the first word of "cc", so it can be a program name with args.
    66386477set dummy cc; ac_word=$2
    6639 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6640 $as_echo_n "checking for $ac_word... " >&6; }
     6478{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6479echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    66416480if test "${ac_cv_prog_CC+set}" = set; then
    6642   $as_echo_n "(cached) " >&6
     6481  echo $ECHO_N "(cached) $ECHO_C" >&6
    66436482else
    66446483  if test -n "$CC"; then
     
    66586497     fi
    66596498    ac_cv_prog_CC="cc"
    6660     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6499    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    66616500    break 2
    66626501  fi
     
    66816520CC=$ac_cv_prog_CC
    66826521if test -n "$CC"; then
    6683   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    6684 $as_echo "$CC" >&6; }
    6685 else
    6686   { $as_echo "$as_me:$LINENO: result: no" >&5
    6687 $as_echo "no" >&6; }
     6522  { echo "$as_me:$LINENO: result: $CC" >&5
     6523echo "${ECHO_T}$CC" >&6; }
     6524else
     6525  { echo "$as_me:$LINENO: result: no" >&5
     6526echo "${ECHO_T}no" >&6; }
    66886527fi
    66896528
     
    66966535    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    66976536set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    6698 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6699 $as_echo_n "checking for $ac_word... " >&6; }
     6537{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6538echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    67006539if test "${ac_cv_prog_CC+set}" = set; then
    6701   $as_echo_n "(cached) " >&6
     6540  echo $ECHO_N "(cached) $ECHO_C" >&6
    67026541else
    67036542  if test -n "$CC"; then
     
    67126551  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    67136552    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
    6714     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6553    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    67156554    break 2
    67166555  fi
     
    67236562CC=$ac_cv_prog_CC
    67246563if test -n "$CC"; then
    6725   { $as_echo "$as_me:$LINENO: result: $CC" >&5
    6726 $as_echo "$CC" >&6; }
    6727 else
    6728   { $as_echo "$as_me:$LINENO: result: no" >&5
    6729 $as_echo "no" >&6; }
     6564  { echo "$as_me:$LINENO: result: $CC" >&5
     6565echo "${ECHO_T}$CC" >&6; }
     6566else
     6567  { echo "$as_me:$LINENO: result: no" >&5
     6568echo "${ECHO_T}no" >&6; }
    67306569fi
    67316570
     
    67406579  # Extract the first word of "$ac_prog", so it can be a program name with args.
    67416580set dummy $ac_prog; ac_word=$2
    6742 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    6743 $as_echo_n "checking for $ac_word... " >&6; }
     6581{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     6582echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    67446583if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
    6745   $as_echo_n "(cached) " >&6
     6584  echo $ECHO_N "(cached) $ECHO_C" >&6
    67466585else
    67476586  if test -n "$ac_ct_CC"; then
     
    67566595  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    67576596    ac_cv_prog_ac_ct_CC="$ac_prog"
    6758     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     6597    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    67596598    break 2
    67606599  fi
     
    67676606ac_ct_CC=$ac_cv_prog_ac_ct_CC
    67686607if test -n "$ac_ct_CC"; then
    6769   { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
    6770 $as_echo "$ac_ct_CC" >&6; }
    6771 else
    6772   { $as_echo "$as_me:$LINENO: result: no" >&5
    6773 $as_echo "no" >&6; }
     6608  { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
     6609echo "${ECHO_T}$ac_ct_CC" >&6; }
     6610else
     6611  { echo "$as_me:$LINENO: result: no" >&5
     6612echo "${ECHO_T}no" >&6; }
    67746613fi
    67756614
     
    67836622    case $cross_compiling:$ac_tool_warned in
    67846623yes:)
    6785 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     6624{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     6625whose name does not start with the host triplet.  If you think this
     6626configuration is useful to you, please write to autoconf@gnu.org." >&5
     6627echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     6628whose name does not start with the host triplet.  If you think this
     6629configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    67876630ac_tool_warned=yes ;;
    67886631esac
     
    67946637
    67956638
    6796 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    6797 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    6798 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
     6639test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
    67996640See \`config.log' for more details." >&5
    6800 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
     6641echo "$as_me: error: no acceptable C compiler found in \$PATH
    68016642See \`config.log' for more details." >&2;}
    6802    { (exit 1); exit 1; }; }; }
     6643   { (exit 1); exit 1; }; }
    68036644
    68046645# Provide some information about the compiler.
    6805 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
    6806 set X $ac_compile
    6807 ac_compiler=$2
     6646echo "$as_me:$LINENO: checking for C compiler version" >&5
     6647ac_compiler=`set X $ac_compile; echo $2`
    68086648{ (ac_try="$ac_compiler --version >&5"
    68096649case "(($ac_try" in
     
    68116651  *) ac_try_echo=$ac_try;;
    68126652esac
    6813 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6814 $as_echo "$ac_try_echo") >&5
     6653eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    68156654  (eval "$ac_compiler --version >&5") 2>&5
    68166655  ac_status=$?
    6817   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6656  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68186657  (exit $ac_status); }
    68196658{ (ac_try="$ac_compiler -v >&5"
     
    68226661  *) ac_try_echo=$ac_try;;
    68236662esac
    6824 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6825 $as_echo "$ac_try_echo") >&5
     6663eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    68266664  (eval "$ac_compiler -v >&5") 2>&5
    68276665  ac_status=$?
    6828   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6666  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68296667  (exit $ac_status); }
    68306668{ (ac_try="$ac_compiler -V >&5"
     
    68336671  *) ac_try_echo=$ac_try;;
    68346672esac
    6835 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6836 $as_echo "$ac_try_echo") >&5
     6673eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    68376674  (eval "$ac_compiler -V >&5") 2>&5
    68386675  ac_status=$?
    6839   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6676  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68406677  (exit $ac_status); }
    68416678
    6842 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
    6843 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
     6679{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
     6680echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
    68446681if test "${ac_cv_c_compiler_gnu+set}" = set; then
    6845   $as_echo_n "(cached) " >&6
     6682  echo $ECHO_N "(cached) $ECHO_C" >&6
    68466683else
    68476684  cat >conftest.$ac_ext <<_ACEOF
     
    68696706  *) ac_try_echo=$ac_try;;
    68706707esac
    6871 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6872 $as_echo "$ac_try_echo") >&5
     6708eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    68736709  (eval "$ac_compile") 2>conftest.er1
    68746710  ac_status=$?
     
    68766712  rm -f conftest.er1
    68776713  cat conftest.err >&5
    6878   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6714  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    68796715  (exit $ac_status); } && {
    68806716         test -z "$ac_c_werror_flag" ||
     
    68836719  ac_compiler_gnu=yes
    68846720else
    6885   $as_echo "$as_me: failed program was:" >&5
     6721  echo "$as_me: failed program was:" >&5
    68866722sed 's/^/| /' conftest.$ac_ext >&5
    68876723
     
    68936729
    68946730fi
    6895 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
    6896 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
    6897 if test $ac_compiler_gnu = yes; then
    6898   GCC=yes
    6899 else
    6900   GCC=
    6901 fi
     6731{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
     6732echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
     6733GCC=`test $ac_compiler_gnu = yes && echo yes`
    69026734ac_test_CFLAGS=${CFLAGS+set}
    69036735ac_save_CFLAGS=$CFLAGS
    6904 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
    6905 $as_echo_n "checking whether $CC accepts -g... " >&6; }
     6736{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
     6737echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
    69066738if test "${ac_cv_prog_cc_g+set}" = set; then
    6907   $as_echo_n "(cached) " >&6
     6739  echo $ECHO_N "(cached) $ECHO_C" >&6
    69086740else
    69096741  ac_save_c_werror_flag=$ac_c_werror_flag
     
    69326764  *) ac_try_echo=$ac_try;;
    69336765esac
    6934 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6935 $as_echo "$ac_try_echo") >&5
     6766eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    69366767  (eval "$ac_compile") 2>conftest.er1
    69376768  ac_status=$?
     
    69396770  rm -f conftest.er1
    69406771  cat conftest.err >&5
    6941   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6772  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69426773  (exit $ac_status); } && {
    69436774         test -z "$ac_c_werror_flag" ||
     
    69466777  ac_cv_prog_cc_g=yes
    69476778else
    6948   $as_echo "$as_me: failed program was:" >&5
     6779  echo "$as_me: failed program was:" >&5
    69496780sed 's/^/| /' conftest.$ac_ext >&5
    69506781
     
    69716802  *) ac_try_echo=$ac_try;;
    69726803esac
    6973 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    6974 $as_echo "$ac_try_echo") >&5
     6804eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    69756805  (eval "$ac_compile") 2>conftest.er1
    69766806  ac_status=$?
     
    69786808  rm -f conftest.er1
    69796809  cat conftest.err >&5
    6980   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6810  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    69816811  (exit $ac_status); } && {
    69826812         test -z "$ac_c_werror_flag" ||
     
    69856815  :
    69866816else
    6987   $as_echo "$as_me: failed program was:" >&5
     6817  echo "$as_me: failed program was:" >&5
    69886818sed 's/^/| /' conftest.$ac_ext >&5
    69896819
     
    70116841  *) ac_try_echo=$ac_try;;
    70126842esac
    7013 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7014 $as_echo "$ac_try_echo") >&5
     6843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    70156844  (eval "$ac_compile") 2>conftest.er1
    70166845  ac_status=$?
     
    70186847  rm -f conftest.er1
    70196848  cat conftest.err >&5
    7020   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6849  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    70216850  (exit $ac_status); } && {
    70226851         test -z "$ac_c_werror_flag" ||
     
    70256854  ac_cv_prog_cc_g=yes
    70266855else
    7027   $as_echo "$as_me: failed program was:" >&5
     6856  echo "$as_me: failed program was:" >&5
    70286857sed 's/^/| /' conftest.$ac_ext >&5
    70296858
     
    70406869   ac_c_werror_flag=$ac_save_c_werror_flag
    70416870fi
    7042 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
    7043 $as_echo "$ac_cv_prog_cc_g" >&6; }
     6871{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
     6872echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
    70446873if test "$ac_test_CFLAGS" = set; then
    70456874  CFLAGS=$ac_save_CFLAGS
     
    70576886  fi
    70586887fi
    7059 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
    7060 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
     6888{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
     6889echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
    70616890if test "${ac_cv_prog_cc_c89+set}" = set; then
    7062   $as_echo_n "(cached) " >&6
     6891  echo $ECHO_N "(cached) $ECHO_C" >&6
    70636892else
    70646893  ac_cv_prog_cc_c89=no
     
    71316960  *) ac_try_echo=$ac_try;;
    71326961esac
    7133 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7134 $as_echo "$ac_try_echo") >&5
     6962eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    71356963  (eval "$ac_compile") 2>conftest.er1
    71366964  ac_status=$?
     
    71386966  rm -f conftest.er1
    71396967  cat conftest.err >&5
    7140   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     6968  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    71416969  (exit $ac_status); } && {
    71426970         test -z "$ac_c_werror_flag" ||
     
    71456973  ac_cv_prog_cc_c89=$ac_arg
    71466974else
    7147   $as_echo "$as_me: failed program was:" >&5
     6975  echo "$as_me: failed program was:" >&5
    71486976sed 's/^/| /' conftest.$ac_ext >&5
    71496977
     
    71616989case "x$ac_cv_prog_cc_c89" in
    71626990  x)
    7163     { $as_echo "$as_me:$LINENO: result: none needed" >&5
    7164 $as_echo "none needed" >&6; } ;;
     6991    { echo "$as_me:$LINENO: result: none needed" >&5
     6992echo "${ECHO_T}none needed" >&6; } ;;
    71656993  xno)
    7166     { $as_echo "$as_me:$LINENO: result: unsupported" >&5
    7167 $as_echo "unsupported" >&6; } ;;
     6994    { echo "$as_me:$LINENO: result: unsupported" >&5
     6995echo "${ECHO_T}unsupported" >&6; } ;;
    71686996  *)
    71696997    CC="$CC $ac_cv_prog_cc_c89"
    7170     { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
    7171 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
     6998    { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
     6999echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
    71727000esac
    71737001
     
    71847012ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    71857013ac_compiler_gnu=$ac_cv_c_compiler_gnu
    7186 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
    7187 $as_echo_n "checking how to run the C preprocessor... " >&6; }
     7014{ echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
     7015echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
    71887016# On Suns, sometimes $CPP names a directory.
    71897017if test -n "$CPP" && test -d "$CPP"; then
     
    71927020if test -z "$CPP"; then
    71937021  if test "${ac_cv_prog_CPP+set}" = set; then
    7194   $as_echo_n "(cached) " >&6
     7022  echo $ECHO_N "(cached) $ECHO_C" >&6
    71957023else
    71967024      # Double quotes because CPP needs to be expanded
     
    72247052  *) ac_try_echo=$ac_try;;
    72257053esac
    7226 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7227 $as_echo "$ac_try_echo") >&5
     7054eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    72287055  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    72297056  ac_status=$?
     
    72317058  rm -f conftest.er1
    72327059  cat conftest.err >&5
    7233   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7060  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72347061  (exit $ac_status); } >/dev/null && {
    72357062         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    72387065  :
    72397066else
    7240   $as_echo "$as_me: failed program was:" >&5
     7067  echo "$as_me: failed program was:" >&5
    72417068sed 's/^/| /' conftest.$ac_ext >&5
    72427069
     
    72627089  *) ac_try_echo=$ac_try;;
    72637090esac
    7264 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7265 $as_echo "$ac_try_echo") >&5
     7091eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    72667092  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    72677093  ac_status=$?
     
    72697095  rm -f conftest.er1
    72707096  cat conftest.err >&5
    7271   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7097  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    72727098  (exit $ac_status); } >/dev/null && {
    72737099         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    72777103continue
    72787104else
    7279   $as_echo "$as_me: failed program was:" >&5
     7105  echo "$as_me: failed program was:" >&5
    72807106sed 's/^/| /' conftest.$ac_ext >&5
    72817107
     
    73027128  ac_cv_prog_CPP=$CPP
    73037129fi
    7304 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
    7305 $as_echo "$CPP" >&6; }
     7130{ echo "$as_me:$LINENO: result: $CPP" >&5
     7131echo "${ECHO_T}$CPP" >&6; }
    73067132ac_preproc_ok=false
    73077133for ac_c_preproc_warn_flag in '' yes
     
    73317157  *) ac_try_echo=$ac_try;;
    73327158esac
    7333 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7334 $as_echo "$ac_try_echo") >&5
     7159eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    73357160  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    73367161  ac_status=$?
     
    73387163  rm -f conftest.er1
    73397164  cat conftest.err >&5
    7340   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7165  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73417166  (exit $ac_status); } >/dev/null && {
    73427167         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    73457170  :
    73467171else
    7347   $as_echo "$as_me: failed program was:" >&5
     7172  echo "$as_me: failed program was:" >&5
    73487173sed 's/^/| /' conftest.$ac_ext >&5
    73497174
     
    73697194  *) ac_try_echo=$ac_try;;
    73707195esac
    7371 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7372 $as_echo "$ac_try_echo") >&5
     7196eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    73737197  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    73747198  ac_status=$?
     
    73767200  rm -f conftest.er1
    73777201  cat conftest.err >&5
    7378   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7202  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    73797203  (exit $ac_status); } >/dev/null && {
    73807204         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
     
    73847208continue
    73857209else
    7386   $as_echo "$as_me: failed program was:" >&5
     7210  echo "$as_me: failed program was:" >&5
    73877211sed 's/^/| /' conftest.$ac_ext >&5
    73887212
     
    74007224  :
    74017225else
    7402   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    7403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    7404 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
     7226  { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
    74057227See \`config.log' for more details." >&5
    7406 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
     7228echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
    74077229See \`config.log' for more details." >&2;}
    7408    { (exit 1); exit 1; }; }; }
     7230   { (exit 1); exit 1; }; }
    74097231fi
    74107232
     
    74297251    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    74307252set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    7431 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    7432 $as_echo_n "checking for $ac_word... " >&6; }
     7253{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7254echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    74337255if test "${ac_cv_prog_CXX+set}" = set; then
    7434   $as_echo_n "(cached) " >&6
     7256  echo $ECHO_N "(cached) $ECHO_C" >&6
    74357257else
    74367258  if test -n "$CXX"; then
     
    74457267  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    74467268    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    7447     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7269    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    74487270    break 2
    74497271  fi
     
    74567278CXX=$ac_cv_prog_CXX
    74577279if test -n "$CXX"; then
    7458   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    7459 $as_echo "$CXX" >&6; }
    7460 else
    7461   { $as_echo "$as_me:$LINENO: result: no" >&5
    7462 $as_echo "no" >&6; }
     7280  { echo "$as_me:$LINENO: result: $CXX" >&5
     7281echo "${ECHO_T}$CXX" >&6; }
     7282else
     7283  { echo "$as_me:$LINENO: result: no" >&5
     7284echo "${ECHO_T}no" >&6; }
    74637285fi
    74647286
     
    74737295  # Extract the first word of "$ac_prog", so it can be a program name with args.
    74747296set dummy $ac_prog; ac_word=$2
    7475 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    7476 $as_echo_n "checking for $ac_word... " >&6; }
     7297{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7298echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    74777299if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    7478   $as_echo_n "(cached) " >&6
     7300  echo $ECHO_N "(cached) $ECHO_C" >&6
    74797301else
    74807302  if test -n "$ac_ct_CXX"; then
     
    74897311  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    74907312    ac_cv_prog_ac_ct_CXX="$ac_prog"
    7491     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7313    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    74927314    break 2
    74937315  fi
     
    75007322ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    75017323if test -n "$ac_ct_CXX"; then
    7502   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    7503 $as_echo "$ac_ct_CXX" >&6; }
    7504 else
    7505   { $as_echo "$as_me:$LINENO: result: no" >&5
    7506 $as_echo "no" >&6; }
     7324  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7325echo "${ECHO_T}$ac_ct_CXX" >&6; }
     7326else
     7327  { echo "$as_me:$LINENO: result: no" >&5
     7328echo "${ECHO_T}no" >&6; }
    75077329fi
    75087330
     
    75167338    case $cross_compiling:$ac_tool_warned in
    75177339yes:)
    7518 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    7519 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7340{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     7341whose name does not start with the host triplet.  If you think this
     7342configuration is useful to you, please write to autoconf@gnu.org." >&5
     7343echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     7344whose name does not start with the host triplet.  If you think this
     7345configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    75207346ac_tool_warned=yes ;;
    75217347esac
     
    75277353fi
    75287354# Provide some information about the compiler.
    7529 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    7530 set X $ac_compile
    7531 ac_compiler=$2
     7355echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7356ac_compiler=`set X $ac_compile; echo $2`
    75327357{ (ac_try="$ac_compiler --version >&5"
    75337358case "(($ac_try" in
     
    75357360  *) ac_try_echo=$ac_try;;
    75367361esac
    7537 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7538 $as_echo "$ac_try_echo") >&5
     7362eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    75397363  (eval "$ac_compiler --version >&5") 2>&5
    75407364  ac_status=$?
    7541   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7365  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    75427366  (exit $ac_status); }
    75437367{ (ac_try="$ac_compiler -v >&5"
     
    75467370  *) ac_try_echo=$ac_try;;
    75477371esac
    7548 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7549 $as_echo "$ac_try_echo") >&5
     7372eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    75507373  (eval "$ac_compiler -v >&5") 2>&5
    75517374  ac_status=$?
    7552   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7375  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    75537376  (exit $ac_status); }
    75547377{ (ac_try="$ac_compiler -V >&5"
     
    75577380  *) ac_try_echo=$ac_try;;
    75587381esac
    7559 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7560 $as_echo "$ac_try_echo") >&5
     7382eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    75617383  (eval "$ac_compiler -V >&5") 2>&5
    75627384  ac_status=$?
    7563   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7385  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    75647386  (exit $ac_status); }
    75657387
    7566 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    7567 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     7388{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7389echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    75687390if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    7569   $as_echo_n "(cached) " >&6
     7391  echo $ECHO_N "(cached) $ECHO_C" >&6
    75707392else
    75717393  cat >conftest.$ac_ext <<_ACEOF
     
    75937415  *) ac_try_echo=$ac_try;;
    75947416esac
    7595 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7596 $as_echo "$ac_try_echo") >&5
     7417eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    75977418  (eval "$ac_compile") 2>conftest.er1
    75987419  ac_status=$?
     
    76007421  rm -f conftest.er1
    76017422  cat conftest.err >&5
    7602   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7423  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    76037424  (exit $ac_status); } && {
    76047425         test -z "$ac_cxx_werror_flag" ||
     
    76077428  ac_compiler_gnu=yes
    76087429else
    7609   $as_echo "$as_me: failed program was:" >&5
     7430  echo "$as_me: failed program was:" >&5
    76107431sed 's/^/| /' conftest.$ac_ext >&5
    76117432
     
    76177438
    76187439fi
    7619 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    7620 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    7621 if test $ac_compiler_gnu = yes; then
    7622   GXX=yes
    7623 else
    7624   GXX=
    7625 fi
     7440{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     7441echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     7442GXX=`test $ac_compiler_gnu = yes && echo yes`
    76267443ac_test_CXXFLAGS=${CXXFLAGS+set}
    76277444ac_save_CXXFLAGS=$CXXFLAGS
    7628 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    7629 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
     7445{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     7446echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    76307447if test "${ac_cv_prog_cxx_g+set}" = set; then
    7631   $as_echo_n "(cached) " >&6
     7448  echo $ECHO_N "(cached) $ECHO_C" >&6
    76327449else
    76337450  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    76567473  *) ac_try_echo=$ac_try;;
    76577474esac
    7658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7659 $as_echo "$ac_try_echo") >&5
     7475eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    76607476  (eval "$ac_compile") 2>conftest.er1
    76617477  ac_status=$?
     
    76637479  rm -f conftest.er1
    76647480  cat conftest.err >&5
    7665   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7481  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    76667482  (exit $ac_status); } && {
    76677483         test -z "$ac_cxx_werror_flag" ||
     
    76707486  ac_cv_prog_cxx_g=yes
    76717487else
    7672   $as_echo "$as_me: failed program was:" >&5
     7488  echo "$as_me: failed program was:" >&5
    76737489sed 's/^/| /' conftest.$ac_ext >&5
    76747490
     
    76957511  *) ac_try_echo=$ac_try;;
    76967512esac
    7697 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7698 $as_echo "$ac_try_echo") >&5
     7513eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    76997514  (eval "$ac_compile") 2>conftest.er1
    77007515  ac_status=$?
     
    77027517  rm -f conftest.er1
    77037518  cat conftest.err >&5
    7704   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7519  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    77057520  (exit $ac_status); } && {
    77067521         test -z "$ac_cxx_werror_flag" ||
     
    77097524  :
    77107525else
    7711   $as_echo "$as_me: failed program was:" >&5
     7526  echo "$as_me: failed program was:" >&5
    77127527sed 's/^/| /' conftest.$ac_ext >&5
    77137528
     
    77357550  *) ac_try_echo=$ac_try;;
    77367551esac
    7737 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7738 $as_echo "$ac_try_echo") >&5
     7552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    77397553  (eval "$ac_compile") 2>conftest.er1
    77407554  ac_status=$?
     
    77427556  rm -f conftest.er1
    77437557  cat conftest.err >&5
    7744   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7558  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    77457559  (exit $ac_status); } && {
    77467560         test -z "$ac_cxx_werror_flag" ||
     
    77497563  ac_cv_prog_cxx_g=yes
    77507564else
    7751   $as_echo "$as_me: failed program was:" >&5
     7565  echo "$as_me: failed program was:" >&5
    77527566sed 's/^/| /' conftest.$ac_ext >&5
    77537567
     
    77647578   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    77657579fi
    7766 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    7767 $as_echo "$ac_cv_prog_cxx_g" >&6; }
     7580{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     7581echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    77687582if test "$ac_test_CXXFLAGS" = set; then
    77697583  CXXFLAGS=$ac_save_CXXFLAGS
     
    77927606ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
    77937607ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
    7794 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
    7795 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
     7608{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
     7609echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
    77967610if test -z "$CXXCPP"; then
    77977611  if test "${ac_cv_prog_CXXCPP+set}" = set; then
    7798   $as_echo_n "(cached) " >&6
     7612  echo $ECHO_N "(cached) $ECHO_C" >&6
    77997613else
    78007614      # Double quotes because CXXCPP needs to be expanded
     
    78287642  *) ac_try_echo=$ac_try;;
    78297643esac
    7830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7831 $as_echo "$ac_try_echo") >&5
     7644eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    78327645  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    78337646  ac_status=$?
     
    78357648  rm -f conftest.er1
    78367649  cat conftest.err >&5
    7837   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7650  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    78387651  (exit $ac_status); } >/dev/null && {
    78397652         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    78427655  :
    78437656else
    7844   $as_echo "$as_me: failed program was:" >&5
     7657  echo "$as_me: failed program was:" >&5
    78457658sed 's/^/| /' conftest.$ac_ext >&5
    78467659
     
    78667679  *) ac_try_echo=$ac_try;;
    78677680esac
    7868 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7869 $as_echo "$ac_try_echo") >&5
     7681eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    78707682  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    78717683  ac_status=$?
     
    78737685  rm -f conftest.er1
    78747686  cat conftest.err >&5
    7875   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7687  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    78767688  (exit $ac_status); } >/dev/null && {
    78777689         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    78817693continue
    78827694else
    7883   $as_echo "$as_me: failed program was:" >&5
     7695  echo "$as_me: failed program was:" >&5
    78847696sed 's/^/| /' conftest.$ac_ext >&5
    78857697
     
    79067718  ac_cv_prog_CXXCPP=$CXXCPP
    79077719fi
    7908 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
    7909 $as_echo "$CXXCPP" >&6; }
     7720{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
     7721echo "${ECHO_T}$CXXCPP" >&6; }
    79107722ac_preproc_ok=false
    79117723for ac_cxx_preproc_warn_flag in '' yes
     
    79357747  *) ac_try_echo=$ac_try;;
    79367748esac
    7937 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7938 $as_echo "$ac_try_echo") >&5
     7749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    79397750  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    79407751  ac_status=$?
     
    79427753  rm -f conftest.er1
    79437754  cat conftest.err >&5
    7944   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7755  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79457756  (exit $ac_status); } >/dev/null && {
    79467757         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    79497760  :
    79507761else
    7951   $as_echo "$as_me: failed program was:" >&5
     7762  echo "$as_me: failed program was:" >&5
    79527763sed 's/^/| /' conftest.$ac_ext >&5
    79537764
     
    79737784  *) ac_try_echo=$ac_try;;
    79747785esac
    7975 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    7976 $as_echo "$ac_try_echo") >&5
     7786eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    79777787  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    79787788  ac_status=$?
     
    79807790  rm -f conftest.er1
    79817791  cat conftest.err >&5
    7982   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7792  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    79837793  (exit $ac_status); } >/dev/null && {
    79847794         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    79887798continue
    79897799else
    7990   $as_echo "$as_me: failed program was:" >&5
     7800  echo "$as_me: failed program was:" >&5
    79917801sed 's/^/| /' conftest.$ac_ext >&5
    79927802
     
    80047814  :
    80057815else
    8006   { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
    8007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
    8008 { { $as_echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     7816  { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    80097817See \`config.log' for more details." >&5
    8010 $as_echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
     7818echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
    80117819See \`config.log' for more details." >&2;}
    8012    { (exit 1); exit 1; }; }; }
     7820   { (exit 1); exit 1; }; }
    80137821fi
    80147822
     
    80337841    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
    80347842set dummy $ac_tool_prefix$ac_prog; ac_word=$2
    8035 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    8036 $as_echo_n "checking for $ac_word... " >&6; }
     7843{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7844echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    80377845if test "${ac_cv_prog_CXX+set}" = set; then
    8038   $as_echo_n "(cached) " >&6
     7846  echo $ECHO_N "(cached) $ECHO_C" >&6
    80397847else
    80407848  if test -n "$CXX"; then
     
    80497857  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    80507858    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
    8051     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7859    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    80527860    break 2
    80537861  fi
     
    80607868CXX=$ac_cv_prog_CXX
    80617869if test -n "$CXX"; then
    8062   { $as_echo "$as_me:$LINENO: result: $CXX" >&5
    8063 $as_echo "$CXX" >&6; }
    8064 else
    8065   { $as_echo "$as_me:$LINENO: result: no" >&5
    8066 $as_echo "no" >&6; }
     7870  { echo "$as_me:$LINENO: result: $CXX" >&5
     7871echo "${ECHO_T}$CXX" >&6; }
     7872else
     7873  { echo "$as_me:$LINENO: result: no" >&5
     7874echo "${ECHO_T}no" >&6; }
    80677875fi
    80687876
     
    80777885  # Extract the first word of "$ac_prog", so it can be a program name with args.
    80787886set dummy $ac_prog; ac_word=$2
    8079 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
    8080 $as_echo_n "checking for $ac_word... " >&6; }
     7887{ echo "$as_me:$LINENO: checking for $ac_word" >&5
     7888echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
    80817889if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
    8082   $as_echo_n "(cached) " >&6
     7890  echo $ECHO_N "(cached) $ECHO_C" >&6
    80837891else
    80847892  if test -n "$ac_ct_CXX"; then
     
    80937901  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
    80947902    ac_cv_prog_ac_ct_CXX="$ac_prog"
    8095     $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
     7903    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
    80967904    break 2
    80977905  fi
     
    81047912ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
    81057913if test -n "$ac_ct_CXX"; then
    8106   { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
    8107 $as_echo "$ac_ct_CXX" >&6; }
    8108 else
    8109   { $as_echo "$as_me:$LINENO: result: no" >&5
    8110 $as_echo "no" >&6; }
     7914  { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
     7915echo "${ECHO_T}$ac_ct_CXX" >&6; }
     7916else
     7917  { echo "$as_me:$LINENO: result: no" >&5
     7918echo "${ECHO_T}no" >&6; }
    81117919fi
    81127920
     
    81207928    case $cross_compiling:$ac_tool_warned in
    81217929yes:)
    8122 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
    8123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
     7930{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
     7931whose name does not start with the host triplet.  If you think this
     7932configuration is useful to you, please write to autoconf@gnu.org." >&5
     7933echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
     7934whose name does not start with the host triplet.  If you think this
     7935configuration is useful to you, please write to autoconf@gnu.org." >&2;}
    81247936ac_tool_warned=yes ;;
    81257937esac
     
    81317943fi
    81327944# Provide some information about the compiler.
    8133 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
    8134 set X $ac_compile
    8135 ac_compiler=$2
     7945echo "$as_me:$LINENO: checking for C++ compiler version" >&5
     7946ac_compiler=`set X $ac_compile; echo $2`
    81367947{ (ac_try="$ac_compiler --version >&5"
    81377948case "(($ac_try" in
     
    81397950  *) ac_try_echo=$ac_try;;
    81407951esac
    8141 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8142 $as_echo "$ac_try_echo") >&5
     7952eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    81437953  (eval "$ac_compiler --version >&5") 2>&5
    81447954  ac_status=$?
    8145   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7955  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    81467956  (exit $ac_status); }
    81477957{ (ac_try="$ac_compiler -v >&5"
     
    81507960  *) ac_try_echo=$ac_try;;
    81517961esac
    8152 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8153 $as_echo "$ac_try_echo") >&5
     7962eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    81547963  (eval "$ac_compiler -v >&5") 2>&5
    81557964  ac_status=$?
    8156   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7965  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    81577966  (exit $ac_status); }
    81587967{ (ac_try="$ac_compiler -V >&5"
     
    81617970  *) ac_try_echo=$ac_try;;
    81627971esac
    8163 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8164 $as_echo "$ac_try_echo") >&5
     7972eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    81657973  (eval "$ac_compiler -V >&5") 2>&5
    81667974  ac_status=$?
    8167   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     7975  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    81687976  (exit $ac_status); }
    81697977
    8170 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
    8171 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
     7978{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
     7979echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
    81727980if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
    8173   $as_echo_n "(cached) " >&6
     7981  echo $ECHO_N "(cached) $ECHO_C" >&6
    81747982else
    81757983  cat >conftest.$ac_ext <<_ACEOF
     
    81978005  *) ac_try_echo=$ac_try;;
    81988006esac
    8199 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8200 $as_echo "$ac_try_echo") >&5
     8007eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    82018008  (eval "$ac_compile") 2>conftest.er1
    82028009  ac_status=$?
     
    82048011  rm -f conftest.er1
    82058012  cat conftest.err >&5
    8206   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8013  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    82078014  (exit $ac_status); } && {
    82088015         test -z "$ac_cxx_werror_flag" ||
     
    82118018  ac_compiler_gnu=yes
    82128019else
    8213   $as_echo "$as_me: failed program was:" >&5
     8020  echo "$as_me: failed program was:" >&5
    82148021sed 's/^/| /' conftest.$ac_ext >&5
    82158022
     
    82218028
    82228029fi
    8223 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
    8224 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
    8225 if test $ac_compiler_gnu = yes; then
    8226   GXX=yes
    8227 else
    8228   GXX=
    8229 fi
     8030{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
     8031echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
     8032GXX=`test $ac_compiler_gnu = yes && echo yes`
    82308033ac_test_CXXFLAGS=${CXXFLAGS+set}
    82318034ac_save_CXXFLAGS=$CXXFLAGS
    8232 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
    8233 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
     8035{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
     8036echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
    82348037if test "${ac_cv_prog_cxx_g+set}" = set; then
    8235   $as_echo_n "(cached) " >&6
     8038  echo $ECHO_N "(cached) $ECHO_C" >&6
    82368039else
    82378040  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
     
    82608063  *) ac_try_echo=$ac_try;;
    82618064esac
    8262 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8263 $as_echo "$ac_try_echo") >&5
     8065eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    82648066  (eval "$ac_compile") 2>conftest.er1
    82658067  ac_status=$?
     
    82678069  rm -f conftest.er1
    82688070  cat conftest.err >&5
    8269   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8071  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    82708072  (exit $ac_status); } && {
    82718073         test -z "$ac_cxx_werror_flag" ||
     
    82748076  ac_cv_prog_cxx_g=yes
    82758077else
    8276   $as_echo "$as_me: failed program was:" >&5
     8078  echo "$as_me: failed program was:" >&5
    82778079sed 's/^/| /' conftest.$ac_ext >&5
    82788080
     
    82998101  *) ac_try_echo=$ac_try;;
    83008102esac
    8301 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8302 $as_echo "$ac_try_echo") >&5
     8103eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    83038104  (eval "$ac_compile") 2>conftest.er1
    83048105  ac_status=$?
     
    83068107  rm -f conftest.er1
    83078108  cat conftest.err >&5
    8308   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8109  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    83098110  (exit $ac_status); } && {
    83108111         test -z "$ac_cxx_werror_flag" ||
     
    83138114  :
    83148115else
    8315   $as_echo "$as_me: failed program was:" >&5
     8116  echo "$as_me: failed program was:" >&5
    83168117sed 's/^/| /' conftest.$ac_ext >&5
    83178118
     
    83398140  *) ac_try_echo=$ac_try;;
    83408141esac
    8341 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8342 $as_echo "$ac_try_echo") >&5
     8142eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    83438143  (eval "$ac_compile") 2>conftest.er1
    83448144  ac_status=$?
     
    83468146  rm -f conftest.er1
    83478147  cat conftest.err >&5
    8348   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8148  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    83498149  (exit $ac_status); } && {
    83508150         test -z "$ac_cxx_werror_flag" ||
     
    83538153  ac_cv_prog_cxx_g=yes
    83548154else
    8355   $as_echo "$as_me: failed program was:" >&5
     8155  echo "$as_me: failed program was:" >&5
    83568156sed 's/^/| /' conftest.$ac_ext >&5
    83578157
     
    83688168   ac_cxx_werror_flag=$ac_save_cxx_werror_flag
    83698169fi
    8370 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
    8371 $as_echo "$ac_cv_prog_cxx_g" >&6; }
     8170{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
     8171echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
    83728172if test "$ac_test_CXXFLAGS" = set; then
    83738173  CXXFLAGS=$ac_save_CXXFLAGS
     
    83998199
    84008200
    8401 
    8402  { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
    8403 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
     8201{ echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
     8202echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
    84048203if test "${ac_cv_c_bigendian+set}" = set; then
    8405   $as_echo_n "(cached) " >&6
    8406 else
    8407   ac_cv_c_bigendian=unknown
    8408     # See if we're dealing with a universal compiler.
    8409     cat >conftest.$ac_ext <<_ACEOF
     8204  echo $ECHO_N "(cached) $ECHO_C" >&6
     8205else
     8206  # See if sys/param.h defines the BYTE_ORDER macro.
     8207cat >conftest.$ac_ext <<_ACEOF
    84108208/* confdefs.h.  */
    84118209_ACEOF
     
    84138211cat >>conftest.$ac_ext <<_ACEOF
    84148212/* end confdefs.h.  */
    8415 #ifndef __APPLE_CC__
    8416                not a universal capable compiler
    8417              #endif
    8418              typedef int dummy;
    8419 
     8213#include <sys/types.h>
     8214#include <sys/param.h>
     8215
     8216int
     8217main ()
     8218{
     8219#if  ! (defined BYTE_ORDER && defined BIG_ENDIAN && defined LITTLE_ENDIAN \
     8220        && BYTE_ORDER && BIG_ENDIAN && LITTLE_ENDIAN)
     8221 bogus endian macros
     8222#endif
     8223
     8224  ;
     8225  return 0;
     8226}
    84208227_ACEOF
    84218228rm -f conftest.$ac_objext
     
    84258232  *) ac_try_echo=$ac_try;;
    84268233esac
    8427 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8428 $as_echo "$ac_try_echo") >&5
     8234eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    84298235  (eval "$ac_compile") 2>conftest.er1
    84308236  ac_status=$?
     
    84328238  rm -f conftest.er1
    84338239  cat conftest.err >&5
    8434   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8240  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    84358241  (exit $ac_status); } && {
    84368242         test -z "$ac_cxx_werror_flag" ||
    84378243         test ! -s conftest.err
    84388244       } && test -s conftest.$ac_objext; then
    8439 
    8440         # Check for potential -arch flags.  It is not universal unless
    8441         # there are some -arch flags.  Note that *ppc* also matches
    8442         # ppc64.  This check is also rather less than ideal.
    8443         case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in  #(
    8444           *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
    8445         esac
    8446 else
    8447   $as_echo "$as_me: failed program was:" >&5
    8448 sed 's/^/| /' conftest.$ac_ext >&5
    8449 
    8450 
    8451 fi
    8452 
    8453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8454     if test $ac_cv_c_bigendian = unknown; then
    8455       # See if sys/param.h defines the BYTE_ORDER macro.
    8456       cat >conftest.$ac_ext <<_ACEOF
     8245  # It does; now see whether it defined to BIG_ENDIAN or not.
     8246cat >conftest.$ac_ext <<_ACEOF
    84578247/* confdefs.h.  */
    84588248_ACEOF
     
    84618251/* end confdefs.h.  */
    84628252#include <sys/types.h>
    8463              #include <sys/param.h>
     8253#include <sys/param.h>
    84648254
    84658255int
    84668256main ()
    84678257{
    8468 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
    8469                      && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
    8470                      && LITTLE_ENDIAN)
    8471               bogus endian macros
    8472              #endif
     8258#if BYTE_ORDER != BIG_ENDIAN
     8259 not big endian
     8260#endif
    84738261
    84748262  ;
     
    84828270  *) ac_try_echo=$ac_try;;
    84838271esac
    8484 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8485 $as_echo "$ac_try_echo") >&5
     8272eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    84868273  (eval "$ac_compile") 2>conftest.er1
    84878274  ac_status=$?
     
    84898276  rm -f conftest.er1
    84908277  cat conftest.err >&5
    8491   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8278  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    84928279  (exit $ac_status); } && {
    84938280         test -z "$ac_cxx_werror_flag" ||
    84948281         test ! -s conftest.err
    84958282       } && test -s conftest.$ac_objext; then
    8496   # It does; now see whether it defined to BIG_ENDIAN or not.
    8497          cat >conftest.$ac_ext <<_ACEOF
     8283  ac_cv_c_bigendian=yes
     8284else
     8285  echo "$as_me: failed program was:" >&5
     8286sed 's/^/| /' conftest.$ac_ext >&5
     8287
     8288        ac_cv_c_bigendian=no
     8289fi
     8290
     8291rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8292else
     8293  echo "$as_me: failed program was:" >&5
     8294sed 's/^/| /' conftest.$ac_ext >&5
     8295
     8296        # It does not; compile a test program.
     8297if test "$cross_compiling" = yes; then
     8298  # try to guess the endianness by grepping values into an object file
     8299  ac_cv_c_bigendian=unknown
     8300  cat >conftest.$ac_ext <<_ACEOF
    84988301/* confdefs.h.  */
    84998302_ACEOF
     
    85018304cat >>conftest.$ac_ext <<_ACEOF
    85028305/* end confdefs.h.  */
    8503 #include <sys/types.h>
    8504                 #include <sys/param.h>
    8505 
     8306short int ascii_mm[] = { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
     8307short int ascii_ii[] = { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
     8308void _ascii () { char *s = (char *) ascii_mm; s = (char *) ascii_ii; }
     8309short int ebcdic_ii[] = { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
     8310short int ebcdic_mm[] = { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
     8311void _ebcdic () { char *s = (char *) ebcdic_mm; s = (char *) ebcdic_ii; }
    85068312int
    85078313main ()
    85088314{
    8509 #if BYTE_ORDER != BIG_ENDIAN
    8510                  not big endian
    8511                 #endif
    8512 
     8315 _ascii (); _ebcdic ();
    85138316  ;
    85148317  return 0;
     
    85218324  *) ac_try_echo=$ac_try;;
    85228325esac
    8523 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8524 $as_echo "$ac_try_echo") >&5
     8326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    85258327  (eval "$ac_compile") 2>conftest.er1
    85268328  ac_status=$?
     
    85288330  rm -f conftest.er1
    85298331  cat conftest.err >&5
    8530   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8332  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    85318333  (exit $ac_status); } && {
    85328334         test -z "$ac_cxx_werror_flag" ||
    85338335         test ! -s conftest.err
    85348336       } && test -s conftest.$ac_objext; then
     8337  if grep BIGenDianSyS conftest.$ac_objext >/dev/null ; then
    85358338  ac_cv_c_bigendian=yes
    8536 else
    8537   $as_echo "$as_me: failed program was:" >&5
    8538 sed 's/^/| /' conftest.$ac_ext >&5
    8539 
    8540         ac_cv_c_bigendian=no
    8541 fi
    8542 
    8543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8544 else
    8545   $as_echo "$as_me: failed program was:" >&5
    8546 sed 's/^/| /' conftest.$ac_ext >&5
    8547 
    8548 
    8549 fi
    8550 
    8551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8552     fi
    8553     if test $ac_cv_c_bigendian = unknown; then
    8554       # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
    8555       cat >conftest.$ac_ext <<_ACEOF
    8556 /* confdefs.h.  */
    8557 _ACEOF
    8558 cat confdefs.h >>conftest.$ac_ext
    8559 cat >>conftest.$ac_ext <<_ACEOF
    8560 /* end confdefs.h.  */
    8561 #include <limits.h>
    8562 
    8563 int
    8564 main ()
    8565 {
    8566 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
    8567               bogus endian macros
    8568              #endif
    8569 
    8570   ;
    8571   return 0;
    8572 }
    8573 _ACEOF
    8574 rm -f conftest.$ac_objext
    8575 if { (ac_try="$ac_compile"
    8576 case "(($ac_try" in
    8577   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8578   *) ac_try_echo=$ac_try;;
    8579 esac
    8580 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8581 $as_echo "$ac_try_echo") >&5
    8582   (eval "$ac_compile") 2>conftest.er1
    8583   ac_status=$?
    8584   grep -v '^ *+' conftest.er1 >conftest.err
    8585   rm -f conftest.er1
    8586   cat conftest.err >&5
    8587   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8588   (exit $ac_status); } && {
    8589          test -z "$ac_cxx_werror_flag" ||
    8590          test ! -s conftest.err
    8591        } && test -s conftest.$ac_objext; then
    8592   # It does; now see whether it defined to _BIG_ENDIAN or not.
    8593          cat >conftest.$ac_ext <<_ACEOF
    8594 /* confdefs.h.  */
    8595 _ACEOF
    8596 cat confdefs.h >>conftest.$ac_ext
    8597 cat >>conftest.$ac_ext <<_ACEOF
    8598 /* end confdefs.h.  */
    8599 #include <limits.h>
    8600 
    8601 int
    8602 main ()
    8603 {
    8604 #ifndef _BIG_ENDIAN
    8605                  not big endian
    8606                 #endif
    8607 
    8608   ;
    8609   return 0;
    8610 }
    8611 _ACEOF
    8612 rm -f conftest.$ac_objext
    8613 if { (ac_try="$ac_compile"
    8614 case "(($ac_try" in
    8615   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8616   *) ac_try_echo=$ac_try;;
    8617 esac
    8618 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8619 $as_echo "$ac_try_echo") >&5
    8620   (eval "$ac_compile") 2>conftest.er1
    8621   ac_status=$?
    8622   grep -v '^ *+' conftest.er1 >conftest.err
    8623   rm -f conftest.er1
    8624   cat conftest.err >&5
    8625   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8626   (exit $ac_status); } && {
    8627          test -z "$ac_cxx_werror_flag" ||
    8628          test ! -s conftest.err
    8629        } && test -s conftest.$ac_objext; then
    8630   ac_cv_c_bigendian=yes
    8631 else
    8632   $as_echo "$as_me: failed program was:" >&5
    8633 sed 's/^/| /' conftest.$ac_ext >&5
    8634 
    8635         ac_cv_c_bigendian=no
    8636 fi
    8637 
    8638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8639 else
    8640   $as_echo "$as_me: failed program was:" >&5
    8641 sed 's/^/| /' conftest.$ac_ext >&5
    8642 
    8643 
    8644 fi
    8645 
    8646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8647     fi
    8648     if test $ac_cv_c_bigendian = unknown; then
    8649       # Compile a test program.
    8650       if test "$cross_compiling" = yes; then
    8651   # Try to guess by grepping values from an object file.
    8652          cat >conftest.$ac_ext <<_ACEOF
    8653 /* confdefs.h.  */
    8654 _ACEOF
    8655 cat confdefs.h >>conftest.$ac_ext
    8656 cat >>conftest.$ac_ext <<_ACEOF
    8657 /* end confdefs.h.  */
    8658 short int ascii_mm[] =
    8659                   { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
    8660                 short int ascii_ii[] =
    8661                   { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
    8662                 int use_ascii (int i) {
    8663                   return ascii_mm[i] + ascii_ii[i];
    8664                 }
    8665                 short int ebcdic_ii[] =
    8666                   { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
    8667                 short int ebcdic_mm[] =
    8668                   { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
    8669                 int use_ebcdic (int i) {
    8670                   return ebcdic_mm[i] + ebcdic_ii[i];
    8671                 }
    8672                 extern int foo;
    8673 
    8674 int
    8675 main ()
    8676 {
    8677 return use_ascii (foo) == use_ebcdic (foo);
    8678   ;
    8679   return 0;
    8680 }
    8681 _ACEOF
    8682 rm -f conftest.$ac_objext
    8683 if { (ac_try="$ac_compile"
    8684 case "(($ac_try" in
    8685   *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
    8686   *) ac_try_echo=$ac_try;;
    8687 esac
    8688 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8689 $as_echo "$ac_try_echo") >&5
    8690   (eval "$ac_compile") 2>conftest.er1
    8691   ac_status=$?
    8692   grep -v '^ *+' conftest.er1 >conftest.err
    8693   rm -f conftest.er1
    8694   cat conftest.err >&5
    8695   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
    8696   (exit $ac_status); } && {
    8697          test -z "$ac_cxx_werror_flag" ||
    8698          test ! -s conftest.err
    8699        } && test -s conftest.$ac_objext; then
    8700   if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
    8701               ac_cv_c_bigendian=yes
    8702             fi
    8703             if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
    8704               if test "$ac_cv_c_bigendian" = unknown; then
    8705                 ac_cv_c_bigendian=no
    8706               else
    8707                 # finding both strings is unlikely to happen, but who knows?
    8708                 ac_cv_c_bigendian=unknown
    8709               fi
    8710             fi
    8711 else
    8712   $as_echo "$as_me: failed program was:" >&5
     8339fi
     8340if grep LiTTleEnDian conftest.$ac_objext >/dev/null ; then
     8341  if test "$ac_cv_c_bigendian" = unknown; then
     8342    ac_cv_c_bigendian=no
     8343  else
     8344    # finding both strings is unlikely to happen, but who knows?
     8345    ac_cv_c_bigendian=unknown
     8346  fi
     8347fi
     8348else
     8349  echo "$as_me: failed program was:" >&5
    87138350sed 's/^/| /' conftest.$ac_ext >&5
    87148351
     
    87298366{
    87308367
    8731              /* Are we little or big endian?  From Harbison&Steele.  */
    8732              union
    8733              {
    8734                long int l;
    8735                char c[sizeof (long int)];
    8736              } u;
    8737              u.l = 1;
    8738              return u.c[sizeof (long int) - 1] == 1;
     8368  /* Are we little or big endian?  From Harbison&Steele.  */
     8369  union
     8370  {
     8371    long int l;
     8372    char c[sizeof (long int)];
     8373  } u;
     8374  u.l = 1;
     8375  return u.c[sizeof (long int) - 1] == 1;
    87398376
    87408377  ;
     
    87488385  *) ac_try_echo=$ac_try;;
    87498386esac
    8750 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8751 $as_echo "$ac_try_echo") >&5
     8387eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    87528388  (eval "$ac_link") 2>&5
    87538389  ac_status=$?
    8754   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8390  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    87558391  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
    87568392  { (case "(($ac_try" in
     
    87588394  *) ac_try_echo=$ac_try;;
    87598395esac
    8760 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8761 $as_echo "$ac_try_echo") >&5
     8396eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    87628397  (eval "$ac_try") 2>&5
    87638398  ac_status=$?
    8764   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8399  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    87658400  (exit $ac_status); }; }; then
    87668401  ac_cv_c_bigendian=no
    87678402else
    8768   $as_echo "$as_me: program exited with status $ac_status" >&5
    8769 $as_echo "$as_me: failed program was:" >&5
     8403  echo "$as_me: program exited with status $ac_status" >&5
     8404echo "$as_me: failed program was:" >&5
    87708405sed 's/^/| /' conftest.$ac_ext >&5
    87718406
     
    87738408ac_cv_c_bigendian=yes
    87748409fi
    8775 rm -rf conftest.dSYM
    87768410rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
    87778411fi
    87788412
    87798413
    8780     fi
    8781 fi
    8782 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
    8783 $as_echo "$ac_cv_c_bigendian" >&6; }
    8784  case $ac_cv_c_bigendian in #(
    8785    yes)
    8786      cat >>confdefs.h <<\_ACEOF
     8414fi
     8415
     8416rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
     8417fi
     8418{ echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
     8419echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
     8420case $ac_cv_c_bigendian in
     8421  yes)
     8422
     8423cat >>confdefs.h <<\_ACEOF
    87878424#define WORDS_BIGENDIAN 1
    87888425_ACEOF
    8789 ;; #(
    8790    no)
    8791       ;; #(
    8792    universal)
    8793 
    8794 cat >>confdefs.h <<\_ACEOF
    8795 #define AC_APPLE_UNIVERSAL_BUILD 1
    8796 _ACEOF
    8797 
    8798      ;; #(
    8799    *)
    8800      { { $as_echo "$as_me:$LINENO: error: unknown endianness
    8801  presetting ac_cv_c_bigendian=no (or yes) will help" >&5
    8802 $as_echo "$as_me: error: unknown endianness
    8803  presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
     8426 ;;
     8427  no)
     8428     ;;
     8429  *)
     8430    { { echo "$as_me:$LINENO: error: unknown endianness
     8431presetting ac_cv_c_bigendian=no (or yes) will help" >&5
     8432echo "$as_me: error: unknown endianness
     8433presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
    88048434   { (exit 1); exit 1; }; } ;;
    8805  esac
     8435esac
    88068436
    88078437
     
    88328462#       pthread library
    88338463#       DX headers and library (done, sort of)
     8464#       ffmpeg headers and library (started)
    88348465#
    88358466
     
    88748505RP2_INCL_DIR=""
    88758506RP_DIR=""
    8876 { $as_echo "$as_me:$LINENO: checking for rappture" >&5
    8877 $as_echo_n "checking for rappture... " >&6; }
     8507{ echo "$as_me:$LINENO: checking for rappture" >&5
     8508echo $ECHO_N "checking for rappture... $ECHO_C" >&6; }
    88788509if test "x$with_rappture" != "x" ; then
    88798510    if test "x$with_rappture" != "xprefix" ; then
    88808511        if test -f "$with_rappture"
    88818512        then
    8882             { $as_echo "$as_me:$LINENO: result: no" >&5
    8883 $as_echo "no" >&6; }
    8884             { { $as_echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5
    8885 $as_echo "$as_me: error: please provide --with-rappture with directory" >&2;}
     8513            { echo "$as_me:$LINENO: result: no" >&5
     8514echo "${ECHO_T}no" >&6; }
     8515            { { echo "$as_me:$LINENO: error: please provide --with-rappture with directory" >&5
     8516echo "$as_me: error: please provide --with-rappture with directory" >&2;}
    88868517   { (exit 1); exit 1; }; }
    88878518        else
     
    88928523                    RP2_INCL_DIR="$with_rappture/include/rappture2"
    88938524                    RP_DIR="$with_rappture"
    8894                     { $as_echo "$as_me:$LINENO: result: yes" >&5
    8895 $as_echo "yes" >&6; }
     8525                    { echo "$as_me:$LINENO: result: yes" >&5
     8526echo "${ECHO_T}yes" >&6; }
    88968527                else
    8897                     { $as_echo "$as_me:$LINENO: result: no" >&5
    8898 $as_echo "no" >&6; }
    8899                     { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5
    8900 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}
     8528                    { echo "$as_me:$LINENO: result: no" >&5
     8529echo "${ECHO_T}no" >&6; }
     8530                    { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&5
     8531echo "$as_me: error: cannot find rappture2.h and librappture2.a, try using --with-rappture" >&2;}
    89018532   { (exit 1); exit 1; }; }
    89028533                fi
    89038534            else
    8904                 { $as_echo "$as_me:$LINENO: result: no" >&5
    8905 $as_echo "no" >&6; }
    8906                 { { $as_echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5
    8907 $as_echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}
     8535                { echo "$as_me:$LINENO: result: no" >&5
     8536echo "${ECHO_T}no" >&6; }
     8537                { { echo "$as_me:$LINENO: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&5
     8538echo "$as_me: error: cannot find rappture2.h and librappture2.a inside $with_rappture, try using --with-rappture" >&2;}
    89088539   { (exit 1); exit 1; }; }
    89098540            fi
     
    89128543        RP2_INCL_DIR="$prefix/include/rappture2"
    89138544        RP_DIR="$prefix"
    8914         { $as_echo "$as_me:$LINENO: result: set to prefix" >&5
    8915 $as_echo "set to prefix" >&6; }
     8545        { echo "$as_me:$LINENO: result: set to prefix" >&5
     8546echo "${ECHO_T}set to prefix" >&6; }
    89168547    fi
    89178548else
     
    89208551for ac_header in rappture.h
    89218552do
    8922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     8553as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    89238554if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8924   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    8925 $as_echo_n "checking for $ac_header... " >&6; }
     8555  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     8556echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    89268557if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    8927   $as_echo_n "(cached) " >&6
    8928 fi
    8929 ac_res=`eval 'as_val=${'$as_ac_Header'}
    8930                  $as_echo "$as_val"'`
    8931                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    8932 $as_echo "$ac_res" >&6; }
     8558  echo $ECHO_N "(cached) $ECHO_C" >&6
     8559fi
     8560ac_res=`eval echo '${'$as_ac_Header'}'`
     8561               { echo "$as_me:$LINENO: result: $ac_res" >&5
     8562echo "${ECHO_T}$ac_res" >&6; }
    89338563else
    89348564  # Is the header compilable?
    8935 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    8936 $as_echo_n "checking $ac_header usability... " >&6; }
     8565{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     8566echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    89378567cat >conftest.$ac_ext <<_ACEOF
    89388568/* confdefs.h.  */
     
    89508580  *) ac_try_echo=$ac_try;;
    89518581esac
    8952 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8953 $as_echo "$ac_try_echo") >&5
     8582eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    89548583  (eval "$ac_compile") 2>conftest.er1
    89558584  ac_status=$?
     
    89578586  rm -f conftest.er1
    89588587  cat conftest.err >&5
    8959   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8588  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    89608589  (exit $ac_status); } && {
    89618590         test -z "$ac_cxx_werror_flag" ||
     
    89648593  ac_header_compiler=yes
    89658594else
    8966   $as_echo "$as_me: failed program was:" >&5
     8595  echo "$as_me: failed program was:" >&5
    89678596sed 's/^/| /' conftest.$ac_ext >&5
    89688597
     
    89718600
    89728601rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    8973 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    8974 $as_echo "$ac_header_compiler" >&6; }
     8602{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8603echo "${ECHO_T}$ac_header_compiler" >&6; }
    89758604
    89768605# Is the header present?
    8977 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    8978 $as_echo_n "checking $ac_header presence... " >&6; }
     8606{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     8607echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    89798608cat >conftest.$ac_ext <<_ACEOF
    89808609/* confdefs.h.  */
     
    89908619  *) ac_try_echo=$ac_try;;
    89918620esac
    8992 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    8993 $as_echo "$ac_try_echo") >&5
     8621eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    89948622  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    89958623  ac_status=$?
     
    89978625  rm -f conftest.er1
    89988626  cat conftest.err >&5
    8999   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8627  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    90008628  (exit $ac_status); } >/dev/null && {
    90018629         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    90048632  ac_header_preproc=yes
    90058633else
    9006   $as_echo "$as_me: failed program was:" >&5
     8634  echo "$as_me: failed program was:" >&5
    90078635sed 's/^/| /' conftest.$ac_ext >&5
    90088636
     
    90118639
    90128640rm -f conftest.err conftest.$ac_ext
    9013 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9014 $as_echo "$ac_header_preproc" >&6; }
     8641{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8642echo "${ECHO_T}$ac_header_preproc" >&6; }
    90158643
    90168644# So?  What about this header?
    90178645case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    90188646  yes:no: )
    9019     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9020 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9021     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9022 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     8647    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     8648echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8649    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     8650echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    90238651    ac_header_preproc=yes
    90248652    ;;
    90258653  no:yes:* )
    9026     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9027 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9028     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9029 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9030     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9031 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9032     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9033 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9034     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9035 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9036     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9037 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     8654    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     8655echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     8656    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     8657echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     8658    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     8659echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     8660    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     8661echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     8662    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     8663echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     8664    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     8665echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    90388666    ( cat <<\_ASBOX
    90398667## ----------------------------------- ##
     
    90448672    ;;
    90458673esac
    9046 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9047 $as_echo_n "checking for $ac_header... " >&6; }
     8674{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     8675echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    90488676if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9049   $as_echo_n "(cached) " >&6
     8677  echo $ECHO_N "(cached) $ECHO_C" >&6
    90508678else
    90518679  eval "$as_ac_Header=\$ac_header_preproc"
    90528680fi
    9053 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9054                  $as_echo "$as_val"'`
    9055                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9056 $as_echo "$ac_res" >&6; }
    9057 
    9058 fi
    9059 as_val=`eval 'as_val=${'$as_ac_Header'}
    9060                  $as_echo "$as_val"'`
    9061    if test "x$as_val" = x""yes; then
     8681ac_res=`eval echo '${'$as_ac_Header'}'`
     8682               { echo "$as_me:$LINENO: result: $ac_res" >&5
     8683echo "${ECHO_T}$ac_res" >&6; }
     8684
     8685fi
     8686if test `eval echo '${'$as_ac_Header'}'` = yes; then
    90628687  cat >>confdefs.h <<_ACEOF
    9063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
    9064 _ACEOF
    9065 
    9066 else
    9067   { { $as_echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5
    9068 $as_echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}
     8688#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
     8689_ACEOF
     8690
     8691else
     8692  { { echo "$as_me:$LINENO: error: cannot find rappture.h, try using --with-rappture" >&5
     8693echo "$as_me: error: cannot find rappture.h, try using --with-rappture" >&2;}
    90698694   { (exit 1); exit 1; }; }
    90708695fi
     
    90758700
    90768701fi
    9077 { $as_echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5
    9078 $as_echo "${RP_DIR}/include" >&6; }
     8702{ echo "$as_me:$LINENO: result: ${RP_DIR}/include" >&5
     8703echo "${ECHO_T}${RP_DIR}/include" >&6; }
    90798704
    90808705
    90818706
    90828707if test "${ac_cv_header_GL_glui_h+set}" = set; then
    9083   { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    9084 $as_echo_n "checking for GL/glui.h... " >&6; }
     8708  { echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     8709echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; }
    90858710if test "${ac_cv_header_GL_glui_h+set}" = set; then
    9086   $as_echo_n "(cached) " >&6
    9087 fi
    9088 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    9089 $as_echo "$ac_cv_header_GL_glui_h" >&6; }
     8711  echo $ECHO_N "(cached) $ECHO_C" >&6
     8712fi
     8713{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     8714echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; }
    90908715else
    90918716  # Is the header compilable?
    9092 { $as_echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
    9093 $as_echo_n "checking GL/glui.h usability... " >&6; }
     8717{ echo "$as_me:$LINENO: checking GL/glui.h usability" >&5
     8718echo $ECHO_N "checking GL/glui.h usability... $ECHO_C" >&6; }
    90948719cat >conftest.$ac_ext <<_ACEOF
    90958720/* confdefs.h.  */
     
    91078732  *) ac_try_echo=$ac_try;;
    91088733esac
    9109 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9110 $as_echo "$ac_try_echo") >&5
     8734eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    91118735  (eval "$ac_compile") 2>conftest.er1
    91128736  ac_status=$?
     
    91148738  rm -f conftest.er1
    91158739  cat conftest.err >&5
    9116   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8740  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    91178741  (exit $ac_status); } && {
    91188742         test -z "$ac_cxx_werror_flag" ||
     
    91218745  ac_header_compiler=yes
    91228746else
    9123   $as_echo "$as_me: failed program was:" >&5
     8747  echo "$as_me: failed program was:" >&5
    91248748sed 's/^/| /' conftest.$ac_ext >&5
    91258749
     
    91288752
    91298753rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9130 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9131 $as_echo "$ac_header_compiler" >&6; }
     8754{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8755echo "${ECHO_T}$ac_header_compiler" >&6; }
    91328756
    91338757# Is the header present?
    9134 { $as_echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
    9135 $as_echo_n "checking GL/glui.h presence... " >&6; }
     8758{ echo "$as_me:$LINENO: checking GL/glui.h presence" >&5
     8759echo $ECHO_N "checking GL/glui.h presence... $ECHO_C" >&6; }
    91368760cat >conftest.$ac_ext <<_ACEOF
    91378761/* confdefs.h.  */
     
    91478771  *) ac_try_echo=$ac_try;;
    91488772esac
    9149 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9150 $as_echo "$ac_try_echo") >&5
     8773eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    91518774  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    91528775  ac_status=$?
     
    91548777  rm -f conftest.er1
    91558778  cat conftest.err >&5
    9156   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8779  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    91578780  (exit $ac_status); } >/dev/null && {
    91588781         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    91618784  ac_header_preproc=yes
    91628785else
    9163   $as_echo "$as_me: failed program was:" >&5
     8786  echo "$as_me: failed program was:" >&5
    91648787sed 's/^/| /' conftest.$ac_ext >&5
    91658788
     
    91688791
    91698792rm -f conftest.err conftest.$ac_ext
    9170 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9171 $as_echo "$ac_header_preproc" >&6; }
     8793{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8794echo "${ECHO_T}$ac_header_preproc" >&6; }
    91728795
    91738796# So?  What about this header?
    91748797case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    91758798  yes:no: )
    9176     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9177 $as_echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9178     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
    9179 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
     8799    { echo "$as_me:$LINENO: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     8800echo "$as_me: WARNING: GL/glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8801    { echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the compiler's result" >&5
     8802echo "$as_me: WARNING: GL/glui.h: proceeding with the compiler's result" >&2;}
    91808803    ac_header_preproc=yes
    91818804    ;;
    91828805  no:yes:* )
    9183     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
    9184 $as_echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
    9185     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
    9186 $as_echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
    9187     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
    9188 $as_echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
    9189     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
    9190 $as_echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9191     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
    9192 $as_echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
    9193     { $as_echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
    9194 $as_echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
     8806    { echo "$as_me:$LINENO: WARNING: GL/glui.h: present but cannot be compiled" >&5
     8807echo "$as_me: WARNING: GL/glui.h: present but cannot be compiled" >&2;}
     8808    { echo "$as_me:$LINENO: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&5
     8809echo "$as_me: WARNING: GL/glui.h:     check for missing prerequisite headers?" >&2;}
     8810    { echo "$as_me:$LINENO: WARNING: GL/glui.h: see the Autoconf documentation" >&5
     8811echo "$as_me: WARNING: GL/glui.h: see the Autoconf documentation" >&2;}
     8812    { echo "$as_me:$LINENO: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     8813echo "$as_me: WARNING: GL/glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     8814    { echo "$as_me:$LINENO: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&5
     8815echo "$as_me: WARNING: GL/glui.h: proceeding with the preprocessor's result" >&2;}
     8816    { echo "$as_me:$LINENO: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&5
     8817echo "$as_me: WARNING: GL/glui.h: in the future, the compiler will take precedence" >&2;}
    91958818    ( cat <<\_ASBOX
    91968819## ----------------------------------- ##
     
    92018824    ;;
    92028825esac
    9203 { $as_echo "$as_me:$LINENO: checking for GL/glui.h" >&5
    9204 $as_echo_n "checking for GL/glui.h... " >&6; }
     8826{ echo "$as_me:$LINENO: checking for GL/glui.h" >&5
     8827echo $ECHO_N "checking for GL/glui.h... $ECHO_C" >&6; }
    92058828if test "${ac_cv_header_GL_glui_h+set}" = set; then
    9206   $as_echo_n "(cached) " >&6
     8829  echo $ECHO_N "(cached) $ECHO_C" >&6
    92078830else
    92088831  ac_cv_header_GL_glui_h=$ac_header_preproc
    92098832fi
    9210 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
    9211 $as_echo "$ac_cv_header_GL_glui_h" >&6; }
     8833{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glui_h" >&5
     8834echo "${ECHO_T}$ac_cv_header_GL_glui_h" >&6; }
    92128835
    92138836fi
     
    92158838
    92168839if test "${ac_cv_header_glui_h+set}" = set; then
    9217   { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
    9218 $as_echo_n "checking for glui.h... " >&6; }
     8840  { echo "$as_me:$LINENO: checking for glui.h" >&5
     8841echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; }
    92198842if test "${ac_cv_header_glui_h+set}" = set; then
    9220   $as_echo_n "(cached) " >&6
    9221 fi
    9222 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    9223 $as_echo "$ac_cv_header_glui_h" >&6; }
     8843  echo $ECHO_N "(cached) $ECHO_C" >&6
     8844fi
     8845{ echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     8846echo "${ECHO_T}$ac_cv_header_glui_h" >&6; }
    92248847else
    92258848  # Is the header compilable?
    9226 { $as_echo "$as_me:$LINENO: checking glui.h usability" >&5
    9227 $as_echo_n "checking glui.h usability... " >&6; }
     8849{ echo "$as_me:$LINENO: checking glui.h usability" >&5
     8850echo $ECHO_N "checking glui.h usability... $ECHO_C" >&6; }
    92288851cat >conftest.$ac_ext <<_ACEOF
    92298852/* confdefs.h.  */
     
    92418864  *) ac_try_echo=$ac_try;;
    92428865esac
    9243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9244 $as_echo "$ac_try_echo") >&5
     8866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    92458867  (eval "$ac_compile") 2>conftest.er1
    92468868  ac_status=$?
     
    92488870  rm -f conftest.er1
    92498871  cat conftest.err >&5
    9250   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8872  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    92518873  (exit $ac_status); } && {
    92528874         test -z "$ac_cxx_werror_flag" ||
     
    92558877  ac_header_compiler=yes
    92568878else
    9257   $as_echo "$as_me: failed program was:" >&5
     8879  echo "$as_me: failed program was:" >&5
    92588880sed 's/^/| /' conftest.$ac_ext >&5
    92598881
     
    92628884
    92638885rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9264 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9265 $as_echo "$ac_header_compiler" >&6; }
     8886{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     8887echo "${ECHO_T}$ac_header_compiler" >&6; }
    92668888
    92678889# Is the header present?
    9268 { $as_echo "$as_me:$LINENO: checking glui.h presence" >&5
    9269 $as_echo_n "checking glui.h presence... " >&6; }
     8890{ echo "$as_me:$LINENO: checking glui.h presence" >&5
     8891echo $ECHO_N "checking glui.h presence... $ECHO_C" >&6; }
    92708892cat >conftest.$ac_ext <<_ACEOF
    92718893/* confdefs.h.  */
     
    92818903  *) ac_try_echo=$ac_try;;
    92828904esac
    9283 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9284 $as_echo "$ac_try_echo") >&5
     8905eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    92858906  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    92868907  ac_status=$?
     
    92888909  rm -f conftest.er1
    92898910  cat conftest.err >&5
    9290   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     8911  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    92918912  (exit $ac_status); } >/dev/null && {
    92928913         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    92958916  ac_header_preproc=yes
    92968917else
    9297   $as_echo "$as_me: failed program was:" >&5
     8918  echo "$as_me: failed program was:" >&5
    92988919sed 's/^/| /' conftest.$ac_ext >&5
    92998920
     
    93028923
    93038924rm -f conftest.err conftest.$ac_ext
    9304 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9305 $as_echo "$ac_header_preproc" >&6; }
     8925{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     8926echo "${ECHO_T}$ac_header_preproc" >&6; }
    93068927
    93078928# So?  What about this header?
    93088929case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    93098930  yes:no: )
    9310     { $as_echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9311 $as_echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9312     { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
    9313 $as_echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
     8931    { echo "$as_me:$LINENO: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&5
     8932echo "$as_me: WARNING: glui.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     8933    { echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the compiler's result" >&5
     8934echo "$as_me: WARNING: glui.h: proceeding with the compiler's result" >&2;}
    93148935    ac_header_preproc=yes
    93158936    ;;
    93168937  no:yes:* )
    9317     { $as_echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
    9318 $as_echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
    9319     { $as_echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
    9320 $as_echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
    9321     { $as_echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
    9322 $as_echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
    9323     { $as_echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
    9324 $as_echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9325     { $as_echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
    9326 $as_echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
    9327     { $as_echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
    9328 $as_echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
     8938    { echo "$as_me:$LINENO: WARNING: glui.h: present but cannot be compiled" >&5
     8939echo "$as_me: WARNING: glui.h: present but cannot be compiled" >&2;}
     8940    { echo "$as_me:$LINENO: WARNING: glui.h:     check for missing prerequisite headers?" >&5
     8941echo "$as_me: WARNING: glui.h:     check for missing prerequisite headers?" >&2;}
     8942    { echo "$as_me:$LINENO: WARNING: glui.h: see the Autoconf documentation" >&5
     8943echo "$as_me: WARNING: glui.h: see the Autoconf documentation" >&2;}
     8944    { echo "$as_me:$LINENO: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&5
     8945echo "$as_me: WARNING: glui.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     8946    { echo "$as_me:$LINENO: WARNING: glui.h: proceeding with the preprocessor's result" >&5
     8947echo "$as_me: WARNING: glui.h: proceeding with the preprocessor's result" >&2;}
     8948    { echo "$as_me:$LINENO: WARNING: glui.h: in the future, the compiler will take precedence" >&5
     8949echo "$as_me: WARNING: glui.h: in the future, the compiler will take precedence" >&2;}
    93298950    ( cat <<\_ASBOX
    93308951## ----------------------------------- ##
     
    93358956    ;;
    93368957esac
    9337 { $as_echo "$as_me:$LINENO: checking for glui.h" >&5
    9338 $as_echo_n "checking for glui.h... " >&6; }
     8958{ echo "$as_me:$LINENO: checking for glui.h" >&5
     8959echo $ECHO_N "checking for glui.h... $ECHO_C" >&6; }
    93398960if test "${ac_cv_header_glui_h+set}" = set; then
    9340   $as_echo_n "(cached) " >&6
     8961  echo $ECHO_N "(cached) $ECHO_C" >&6
    93418962else
    93428963  ac_cv_header_glui_h=$ac_header_preproc
    93438964fi
    9344 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
    9345 $as_echo "$ac_cv_header_glui_h" >&6; }
     8965{ echo "$as_me:$LINENO: result: $ac_cv_header_glui_h" >&5
     8966echo "${ECHO_T}$ac_cv_header_glui_h" >&6; }
    93468967
    93478968fi
     
    93498970
    93508971if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9351   { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    9352 $as_echo_n "checking for GL/glut.h... " >&6; }
     8972  { echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     8973echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
    93538974if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9354   $as_echo_n "(cached) " >&6
    9355 fi
    9356 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    9357 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
     8975  echo $ECHO_N "(cached) $ECHO_C" >&6
     8976fi
     8977{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     8978echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
    93588979else
    93598980  # Is the header compilable?
    9360 { $as_echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
    9361 $as_echo_n "checking GL/glut.h usability... " >&6; }
     8981{ echo "$as_me:$LINENO: checking GL/glut.h usability" >&5
     8982echo $ECHO_N "checking GL/glut.h usability... $ECHO_C" >&6; }
    93628983cat >conftest.$ac_ext <<_ACEOF
    93638984/* confdefs.h.  */
     
    93758996  *) ac_try_echo=$ac_try;;
    93768997esac
    9377 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9378 $as_echo "$ac_try_echo") >&5
     8998eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    93798999  (eval "$ac_compile") 2>conftest.er1
    93809000  ac_status=$?
     
    93829002  rm -f conftest.er1
    93839003  cat conftest.err >&5
    9384   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9004  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    93859005  (exit $ac_status); } && {
    93869006         test -z "$ac_cxx_werror_flag" ||
     
    93899009  ac_header_compiler=yes
    93909010else
    9391   $as_echo "$as_me: failed program was:" >&5
     9011  echo "$as_me: failed program was:" >&5
    93929012sed 's/^/| /' conftest.$ac_ext >&5
    93939013
     
    93969016
    93979017rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9398 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9399 $as_echo "$ac_header_compiler" >&6; }
     9018{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9019echo "${ECHO_T}$ac_header_compiler" >&6; }
    94009020
    94019021# Is the header present?
    9402 { $as_echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
    9403 $as_echo_n "checking GL/glut.h presence... " >&6; }
     9022{ echo "$as_me:$LINENO: checking GL/glut.h presence" >&5
     9023echo $ECHO_N "checking GL/glut.h presence... $ECHO_C" >&6; }
    94049024cat >conftest.$ac_ext <<_ACEOF
    94059025/* confdefs.h.  */
     
    94159035  *) ac_try_echo=$ac_try;;
    94169036esac
    9417 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9418 $as_echo "$ac_try_echo") >&5
     9037eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    94199038  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    94209039  ac_status=$?
     
    94229041  rm -f conftest.er1
    94239042  cat conftest.err >&5
    9424   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9043  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    94259044  (exit $ac_status); } >/dev/null && {
    94269045         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    94299048  ac_header_preproc=yes
    94309049else
    9431   $as_echo "$as_me: failed program was:" >&5
     9050  echo "$as_me: failed program was:" >&5
    94329051sed 's/^/| /' conftest.$ac_ext >&5
    94339052
     
    94369055
    94379056rm -f conftest.err conftest.$ac_ext
    9438 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9439 $as_echo "$ac_header_preproc" >&6; }
     9057{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9058echo "${ECHO_T}$ac_header_preproc" >&6; }
    94409059
    94419060# So?  What about this header?
    94429061case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    94439062  yes:no: )
    9444     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9445 $as_echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9446     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
    9447 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
     9063    { echo "$as_me:$LINENO: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&5
     9064echo "$as_me: WARNING: GL/glut.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9065    { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the compiler's result" >&5
     9066echo "$as_me: WARNING: GL/glut.h: proceeding with the compiler's result" >&2;}
    94489067    ac_header_preproc=yes
    94499068    ;;
    94509069  no:yes:* )
    9451     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
    9452 $as_echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
    9453     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
    9454 $as_echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
    9455     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
    9456 $as_echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
    9457     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
    9458 $as_echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9459     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
    9460 $as_echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
    9461     { $as_echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
    9462 $as_echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
     9070    { echo "$as_me:$LINENO: WARNING: GL/glut.h: present but cannot be compiled" >&5
     9071echo "$as_me: WARNING: GL/glut.h: present but cannot be compiled" >&2;}
     9072    { echo "$as_me:$LINENO: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&5
     9073echo "$as_me: WARNING: GL/glut.h:     check for missing prerequisite headers?" >&2;}
     9074    { echo "$as_me:$LINENO: WARNING: GL/glut.h: see the Autoconf documentation" >&5
     9075echo "$as_me: WARNING: GL/glut.h: see the Autoconf documentation" >&2;}
     9076    { echo "$as_me:$LINENO: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&5
     9077echo "$as_me: WARNING: GL/glut.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     9078    { echo "$as_me:$LINENO: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&5
     9079echo "$as_me: WARNING: GL/glut.h: proceeding with the preprocessor's result" >&2;}
     9080    { echo "$as_me:$LINENO: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&5
     9081echo "$as_me: WARNING: GL/glut.h: in the future, the compiler will take precedence" >&2;}
    94639082    ( cat <<\_ASBOX
    94649083## ----------------------------------- ##
     
    94699088    ;;
    94709089esac
    9471 { $as_echo "$as_me:$LINENO: checking for GL/glut.h" >&5
    9472 $as_echo_n "checking for GL/glut.h... " >&6; }
     9090{ echo "$as_me:$LINENO: checking for GL/glut.h" >&5
     9091echo $ECHO_N "checking for GL/glut.h... $ECHO_C" >&6; }
    94739092if test "${ac_cv_header_GL_glut_h+set}" = set; then
    9474   $as_echo_n "(cached) " >&6
     9093  echo $ECHO_N "(cached) $ECHO_C" >&6
    94759094else
    94769095  ac_cv_header_GL_glut_h=$ac_header_preproc
    94779096fi
    9478 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
    9479 $as_echo "$ac_cv_header_GL_glut_h" >&6; }
     9097{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glut_h" >&5
     9098echo "${ECHO_T}$ac_cv_header_GL_glut_h" >&6; }
    94809099
    94819100fi
     
    94839102
    94849103if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9485   { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    9486 $as_echo_n "checking for GL/glew.h... " >&6; }
     9104  { echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     9105echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; }
    94879106if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9488   $as_echo_n "(cached) " >&6
    9489 fi
    9490 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    9491 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
     9107  echo $ECHO_N "(cached) $ECHO_C" >&6
     9108fi
     9109{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     9110echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; }
    94929111else
    94939112  # Is the header compilable?
    9494 { $as_echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
    9495 $as_echo_n "checking GL/glew.h usability... " >&6; }
     9113{ echo "$as_me:$LINENO: checking GL/glew.h usability" >&5
     9114echo $ECHO_N "checking GL/glew.h usability... $ECHO_C" >&6; }
    94969115cat >conftest.$ac_ext <<_ACEOF
    94979116/* confdefs.h.  */
     
    95099128  *) ac_try_echo=$ac_try;;
    95109129esac
    9511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9512 $as_echo "$ac_try_echo") >&5
     9130eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    95139131  (eval "$ac_compile") 2>conftest.er1
    95149132  ac_status=$?
     
    95169134  rm -f conftest.er1
    95179135  cat conftest.err >&5
    9518   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9136  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    95199137  (exit $ac_status); } && {
    95209138         test -z "$ac_cxx_werror_flag" ||
     
    95239141  ac_header_compiler=yes
    95249142else
    9525   $as_echo "$as_me: failed program was:" >&5
     9143  echo "$as_me: failed program was:" >&5
    95269144sed 's/^/| /' conftest.$ac_ext >&5
    95279145
     
    95309148
    95319149rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9532 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9533 $as_echo "$ac_header_compiler" >&6; }
     9150{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9151echo "${ECHO_T}$ac_header_compiler" >&6; }
    95349152
    95359153# Is the header present?
    9536 { $as_echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
    9537 $as_echo_n "checking GL/glew.h presence... " >&6; }
     9154{ echo "$as_me:$LINENO: checking GL/glew.h presence" >&5
     9155echo $ECHO_N "checking GL/glew.h presence... $ECHO_C" >&6; }
    95389156cat >conftest.$ac_ext <<_ACEOF
    95399157/* confdefs.h.  */
     
    95499167  *) ac_try_echo=$ac_try;;
    95509168esac
    9551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9552 $as_echo "$ac_try_echo") >&5
     9169eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    95539170  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    95549171  ac_status=$?
     
    95569173  rm -f conftest.er1
    95579174  cat conftest.err >&5
    9558   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9175  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    95599176  (exit $ac_status); } >/dev/null && {
    95609177         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    95639180  ac_header_preproc=yes
    95649181else
    9565   $as_echo "$as_me: failed program was:" >&5
     9182  echo "$as_me: failed program was:" >&5
    95669183sed 's/^/| /' conftest.$ac_ext >&5
    95679184
     
    95709187
    95719188rm -f conftest.err conftest.$ac_ext
    9572 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9573 $as_echo "$ac_header_preproc" >&6; }
     9189{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9190echo "${ECHO_T}$ac_header_preproc" >&6; }
    95749191
    95759192# So?  What about this header?
    95769193case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    95779194  yes:no: )
    9578     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9579 $as_echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9580     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
    9581 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
     9195    { echo "$as_me:$LINENO: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&5
     9196echo "$as_me: WARNING: GL/glew.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9197    { echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the compiler's result" >&5
     9198echo "$as_me: WARNING: GL/glew.h: proceeding with the compiler's result" >&2;}
    95829199    ac_header_preproc=yes
    95839200    ;;
    95849201  no:yes:* )
    9585     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
    9586 $as_echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
    9587     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
    9588 $as_echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
    9589     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
    9590 $as_echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
    9591     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
    9592 $as_echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9593     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
    9594 $as_echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
    9595     { $as_echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
    9596 $as_echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
     9202    { echo "$as_me:$LINENO: WARNING: GL/glew.h: present but cannot be compiled" >&5
     9203echo "$as_me: WARNING: GL/glew.h: present but cannot be compiled" >&2;}
     9204    { echo "$as_me:$LINENO: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&5
     9205echo "$as_me: WARNING: GL/glew.h:     check for missing prerequisite headers?" >&2;}
     9206    { echo "$as_me:$LINENO: WARNING: GL/glew.h: see the Autoconf documentation" >&5
     9207echo "$as_me: WARNING: GL/glew.h: see the Autoconf documentation" >&2;}
     9208    { echo "$as_me:$LINENO: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&5
     9209echo "$as_me: WARNING: GL/glew.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     9210    { echo "$as_me:$LINENO: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&5
     9211echo "$as_me: WARNING: GL/glew.h: proceeding with the preprocessor's result" >&2;}
     9212    { echo "$as_me:$LINENO: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&5
     9213echo "$as_me: WARNING: GL/glew.h: in the future, the compiler will take precedence" >&2;}
    95979214    ( cat <<\_ASBOX
    95989215## ----------------------------------- ##
     
    96039220    ;;
    96049221esac
    9605 { $as_echo "$as_me:$LINENO: checking for GL/glew.h" >&5
    9606 $as_echo_n "checking for GL/glew.h... " >&6; }
     9222{ echo "$as_me:$LINENO: checking for GL/glew.h" >&5
     9223echo $ECHO_N "checking for GL/glew.h... $ECHO_C" >&6; }
    96079224if test "${ac_cv_header_GL_glew_h+set}" = set; then
    9608   $as_echo_n "(cached) " >&6
     9225  echo $ECHO_N "(cached) $ECHO_C" >&6
    96099226else
    96109227  ac_cv_header_GL_glew_h=$ac_header_preproc
    96119228fi
    9612 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
    9613 $as_echo "$ac_cv_header_GL_glew_h" >&6; }
     9229{ echo "$as_me:$LINENO: result: $ac_cv_header_GL_glew_h" >&5
     9230echo "${ECHO_T}$ac_cv_header_GL_glew_h" >&6; }
    96149231
    96159232fi
     
    96179234
    96189235if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9619   { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
    9620 $as_echo_n "checking for Cg/cgGL.h... " >&6; }
     9236  { echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     9237echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; }
    96219238if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9622   $as_echo_n "(cached) " >&6
    9623 fi
    9624 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
    9625 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
     9239  echo $ECHO_N "(cached) $ECHO_C" >&6
     9240fi
     9241{ echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     9242echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; }
    96269243else
    96279244  # Is the header compilable?
    9628 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
    9629 $as_echo_n "checking Cg/cgGL.h usability... " >&6; }
     9245{ echo "$as_me:$LINENO: checking Cg/cgGL.h usability" >&5
     9246echo $ECHO_N "checking Cg/cgGL.h usability... $ECHO_C" >&6; }
    96309247cat >conftest.$ac_ext <<_ACEOF
    96319248/* confdefs.h.  */
     
    96439260  *) ac_try_echo=$ac_try;;
    96449261esac
    9645 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9646 $as_echo "$ac_try_echo") >&5
     9262eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    96479263  (eval "$ac_compile") 2>conftest.er1
    96489264  ac_status=$?
     
    96509266  rm -f conftest.er1
    96519267  cat conftest.err >&5
    9652   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9268  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    96539269  (exit $ac_status); } && {
    96549270         test -z "$ac_cxx_werror_flag" ||
     
    96579273  ac_header_compiler=yes
    96589274else
    9659   $as_echo "$as_me: failed program was:" >&5
     9275  echo "$as_me: failed program was:" >&5
    96609276sed 's/^/| /' conftest.$ac_ext >&5
    96619277
     
    96649280
    96659281rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9666 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9667 $as_echo "$ac_header_compiler" >&6; }
     9282{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9283echo "${ECHO_T}$ac_header_compiler" >&6; }
    96689284
    96699285# Is the header present?
    9670 { $as_echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
    9671 $as_echo_n "checking Cg/cgGL.h presence... " >&6; }
     9286{ echo "$as_me:$LINENO: checking Cg/cgGL.h presence" >&5
     9287echo $ECHO_N "checking Cg/cgGL.h presence... $ECHO_C" >&6; }
    96729288cat >conftest.$ac_ext <<_ACEOF
    96739289/* confdefs.h.  */
     
    96839299  *) ac_try_echo=$ac_try;;
    96849300esac
    9685 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9686 $as_echo "$ac_try_echo") >&5
     9301eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    96879302  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    96889303  ac_status=$?
     
    96909305  rm -f conftest.er1
    96919306  cat conftest.err >&5
    9692   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9307  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    96939308  (exit $ac_status); } >/dev/null && {
    96949309         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    96979312  ac_header_preproc=yes
    96989313else
    9699   $as_echo "$as_me: failed program was:" >&5
     9314  echo "$as_me: failed program was:" >&5
    97009315sed 's/^/| /' conftest.$ac_ext >&5
    97019316
     
    97049319
    97059320rm -f conftest.err conftest.$ac_ext
    9706 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9707 $as_echo "$ac_header_preproc" >&6; }
     9321{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9322echo "${ECHO_T}$ac_header_preproc" >&6; }
    97089323
    97099324# So?  What about this header?
    97109325case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    97119326  yes:no: )
    9712     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
    9713 $as_echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9714     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5
    9715 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
     9327    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&5
     9328echo "$as_me: WARNING: Cg/cgGL.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9329    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&5
     9330echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the compiler's result" >&2;}
    97169331    ac_header_preproc=yes
    97179332    ;;
    97189333  no:yes:* )
    9719     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
    9720 $as_echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}
    9721     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&5
    9722 $as_echo "$as_me: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&2;}
    9723     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5
    9724 $as_echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}
    9725     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&5
    9726 $as_echo "$as_me: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&2;}
    9727     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5
    9728 $as_echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}
    9729     { $as_echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5
    9730 $as_echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
     9334    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: present but cannot be compiled" >&5
     9335echo "$as_me: WARNING: Cg/cgGL.h: present but cannot be compiled" >&2;}
     9336    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&5
     9337echo "$as_me: WARNING: Cg/cgGL.h:     check for missing prerequisite headers?" >&2;}
     9338    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&5
     9339echo "$as_me: WARNING: Cg/cgGL.h: see the Autoconf documentation" >&2;}
     9340    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&5
     9341echo "$as_me: WARNING: Cg/cgGL.h:     section \"Present But Cannot Be Compiled\"" >&2;}
     9342    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&5
     9343echo "$as_me: WARNING: Cg/cgGL.h: proceeding with the preprocessor's result" >&2;}
     9344    { echo "$as_me:$LINENO: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&5
     9345echo "$as_me: WARNING: Cg/cgGL.h: in the future, the compiler will take precedence" >&2;}
    97319346    ( cat <<\_ASBOX
    97329347## ----------------------------------- ##
     
    97379352    ;;
    97389353esac
    9739 { $as_echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
    9740 $as_echo_n "checking for Cg/cgGL.h... " >&6; }
     9354{ echo "$as_me:$LINENO: checking for Cg/cgGL.h" >&5
     9355echo $ECHO_N "checking for Cg/cgGL.h... $ECHO_C" >&6; }
    97419356if test "${ac_cv_header_Cg_cgGL_h+set}" = set; then
    9742   $as_echo_n "(cached) " >&6
     9357  echo $ECHO_N "(cached) $ECHO_C" >&6
    97439358else
    97449359  ac_cv_header_Cg_cgGL_h=$ac_header_preproc
    97459360fi
    9746 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
    9747 $as_echo "$ac_cv_header_Cg_cgGL_h" >&6; }
     9361{ echo "$as_me:$LINENO: result: $ac_cv_header_Cg_cgGL_h" >&5
     9362echo "${ECHO_T}$ac_cv_header_Cg_cgGL_h" >&6; }
    97489363
    97499364fi
     
    97589373for ac_header in stdio.h unistd.h stdlib.h string.h sys/types.h
    97599374do
    9760 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9375as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    97619376if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9762   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9763 $as_echo_n "checking for $ac_header... " >&6; }
     9377  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     9378echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    97649379if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9765   $as_echo_n "(cached) " >&6
    9766 fi
    9767 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9768                  $as_echo "$as_val"'`
    9769                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9770 $as_echo "$ac_res" >&6; }
     9380  echo $ECHO_N "(cached) $ECHO_C" >&6
     9381fi
     9382ac_res=`eval echo '${'$as_ac_Header'}'`
     9383               { echo "$as_me:$LINENO: result: $ac_res" >&5
     9384echo "${ECHO_T}$ac_res" >&6; }
    97719385else
    97729386  # Is the header compilable?
    9773 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9774 $as_echo_n "checking $ac_header usability... " >&6; }
     9387{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9388echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    97759389cat >conftest.$ac_ext <<_ACEOF
    97769390/* confdefs.h.  */
     
    97889402  *) ac_try_echo=$ac_try;;
    97899403esac
    9790 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9791 $as_echo "$ac_try_echo") >&5
     9404eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    97929405  (eval "$ac_compile") 2>conftest.er1
    97939406  ac_status=$?
     
    97959408  rm -f conftest.er1
    97969409  cat conftest.err >&5
    9797   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9410  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    97989411  (exit $ac_status); } && {
    97999412         test -z "$ac_cxx_werror_flag" ||
     
    98029415  ac_header_compiler=yes
    98039416else
    9804   $as_echo "$as_me: failed program was:" >&5
     9417  echo "$as_me: failed program was:" >&5
    98059418sed 's/^/| /' conftest.$ac_ext >&5
    98069419
     
    98099422
    98109423rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9811 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9812 $as_echo "$ac_header_compiler" >&6; }
     9424{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9425echo "${ECHO_T}$ac_header_compiler" >&6; }
    98139426
    98149427# Is the header present?
    9815 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9816 $as_echo_n "checking $ac_header presence... " >&6; }
     9428{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9429echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    98179430cat >conftest.$ac_ext <<_ACEOF
    98189431/* confdefs.h.  */
     
    98289441  *) ac_try_echo=$ac_try;;
    98299442esac
    9830 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9831 $as_echo "$ac_try_echo") >&5
     9443eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    98329444  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    98339445  ac_status=$?
     
    98359447  rm -f conftest.er1
    98369448  cat conftest.err >&5
    9837   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9449  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    98389450  (exit $ac_status); } >/dev/null && {
    98399451         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    98429454  ac_header_preproc=yes
    98439455else
    9844   $as_echo "$as_me: failed program was:" >&5
     9456  echo "$as_me: failed program was:" >&5
    98459457sed 's/^/| /' conftest.$ac_ext >&5
    98469458
     
    98499461
    98509462rm -f conftest.err conftest.$ac_ext
    9851 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    9852 $as_echo "$ac_header_preproc" >&6; }
     9463{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9464echo "${ECHO_T}$ac_header_preproc" >&6; }
    98539465
    98549466# So?  What about this header?
    98559467case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    98569468  yes:no: )
    9857     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    9858 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    9859     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    9860 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9469    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9470echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9471    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9472echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    98619473    ac_header_preproc=yes
    98629474    ;;
    98639475  no:yes:* )
    9864     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    9865 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    9866     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    9867 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    9868     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    9869 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    9870     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    9871 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    9872     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    9873 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    9874     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    9875 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9476    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9477echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9478    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9479echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9480    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9481echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9482    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9483echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9484    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9485echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9486    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9487echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    98769488    ( cat <<\_ASBOX
    98779489## ----------------------------------- ##
     
    98829494    ;;
    98839495esac
    9884 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9885 $as_echo_n "checking for $ac_header... " >&6; }
     9496{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     9497echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    98869498if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9887   $as_echo_n "(cached) " >&6
     9499  echo $ECHO_N "(cached) $ECHO_C" >&6
    98889500else
    98899501  eval "$as_ac_Header=\$ac_header_preproc"
    98909502fi
    9891 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9892                  $as_echo "$as_val"'`
    9893                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9894 $as_echo "$ac_res" >&6; }
    9895 
    9896 fi
    9897 as_val=`eval 'as_val=${'$as_ac_Header'}
    9898                  $as_echo "$as_val"'`
    9899    if test "x$as_val" = x""yes; then
     9503ac_res=`eval echo '${'$as_ac_Header'}'`
     9504               { echo "$as_me:$LINENO: result: $ac_res" >&5
     9505echo "${ECHO_T}$ac_res" >&6; }
     9506
     9507fi
     9508if test `eval echo '${'$as_ac_Header'}'` = yes; then
    99009509  cat >>confdefs.h <<_ACEOF
    9901 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9510#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    99029511_ACEOF
    99039512
     
    99139522for ac_header in sys/socket.h sys/time.h netinet/in.h arpa/inet.h netdb.h
    99149523do
    9915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     9524as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
    99169525if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9917   { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    9918 $as_echo_n "checking for $ac_header... " >&6; }
     9526  { echo "$as_me:$LINENO: checking for $ac_header" >&5
     9527echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    99199528if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    9920   $as_echo_n "(cached) " >&6
    9921 fi
    9922 ac_res=`eval 'as_val=${'$as_ac_Header'}
    9923                  $as_echo "$as_val"'`
    9924                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    9925 $as_echo "$ac_res" >&6; }
     9529  echo $ECHO_N "(cached) $ECHO_C" >&6
     9530fi
     9531ac_res=`eval echo '${'$as_ac_Header'}'`
     9532               { echo "$as_me:$LINENO: result: $ac_res" >&5
     9533echo "${ECHO_T}$ac_res" >&6; }
    99269534else
    99279535  # Is the header compilable?
    9928 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
    9929 $as_echo_n "checking $ac_header usability... " >&6; }
     9536{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
     9537echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
    99309538cat >conftest.$ac_ext <<_ACEOF
    99319539/* confdefs.h.  */
     
    99439551  *) ac_try_echo=$ac_try;;
    99449552esac
    9945 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9946 $as_echo "$ac_try_echo") >&5
     9553eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    99479554  (eval "$ac_compile") 2>conftest.er1
    99489555  ac_status=$?
     
    99509557  rm -f conftest.er1
    99519558  cat conftest.err >&5
    9952   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9559  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    99539560  (exit $ac_status); } && {
    99549561         test -z "$ac_cxx_werror_flag" ||
     
    99579564  ac_header_compiler=yes
    99589565else
    9959   $as_echo "$as_me: failed program was:" >&5
     9566  echo "$as_me: failed program was:" >&5
    99609567sed 's/^/| /' conftest.$ac_ext >&5
    99619568
     
    99649571
    99659572rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    9966 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
    9967 $as_echo "$ac_header_compiler" >&6; }
     9573{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
     9574echo "${ECHO_T}$ac_header_compiler" >&6; }
    99689575
    99699576# Is the header present?
    9970 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
    9971 $as_echo_n "checking $ac_header presence... " >&6; }
     9577{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
     9578echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
    99729579cat >conftest.$ac_ext <<_ACEOF
    99739580/* confdefs.h.  */
     
    99839590  *) ac_try_echo=$ac_try;;
    99849591esac
    9985 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
    9986 $as_echo "$ac_try_echo") >&5
     9592eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
    99879593  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
    99889594  ac_status=$?
     
    99909596  rm -f conftest.er1
    99919597  cat conftest.err >&5
    9992   $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
     9598  echo "$as_me:$LINENO: \$? = $ac_status" >&5
    99939599  (exit $ac_status); } >/dev/null && {
    99949600         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
     
    99979603  ac_header_preproc=yes
    99989604else
    9999   $as_echo "$as_me: failed program was:" >&5
     9605  echo "$as_me: failed program was:" >&5
    100009606sed 's/^/| /' conftest.$ac_ext >&5
    100019607
     
    100049610
    100059611rm -f conftest.err conftest.$ac_ext
    10006 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
    10007 $as_echo "$ac_header_preproc" >&6; }
     9612{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
     9613echo "${ECHO_T}$ac_header_preproc" >&6; }
    100089614
    100099615# So?  What about this header?
    100109616case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
    100119617  yes:no: )
    10012     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
    10013 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
    10014     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
    10015 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
     9618    { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
     9619echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
     9620    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
     9621echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
    100169622    ac_header_preproc=yes
    100179623    ;;
    100189624  no:yes:* )
    10019     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
    10020 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
    10021     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
    10022 $as_echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
    10023     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
    10024 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
    10025     { $as_echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
    10026 $as_echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
    10027     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
    10028 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
    10029     { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
    10030 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
     9625    { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
     9626echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
     9627    { echo "$as_me:$LINENO: WARNING: $ac_header:     check for missing prerequisite headers?" >&5
     9628echo "$as_me: WARNING: $ac_header:     check for missing prerequisite headers?" >&2;}
     9629    { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
     9630echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
     9631    { echo "$as_me:$LINENO: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&5
     9632echo "$as_me: WARNING: $ac_header:     section \"Present But Cannot Be Compiled\"" >&2;}
     9633    { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
     9634echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
     9635    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
     9636echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
    100319637    ( cat <<\_ASBOX
    100329638## ----------------------------------- ##
     
    100379643    ;;
    100389644esac
    10039 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
    10040 $as_echo_n "checking for $ac_header... " >&6; }
     9645{ echo "$as_me:$LINENO: checking for $ac_header" >&5
     9646echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
    100419647if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
    10042   $as_echo_n "(cached) " >&6
     9648  echo $ECHO_N "(cached) $ECHO_C" >&6
    100439649else
    100449650  eval "$as_ac_Header=\$ac_header_preproc"
    100459651fi
    10046 ac_res=`eval 'as_val=${'$as_ac_Header'}
    10047                  $as_echo "$as_val"'`
    10048                { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
    10049 $as_echo "$ac_res" >&6; }
    10050 
    10051 fi
    10052 as_val=`eval 'as_val=${'$as_ac_Header'}
    10053                  $as_echo "$as_val"'`
    10054    if test "x$as_val" = x""yes; then
     9652ac_res=`eval echo '${'$as_ac_Header'}'`
     9653               { echo "$as_me:$LINENO: result: $ac_res" >&5
     9654echo "${ECHO_T}$ac_res" >&6; }
     9655
     9656fi
     9657if test `eval echo '${'$as_ac_Header'}'` = yes; then
    100559658  cat >>confdefs.h <<_ACEOF
    10056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
     9659#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
    100579660_ACEOF
    100589661
     
    100629665
    100639666
    10064 { $as_echo "$as_me:$LINENO: checking for DX installation" >&5
    10065 $as_echo_n "checking for DX installation... " >&6; }
     9667{ echo "$as_me:$LINENO: checking for DX installation" >&5
     9668echo $ECHO_N "checking for DX installation... $ECHO_C" >&6; }
    100669669DX_DIR=""
    100679670for dir in \
     
    100769679done
    100779680if test "x${DX_DIR}" = "x" ; then
    10078   { { $as_echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5
    10079 $as_echo "$as_me: error: can't find OpenDX installation" >&2;}
     9681  { { echo "$as_me:$LINENO: error: can't find OpenDX installation" >&5
     9682echo "$as_me: error: can't find OpenDX installation" >&2;}
    100809683   { (exit 1); exit 1; }; }
    100819684fi
     
    100889691
    100899692
    10090 { $as_echo "$as_me:$LINENO: result: ${DX_DIR}" >&5
    10091 $as_echo "${DX_DIR}" >&6; }
    10092 
    10093 { $as_echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
    10094 $as_echo_n "checking for nVidia Cg installation... " >&6; }
     9693{ echo "$as_me:$LINENO: result: ${DX_DIR}" >&5
     9694echo "${ECHO_T}${DX_DIR}" >&6; }
     9695
     9696{ echo "$as_me:$LINENO: checking for FFmpeg installation" >&5
     9697echo $ECHO_N "checking for FFmpeg installation... $ECHO_C" >&6; }
     9698FFMPEG_DIR=""
     9699for dir in \
     9700 /apps/rappture \
     9701 /usr
     9702do
     9703  if test -r "${dir}/include/ffmpeg/avcodec.h" ; then
     9704    FFMPEG_DIR="$dir"
     9705    break
     9706  fi
     9707done
     9708if test "x${FFMPEG_DIR}" = "x" ; then
     9709  { { echo "$as_me:$LINENO: error: can't find FFmpeg installation" >&5
     9710echo "$as_me: error: can't find FFmpeg installation" >&2;}
     9711   { (exit 1); exit 1; }; }
     9712fi
     9713
     9714if test "${FFMPEG_DIR}" = "/usr" ; then
     9715  FFMPEG_DIR=""
     9716#else
     9717#  LD_RPATH="$loader_run_path:${FFMPEG_DIR}/lib"
     9718fi
     9719
     9720
     9721{ echo "$as_me:$LINENO: result: ${FFMPEG_DIR}" >&5
     9722echo "${ECHO_T}${FFMPEG_DIR}" >&6; }
     9723
     9724{ echo "$as_me:$LINENO: checking for nVidia Cg installation" >&5
     9725echo $ECHO_N "checking for nVidia Cg installation... $ECHO_C" >&6; }
    100959726CG_DIR=""
    100969727for dir in \
     
    101059736done
    101069737if test "x${CG_DIR}" = "x" ; then
    10107   { { $as_echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
    10108 $as_echo "$as_me: error: can't find nVidia Cg installation" >&2;}
     9738  { { echo "$as_me:$LINENO: error: can't find nVidia Cg installation" >&5
     9739echo "$as_me: error: can't find nVidia Cg installation" >&2;}
    101099740   { (exit 1); exit 1; }; }
    101109741fi
     
    101179748
    101189749
    10119 { $as_echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
    10120 $as_echo "${CG_DIR}" >&6; }
     9750{ echo "$as_me:$LINENO: result: ${CG_DIR}" >&5
     9751echo "${ECHO_T}${CG_DIR}" >&6; }
    101219752
    101229753
     
    101529783    *${as_nl}*)
    101539784      case $ac_var in #(
    10154       *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
    10155 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
     9785      *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
     9786echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
    101569787      esac
    101579788      case $ac_var in #(
    101589789      _ | IFS | as_nl) ;; #(
    10159       BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
    101609790      *) $as_unset $ac_var ;;
    101619791      esac ;;
     
    101909820  if test -w "$cache_file"; then
    101919821    test "x$cache_file" != "x/dev/null" &&
    10192       { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
    10193 $as_echo "$as_me: updating cache $cache_file" >&6;}
     9822      { echo "$as_me:$LINENO: updating cache $cache_file" >&5
     9823echo "$as_me: updating cache $cache_file" >&6;}
    101949824    cat confcache >$cache_file
    101959825  else
    10196     { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
    10197 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
     9826    { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
     9827echo "$as_me: not updating unwritable cache $cache_file" >&6;}
    101989828  fi
    101999829fi
     
    102119841  # 1. Remove the extension, and $U if already installed.
    102129842  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
    10213   ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
     9843  ac_i=`echo "$ac_i" | sed "$ac_script"`
    102149844  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
    102159845  #    will be set to the directory where LIBOBJS objects are built.
     
    102239853
    102249854
    10225 
    102269855: ${CONFIG_STATUS=./config.status}
    10227 ac_write_fail=0
    102289856ac_clean_files_save=$ac_clean_files
    102299857ac_clean_files="$ac_clean_files $CONFIG_STATUS"
    10230 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
    10231 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
    10232 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     9858{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
     9859echo "$as_me: creating $CONFIG_STATUS" >&6;}
     9860cat >$CONFIG_STATUS <<_ACEOF
    102339861#! $SHELL
    102349862# Generated by $as_me.
     
    102439871_ACEOF
    102449872
    10245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     9873cat >>$CONFIG_STATUS <<\_ACEOF
    102469874## --------------------- ##
    102479875## M4sh Initialization.  ##
     
    102539881  emulate sh
    102549882  NULLCMD=:
    10255   # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
     9883  # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
    102569884  # is contrary to our usage.  Disable this feature.
    102579885  alias -g '${1+"$@"}'='"$@"'
     
    102759903as_cr_alnum=$as_cr_Letters$as_cr_digits
    102769904
    10277 as_nl='
    10278 '
    10279 export as_nl
    10280 # Printing a long string crashes Solaris 7 /usr/bin/printf.
    10281 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
    10282 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
    10283 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
    10284 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
    10285   as_echo='printf %s\n'
    10286   as_echo_n='printf %s'
    10287 else
    10288   if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
    10289     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
    10290     as_echo_n='/usr/ucb/echo -n'
    10291   else
    10292     as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
    10293     as_echo_n_body='eval
    10294       arg=$1;
    10295       case $arg in
    10296       *"$as_nl"*)
    10297         expr "X$arg" : "X\\(.*\\)$as_nl";
    10298         arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
    10299       esac;
    10300       expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
    10301     '
    10302     export as_echo_n_body
    10303     as_echo_n='sh -c $as_echo_n_body as_echo'
    10304   fi
    10305   export as_echo_body
    10306   as_echo='sh -c $as_echo_body as_echo'
    10307 fi
    10308 
    103099905# The user is always right.
    103109906if test "${PATH_SEPARATOR+set}" != set; then
    10311   PATH_SEPARATOR=:
    10312   (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
    10313     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
    10314       PATH_SEPARATOR=';'
    10315   }
     9907  echo "#! /bin/sh" >conf$$.sh
     9908  echo  "exit 0"   >>conf$$.sh
     9909  chmod +x conf$$.sh
     9910  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
     9911    PATH_SEPARATOR=';'
     9912  else
     9913    PATH_SEPARATOR=:
     9914  fi
     9915  rm -f conf$$.sh
    103169916fi
    103179917
     
    103299929# (If _AS_PATH_WALK were called with IFS unset, it would disable word
    103309930# splitting by setting IFS to empty value.)
     9931as_nl='
     9932'
    103319933IFS=" ""        $as_nl"
    103329934
     
    103519953fi
    103529954if test ! -f "$as_myself"; then
    10353   $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
     9955  echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
    103549956  { (exit 1); exit 1; }
    103559957fi
     
    103649966
    103659967# NLS nuisances.
    10366 LC_ALL=C
    10367 export LC_ALL
    10368 LANGUAGE=C
    10369 export LANGUAGE
     9968for as_var in \
     9969  LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
     9970  LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
     9971  LC_TELEPHONE LC_TIME
     9972do
     9973  if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
     9974    eval $as_var=C; export $as_var
     9975  else
     9976    ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
     9977  fi
     9978done
    103709979
    103719980# Required to use basename.
     
    103899998         X"$0" : 'X\(//\)$' \| \
    103909999         X"$0" : 'X\(/\)' \| . 2>/dev/null ||
    10391 $as_echo X/"$0" |
     10000echo X/"$0" |
    1039210001    sed '/^.*\/\([^/][^/]*\)\/*$/{
    1039310002            s//\1/
     
    1044010049    ' >$as_me.lineno &&
    1044110050  chmod +x "$as_me.lineno" ||
    10442     { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
     10051    { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
    1044310052   { (exit 1); exit 1; }; }
    1044410053
     
    1046810077  ECHO_N='-n';;
    1046910078esac
     10079
    1047010080if expr a : '\(a\)' >/dev/null 2>&1 &&
    1047110081   test "X`expr 00001 : '.*\(...\)'`" = X001; then
     
    1048010090else
    1048110091  rm -f conf$$.dir
    10482   mkdir conf$$.dir 2>/dev/null
    10483 fi
    10484 if (echo >conf$$.file) 2>/dev/null; then
    10485   if ln -s conf$$.file conf$$ 2>/dev/null; then
    10486     as_ln_s='ln -s'
    10487     # ... but there are two gotchas:
    10488     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
    10489     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
    10490     # In both cases, we have to default to `cp -p'.
    10491     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    10492       as_ln_s='cp -p'
    10493   elif ln conf$$.file conf$$ 2>/dev/null; then
    10494     as_ln_s=ln
    10495   else
     10092  mkdir conf$$.dir
     10093fi
     10094echo >conf$$.file
     10095if ln -s conf$$.file conf$$ 2>/dev/null; then
     10096  as_ln_s='ln -s'
     10097  # ... but there are two gotchas:
     10098  # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
     10099  # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
     10100  # In both cases, we have to default to `cp -p'.
     10101  ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
    1049610102    as_ln_s='cp -p'
    10497   fi
     10103elif ln conf$$.file conf$$ 2>/dev/null; then
     10104  as_ln_s=ln
    1049810105else
    1049910106  as_ln_s='cp -p'
     
    1052010127    eval sh -c '\''
    1052110128      if test -d "$1"; then
    10522         test -d "$1/.";
     10129        test -d "$1/.";
    1052310130      else
    1052410131        case $1 in
    10525         -*)set "./$1";;
     10132        -*)set "./$1";;
    1052610133        esac;
    1052710134        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
     
    1054610153ac_log="
    1054710154This file was extended by vizservers $as_me 0.1, which was
    10548 generated by GNU Autoconf 2.63.  Invocation command line was
     10155generated by GNU Autoconf 2.61.  Invocation command line was
    1054910156
    1055010157  CONFIG_FILES    = $CONFIG_FILES
     
    1055910166_ACEOF
    1056010167
    10561 case $ac_config_files in *"
    10562 "*) set x $ac_config_files; shift; ac_config_files=$*;;
    10563 esac
    10564 
    10565 case $ac_config_headers in *"
    10566 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
    10567 esac
    10568 
    10569 
    10570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10168cat >>$CONFIG_STATUS <<_ACEOF
    1057110169# Files that config.status was made for.
    1057210170config_files="$ac_config_files"
     
    1057510173_ACEOF
    1057610174
    10577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10175cat >>$CONFIG_STATUS <<\_ACEOF
    1057810176ac_cs_usage="\
    1057910177\`$as_me' instantiates files from templates according to the
    1058010178current configuration.
    1058110179
    10582 Usage: $0 [OPTION]... [FILE]...
     10180Usage: $0 [OPTIONS] [FILE]...
    1058310181
    1058410182  -h, --help       print this help, then exit
    1058510183  -V, --version    print version number and configuration settings, then exit
    10586   -q, --quiet, --silent
    10587                    do not print progress messages
     10184  -q, --quiet      do not print progress messages
    1058810185  -d, --debug      don't remove temporary files
    1058910186      --recheck    update $as_me by reconfiguring in the same conditions
    10590       --file=FILE[:TEMPLATE]
    10591                    instantiate the configuration file FILE
    10592       --header=FILE[:TEMPLATE]
    10593                    instantiate the configuration header FILE
     10187  --file=FILE[:TEMPLATE]
     10188                   instantiate the configuration file FILE
     10189  --header=FILE[:TEMPLATE]
     10190                   instantiate the configuration header FILE
    1059410191
    1059510192Configuration files:
     
    1060210199
    1060310200_ACEOF
    10604 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10201cat >>$CONFIG_STATUS <<_ACEOF
    1060510202ac_cs_version="\\
    1060610203vizservers config.status 0.1
    10607 configured by $0, generated by GNU Autoconf 2.63,
    10608   with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
    10609 
    10610 Copyright (C) 2008 Free Software Foundation, Inc.
     10204configured by $0, generated by GNU Autoconf 2.61,
     10205  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
     10206
     10207Copyright (C) 2006 Free Software Foundation, Inc.
    1061110208This config.status script is free software; the Free Software Foundation
    1061210209gives unlimited permission to copy, distribute and modify it."
     
    1061610213INSTALL='$INSTALL'
    1061710214MKDIR_P='$MKDIR_P'
    10618 test -n "\$AWK" || AWK=awk
    10619 _ACEOF
    10620 
    10621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    10622 # The default lists apply if the user does not specify any file.
     10215_ACEOF
     10216
     10217cat >>$CONFIG_STATUS <<\_ACEOF
     10218# If no file are specified by the user, then we need to provide default
     10219# value.  By we need to know if files were specified by the user.
    1062310220ac_need_defaults=:
    1062410221while test $# != 0
     
    1064210239    ac_cs_recheck=: ;;
    1064310240  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
    10644     $as_echo "$ac_cs_version"; exit ;;
     10241    echo "$ac_cs_version"; exit ;;
    1064510242  --debug | --debu | --deb | --de | --d | -d )
    1064610243    debug=: ;;
    1064710244  --file | --fil | --fi | --f )
    1064810245    $ac_shift
    10649     case $ac_optarg in
    10650     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10651     esac
    10652     CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
     10246    CONFIG_FILES="$CONFIG_FILES $ac_optarg"
    1065310247    ac_need_defaults=false;;
    1065410248  --header | --heade | --head | --hea )
    1065510249    $ac_shift
    10656     case $ac_optarg in
    10657     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
    10658     esac
    10659     CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
     10250    CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
    1066010251    ac_need_defaults=false;;
    1066110252  --he | --h)
    1066210253    # Conflict between --help and --header
    10663     { $as_echo "$as_me: error: ambiguous option: $1
     10254    { echo "$as_me: error: ambiguous option: $1
    1066410255Try \`$0 --help' for more information." >&2
    1066510256   { (exit 1); exit 1; }; };;
    1066610257  --help | --hel | -h )
    10667     $as_echo "$ac_cs_usage"; exit ;;
     10258    echo "$ac_cs_usage"; exit ;;
    1066810259  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
    1066910260  | -silent | --silent | --silen | --sile | --sil | --si | --s)
     
    1067110262
    1067210263  # This is an error.
    10673   -*) { $as_echo "$as_me: error: unrecognized option: $1
     10264  -*) { echo "$as_me: error: unrecognized option: $1
    1067410265Try \`$0 --help' for more information." >&2
    1067510266   { (exit 1); exit 1; }; } ;;
     
    1069010281
    1069110282_ACEOF
    10692 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10283cat >>$CONFIG_STATUS <<_ACEOF
    1069310284if \$ac_cs_recheck; then
    10694   set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
    10695   shift
    10696   \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
    10697   CONFIG_SHELL='$SHELL'
     10285  echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
     10286  CONFIG_SHELL=$SHELL
    1069810287  export CONFIG_SHELL
    10699   exec "\$@"
    10700 fi
    10701 
    10702 _ACEOF
    10703 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10288  exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
     10289fi
     10290
     10291_ACEOF
     10292cat >>$CONFIG_STATUS <<\_ACEOF
    1070410293exec 5>>config.log
    1070510294{
     
    1070810297## Running $as_me. ##
    1070910298_ASBOX
    10710   $as_echo "$ac_log"
     10299  echo "$ac_log"
    1071110300} >&5
    1071210301
    1071310302_ACEOF
    10714 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    10715 _ACEOF
    10716 
    10717 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10303cat >>$CONFIG_STATUS <<_ACEOF
     10304_ACEOF
     10305
     10306cat >>$CONFIG_STATUS <<\_ACEOF
    1071810307
    1071910308# Handling of arguments.
     
    1073210321    "start_viz.sh") CONFIG_FILES="$CONFIG_FILES start_viz.sh" ;;
    1073310322
    10734   *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
    10735 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
     10323  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
     10324echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
    1073610325   { (exit 1); exit 1; }; };;
    1073710326  esac
     
    1077310362} ||
    1077410363{
    10775    $as_echo "$as_me: cannot create a temporary directory in ." >&2
     10364   echo "$me: cannot create a temporary directory in ." >&2
    1077610365   { (exit 1); exit 1; }
    1077710366}
    1077810367
    10779 # Set up the scripts for CONFIG_FILES section.
    10780 # No need to generate them if there are no CONFIG_FILES.
    10781 # This happens for instance with `./config.status config.h'.
     10368#
     10369# Set up the sed scripts for CONFIG_FILES section.
     10370#
     10371
     10372# No need to generate the scripts if there are no CONFIG_FILES.
     10373# This happens for instance when ./config.status config.h
    1078210374if test -n "$CONFIG_FILES"; then
    1078310375
    10784 
    10785 ac_cr='
    10786 '
    10787 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
    10788 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
    10789   ac_cs_awk_cr='\\r'
    10790 else
    10791   ac_cs_awk_cr=$ac_cr
    10792 fi
    10793 
    10794 echo 'BEGIN {' >"$tmp/subs1.awk" &&
    10795 _ACEOF
    10796 
    10797 
    10798 {
    10799   echo "cat >conf$$subs.awk <<_ACEOF" &&
    10800   echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
    10801   echo "_ACEOF"
    10802 } >conf$$subs.sh ||
    10803   { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    10804 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    10805    { (exit 1); exit 1; }; }
    10806 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
     10376_ACEOF
     10377
     10378
     10379
    1080710380ac_delim='%!_!# '
    1080810381for ac_last_try in false false false false false :; do
    10809   . ./conf$$subs.sh ||
    10810     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    10811 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    10812    { (exit 1); exit 1; }; }
    10813 
    10814   ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
    10815   if test $ac_delim_n = $ac_delim_num; then
     10382  cat >conf$$subs.sed <<_ACEOF
     10383SHELL!$SHELL$ac_delim
     10384PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
     10385PACKAGE_NAME!$PACKAGE_NAME$ac_delim
     10386PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
     10387PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
     10388PACKAGE_STRING!$PACKAGE_STRING$ac_delim
     10389PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
     10390exec_prefix!$exec_prefix$ac_delim
     10391prefix!$prefix$ac_delim
     10392program_transform_name!$program_transform_name$ac_delim
     10393bindir!$bindir$ac_delim
     10394sbindir!$sbindir$ac_delim
     10395libexecdir!$libexecdir$ac_delim
     10396datarootdir!$datarootdir$ac_delim
     10397datadir!$datadir$ac_delim
     10398sysconfdir!$sysconfdir$ac_delim
     10399sharedstatedir!$sharedstatedir$ac_delim
     10400localstatedir!$localstatedir$ac_delim
     10401includedir!$includedir$ac_delim
     10402oldincludedir!$oldincludedir$ac_delim
     10403docdir!$docdir$ac_delim
     10404infodir!$infodir$ac_delim
     10405htmldir!$htmldir$ac_delim
     10406dvidir!$dvidir$ac_delim
     10407pdfdir!$pdfdir$ac_delim
     10408psdir!$psdir$ac_delim
     10409libdir!$libdir$ac_delim
     10410localedir!$localedir$ac_delim
     10411mandir!$mandir$ac_delim
     10412DEFS!$DEFS$ac_delim
     10413ECHO_C!$ECHO_C$ac_delim
     10414ECHO_N!$ECHO_N$ac_delim
     10415ECHO_T!$ECHO_T$ac_delim
     10416LIBS!$LIBS$ac_delim
     10417build_alias!$build_alias$ac_delim
     10418host_alias!$host_alias$ac_delim
     10419target_alias!$target_alias$ac_delim
     10420VERSION!$VERSION$ac_delim
     10421CC!$CC$ac_delim
     10422CFLAGS!$CFLAGS$ac_delim
     10423LDFLAGS!$LDFLAGS$ac_delim
     10424CPPFLAGS!$CPPFLAGS$ac_delim
     10425ac_ct_CC!$ac_ct_CC$ac_delim
     10426EXEEXT!$EXEEXT$ac_delim
     10427OBJEXT!$OBJEXT$ac_delim
     10428RANLIB!$RANLIB$ac_delim
     10429AR!$AR$ac_delim
     10430CPP!$CPP$ac_delim
     10431GREP!$GREP$ac_delim
     10432EGREP!$EGREP$ac_delim
     10433DL_LIBS!$DL_LIBS$ac_delim
     10434DL_OBJS!$DL_OBJS$ac_delim
     10435PLAT_OBJS!$PLAT_OBJS$ac_delim
     10436PLAT_SRCS!$PLAT_SRCS$ac_delim
     10437CFLAGS_DEBUG!$CFLAGS_DEBUG$ac_delim
     10438CFLAGS_OPTIMIZE!$CFLAGS_OPTIMIZE$ac_delim
     10439CFLAGS_WARNING!$CFLAGS_WARNING$ac_delim
     10440LDFLAGS_DEBUG!$LDFLAGS_DEBUG$ac_delim
     10441LDFLAGS_OPTIMIZE!$LDFLAGS_OPTIMIZE$ac_delim
     10442CC_SEARCH_FLAGS!$CC_SEARCH_FLAGS$ac_delim
     10443LD_SEARCH_FLAGS!$LD_SEARCH_FLAGS$ac_delim
     10444STLIB_LD!$STLIB_LD$ac_delim
     10445SHLIB_LD!$SHLIB_LD$ac_delim
     10446TCL_SHLIB_LD_EXTRAS!$TCL_SHLIB_LD_EXTRAS$ac_delim
     10447TK_SHLIB_LD_EXTRAS!$TK_SHLIB_LD_EXTRAS$ac_delim
     10448SHLIB_LD_LIBS!$SHLIB_LD_LIBS$ac_delim
     10449SHLIB_CFLAGS!$SHLIB_CFLAGS$ac_delim
     10450SHLIB_SUFFIX!$SHLIB_SUFFIX$ac_delim
     10451MAKE_LIB!$MAKE_LIB$ac_delim
     10452MAKE_STUB_LIB!$MAKE_STUB_LIB$ac_delim
     10453INSTALL_LIB!$INSTALL_LIB$ac_delim
     10454INSTALL_STUB_LIB!$INSTALL_STUB_LIB$ac_delim
     10455SHLIB_LDFLAGS!$SHLIB_LDFLAGS$ac_delim
     10456INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
     10457INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
     10458INSTALL_DATA!$INSTALL_DATA$ac_delim
     10459LN_S!$LN_S$ac_delim
     10460CXX!$CXX$ac_delim
     10461CXXFLAGS!$CXXFLAGS$ac_delim
     10462ac_ct_CXX!$ac_ct_CXX$ac_delim
     10463CXXCPP!$CXXCPP$ac_delim
     10464SUBDIRS!$SUBDIRS$ac_delim
     10465TCL_VERSION!$TCL_VERSION$ac_delim
     10466TCL_INC_SPEC!$TCL_INC_SPEC$ac_delim
     10467TCL_LIB_SPEC!$TCL_LIB_SPEC$ac_delim
     10468RP2_INCL_DIR!$RP2_INCL_DIR$ac_delim
     10469RP_DIR!$RP_DIR$ac_delim
     10470DX_DIR!$DX_DIR$ac_delim
     10471FFMPEG_DIR!$FFMPEG_DIR$ac_delim
     10472CG_DIR!$CG_DIR$ac_delim
     10473LD_RPATH!$LD_RPATH$ac_delim
     10474LIBOBJS!$LIBOBJS$ac_delim
     10475LTLIBOBJS!$LTLIBOBJS$ac_delim
     10476_ACEOF
     10477
     10478  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 93; then
    1081610479    break
    1081710480  elif $ac_last_try; then
    10818     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
    10819 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
     10481    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
     10482echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
    1082010483   { (exit 1); exit 1; }; }
    1082110484  else
     
    1082310486  fi
    1082410487done
    10825 rm -f conf$$subs.sh
    10826 
    10827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    10828 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
    10829 _ACEOF
    10830 sed -n '
    10831 h
    10832 s/^/S["/; s/!.*/"]=/
    10833 p
    10834 g
    10835 s/^[^!]*!//
    10836 :repl
    10837 t repl
    10838 s/'"$ac_delim"'$//
    10839 t delim
    10840 :nl
    10841 h
    10842 s/\(.\{148\}\).*/\1/
    10843 t more1
    10844 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
    10845 p
    10846 n
    10847 b repl
    10848 :more1
    10849 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    10850 p
    10851 g
    10852 s/.\{148\}//
    10853 t nl
    10854 :delim
    10855 h
    10856 s/\(.\{148\}\).*/\1/
    10857 t more2
    10858 s/["\\]/\\&/g; s/^/"/; s/$/"/
    10859 p
    10860 b
    10861 :more2
    10862 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
    10863 p
    10864 g
    10865 s/.\{148\}//
    10866 t delim
    10867 ' <conf$$subs.awk | sed '
    10868 /^[^""]/{
    10869   N
    10870   s/\n//
    10871 }
    10872 ' >>$CONFIG_STATUS || ac_write_fail=1
    10873 rm -f conf$$subs.awk
    10874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    10875 _ACAWK
    10876 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
    10877   for (key in S) S_is_set[key] = 1
    10878   FS = ""
    10879 
    10880 }
    10881 {
    10882   line = $ 0
    10883   nfields = split(line, field, "@")
    10884   substed = 0
    10885   len = length(field[1])
    10886   for (i = 2; i < nfields; i++) {
    10887     key = field[i]
    10888     keylen = length(key)
    10889     if (S_is_set[key]) {
    10890       value = S[key]
    10891       line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
    10892       len += length(value) + length(field[++i])
    10893       substed = 1
    10894     } else
    10895       len += 1 + keylen
    10896   }
    10897 
    10898   print line
    10899 }
    10900 
    10901 _ACAWK
    10902 _ACEOF
    10903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    10904 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
    10905   sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
    10906 else
    10907   cat
    10908 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
    10909   || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
    10910 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
    10911    { (exit 1); exit 1; }; }
    10912 _ACEOF
     10488
     10489ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
     10490if test -n "$ac_eof"; then
     10491  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
     10492  ac_eof=`expr $ac_eof + 1`
     10493fi
     10494
     10495cat >>$CONFIG_STATUS <<_ACEOF
     10496cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
     10497/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
     10498_ACEOF
     10499sed '
     10500s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
     10501s/^/s,@/; s/!/@,|#_!!_#|/
     10502:n
     10503t n
     10504s/'"$ac_delim"'$/,g/; t
     10505s/$/\\/; p
     10506N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
     10507' >>$CONFIG_STATUS <conf$$subs.sed
     10508rm -f conf$$subs.sed
     10509cat >>$CONFIG_STATUS <<_ACEOF
     10510:end
     10511s/|#_!!_#|//g
     10512CEOF$ac_eof
     10513_ACEOF
     10514
    1091310515
    1091410516# VPATH may cause trouble with some makes, so we remove $(srcdir),
     
    1092710529fi
    1092810530
    10929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10531cat >>$CONFIG_STATUS <<\_ACEOF
    1093010532fi # test -n "$CONFIG_FILES"
    1093110533
    10932 # Set up the scripts for CONFIG_HEADERS section.
    10933 # No need to generate them if there are no CONFIG_HEADERS.
    10934 # This happens for instance with `./config.status Makefile'.
    10935 if test -n "$CONFIG_HEADERS"; then
    10936 cat >"$tmp/defines.awk" <<\_ACAWK ||
    10937 BEGIN {
    10938 _ACEOF
    10939 
    10940 # Transform confdefs.h into an awk script `defines.awk', embedded as
    10941 # here-document in config.status, that substitutes the proper values into
    10942 # config.h.in to produce config.h.
    10943 
    10944 # Create a delimiter string that does not exist in confdefs.h, to ease
    10945 # handling of long lines.
    10946 ac_delim='%!_!# '
    10947 for ac_last_try in false false :; do
    10948   ac_t=`sed -n "/$ac_delim/p" confdefs.h`
    10949   if test -z "$ac_t"; then
    10950     break
    10951   elif $ac_last_try; then
    10952     { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
    10953 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
    10954    { (exit 1); exit 1; }; }
    10955   else
    10956     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
    10957   fi
    10958 done
    10959 
    10960 # For the awk script, D is an array of macro values keyed by name,
    10961 # likewise P contains macro parameters if any.  Preserve backslash
    10962 # newline sequences.
    10963 
    10964 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
    10965 sed -n '
    10966 s/.\{148\}/&'"$ac_delim"'/g
    10967 t rset
    10968 :rset
    10969 s/^[     ]*#[    ]*define[       ][      ]*/ /
    10970 t def
    10971 d
    10972 :def
    10973 s/\\$//
    10974 t bsnl
    10975 s/["\\]/\\&/g
    10976 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    10977 D["\1"]=" \3"/p
    10978 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2"/p
    10979 d
    10980 :bsnl
    10981 s/["\\]/\\&/g
    10982 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[     ]*\(.*\)/P["\1"]="\2"\
    10983 D["\1"]=" \3\\\\\\n"\\/p
    10984 t cont
    10985 s/^ \('"$ac_word_re"'\)[         ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
    10986 t cont
    10987 d
    10988 :cont
    10989 n
    10990 s/.\{148\}/&'"$ac_delim"'/g
    10991 t clear
    10992 :clear
    10993 s/\\$//
    10994 t bsnlc
    10995 s/["\\]/\\&/g; s/^/"/; s/$/"/p
    10996 d
    10997 :bsnlc
    10998 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
    10999 b cont
    11000 ' <confdefs.h | sed '
    11001 s/'"$ac_delim"'/"\\\
    11002 "/g' >>$CONFIG_STATUS || ac_write_fail=1
    11003 
    11004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    11005   for (key in D) D_is_set[key] = 1
    11006   FS = ""
    11007 }
    11008 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
    11009   line = \$ 0
    11010   split(line, arg, " ")
    11011   if (arg[1] == "#") {
    11012     defundef = arg[2]
    11013     mac1 = arg[3]
    11014   } else {
    11015     defundef = substr(arg[1], 2)
    11016     mac1 = arg[2]
    11017   }
    11018   split(mac1, mac2, "(") #)
    11019   macro = mac2[1]
    11020   prefix = substr(line, 1, index(line, defundef) - 1)
    11021   if (D_is_set[macro]) {
    11022     # Preserve the white space surrounding the "#".
    11023     print prefix "define", macro P[macro] D[macro]
    11024     next
    11025   } else {
    11026     # Replace #undef with comments.  This is necessary, for example,
    11027     # in the case of _POSIX_SOURCE, which is predefined and required
    11028     # on some systems where configure will not decide to define it.
    11029     if (defundef == "undef") {
    11030       print "/*", prefix defundef, macro, "*/"
    11031       next
    11032     }
    11033   }
    11034 }
    11035 { print }
    11036 _ACAWK
    11037 _ACEOF
    11038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
    11039   { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
    11040 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
    11041    { (exit 1); exit 1; }; }
    11042 fi # test -n "$CONFIG_HEADERS"
    11043 
    11044 
    11045 eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
    11046 shift
    11047 for ac_tag
     10534
     10535for ac_tag in  :F $CONFIG_FILES  :H $CONFIG_HEADERS
    1104810536do
    1104910537  case $ac_tag in
     
    1105210540  case $ac_mode$ac_tag in
    1105310541  :[FHL]*:*);;
    11054   :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
    11055 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
     10542  :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
     10543echo "$as_me: error: Invalid tag $ac_tag." >&2;}
    1105610544   { (exit 1); exit 1; }; };;
    1105710545  :[FH]-) ac_tag=-:-;;
     
    1108210570           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
    1108310571           esac ||
    11084            { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
    11085 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
     10572           { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
     10573echo "$as_me: error: cannot find input file: $ac_f" >&2;}
    1108610574   { (exit 1); exit 1; }; };;
    1108710575      esac
    11088       case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
    11089       ac_file_inputs="$ac_file_inputs '$ac_f'"
     10576      ac_file_inputs="$ac_file_inputs $ac_f"
    1109010577    done
    1109110578
     
    1109310580    # use $as_me), people would be surprised to read:
    1109410581    #    /* config.h.  Generated by config.status.  */
    11095     configure_input='Generated from '`
    11096           $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
    11097         `' by configure.'
     10582    configure_input="Generated from "`IFS=:
     10583          echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
    1109810584    if test x"$ac_file" != x-; then
    1109910585      configure_input="$ac_file.  $configure_input"
    11100       { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
    11101 $as_echo "$as_me: creating $ac_file" >&6;}
     10586      { echo "$as_me:$LINENO: creating $ac_file" >&5
     10587echo "$as_me: creating $ac_file" >&6;}
    1110210588    fi
    11103     # Neutralize special characters interpreted by sed in replacement strings.
    11104     case $configure_input in #(
    11105     *\&* | *\|* | *\\* )
    11106        ac_sed_conf_input=`$as_echo "$configure_input" |
    11107        sed 's/[\\\\&|]/\\\\&/g'`;; #(
    11108     *) ac_sed_conf_input=$configure_input;;
    11109     esac
    1111010589
    1111110590    case $ac_tag in
    11112     *:-:* | *:-) cat >"$tmp/stdin" \
    11113       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11114 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11115    { (exit 1); exit 1; }; } ;;
     10591    *:-:* | *:-) cat >"$tmp/stdin";;
    1111610592    esac
    1111710593    ;;
     
    1112310599         X"$ac_file" : 'X\(//\)$' \| \
    1112410600         X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
    11125 $as_echo X"$ac_file" |
     10601echo X"$ac_file" |
    1112610602    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1112710603            s//\1/
     
    1114910625    while :; do
    1115010626      case $as_dir in #(
    11151       *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
     10627      *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
    1115210628      *) as_qdir=$as_dir;;
    1115310629      esac
     
    1115810634         X"$as_dir" : 'X\(//\)$' \| \
    1115910635         X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
    11160 $as_echo X"$as_dir" |
     10636echo X"$as_dir" |
    1116110637    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
    1116210638            s//\1/
     
    1117910655    done
    1118010656    test -z "$as_dirs" || eval "mkdir $as_dirs"
    11181   } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
    11182 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
     10657  } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
     10658echo "$as_me: error: cannot create directory $as_dir" >&2;}
    1118310659   { (exit 1); exit 1; }; }; }
    1118410660  ac_builddir=.
     
    1118710663.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
    1118810664*)
    11189   ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
     10665  ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
    1119010666  # A ".." for each directory in $ac_dir_suffix.
    11191   ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
     10667  ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
    1119210668  case $ac_top_builddir_sub in
    1119310669  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
     
    1123410710_ACEOF
    1123510711
    11236 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10712cat >>$CONFIG_STATUS <<\_ACEOF
    1123710713# If the template does not know about datarootdir, expand it.
    1123810714# FIXME: This hack should be removed a few years after 2.60.
    1123910715ac_datarootdir_hack=; ac_datarootdir_seen=
    1124010716
    11241 ac_sed_dataroot='
    11242 /datarootdir/ {
     10717case `sed -n '/datarootdir/ {
    1124310718  p
    1124410719  q
     
    1124910724/@localedir@/p
    1125010725/@mandir@/p
    11251 '
    11252 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
     10726' $ac_file_inputs` in
    1125310727*datarootdir*) ac_datarootdir_seen=yes;;
    1125410728*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
    11255   { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
    11256 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
    11257 _ACEOF
    11258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
     10729  { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
     10730echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
     10731_ACEOF
     10732cat >>$CONFIG_STATUS <<_ACEOF
    1125910733  ac_datarootdir_hack='
    1126010734  s&@datadir@&$datadir&g
     
    1127010744# Shell code in configure.ac might set extrasub.
    1127110745# FIXME: do we really want to maintain this feature?
    11272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
    11273 ac_sed_extra="$ac_vpsub
     10746cat >>$CONFIG_STATUS <<_ACEOF
     10747  sed "$ac_vpsub
    1127410748$extrasub
    1127510749_ACEOF
    11276 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
     10750cat >>$CONFIG_STATUS <<\_ACEOF
    1127710751:t
    1127810752/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
    11279 s|@configure_input@|$ac_sed_conf_input|;t t
     10753s&@configure_input@&$configure_input&;t t
    1128010754s&@top_builddir@&$ac_top_builddir_sub&;t t
    11281 s&@top_build_prefix@&$ac_top_build_prefix&;t t
    1128210755s&@srcdir@&$ac_srcdir&;t t
    1128310756s&@abs_srcdir@&$ac_abs_srcdir&;t t
     
    1129010763s&@MKDIR_P@&$ac_MKDIR_P&;t t
    1129110764$ac_datarootdir_hack
    11292 "
    11293 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
    11294   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11295 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11296    { (exit 1); exit 1; }; }
     10765" $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
    1129710766
    1129810767test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
    1129910768  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
    1130010769  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
    11301   { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10770  { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    1130210771which seems to be undefined.  Please make sure it is defined." >&5
    11303 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
     10772echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
    1130410773which seems to be undefined.  Please make sure it is defined." >&2;}
    1130510774
    1130610775  rm -f "$tmp/stdin"
    1130710776  case $ac_file in
    11308   -) cat "$tmp/out" && rm -f "$tmp/out";;
    11309   *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
    11310   esac \
    11311   || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11312 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11313    { (exit 1); exit 1; }; }
     10777  -) cat "$tmp/out"; rm -f "$tmp/out";;
     10778  *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
     10779  esac
    1131410780 ;;
    1131510781  :H)
     
    1131710783  # CONFIG_HEADER
    1131810784  #
     10785_ACEOF
     10786
     10787# Transform confdefs.h into a sed script `conftest.defines', that
     10788# substitutes the proper values into config.h.in to produce config.h.
     10789rm -f conftest.defines conftest.tail
     10790# First, append a space to every undef/define line, to ease matching.
     10791echo 's/$/ /' >conftest.defines
     10792# Then, protect against being on the right side of a sed subst, or in
     10793# an unquoted here document, in config.status.  If some macros were
     10794# called several times there might be several #defines for the same
     10795# symbol, which is useless.  But do not sort them, since the last
     10796# AC_DEFINE must be honored.
     10797ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
     10798# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
     10799# NAME is the cpp macro being defined, VALUE is the value it is being given.
     10800# PARAMS is the parameter list in the macro definition--in most cases, it's
     10801# just an empty string.
     10802ac_dA='s,^\\([   #]*\\)[^        ]*\\([  ]*'
     10803ac_dB='\\)[      (].*,\\1define\\2'
     10804ac_dC=' '
     10805ac_dD=' ,'
     10806
     10807uniq confdefs.h |
     10808  sed -n '
     10809        t rset
     10810        :rset
     10811        s/^[     ]*#[    ]*define[       ][      ]*//
     10812        t ok
     10813        d
     10814        :ok
     10815        s/[\\&,]/\\&/g
     10816        s/^\('"$ac_word_re"'\)\(([^()]*)\)[      ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
     10817        s/^\('"$ac_word_re"'\)[  ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
     10818  ' >>conftest.defines
     10819
     10820# Remove the space that was appended to ease matching.
     10821# Then replace #undef with comments.  This is necessary, for
     10822# example, in the case of _POSIX_SOURCE, which is predefined and required
     10823# on some systems where configure will not decide to define it.
     10824# (The regexp can be short, since the line contains either #define or #undef.)
     10825echo 's/ $//
     10826s,^[     #]*u.*,/* & */,' >>conftest.defines
     10827
     10828# Break up conftest.defines:
     10829ac_max_sed_lines=50
     10830
     10831# First sed command is:  sed -f defines.sed $ac_file_inputs >"$tmp/out1"
     10832# Second one is:         sed -f defines.sed "$tmp/out1" >"$tmp/out2"
     10833# Third one will be:     sed -f defines.sed "$tmp/out2" >"$tmp/out1"
     10834# et cetera.
     10835ac_in='$ac_file_inputs'
     10836ac_out='"$tmp/out1"'
     10837ac_nxt='"$tmp/out2"'
     10838
     10839while :
     10840do
     10841  # Write a here document:
     10842    cat >>$CONFIG_STATUS <<_ACEOF
     10843    # First, check the format of the line:
     10844    cat >"\$tmp/defines.sed" <<\\CEOF
     10845/^[      ]*#[    ]*undef[        ][      ]*$ac_word_re[  ]*\$/b def
     10846/^[      ]*#[    ]*define[       ][      ]*$ac_word_re[(         ]/b def
     10847b
     10848:def
     10849_ACEOF
     10850  sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
     10851  echo 'CEOF
     10852    sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
     10853  ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
     10854  sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
     10855  grep . conftest.tail >/dev/null || break
     10856  rm -f conftest.defines
     10857  mv conftest.tail conftest.defines
     10858done
     10859rm -f conftest.defines conftest.tail
     10860
     10861echo "ac_result=$ac_in" >>$CONFIG_STATUS
     10862cat >>$CONFIG_STATUS <<\_ACEOF
    1131910863  if test x"$ac_file" != x-; then
    11320     {
    11321       $as_echo "/* $configure_input  */" \
    11322       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
    11323     } >"$tmp/config.h" \
    11324       || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11325 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11326    { (exit 1); exit 1; }; }
    11327     if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
    11328       { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
    11329 $as_echo "$as_me: $ac_file is unchanged" >&6;}
     10864    echo "/* $configure_input  */" >"$tmp/config.h"
     10865    cat "$ac_result" >>"$tmp/config.h"
     10866    if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
     10867      { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
     10868echo "$as_me: $ac_file is unchanged" >&6;}
    1133010869    else
    11331       rm -f "$ac_file"
    11332       mv "$tmp/config.h" "$ac_file" \
    11333         || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
    11334 $as_echo "$as_me: error: could not create $ac_file" >&2;}
    11335    { (exit 1); exit 1; }; }
     10870      rm -f $ac_file
     10871      mv "$tmp/config.h" $ac_file
    1133610872    fi
    1133710873  else
    11338     $as_echo "/* $configure_input  */" \
    11339       && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
    11340       || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
    11341 $as_echo "$as_me: error: could not create -" >&2;}
    11342    { (exit 1); exit 1; }; }
     10874    echo "/* $configure_input  */"
     10875    cat "$ac_result"
    1134310876  fi
     10877  rm -f "$tmp/out12"
    1134410878 ;;
    1134510879
     
    1135410888chmod +x $CONFIG_STATUS
    1135510889ac_clean_files=$ac_clean_files_save
    11356 
    11357 test $ac_write_fail = 0 ||
    11358   { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
    11359 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
    11360    { (exit 1); exit 1; }; }
    1136110890
    1136210891
     
    1138110910  $ac_cs_success || { (exit 1); exit 1; }
    1138210911fi
    11383 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
    11384   { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
    11385 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
    11386 fi
    11387 
     10912
  • trunk/packages/vizservers/configure.in

    r1278 r1282  
    7070#       pthread library
    7171#       DX headers and library (done, sort of)
     72#       ffmpeg headers and library (started)
    7273#
    7374
     
    183184AC_MSG_RESULT([${DX_DIR}])
    184185
     186AC_MSG_CHECKING([for FFmpeg installation])
     187FFMPEG_DIR=""
     188for dir in \
     189 /apps/rappture \
     190 /usr
     191do
     192  if test -r "${dir}/include/ffmpeg/avcodec.h" ; then
     193    FFMPEG_DIR="$dir"
     194    break
     195  fi
     196done
     197if test "x${FFMPEG_DIR}" = "x" ; then
     198  AC_MSG_ERROR([can't find FFmpeg installation])
     199fi
     200
     201if test "${FFMPEG_DIR}" = "/usr" ; then
     202  FFMPEG_DIR=""
     203#else
     204#  LD_RPATH="$loader_run_path:${FFMPEG_DIR}/lib"
     205fi
     206
     207AC_SUBST(FFMPEG_DIR)
     208AC_MSG_RESULT([${FFMPEG_DIR}])
     209
    185210AC_MSG_CHECKING([for nVidia Cg installation])
    186211CG_DIR=""
  • trunk/packages/vizservers/nanovis/Command.cpp

    r1250 r1282  
    3333 *          the vector. 1) Use a list instead of a vector. 2) carry
    3434 *          an id field that's a number that gets incremented each new volume.
    35  *        x Create R2, matrix, etc. libraries. (done) *        o Add bookkeeping for volumes, heightmaps, flows, etc. to track
     35 *        x Create R2, matrix, etc. libraries. (done)
     36 *        o Add bookkeeping for volumes, heightmaps, flows, etc. to track
    3637 *          1) id #  2) simulation # 3) include/exclude.  The include/exclude
    3738 *          is to indicate whether the item should contribute to the overall
     
    5253#include <RpOutcome.h>
    5354#include <RpBuffer.h>
     55#include <RpAVTranslate.h>
    5456
    5557#include "transfer-function/TransferFunctionMain.h"
     
    676678    }
    677679    if (NanoVis::recfile != NULL) {
    678         fwrite(buf.bytes(), sizeof(char), buf.size(), NanoVis::recfile);
    679         fflush(NanoVis::recfile);
     680        fwrite(buf.bytes(), sizeof(char), buf.size(), NanoVis::recfile);
     681        fflush(NanoVis::recfile);
    680682    }
    681683    {
     
    696698static int
    697699CameraAimOp(ClientData cdata, Tcl_Interp *interp, int objc,
    698             Tcl_Obj *const *objv)
     700            Tcl_Obj *const *objv)
    699701{
    700702    float x, y, z;
     
    712714static int
    713715CameraAngleOp(ClientData cdata, Tcl_Interp *interp, int objc,
    714               Tcl_Obj *const *objv)
     716              Tcl_Obj *const *objv)
    715717{
    716718    float theta, phi, psi;
     
    727729static int
    728730CameraPanOp(ClientData cdata, Tcl_Interp *interp, int objc,
    729              Tcl_Obj *const *objv)
     731             Tcl_Obj *const *objv)
    730732{
    731733    float x, y;
     
    740742static int
    741743CameraZoomOp(ClientData cdata, Tcl_Interp *interp, int objc,
    742              Tcl_Obj *const *objv)
     744             Tcl_Obj *const *objv)
    743745{
    744746    float zoom;
     
    931933    tf = NanoVis::get_transfunc(string);
    932934    if (tf == NULL) {
    933         Tcl_AppendResult(interp, "unknown transfer function \"", string, "\"", 
    934                         (char*)NULL);
     935        Tcl_AppendResult(interp, "unknown transfer function \"", string, "\"",
     936                            (char*)NULL);
    935937        return TCL_ERROR;
    936938    }
     
    945947        NanoVis::SetVolumeRanges();
    946948    }
    947     NanoVis::render_legend(tf,
    948                            NanoVis::grid->yAxis.min(),
    949                            NanoVis::grid->yAxis.max(), w, h, label);
     949    NanoVis::render_legend(tf, NanoVis::grid->yAxis.min(),
     950                           NanoVis::grid->yAxis.max(), w, h, label);
    950951    return TCL_OK;
    951952}
     
    13541355        }
    13551356        volPtr = NanoVis::volume[n];
     1357        // FIXME: strlen(info) is the return value of sprintf
    13561358        sprintf(info, "nv>data id %d min %g max %g vmin %g vmax %g\n",
    13571359                n, volPtr->wAxis.min(), volPtr->wAxis.max(),
     
    17121714}
    17131715
     1716// ========================= VOLUME END ==================================
     1717
     1718// ============================= FLOW ==================================
     1719
     1720static int
     1721FlowDataFollowsOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1722                    Tcl_Obj *const *objv)
     1723{
     1724    Trace("Flow Data Loading\n");
     1725
     1726    int nbytes;
     1727    if (Tcl_GetIntFromObj(interp, objv[3], &nbytes) != TCL_OK) {
     1728        return TCL_ERROR;
     1729    }
     1730
     1731    Rappture::Buffer buf;
     1732    if (GetDataStream(interp, buf, nbytes) != TCL_OK) {
     1733        return TCL_ERROR;
     1734    }
     1735    int n = NanoVis::n_volumes;
     1736    std::stringstream fdata;
     1737    fdata.write(buf.bytes(),buf.size());
     1738    load_vector_stream(n, fdata);
     1739    Volume *volPtr = NanoVis::volume[n];
     1740
     1741    //
     1742    // BE CAREFUL:  Set the number of slices to something
     1743    //   slightly different for each volume.  If we have
     1744    //   identical volumes at exactly the same position
     1745    //   with exactly the same number of slices, the second
     1746    //   volume will overwrite the first, so the first won't
     1747    //   appear at all.
     1748    //
     1749    if (volPtr != NULL) {
     1750        //volPtr->set_n_slice(256-n);
     1751        volPtr->set_n_slice(512-n);
     1752        volPtr->disable_cutplane(0);
     1753        volPtr->disable_cutplane(1);
     1754        volPtr->disable_cutplane(2);
     1755
     1756        NanoVis::vol_renderer->add_volume(volPtr,
     1757                NanoVis::get_transfunc("default"));
     1758    }
     1759
     1760    return TCL_OK;
     1761}
     1762
     1763static Rappture::CmdSpec flowDataOps[] = {
     1764    {"follows",   1, FlowDataFollowsOp, 4, 4, "size",},
     1765};
     1766static int nFlowDataOps = NumCmdSpecs(flowDataOps);
     1767
     1768static int
     1769FlowDataOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1770             Tcl_Obj *const *objv)
     1771{
     1772    Tcl_ObjCmdProc *proc;
     1773
     1774    proc = Rappture::GetOpFromObj(interp, nFlowDataOps, flowDataOps,
     1775                                  Rappture::CMDSPEC_ARG2, objc, objv, 0);
     1776    if (proc == NULL) {
     1777        return TCL_ERROR;
     1778    }
     1779    return (*proc) (cdata, interp, objc, objv);
     1780}
     1781
     1782static int
     1783FlowCaptureOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1784             Tcl_Obj *const *objv)
     1785{
     1786    int total_frame_count;
     1787
     1788    if (Tcl_GetIntFromObj(interp, objv[2], &total_frame_count) != TCL_OK) {
     1789        return TCL_ERROR;
     1790    }
     1791    if (NanoVis::licRenderer) {
     1792        NanoVis::licRenderer->activate();
     1793    }
     1794    if (NanoVis::particleRenderer) {
     1795        NanoVis::particleRenderer->activate();
     1796    }
     1797
     1798    const char *fileName = Tcl_GetString(objv[3]);
     1799
     1800    Trace("FLOW started\n");
     1801
     1802    Rappture::AVTranslate movie(NanoVis::win_width,NanoVis::win_height);
     1803
     1804    int pad = 0;
     1805    if ((3*NanoVis::win_width) % 4 > 0) {
     1806        pad = 4 - ((3*NanoVis::win_width) % 4);
     1807    }
     1808
     1809    movie.init(fileName);
     1810
     1811    for (int frame_count = 0; frame_count < total_frame_count; frame_count++) {
     1812
     1813        // Generate the latest frame and send it back to the client
     1814        if (NanoVis::licRenderer &&
     1815            NanoVis::licRenderer->isActivated()) {
     1816            NanoVis::licRenderer->convolve();
     1817        }
     1818        if (NanoVis::particleRenderer &&
     1819            NanoVis::particleRenderer->isActivated()) {
     1820            NanoVis::particleRenderer->advect();
     1821        }
     1822        NanoVis::offscreen_buffer_capture();  //enable offscreen render
     1823        NanoVis::display();
     1824
     1825        NanoVis::read_screen();
     1826        glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
     1827
     1828        // this is done before bmp_write_to_file because bmp_write_to_file
     1829        // turns rgb data to bgr
     1830        movie.append(NanoVis::screen_buffer,pad);
     1831        // NanoVis::bmp_write_to_file(frame_count, fileName);
     1832    }
     1833
     1834    movie.close();
     1835    Trace("FLOW end\n");
     1836
     1837    if (NanoVis::licRenderer) {
     1838        NanoVis::licRenderer->deactivate();
     1839    }
     1840    if (NanoVis::particleRenderer) {
     1841        NanoVis::particleRenderer->deactivate();
     1842    }
     1843    NanoVis::initParticle();
     1844    return TCL_OK;
     1845}
     1846
     1847static int
     1848FlowLicOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1849             Tcl_Obj *const *objv)
     1850{
     1851    bool state;
     1852    if (GetBooleanFromObj(interp, objv[2], &state) != TCL_OK) {
     1853        return TCL_ERROR;
     1854    }
     1855    NanoVis::lic_on = state;
     1856    return TCL_OK;
     1857}
     1858
     1859static int
     1860FlowParticleVisibleOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1861             Tcl_Obj *const *objv)
     1862{
     1863    bool state;
     1864    if (GetBooleanFromObj(interp, objv[3], &state) != TCL_OK) {
     1865        return TCL_ERROR;
     1866    }
     1867    NanoVis::particle_on = state;
     1868    return TCL_OK;
     1869}
     1870
     1871static int
     1872FlowParticleSliceOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1873             Tcl_Obj *const *objv)
     1874{
     1875    int axis;
     1876    if (GetAxisFromObj(interp, objv[3], &axis) != TCL_OK) {
     1877        return TCL_ERROR;
     1878    }
     1879    NanoVis::lic_axis = axis;
     1880    return TCL_OK;
     1881}
     1882
     1883static int
     1884FlowParticleSliceposOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1885             Tcl_Obj *const *objv)
     1886{
     1887    float pos;
     1888    if (GetFloatFromObj(interp, objv[2], &pos) != TCL_OK) {
     1889        return TCL_ERROR;
     1890    }
     1891    if (pos < 0.0f) {
     1892        pos = 0.0f;
     1893    } else if (pos > 1.0f) {
     1894        pos = 1.0f;
     1895    }
     1896    switch (NanoVis::lic_axis) {
     1897    case 0 :
     1898        NanoVis::lic_slice_x = pos;
     1899        break;
     1900    case 1 :
     1901        NanoVis::lic_slice_y = pos;
     1902        break;
     1903    case 2 :
     1904        NanoVis::lic_slice_z = pos;
     1905        break;
     1906    }
     1907    return TCL_OK;
     1908}
     1909
     1910static Rappture::CmdSpec flowParticleOps[] = {
     1911    {"slice",      1, FlowParticleSliceOp,    4, 4, "index",},
     1912    {"slicepos",   1, FlowParticleSliceposOp, 4, 4, "value",},
     1913    {"visible",    1, FlowParticleVisibleOp,  4, 4, "on|off",},
     1914};
     1915static int nFlowParticleOps = NumCmdSpecs(flowParticleOps);
     1916
     1917static int
     1918FlowParticleOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1919             Tcl_Obj *const *objv)
     1920{
     1921    Tcl_ObjCmdProc *proc;
     1922
     1923    proc = Rappture::GetOpFromObj(interp, nFlowParticleOps, flowParticleOps,
     1924                                  Rappture::CMDSPEC_ARG2, objc, objv, 0);
     1925    if (proc == NULL) {
     1926        return TCL_ERROR;
     1927    }
     1928    return (*proc) (cdata, interp, objc, objv);
     1929}
     1930
     1931static int
     1932FlowResetOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1933             Tcl_Obj *const *objv)
     1934{
     1935    NanoVis::initParticle();
     1936    return TCL_OK;
     1937}
     1938
     1939static int
     1940FlowVectorIdOp(ClientData cdata, Tcl_Interp *interp, int objc,
     1941             Tcl_Obj *const *objv)
     1942{
     1943    Volume *volPtr;
     1944    if (GetVolumeFromObj(interp, objv[2], &volPtr) != TCL_OK) {
     1945        return TCL_ERROR;
     1946    }
     1947    if (NanoVis::particleRenderer != NULL) {
     1948        NanoVis::particleRenderer->setVectorField(volPtr->id, 1.0f,
     1949            volPtr->height / (float)volPtr->width,
     1950            volPtr->depth  / (float)volPtr->width,
     1951            volPtr->wAxis.max());
     1952        NanoVis::initParticle();
     1953    }
     1954    if (NanoVis::licRenderer != NULL) {
     1955        NanoVis::licRenderer->setVectorField(volPtr->id,
     1956            1.0f / volPtr->aspect_ratio_width,
     1957            1.0f / volPtr->aspect_ratio_height,
     1958            1.0f / volPtr->aspect_ratio_depth,
     1959            volPtr->wAxis.max());
     1960        NanoVis::licRenderer->set_offset(NanoVis::lic_slice_z);
     1961    }
     1962    return TCL_OK;
     1963}
     1964
     1965static Rappture::CmdSpec flowOps[] = {
     1966    {"capture",   1, FlowCaptureOp,       4, 4, "frames filename",},
     1967    {"data",      1, FlowDataOp,          3, 0, "oper ?args?",},
     1968    {"lic",       1, FlowLicOp,           3, 3, "on|off",},
     1969    {"particle",  1, FlowParticleOp,      3, 0, "oper ?args?",},
     1970    {"reset",     1, FlowResetOp,         2, 2, "",},
     1971    {"vectorid",  1, FlowVectorIdOp,      3, 3, "index",},
     1972};
     1973static int nFlowOps = NumCmdSpecs(flowOps);
     1974
     1975/*
     1976 * ----------------------------------------------------------------------
     1977 * CLIENT COMMAND:
     1978 *   flow data follows <value>
     1979 *   flow capture
     1980 *   flow lic on|off
     1981 *   flow particle visible on|off
     1982 *   flow particle slice <volumeId>
     1983 *   flow particle slicepos <value>
     1984 *   flow reset
     1985 *   flow vectorid <volumeId>
     1986 *
     1987 * Clients send these commands to manipulate the flow.
     1988 * ----------------------------------------------------------------------
     1989 */
    17141990static int
    17151991FlowCmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv)
    17161992{
    1717     Rappture::Outcome err;
    1718 
    1719     if (objc < 2) {
    1720         Tcl_AppendResult(interp, "wrong # args: should be \"",
    1721                 Tcl_GetString(objv[0]), " option ?arg arg?", (char *)NULL);
    1722         return TCL_ERROR;
    1723     }
    1724     const char *string = Tcl_GetString(objv[1]);
    1725     char c = string[0];
    1726     if ((c == 'v') && (strcmp(string, "vectorid") == 0)) {
    1727         if (objc != 3) {
    1728             Tcl_AppendResult(interp, "wrong # args: should be \"",
    1729                 Tcl_GetString(objv[0]), " vectorid volume", (char *)NULL);
    1730             return TCL_ERROR;
    1731         }
    1732         Volume *volPtr;
    1733         if (GetVolumeFromObj(interp, objv[2], &volPtr) != TCL_OK) {
    1734             return TCL_ERROR;
    1735         }
    1736         if (NanoVis::particleRenderer != NULL) {
    1737             NanoVis::particleRenderer->setVectorField(volPtr->id, 1.0f,
    1738                 volPtr->height / (float)volPtr->width,
    1739                 volPtr->depth  / (float)volPtr->width,
    1740                 volPtr->wAxis.max());
    1741             NanoVis::initParticle();
    1742         }
    1743         if (NanoVis::licRenderer != NULL) {
    1744             NanoVis::licRenderer->setVectorField(volPtr->id,
    1745                 1.0f / volPtr->aspect_ratio_width,
    1746                 1.0f / volPtr->aspect_ratio_height,
    1747                 1.0f / volPtr->aspect_ratio_depth,
    1748                 volPtr->wAxis.max());
    1749             NanoVis::licRenderer->set_offset(NanoVis::lic_slice_z);
    1750         }
    1751     } else if (c == 'l' && strcmp(string, "lic") == 0) {
    1752         if (objc != 3) {
    1753             Tcl_AppendResult(interp, "wrong # args: should be \"",
    1754                              Tcl_GetString(objv[0]), " lic on|off\"", (char*)NULL);
    1755             return TCL_ERROR;
    1756         }
    1757         bool state;
    1758         if (GetBooleanFromObj(interp, objv[2], &state) != TCL_OK) {
    1759             return TCL_ERROR;
    1760         }
    1761         NanoVis::lic_on = state;
    1762     } else if ((c == 'p') && (strcmp(string, "particle") == 0)) {
    1763         if (objc < 3) {
    1764             Tcl_AppendResult(interp, "wrong # args: should be \"",
    1765                 Tcl_GetString(objv[0]), " particle visible|slice|slicepos arg \"",
    1766                 (char*)NULL);
    1767             return TCL_ERROR;
    1768         }
    1769         const char *string = Tcl_GetString(objv[2]);
    1770         c = string[0];
    1771         if ((c == 'v') && (strcmp(string, "visible") == 0)) {
    1772             if (objc != 4) {
    1773                 Tcl_AppendResult(interp, "wrong # args: should be \"",
    1774                                  Tcl_GetString(objv[0]), " particle visible on|off\"",
    1775                                  (char*)NULL);
    1776                 return TCL_ERROR;
    1777             }
    1778             bool state;
    1779             if (GetBooleanFromObj(interp, objv[3], &state) != TCL_OK) {
    1780                 return TCL_ERROR;
    1781             }
    1782             NanoVis::particle_on = state;
    1783         } else if ((c == 's') && (strcmp(string, "slice") == 0)) {
    1784             if (objc != 4) {
    1785                 Tcl_AppendResult(interp, "wrong # args: should be \"",
    1786                                  Tcl_GetString(objv[0]),
    1787                                  " particle slice volume\"", (char*)NULL);
    1788                 return TCL_ERROR;
    1789             }
    1790             int axis;
    1791             if (GetAxisFromObj(interp, objv[3], &axis) != TCL_OK) {
    1792                 return TCL_ERROR;
    1793             }
    1794             NanoVis::lic_axis = axis;
    1795         } else if ((c == 's') && (strcmp(string, "slicepos") == 0)) {
    1796             if (objc != 4) {
    1797                 Tcl_AppendResult(interp, "wrong # args: should be \"",
    1798                                  Tcl_GetString(objv[0]), " particle slicepos value\"",
    1799                                  (char*)NULL);
    1800                 return TCL_ERROR;
    1801             }
    1802             float pos;
    1803             if (GetFloatFromObj(interp, objv[2], &pos) != TCL_OK) {
    1804                 return TCL_ERROR;
    1805             }
    1806             if (pos < 0.0f) {
    1807                 pos = 0.0f;
    1808             } else if (pos > 1.0f) {
    1809                 pos = 1.0f;
    1810             }
    1811             switch (NanoVis::lic_axis) {
    1812             case 0 :
    1813                 NanoVis::lic_slice_x = pos;
    1814                 break;
    1815             case 1 :
    1816                 NanoVis::lic_slice_y = pos;
    1817                 break;
    1818             case 2 :
    1819                 NanoVis::lic_slice_z = pos;
    1820                 break;
    1821             }
    1822         } else {
    1823             Tcl_AppendResult(interp, "unknown option \"", string,
    1824                 "\": should be \"", Tcl_GetString(objv[0]),
    1825                 " visible, slice, or slicepos\"", (char *)NULL);
    1826             return TCL_ERROR;
    1827         }
    1828     } else if ((c == 'r') && (strcmp(string, "reset") == 0)) {
    1829         NanoVis::initParticle();
    1830     } else if ((c == 'c') && (strcmp(string, "capture") == 0)) {
    1831         if (objc > 4 || objc < 3) {
    1832             Tcl_AppendResult(interp, "wrong # args: should be \"",
    1833                              Tcl_GetString(objv[0]), " capture numframes [directory]\"",
    1834                              (char*)NULL);
    1835             return TCL_ERROR;
    1836         }
    1837         int total_frame_count;
    1838 
    1839         if (Tcl_GetIntFromObj(interp, objv[2], &total_frame_count) != TCL_OK) {
    1840             return TCL_ERROR;
    1841         }
    1842         if (NanoVis::licRenderer) {
    1843             NanoVis::licRenderer->activate();
    1844         }
    1845         if (NanoVis::particleRenderer) {
    1846             NanoVis::particleRenderer->activate();
    1847         }
    1848         // Karl
    1849         //
    1850         Trace("FLOW started\n");
    1851         const char *fileName;
    1852         fileName = (objc < 4) ? NULL : Tcl_GetString(objv[3]);
    1853         for (int frame_count = 0; frame_count < total_frame_count;
    1854              frame_count++) {
    1855 
    1856             // Generate the latest frame and send it back to the client
    1857             if (NanoVis::licRenderer &&
    1858                 NanoVis::licRenderer->isActivated()) {
    1859                 NanoVis::licRenderer->convolve();
    1860             }
    1861             if (NanoVis::particleRenderer &&
    1862                 NanoVis::particleRenderer->isActivated()) {
    1863                 NanoVis::particleRenderer->advect();
    1864             }
    1865             NanoVis::offscreen_buffer_capture();  //enable offscreen render
    1866             NanoVis::display();
    1867 
    1868             //          printf("Read Screen for Writing to file...\n");
    1869 
    1870             NanoVis::read_screen();
    1871             glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, 0);
    1872 
    1873             NanoVis::bmp_write_to_file(frame_count, fileName);
    1874         }
    1875         Trace("FLOW end\n");
    1876         // put your code...
    1877         if (NanoVis::licRenderer) {
    1878             NanoVis::licRenderer->deactivate();
    1879         }
    1880         if (NanoVis::particleRenderer) {
    1881             NanoVis::particleRenderer->deactivate();
    1882         }
    1883         NanoVis::initParticle();
    1884     } else if ((c == 'd') && (strcmp(string, "data") == 0)) {
    1885         if (objc < 3) {
    1886             Tcl_AppendResult(interp, "wrong # args: should be \"",
    1887                 Tcl_GetString(objv[0]), " data follows ?args?", (char *)NULL);
    1888             return TCL_ERROR;
    1889         }
    1890         const char *string = Tcl_GetString(objv[2]);;
    1891         c = string[0];
    1892         if ((c == 'f') && (strcmp(string,"follows") == 0)) {
    1893             if (objc != 4) {
    1894                 Tcl_AppendResult(interp, "wrong # args: should be \"",
    1895                     Tcl_GetString(objv[0]), " data follows length",
    1896                     (char *)NULL);
    1897                 return TCL_ERROR;
    1898             }
    1899             int nbytes;
    1900             if (Tcl_GetIntFromObj(interp, objv[3], &nbytes) != TCL_OK) {
    1901                 return TCL_ERROR;
    1902             }
    1903             Rappture::Buffer buf;
    1904             if (GetDataStream(interp, buf, nbytes) != TCL_OK) {
    1905                 return TCL_ERROR;
    1906             }
    1907             int n = NanoVis::n_volumes;
    1908             std::stringstream fdata;
    1909             fdata.write(buf.bytes(),buf.size());
    1910             load_vector_stream(n, fdata);
    1911             Volume *volPtr = NanoVis::volume[n];
    1912 
    1913             //
    1914             // BE CAREFUL:  Set the number of slices to something
    1915             //   slightly different for each volume.  If we have
    1916             //   identical volumes at exactly the same position
    1917             //   with exactly the same number of slices, the second
    1918             //   volume will overwrite the first, so the first won't
    1919             //   appear at all.
    1920             //
    1921             if (volPtr != NULL) {
    1922                 //volPtr->set_n_slice(256-n);
    1923                 volPtr->set_n_slice(512-n);
    1924                 volPtr->disable_cutplane(0);
    1925                 volPtr->disable_cutplane(1);
    1926                 volPtr->disable_cutplane(2);
    1927 
    1928                 NanoVis::vol_renderer->add_volume(volPtr,
    1929                         NanoVis::get_transfunc("default"));
    1930             }
    1931         }
    1932     } else {
    1933         return TCL_ERROR;
    1934     }
    1935     return TCL_OK;
    1936 }
     1993    Tcl_ObjCmdProc *proc;
     1994
     1995    proc = Rappture::GetOpFromObj(interp, nFlowOps, flowOps,
     1996        Rappture::CMDSPEC_ARG1, objc, objv, 0);
     1997    if (proc == NULL) {
     1998        return TCL_ERROR;
     1999    }
     2000    return (*proc) (cdata, interp, objc, objv);
     2001}
     2002
     2003// ============================ FLOW END ==================================
    19372004
    19382005static int
     
    19532020    result = Tcl_Eval(interp, buf.bytes());
    19542021    if (result != TCL_OK) {
    1955         fprintf(NanoVis::logfile, "error in command: %s\n", 
    1956                 Tcl_GetStringResult(interp));
     2022        fprintf(NanoVis::logfile, "error in command: %s\n",
     2023                Tcl_GetStringResult(interp));
    19572024        fflush(NanoVis::logfile);
    19582025    }
     
    21532220
    21542221    NanoVis::render_2d_contour(heightmap, image_width, image_height);
    2155    
     2222
    21562223    return TCL_OK;
    21572224}
     
    24702537static int nPlaneOps = NumCmdSpecs(planeOps);
    24712538
    2472 static int 
     2539static int
    24732540PlaneCmd(ClientData cdata, Tcl_Interp *interp, int objc, Tcl_Obj *const *objv)
    2474 { 
     2541{
    24752542    Tcl_ObjCmdProc *proc;
    24762543
     
    25182585    for (i = 1; i < objc; i += 2) {
    25192586        const char *string;
    2520         char c;
     2587        char c;
    25212588
    25222589        string = Tcl_GetString(objv[i]);
    2523         c = string[0];
    2524         if ((c == 'x') && (strcmp(string, "xmin") == 0)) {
    2525             if (GetFloatFromObj(interp, objv[i+1], &xMin) != TCL_OK) {
    2526                 return TCL_ERROR;
    2527             }
    2528         } else if ((c == 'x') && (strcmp(string, "xmax") == 0)) {
    2529             if (GetFloatFromObj(interp, objv[i+1], &xMax) != TCL_OK) {
    2530                 return TCL_ERROR;
    2531             }
    2532         } else if ((c == 'x') && (strcmp(string, "xnum") == 0)) {
    2533             if (Tcl_GetIntFromObj(interp, objv[i+1], &xNum) != TCL_OK) {
    2534                 return TCL_ERROR;
    2535             }
    2536             if (xNum <= 0) {
    2537                 Tcl_AppendResult(interp, "bad xnum value: must be > 0",
    2538                                 (char *)NULL);
    2539                 return TCL_ERROR;
    2540             }
    2541         } else if ((c == 'x') && (strcmp(string, "xunits") == 0)) {
    2542             xUnits = Tcl_GetString(objv[i+1]);
    2543         } else if ((c == 'y') && (strcmp(string, "ymin") == 0)) {
     2590        c = string[0];
     2591        if ((c == 'x') && (strcmp(string, "xmin") == 0)) {
     2592            if (GetFloatFromObj(interp, objv[i+1], &xMin) != TCL_OK) {
     2593                return TCL_ERROR;
     2594            }
     2595        } else if ((c == 'x') && (strcmp(string, "xmax") == 0)) {
     2596            if (GetFloatFromObj(interp, objv[i+1], &xMax) != TCL_OK) {
     2597                return TCL_ERROR;
     2598            }
     2599        } else if ((c == 'x') && (strcmp(string, "xnum") == 0)) {
     2600            if (Tcl_GetIntFromObj(interp, objv[i+1], &xNum) != TCL_OK) {
     2601                return TCL_ERROR;
     2602            }
     2603            if (xNum <= 0) {
     2604                Tcl_AppendResult(interp, "bad xnum value: must be > 0",
     2605                    (char *)NULL);
     2606                return TCL_ERROR;
     2607            }
     2608        } else if ((c == 'x') && (strcmp(string, "xunits") == 0)) {
     2609            xUnits = Tcl_GetString(objv[i+1]);
     2610        } else if ((c == 'y') && (strcmp(string, "ymin") == 0)) {
    25442611            if (GetFloatFromObj(interp, objv[i+1], &yMin) != TCL_OK) {
    25452612                return TCL_ERROR;
     
    25582625                return TCL_ERROR;
    25592626            }
    2560         } else if ((c == 'y') && (strcmp(string, "yunits") == 0)) {
    2561             yUnits = Tcl_GetString(objv[i+1]);
     2627        } else if ((c == 'y') && (strcmp(string, "yunits") == 0)) {
     2628            yUnits = Tcl_GetString(objv[i+1]);
    25622629        } else if ((c == 'z') && (strcmp(string, "zvalues") == 0)) {
    25632630            Tcl_Obj **zObj;
     
    25732640                }
    25742641            }
    2575         } else if ((c == 'z') && (strcmp(string, "zunits") == 0)) {
    2576             zUnits = Tcl_GetString(objv[i+1]);
     2642        } else if ((c == 'z') && (strcmp(string, "zunits") == 0)) {
     2643            zUnits = Tcl_GetString(objv[i+1]);
    25772644        } else {
    25782645            Tcl_AppendResult(interp, "unknown key \"", string,
  • trunk/packages/vizservers/nanovis/Makefile.in

    r1278 r1282  
    88
    99bindir          = @bindir@
    10 datadir         = @datadir@
    11 datarootdir     = @datarootdir@
     10datadir         = @datadir@
     11datarootdir     = @datarootdir@
    1212exec_prefix     = @exec_prefix@
    1313includedir      = @includedir@
     
    1515mandir          = @mandir@
    1616prefix          = @prefix@
    17 srcdir          = @srcdir@
    18 
    19 VPATH           = $(srcdir)
    20 
    21 INSTALL         = @INSTALL@
    22 MKDIR_P         = @MKDIR_P@
     17srcdir          = @srcdir@
     18
     19VPATH           = $(srcdir)
     20
     21INSTALL         = @INSTALL@
     22MKDIR_P         = @MKDIR_P@
    2323
    2424#Why are these files installed owner writable?
    25 INSTALL_PROGRAM = ${INSTALL} -m 555
    26 INSTALL_DATA    = ${INSTALL} -m 444
    27 INSTALL_SCRIPT  = ${INSTALL} -m 444
    28 RM              = rm -f
    29 
    30 AUXSRC          = config.h define.h global.h
    31 
    32 CG_DIR          = @CG_DIR@
    33 CG_INC_SPEC     = -I$(CG_DIR)/include
    34 CG_LIB_SPEC     = -L$(CG_DIR)/lib -lCg -lCgGL
    35 DX_DIR          = @DX_DIR@
    36 DX_INC_SPEC     = -I$(DX_DIR)/include
    37 DX_LIB_SPEC     = -L$(DX_DIR)/lib_linux -lDXcallm
    38 GL_INC_SPEC     = -I/usr/include/GL
    39 GL_LIB_SPEC     = -lGL -lglut -lglui -lGLEW
    40 IMG_DIR         = ./imgLoaders
    41 IMG_INC_SPEC    = -I$(srcdir)/$(IMG_DIR)
    42 IMG_LIB         = $(IMG_DIR)/ImageLoaders.a
    43 IMG_LIB_SPEC    = $(IMG_LIB)
    44 MAT_DIR         = ./newmat11
    45 MAT_INC_SPEC    = -I$(srcdir)/$(MAT_DIR)
    46 MAT_LIB         = $(MAT_DIR)/newmat11.a
    47 MAT_LIB_SPEC    = $(MAT_LIB)
    48 R2_DIR          = ./R2
    49 R2_INC_SPEC     = -I$(srcdir)/$(R2_DIR)/include
    50 R2_LIB          = $(R2_DIR)/src/R2.a
     25INSTALL_PROGRAM = ${INSTALL} -m 555
     26INSTALL_DATA    = ${INSTALL} -m 444
     27INSTALL_SCRIPT  = ${INSTALL} -m 444
     28RM              = rm -f
     29
     30AUXSRC          = config.h define.h global.h
     31
     32CG_DIR          = @CG_DIR@
     33CG_INC_SPEC     = -I$(CG_DIR)/include
     34CG_LIB_SPEC     = -L$(CG_DIR)/lib -lCg -lCgGL
     35DX_DIR          = @DX_DIR@
     36DX_INC_SPEC     = -I$(DX_DIR)/include
     37DX_LIB_SPEC     = -L$(DX_DIR)/lib_linux -lDXcallm
     38FFMPEG_DIR      = @FFMPEG_DIR@
     39FF_INC_SPEC     = -I$(FFMPEG_DIR)/include
     40FF_LIB_SPEC     = -L$(FFMPEG_DIR)/lib -lavformat -lavcodec
     41# might also need -lavutil
     42GL_INC_SPEC     = -I/usr/include/GL
     43GL_LIB_SPEC     = -lGL -lglut -lglui -lGLEW
     44IMG_DIR         = ./imgLoaders
     45IMG_INC_SPEC    = -I$(srcdir)/$(IMG_DIR)
     46IMG_LIB         = $(IMG_DIR)/ImageLoaders.a
     47IMG_LIB_SPEC    = $(IMG_LIB)
     48MAT_DIR         = ./newmat11
     49MAT_INC_SPEC    = -I$(srcdir)/$(MAT_DIR)
     50MAT_LIB         = $(MAT_DIR)/newmat11.a
     51MAT_LIB_SPEC    = $(MAT_LIB)
     52R2_DIR          = ./R2
     53R2_INC_SPEC     = -I$(srcdir)/$(R2_DIR)/include
     54R2_LIB          = $(R2_DIR)/src/R2.a
    5155R2_LIB_SPEC     = $(R2_LIB)
    5256
    53 EXTRA_LIBS      = -lm -lpthread 
    54 RP_DIR          =  @RP_DIR@
    55 RP_INC_SPEC     = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2
    56 RP_LIB_SPEC     = -L$(RP_DIR)/lib -lrappture2 -lrappture -lexpat -lz
    57 
    58 TF_DIR          = ./transfer-function
    59 TF_INC_SPEC     = -I$(TF_DIR)
    60 TF_LIB          = $(TF_DIR)/transfer-function.a
    61 TF_LIB_SPEC     = $(TF_LIB)
    62 
    63 TCL_LIB_SPEC    = @TCL_LIB_SPEC@
    64 TCL_INC_SPEC    = @TCL_INC_SPEC@
    65 
    66 LD_RUN_PATH     = @LD_RPATH@
     57EXTRA_LIBS      = -lm -lpthread
     58RP_DIR          =  @RP_DIR@
     59RP_INC_SPEC     = -I$(RP_DIR)/include -I$(RP_DIR)/include/rappture2
     60RP_LIB_SPEC     = -L$(RP_DIR)/lib -lrappture2 -lrappture -lexpat -lz
     61
     62TF_DIR          = ./transfer-function
     63TF_INC_SPEC     = -I$(TF_DIR)
     64TF_LIB          = $(TF_DIR)/transfer-function.a
     65TF_LIB_SPEC     = $(TF_LIB)
     66
     67TCL_LIB_SPEC    = @TCL_LIB_SPEC@
     68TCL_INC_SPEC    = @TCL_INC_SPEC@
     69
     70LD_RUN_PATH     = @LD_RPATH@
    6771
    6872LIBS            = \
    6973                $(RP_LIB_SPEC) \
    7074                $(DX_LIB_SPEC) \
     75                $(FF_LIB_SPEC) \
    7176                $(IMG_LIB_SPEC) \
    7277                $(R2_LIB_SPEC) \
     
    8994                $(MAT_INC_SPEC)
    9095
    91 CC              = @CC@
    92 CFLAGS          = @CFLAGS@
    93 EXTRA_CFLAGS    = -Wall
    94 DEFINES         = @DEFINES@
    95 CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)
     96CC              = @CC@
     97CFLAGS          = @CFLAGS@
     98EXTRA_CFLAGS    = -Wall
     99DEFINES         = @DEFINES@
     100CC_SWITCHES     = $(CFLAGS) $(EXTRA_CFLAGS) $(INCLUDES)
    96101
    97102OBJS            = \
     
    135140                RenderVertexArray.o \
    136141                Renderable.o \
     142                RpAVTranslate.o \
    137143                RpDX.o \
    138144                ScreenSnapper.o \
     
    173179                $(srcdir)/shaders/vertex_std.cg \
    174180                $(srcdir)/shaders/volqd_volume.cg \
    175                 $(srcdir)/shaders/zincblende_volume.cg 
     181                $(srcdir)/shaders/zincblende_volume.cg
    176182
    177183all: mat_lib r2_lib img_lib tf_lib nanovis
     
    196202        $(MAKE) -C $(TF_DIR) all
    197203
    198 nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(TF_LIB) $(OBJS) 
     204nanovis: $(MAT_LIB) $(R2_LIB) $(IMG_LIB) $(TF_LIB) $(OBJS)
    199205        $(CC) $(CC_SWITCHES) -o $@ $^ $(LIBS)
    200206
     
    206212RpDX.o: $(srcdir)/RpDX.cpp
    207213        $(CC) -c $(CC_SWITCHES) $(DX_INC_SPEC) $?
     214RpAVTranslate.o: $(srcdir)/RpAVTranslate.cpp
     215        $(CC) -c $(CC_SWITCHES) $(FF_INC_SPEC) $?
    208216
    209217client: Socket.o ClientSocket.o RenderClient.o Event.o
  • trunk/packages/vizservers/nanovis/nanovis.cpp

    r1258 r1282  
    267267
    268268    {
    269         struct timeval tv;
    270 
    271         /* Get ending time.  */
    272         gettimeofday(&tv, NULL);
    273         finish = CVT2SECS(tv);
    274         tv = stats.start;
    275         start = CVT2SECS(tv);
     269        struct timeval tv;
     270
     271        /* Get ending time.  */
     272        gettimeofday(&tv, NULL);
     273        finish = CVT2SECS(tv);
     274        tv = stats.start;
     275        start = CVT2SECS(tv);
    276276    }
    277277    pid = getpid();
     
    311311    Tcl_DStringAppend(&ds, buf, -1);
    312312    {
    313         long clocksPerSec = sysconf(_SC_CLK_TCK);
    314         double clockRes = 1.0 / clocksPerSec;
    315         struct tms tms;
    316 
    317         memset(&tms, 0, sizeof(tms));
    318         times(&tms);
    319         sprintf(buf, "utime=\"%g\" ", tms.tms_utime * clockRes);
    320         Tcl_DStringAppend(&ds, buf, -1);
    321         sprintf(buf, "stime=\"%g\" ", tms.tms_stime * clockRes);
    322         Tcl_DStringAppend(&ds, buf, -1);
    323         sprintf(buf, "cutime=\"%g\" ", tms.tms_cutime * clockRes);
    324         Tcl_DStringAppend(&ds, buf, -1);
    325         sprintf(buf, "cstime=\"%g\" ", tms.tms_cstime * clockRes);
    326         Tcl_DStringAppend(&ds, buf, -1);
     313        long clocksPerSec = sysconf(_SC_CLK_TCK);
     314        double clockRes = 1.0 / clocksPerSec;
     315        struct tms tms;
     316
     317        memset(&tms, 0, sizeof(tms));
     318        times(&tms);
     319        sprintf(buf, "utime=\"%g\" ", tms.tms_utime * clockRes);
     320        Tcl_DStringAppend(&ds, buf, -1);
     321        sprintf(buf, "stime=\"%g\" ", tms.tms_stime * clockRes);
     322        Tcl_DStringAppend(&ds, buf, -1);
     323        sprintf(buf, "cutime=\"%g\" ", tms.tms_cutime * clockRes);
     324        Tcl_DStringAppend(&ds, buf, -1);
     325        sprintf(buf, "cstime=\"%g\" ", tms.tms_cstime * clockRes);
     326        Tcl_DStringAppend(&ds, buf, -1);
    327327    }
    328328    Tcl_DStringAppend(&ds, "/>\n", -1);
    329329
    330330    {
    331         int f;
    332         ssize_t length;
    333         int result;
     331        int f;
     332        ssize_t length;
     333        int result;
    334334
    335335#define STATSDIR        "/var/tmp/visservers"
    336336#define STATSFILE       STATSDIR "/" "data.xml"
    337         if (access(STATSDIR, X_OK) != 0) {
    338             mkdir(STATSDIR, 0770);
    339         }
    340         length = Tcl_DStringLength(&ds);
    341         f = open(STATSFILE, O_APPEND | O_CREAT | O_WRONLY, 0600);
    342         result = FALSE;
    343         if (f < 0) {
    344             goto error;
    345         }
    346         if (write(f, Tcl_DStringValue(&ds), length) != length) {
    347             goto error;
    348         }
    349         result = TRUE;
     337        if (access(STATSDIR, X_OK) != 0) {
     338            mkdir(STATSDIR, 0770);
     339        }
     340        length = Tcl_DStringLength(&ds);
     341        f = open(STATSFILE, O_APPEND | O_CREAT | O_WRONLY, 0600);
     342        result = FALSE;
     343        if (f < 0) {
     344            goto error;
     345        }
     346        if (write(f, Tcl_DStringValue(&ds), length) != length) {
     347            goto error;
     348        }
     349        result = TRUE;
    350350    error:
    351         if (f >= 0) {
    352             close(f);
    353         }
    354         Tcl_DStringFree(&ds);
    355         return result;
     351        if (f >= 0) {
     352            close(f);
     353        }
     354        Tcl_DStringFree(&ds);
     355        return result;
    356356    }
    357357}
     
    362362{
    363363    if (NanoVis::debug_flag) {
    364         fprintf(stderr, "in DoExit\n");
     364        fprintf(stderr, "in DoExit\n");
    365365    }
    366366    removeAllData();
     
    385385        Trace("Cg error, exiting...\n");
    386386        cgDestroyContext(g_context);
    387         DoExit(-1);
     387        DoExit(-1);
    388388    }
    389389}
     
    392392CGprogram
    393393LoadCgSourceProgram(CGcontext context, const char *fileName, CGprofile profile,
    394                     const char *entryPoint)
     394                    const char *entryPoint)
    395395{
    396396    const char *path = R2FilePath::getInstance()->getPath(fileName);
    397397    if (path == NULL) {
    398         fprintf(stderr, "can't find program \"%s\"\n", fileName);
    399         assert(path != NULL);
     398        fprintf(stderr, "can't find program \"%s\"\n", fileName);
     399        assert(path != NULL);
    400400    }
    401401    CGprogram program;
    402402    program = cgCreateProgramFromFile(context, CG_SOURCE, path, profile,
    403         entryPoint, NULL);
     403        entryPoint, NULL);
    404404    delete [] path;
    405405    cgGLLoadProgram(program);
     
    415415
    416416    if (NanoVis::debug_flag) {
    417         fprintf(stderr, "in ExecuteCommand(%s)\n", Tcl_DStringValue(dsPtr));
     417        fprintf(stderr, "in ExecuteCommand(%s)\n", Tcl_DStringValue(dsPtr));
    418418    }
    419419
     
    422422
    423423    if (NanoVis::logfile != NULL) {
    424         fprintf(NanoVis::logfile, "%s", Tcl_DStringValue(dsPtr));
    425         fflush(NanoVis::logfile);
     424        fprintf(NanoVis::logfile, "%s", Tcl_DStringValue(dsPtr));
     425        fflush(NanoVis::logfile);
    426426    }
    427427    if (NanoVis::recfile != NULL) {
    428         fprintf(NanoVis::recfile, "%s", Tcl_DStringValue(dsPtr));
    429         fflush(NanoVis::recfile);
     428        fprintf(NanoVis::recfile, "%s", Tcl_DStringValue(dsPtr));
     429        fflush(NanoVis::recfile);
    430430    }
    431431    result = Tcl_Eval(interp, Tcl_DStringValue(dsPtr));
     
    438438    stats.nCommands++;
    439439    if (NanoVis::debug_flag) {
    440         fprintf(stderr, "leaving ExecuteCommand status=%d\n", result);
     440        fprintf(stderr, "leaving ExecuteCommand status=%d\n", result);
    441441    }
    442442    return result;
     
    567567int
    568568NanoVis::render_legend(TransferFunction *tf, double min, double max,
    569                         int width, int height, const char* volArg)
     569                            int width, int height, const char* volArg)
    570570{
    571571    if (debug_flag) {
     
    596596
    597597    if (debug_flag) {
    598         fprintf(stderr, "ppm legend image not written (debug mode)\n");
     598        fprintf(stderr, "ppm legend image not written (debug mode)\n");
    599599    } else {
    600         char prefix[200];
    601         sprintf(prefix, "nv>legend %s %g %g", volArg, min, max);
    602         ppm_write(prefix);
    603         write(0, "\n", 1);
     600        char prefix[200];
     601        sprintf(prefix, "nv>legend %s %g %g", volArg, min, max);
     602        ppm_write(prefix);
     603        write(0, "\n", 1);
    604604    }
    605605    plane_render->remove_plane(index);
     
    617617{
    618618    if (debug_flag) {
    619         fprintf(stderr, "in init_offscreen_buffer\n");
     619        fprintf(stderr, "in init_offscreen_buffer\n");
    620620    }
    621621    // Initialize a fbo for final display.
     
    638638    glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, final_depth_rb);
    639639    glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT24,
    640         win_width, win_height);
     640            win_width, win_height);
    641641    glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT,
    642         GL_TEXTURE_2D, final_color_tex, 0);
     642        GL_TEXTURE_2D, final_color_tex, 0);
    643643    glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT,
    644         GL_RENDERBUFFER_EXT, final_depth_rb);
     644        GL_RENDERBUFFER_EXT, final_depth_rb);
    645645
    646646    GLenum status;
    647647    if (!CheckFBO(&status)) {
    648         PrintFBOStatus(status, "final_fbo");
     648        PrintFBOStatus(status, "final_fbo");
    649649        DoExit(3);
    650650    }
     
    655655    //assert(glGetError()==0);
    656656    if (debug_flag) {
    657         fprintf(stderr, "leaving init_offscreen_buffer\n");
     657        fprintf(stderr, "leaving init_offscreen_buffer\n");
    658658    }
    659659}
     
    665665{
    666666    if ((w == win_width) && (h == win_height)) {
    667         return;
    668     }
    669     if (debug_flag) {
    670         fprintf(stderr, "in resize_offscreen_buffer(%d, %d)\n", w, h);
     667        return;
     668    }
     669    if (debug_flag) {
     670        fprintf(stderr, "in resize_offscreen_buffer(%d, %d)\n", w, h);
    671671    }
    672672
     
    701701
    702702    if (debug_flag) {
    703         fprintf(stderr, "reinitialize FBO\n");
     703        fprintf(stderr, "reinitialize FBO\n");
    704704    }
    705705    //Reinitialize final fbo for final display
     
    719719#endif
    720720    if (debug_flag) {
    721         fprintf(stderr, "before bindframebuffer\n");
     721        fprintf(stderr, "before bindframebuffer\n");
    722722    }
    723723    glBindFramebufferEXT(GL_FRAMEBUFFER_EXT, final_fbo);
    724724    if (debug_flag) {
    725         fprintf(stderr, "after bindframebuffer\n");
     725        fprintf(stderr, "after bindframebuffer\n");
    726726    }
    727727    glGenRenderbuffersEXT(1, &final_depth_rb);
    728728    glBindRenderbufferEXT(GL_RENDERBUFFER_EXT, final_depth_rb);
    729729    glRenderbufferStorageEXT(GL_RENDERBUFFER_EXT, GL_DEPTH_COMPONENT24,
    730         win_width, win_height);
     730        win_width, win_height);
    731731    glFramebufferTexture2DEXT(GL_FRAMEBUFFER_EXT, GL_COLOR_ATTACHMENT0_EXT,
    732         GL_TEXTURE_2D, final_color_tex, 0);
     732        GL_TEXTURE_2D, final_color_tex, 0);
    733733    glFramebufferRenderbufferEXT(GL_FRAMEBUFFER_EXT, GL_DEPTH_ATTACHMENT_EXT,
    734         GL_RENDERBUFFER_EXT, final_depth_rb);
     734        GL_RENDERBUFFER_EXT, final_depth_rb);
    735735   
    736736    GLenum status;
    737737    if (!CheckFBO(&status)) {
    738         PrintFBOStatus(status, "final_fbo");
    739         DoExit(3);
     738        PrintFBOStatus(status, "final_fbo");
     739            DoExit(3);
    740740    }
    741741
     
    749749
    750750    if (debug_flag) {
    751         fprintf(stderr, "leaving resize_offscreen_buffer(%d, %d)\n", w, h);
     751        fprintf(stderr, "leaving resize_offscreen_buffer(%d, %d)\n", w, h);
    752752    }
    753753}
     
    828828        cgDestroyContext(g_context);
    829829        fflush(stdout);
    830         DoExit(-1);
     830        DoExit(-1);
    831831    }
    832832}
     
    836836    // print system information
    837837    fprintf(stderr,
    838             "-----------------------------------------------------------\n");
     838            "-----------------------------------------------------------\n");
    839839    fprintf(stderr, "OpenGL driver: %s %s\n", glGetString(GL_VENDOR),
    840             glGetString(GL_VERSION));
     840            glGetString(GL_VERSION));
    841841    fprintf(stderr, "Graphics hardware: %s\n", glGetString(GL_RENDERER));
    842842    fprintf(stderr,
    843             "-----------------------------------------------------------\n");
     843            "-----------------------------------------------------------\n");
    844844    if (path == NULL) {
    845         fprintf(stderr, "No path defined for shaders or resources\n");
    846         fflush(stderr);
    847         DoExit(1);
     845        fprintf(stderr, "No path defined for shaders or resources\n");
     846        fflush(stderr);
     847        DoExit(1);
    848848    }
    849849    GLenum err = glewInit();
     
    856856
    857857    if (!R2FilePath::getInstance()->setPath(path)) {
    858         fprintf(stderr, "can't set file path to %s\n", path);
    859         fflush(stderr);
    860         DoExit(1);
     858        fprintf(stderr, "can't set file path to %s\n", path);
     859        fflush(stderr);
     860        DoExit(1);
    861861    }
    862862   
     
    900900   //create the camera with default setting
    901901   cam = new NvCamera(0, 0, win_width, win_height,
    902                       def_eye_x, def_eye_y, def_eye_z,          /* location. */
    903                       def_target_x, def_target_y, def_target_z, /* target. */
    904                       def_rot_x, def_rot_y, def_rot_z);         /* angle. */
     902                      def_eye_x, def_eye_y, def_eye_z,          /* location. */
     903                      def_target_x, def_target_y, def_target_z, /* target. */
     904                      def_rot_x, def_rot_y, def_rot_z);         /* angle. */
    905905
    906906   glEnable(GL_TEXTURE_2D);
     
    12141214    char command[200];
    12151215    sprintf(command, "%s %lu\n", prefix,
    1216         (unsigned long)header_length + data_length);
     1216            (unsigned long)header_length + data_length);
    12171217
    12181218    size_t wordsPerRow = (win_width * 24 + 31) / 32;
     
    13521352        float y = vert[3*i+1];
    13531353        float z = vert[3*i+2];
    1354         float dx, dy, dz;
    1355         dx = x - cam->x();
    1356         dy = y - cam->y();
    1357         dz = z - cam->z();
     1354        float dx, dy, dz;
     1355        dx = x - cam->x();
     1356        dy = y - cam->y();
     1357        dz = z - cam->z();
    13581358        float dis = (dx * dx) + (dy * dy) + (dz * dz);
    13591359        p[i].x = x;
     
    17911791            continue;
    17921792        }
    1793         hmPtr->MapToGrid(grid);
     1793        hmPtr->MapToGrid(grid);
    17941794    }
    17951795    HeightMap::update_pending = false;
     
    21082108{
    21092109    if (!NanoVis::debug_flag) {
    2110         //open log and map stderr to log file
    2111         xinetd_log = fopen("/tmp/log.txt", "w");
    2112         close(2);
    2113         dup2(fileno(xinetd_log), 2);
    2114         dup2(2,1);
     2110        //open log and map stderr to log file
     2111        xinetd_log = fopen("/tmp/log.txt", "w");
     2112        close(2);
     2113        dup2(fileno(xinetd_log), 2);
     2114        dup2(2,1);
    21152115    }
    21162116    //flush junk
     
    21622162{
    21632163    if (debug_flag) {
    2164         fprintf(stderr, "in xinetd_listen\n");
     2164        fprintf(stderr, "in xinetd_listen\n");
    21652165    }
    21662166    int flags = fcntl(0, F_GETFL, 0);
     
    21832183        //  here.
    21842184        //
    2185         if (debug_flag) {
    2186             fprintf(stderr, "in xinetd_listen: check eof %d\n",
    2187                     feof(NanoVis::stdin));
    2188         }
     2185        if (debug_flag) {
     2186            fprintf(stderr, "in xinetd_listen: check eof %d\n",
     2187                    feof(NanoVis::stdin));
     2188        }
    21892189        while (!feof(NanoVis::stdin)) {
    21902190            int c = fgetc(NanoVis::stdin);
    2191             char ch;
     2191            char ch;
    21922192            if (c <= 0) {
    2193                 if (errno == EWOULDBLOCK) {
    2194                     break;
    2195                 }
    2196                 DoExit(0);
     2193                if (errno == EWOULDBLOCK) {
     2194                    break;
     2195                }
     2196                DoExit(0);
    21972197            }
    2198             ch = (char)c;
     2198            ch = (char)c;
    21992199            Tcl_DStringAppend(&cmdbuffer, &ch, 1);
    22002200            if (ch == '\n') {
    2201                 isComplete = Tcl_CommandComplete(Tcl_DStringValue(&cmdbuffer));
    2202                 if (isComplete) {
    2203                     break;
    2204                 }
     2201                isComplete = Tcl_CommandComplete(Tcl_DStringValue(&cmdbuffer));
     2202                if (isComplete) {
     2203                    break;
     2204                }
    22052205            }
    22062206        }
     
    22102210        }
    22112211
    2212         if (isComplete) {
    2213             // back to original flags during command evaluation...
    2214             fcntl(0, F_SETFL, flags & ~O_NONBLOCK);
    2215             status = ExecuteCommand(interp, &cmdbuffer);
    2216             // non-blocking for next read -- we might not get anything
    2217             fcntl(0, F_SETFL, flags | O_NONBLOCK);
    2218             isComplete = false;
    2219         }
     2212        if (isComplete) {
     2213            // back to original flags during command evaluation...
     2214            fcntl(0, F_SETFL, flags & ~O_NONBLOCK);
     2215            status = ExecuteCommand(interp, &cmdbuffer);
     2216            // non-blocking for next read -- we might not get anything
     2217            fcntl(0, F_SETFL, flags | O_NONBLOCK);
     2218            isComplete = false;
     2219        }
    22202220    }
    22212221    fcntl(0, F_SETFL, flags);
     
    22242224        const char *string;
    22252225        int nBytes;
    2226         int count;
    2227 
    2228         string = Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY);
    2229         nBytes = strlen(string);
     2226        int count;
     2227
     2228        string = Tcl_GetVar(interp, "errorInfo", TCL_GLOBAL_ONLY);
     2229        nBytes = strlen(string);
    22302230        struct iovec iov[3];
    22312231        iov[0].iov_base = (char *)"NanoVis Server Error: ";
     
    22332233        iov[1].iov_base = (char *)string;
    22342234        iov[1].iov_len = nBytes;
    2235         iov[2].iov_len = 1;
    2236         iov[2].iov_base = (char *)'\n';
    2237         writev(0, iov, 3);
    2238         if (debug_flag) {
    2239             fprintf(stderr, "leaving xinetd_listen\n");
    2240         }
     2235        iov[2].iov_len = 1;
     2236        iov[2].iov_base = (char *)'\n';
     2237        writev(0, iov, 3);
     2238        if (debug_flag) {
     2239            fprintf(stderr, "leaving xinetd_listen\n");
     2240        }
    22412241        return;
    22422242    }
     
    22832283#else
    22842284    if (debug_flag) {
    2285         fprintf(stderr, "ppm image not written (debug mode)\n");
    2286         bmp_write_to_file(1, "/tmp");
     2285        fprintf(stderr, "ppm image not written (debug mode)\n");
     2286        bmp_write_to_file(1, "/tmp");
    22872287    } else {
    2288         NanoVis::ppm_write("nv>image -bytes");
     2288        NanoVis::ppm_write("nv>image -bytes");
    22892289    }
    22902290#endif
    22912291    if (feof(NanoVis::stdin)) {
    2292         DoExit(0);
    2293     }
    2294     if (debug_flag) {
    2295         fprintf(stderr, "leaving xinetd_listen\n");
     2292        DoExit(0);
     2293    }
     2294    if (debug_flag) {
     2295        fprintf(stderr, "leaving xinetd_listen\n");
    22962296    }
    22972297}
     
    23332333
    23342334    while (1) {
    2335         static struct option long_options[] = {
    2336             {"infile",  required_argument, NULL,           0},
    2337             {"logfile", required_argument, NULL,           1},
    2338             {"path",    required_argument, NULL,           2},
    2339             {"debug",   no_argument,       NULL,           3},
    2340             {"record",  required_argument, NULL,           4},
    2341             {0, 0, 0, 0}
    2342         };
    2343         int option_index = 0;
    2344         int c;
    2345 
    2346         c = getopt_long(argc, argv, ":dp:i:l:r:", long_options, &option_index);
     2335        static struct option long_options[] = {
     2336            {"infile",  required_argument, NULL,           0},
     2337            {"logfile", required_argument, NULL,           1},
     2338            {"path",    required_argument, NULL,           2},
     2339            {"debug",   no_argument,       NULL,           3},
     2340            {"record",  required_argument, NULL,           4},
     2341            {0, 0, 0, 0}
     2342        };
     2343        int option_index = 0;
     2344        int c;
     2345
     2346        c = getopt_long(argc, argv, ":dp:i:l:r:", long_options, &option_index);
    23472347        if (c == -1) {
    23482348            break;
    23492349        }
    2350         switch (c) {
    2351         case '?':
    2352             fprintf(stderr, "unknown option -%c\n", optopt);
    2353             return 1;
    2354         case ':':
    2355             if (optopt < 4) {
    2356                 fprintf(stderr, "argument missing for --%s option\n",
    2357                     long_options[optopt].name);
    2358             } else {
    2359                 fprintf(stderr, "argument missing for -%c option\n", optopt);
    2360             }
    2361             return 1;
    2362         case 2:
    2363         case 'p':
     2350        switch (c) {
     2351        case '?':
     2352            fprintf(stderr, "unknown option -%c\n", optopt);
     2353            return 1;
     2354        case ':':
     2355            if (optopt < 4) {
     2356                fprintf(stderr, "argument missing for --%s option\n",
     2357                    long_options[optopt].name);
     2358            } else {
     2359                fprintf(stderr, "argument missing for -%c option\n", optopt);
     2360            }
     2361            return 1;
     2362        case 2:
     2363        case 'p':
    23642364            path = optarg;
    2365             break;
    2366         case 3:
    2367         case 'd':
    2368             NanoVis::debug_flag = true;
    2369             break;
    2370         case 0:
    2371         case 'i':
    2372             NanoVis::stdin = fopen(optarg, "r");
    2373             if (NanoVis::stdin == NULL) {
    2374                 perror(optarg);
    2375                 return 2;
    2376             }
    2377             break;
    2378         case 1:
    2379         case 'l':
    2380             NanoVis::logfile = fopen(optarg, "w");
    2381             if (NanoVis::logfile == NULL) {
    2382                 perror(optarg);
    2383                 return 2;
    2384             }
    2385             break;
    2386         case 4:
    2387         case 'r':
    2388             Tcl_DString ds;
    2389             char buf[200];
    2390 
    2391             Tcl_DStringInit(&ds);
    2392             Tcl_DStringAppend(&ds, optarg, -1);
    2393             sprintf(buf, ".%d", getpid());
    2394             Tcl_DStringAppend(&ds, buf, -1);
    2395             NanoVis::recfile = fopen(Tcl_DStringValue(&ds), "w");
    2396             if (NanoVis::recfile == NULL) {
    2397                 perror(optarg);
    2398                 return 2;
    2399             }
    2400             break;
    2401         default:
     2365            break;
     2366        case 3:
     2367        case 'd':
     2368            NanoVis::debug_flag = true;
     2369            break;
     2370        case 0:
     2371        case 'i':
     2372            NanoVis::stdin = fopen(optarg, "r");
     2373            if (NanoVis::stdin == NULL) {
     2374                perror(optarg);
     2375                return 2;
     2376            }
     2377            break;
     2378        case 1:
     2379        case 'l':
     2380            NanoVis::logfile = fopen(optarg, "w");
     2381            if (NanoVis::logfile == NULL) {
     2382                perror(optarg);
     2383                return 2;
     2384            }
     2385            break;
     2386        case 4:
     2387        case 'r':
     2388            Tcl_DString ds;
     2389            char buf[200];
     2390
     2391            Tcl_DStringInit(&ds);
     2392            Tcl_DStringAppend(&ds, optarg, -1);
     2393            sprintf(buf, ".%d", getpid());
     2394            Tcl_DStringAppend(&ds, buf, -1);
     2395            NanoVis::recfile = fopen(Tcl_DStringValue(&ds), "w");
     2396            if (NanoVis::recfile == NULL) {
     2397                perror(optarg);
     2398                return 2;
     2399            }
     2400            break;
     2401        default:
    24022402            fprintf(stderr,"unknown option '%c'.\n", c);
    24032403            return 1;
     
    24052405    }     
    24062406    if (path == NULL) {
    2407         char *p;
    2408 
    2409         // See if we can derive the path from the location of the program.
    2410         // Assume program is in the form <path>/bin/nanovis.
    2411 
    2412         path = argv[0];
    2413         p = strrchr(path, '/');
    2414         if (p != NULL) {
    2415             *p = '\0';
    2416             p = strrchr(path, '/');
    2417         }
    2418         if (p == NULL) {
    2419             fprintf(stderr, "path not specified\n");
    2420             return 1;
    2421         }
    2422         *p = '\0';
    2423         newPath = new char[(strlen(path) + 15) * 2 + 1];
    2424         sprintf(newPath, "%s/lib/shaders:%s/lib/resources", path, path);
    2425         path = newPath;
     2407        char *p;
     2408
     2409        // See if we can derive the path from the location of the program.
     2410        // Assume program is in the form <path>/bin/nanovis.
     2411
     2412        path = argv[0];
     2413        p = strrchr(path, '/');
     2414        if (p != NULL) {
     2415            *p = '\0';
     2416            p = strrchr(path, '/');
     2417        }
     2418        if (p == NULL) {
     2419            fprintf(stderr, "path not specified\n");
     2420            return 1;
     2421        }
     2422        *p = '\0';
     2423        newPath = new char[(strlen(path) + 15) * 2 + 1];
     2424        sprintf(newPath, "%s/lib/shaders:%s/lib/resources", path, path);
     2425        path = newPath;
    24262426    }
    24272427    R2FilePath::getInstance()->setWorkingDirectory(argc, (const char**) argv);
     
    24342434    NanoVis::init(path);
    24352435    if (newPath != NULL) {
    2436         delete [] newPath;
     2436        delete [] newPath;
    24372437    }
    24382438    NanoVis::initGL();
     
    25102510    // INSOO TEST CODE
    25112511    bmp_write_to_file(1, "/tmp");
    2512    
     2512
    25132513    resize_offscreen_buffer(old_width, old_height);
    25142514
Note: See TracChangeset for help on using the changeset viewer.